]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
gettextize: Give more advice.
authorBruno Haible <bruno@clisp.org>
Sun, 18 Nov 2018 11:36:38 +0000 (12:36 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 18 Nov 2018 11:38:40 +0000 (12:38 +0100)
* gettext-tools/misc/gettextize.in: Tell the user to remove
AM_GNU_GETTEXT_INTL_SUBDIR invocations.

gettext-tools/misc/gettextize.in

index 8fd96f8699c865bcfda155dac302006208e64100..420d37e4ba0740eb44c715548aedabbe5274d461 100644 (file)
@@ -703,6 +703,13 @@ to look for an external libintl.
 "
 fi
 
+# Tell the user to remove invocations of macros that no longer exist.
+if sed -e 's,#.*$,,; s,^dnl .*$,,; s, dnl .*$,,' "$srcdir/$configure_in" | grep AM_GNU_GETTEXT_INTL_SUBDIR >/dev/null; then
+  please="$please
+Please remove the invocation of AM_GNU_GETTEXT_INTL_SUBDIR.
+"
+fi
+
 # Copy files to po/ subdirectory.
 cd po
 for podir in $podirs; do