gettext.m4: xgettest detection is bogus

Jan-Benedict Glaw jbglaw@lug-owl.de
Fri Dec 30 14:15:00 GMT 2005


Hi!

In gettext.m4 there's a test for "xgettext". Once it is found, it's
also checked to be the GNU version. If it is not, the local xgettext
is not considered useful and -lintl is dropped from $(LIBS).

Building on a Solaris 8 system, this would result in link errors
(because of missing -lintl). Also, if ggettext is pkg-get'ted, the
gxgettext program isn't considered by gettext.m4. Of course you'd
supply it with something like

XGETTEXT=/opt/csw/bin/gxgettext ..././src/binutils/configure

and also call "make" with XGETTEXT set (maybe some components are
configured late...), but that's not really nice:-)


Since I'm not really a m4 expert, maybe somebody else could fix the
gettext.m4 macros to do one of these:

	- Also check for gxgettext
	- Don't drop -lintl from $(LIBS), even if internationalized
	  program is not all _that_ international afterwards
	- Drop -lintl and disable NLS completely.

Thanks, JBG

-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20051230/b02007e4/attachment.sig>


More information about the Binutils mailing list