From 38145937ecb31a291020fd45a68f5c38538ed890 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 18 Nov 2018 12:36:38 +0100 Subject: [PATCH] gettextize: Give more advice. * gettext-tools/misc/gettextize.in: Tell the user to remove AM_GNU_GETTEXT_INTL_SUBDIR invocations. --- gettext-tools/misc/gettextize.in | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.47.2