From: Bruno Haible Date: Mon, 7 Mar 2005 19:46:15 +0000 (+0000) Subject: Don't recommend to add AM_GNU_GETTEXT([external]) when it is already present. X-Git-Tag: v0.14.3~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e50e97c7e5163401a657f760776d505ebe54c65;p=thirdparty%2Fgettext.git Don't recommend to add AM_GNU_GETTEXT([external]) when it is already present. --- diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 8abe5dde4..447388dcc 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,9 @@ +2005-03-05 Bruno Haible + + * gettextize.in: Don't recommend to add AM_GNU_GETTEXT([external]) + when it is already present. + Suggested by Alexandre Duret-Lutz . + 2005-03-05 Bruno Haible Remove old sh, tcl, perl interfaces. diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index 376b675dc..f52d72e16 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -591,10 +591,15 @@ if test -n "$intldir"; then cd .. else echo "Not copying intl/ directory." - please="$please + # Tell the user what to put into configure.ac, if it is not already there. + if grep '^AM_GNU_GETTEXT([[]\?external[]]\?[ ]*[,)]' "$srcdir/$configure_in" > /dev/null; then + : + else + please="$please Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration to look for an external libintl. " + fi fi # Copy files to po/ subdirectory.