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: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: [PATCH] test for libiconv in configure
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Mon, 13 Nov 2000 14:30:51 -0800 (PST)
- cc: libstdc++ at sources dot redhat dot com
Hi David. This looks ok. I've checked it in.
The only thing I'm curious about is the LIBS bit: do you need to reset LIBS
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)
LIBS=$ac_save_LIBS
?