bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

binutils xgettext detection bug


From: Dimitar Zhekov
Subject: binutils xgettext detection bug
Date: Wed, 11 Sep 2002 13:37:05 +0300

When no --disable-nls is passed to configure, but gettext is not
installed, binutils fails to build. That's because the check for
xgettext is wrong. The following line exists in all configure-s:

test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"

but, a few lines below, XGETTEXT (set to ac_cv_path_XGETTEXT) is
checked for being empty to determine if xgettext exists or not:

XGETTEXT="$ac_cv_path_XGETTEXT"
if test -n "$XGETTEXT"; then

As a result, if xgettext is missing, it is "detected" as ':'

checking for xgettext... :

instead of not being found:

checking for xgettext... no

Judging from other GNU packages, the test should be smth like:

if test "$XGETTEXT" != ":"; then

but I don't know enough autoconf/automake to provide a fix. The
binutils version is 2.13.90.0.4 (affects earlier versions too).

E-gards: Jimmy






reply via email to

[Prev in Thread] Current Thread [Next in Thread]