This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] test for libiconv in configure


>>>>> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]