From: Bruno Haible Date: Sun, 18 Nov 2018 11:36:38 +0000 (+0100) Subject: gettextize: Give more advice. X-Git-Tag: v0.20~225 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38145937ecb31a291020fd45a68f5c38538ed890;p=thirdparty%2Fgettext.git gettextize: Give more advice. * gettext-tools/misc/gettextize.in: Tell the user to remove AM_GNU_GETTEXT_INTL_SUBDIR invocations. --- diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index 8fd96f869..420d37e4b 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -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