bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing case in locale-fr.m4?


From: Eric Blake
Subject: missing case in locale-fr.m4?
Date: Wed, 27 Oct 2010 15:21:33 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4

I encountered a system where the sunCC compiler wasn't installed
correctly, and it choked trying to compile the system /usr/include/stdlib.h:

configure:7094: checking for a traditional french locale
configure:7147: sunCC -o conftest -I/usr/local/include  -L/usr/local/lib
-R/usr/local/lib conftest.c  >&5
"/usr/include/stdlib.h", line 526: Error: "{" expected instead of "__asm".

But this meant that gt_cv_locale_fr was never given a value, therefore
$LOCALE_FR was set to the empty string, and tests such as:

test $LOCALE_FR != none

cause spurious output:

checking whether btowc(EOF) is correct... ./configure: line 16183: test:
!=: unary operator expected

Obviously, this particular machine and its use of sunCC needs to be
fixed to look for the correct headers, but in the meantime, should
locale-fr.m4 be taught to guarantee a sane value for $gt_cv_locale_fr
even when the AC_TRY_EVAL([ac_link]) fails due to a compiler bug?

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]