This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gettext.m4: xgettest detection is bogus


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));

Attachment: signature.asc
Description: Digital signature


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