This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: configure doesn't INTLLIBS when gettext is in libintl
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: PATCH: configure doesn't INTLLIBS when gettext is in libintl
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Wed, 17 Jan 2001 06:50:00 +0100
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200101110021.TAA05546@hiauly1.hia.nrc.ca>
* John David Anglin (dave@hiauly1.hia.nrc.ca) [20010111 01:25]:
> INTLLIBS is not being set when the NLS stuff is installed in libintl.
> Please review and install if ok.
> * aclocal.m4 (AM_WITH_NLS): Set INTLLIBS to `-lintl' when gettext
> is found in libintl.
> * configure: Rebuilt.
Sorry for getting to it so late, I was buried in other SuSE work. Correct me
if I'm wrong, but at least as far as I can see, this a) isn't necessary and
b) wrong.
If a libintl is installed on the system, i.e. gettext will be found in
libintl, -lintl will be added to LIBS. INTLLIBS only gets set when the
inluded libintl is needed (either because a gettext based on catgets is need
or because neither gettext nor catgets where found in libc). And if it's
set, it has to contain the path to the library, not the linker switch as
INTLLIBS is used in dependencies.
cheers
Philipp
--
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany
Penguins shall save the dinosaurs
-- Handelsblatt about Linux on S/390