[PATCH] test for libiconv in configure

David Edelsohn dje@watson.ibm.com
Mon Nov 13 14:46:00 GMT 2000


>>>>> Benjamin Kosnik writes:

Ben> Hi David. This looks ok. I've checked it in.

Ben> The only thing I'm curious about is the LIBS bit: do you need to reset LIBS
Ben> after all these checks are done, ie

>> +       AC_CHECK_LIB(iconv, iconv, libiconv="-liconv")
>> +       ac_save_LIBS="$LIBS"
>> +       LIBS="$LIBS $libiconv"
>> + 
>> AC_CHECK_FUNCS(iconv_open iconv_close iconv nl_langinfo, \
>> ac_XPG2funcs=yes, ac_XPG2funcs=no)

Ben> LIBS=$ac_save_LIBS

	I followed the exact same rhythm used to test and set libm in
LIBS.  I was not trying to understand the purpose.

David


More information about the Libstdc++ mailing list