]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Don't recommend to add AM_GNU_GETTEXT([external]) when it is already present.
authorBruno Haible <bruno@clisp.org>
Mon, 7 Mar 2005 19:46:15 +0000 (19:46 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:21 +0000 (12:12 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/gettextize.in

index 8abe5dde42bd00621eb981ad73f722455796f863..447388dcce1aceb70a47cd12bd31e331cca84427 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-05  Bruno Haible  <bruno@clisp.org>
+
+       * gettextize.in: Don't recommend to add AM_GNU_GETTEXT([external])
+       when it is already present.
+       Suggested by Alexandre Duret-Lutz <adl@src.lip6.fr>.
+
 2005-03-05  Bruno Haible  <bruno@clisp.org>
 
        Remove old sh, tcl, perl interfaces.
index 376b675dca2ed17e683275b41e026ce42249e429..f52d72e1608741f4c819e0d5c4370be4468a66a8 100644 (file)
@@ -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.