PATCH: configure doesn't INTLLIBS when gettext is in libintl

Philipp Thomas pthomas@suse.de
Tue Jan 16 21:50:00 GMT 2001


* 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


More information about the Gcc-patches mailing list