This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: [PATCH] test for libiconv in configure
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: [PATCH] test for libiconv in configure
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Mon, 13 Nov 2000 17:44:52 -0500
- cc: libstdc++ at sources dot redhat dot com
>>>>> 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