This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

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


* 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

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