From 1cbe8e4753fb973fd9aa4ac4cb7fb802ef3ad7df Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 5 Dec 2013 18:47:46 +0900 Subject: [PATCH] autopoint: Allow user to specify custom autom4te executable * autopoint.in (func_trace): Allow user to specify autom4te executable name through $AUTOM4TE envvar. * gettextize.in (func_trace): Likewise. Suggested by Eric Blake at . --- gettext-tools/misc/ChangeLog | 8 ++++++++ gettext-tools/misc/autopoint.in | 2 +- gettext-tools/misc/gettextize.in | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 336d45451..12dedef15 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,11 @@ +2013-12-05 Daiki Ueno + + * autopoint.in (func_trace): Allow user to specify autom4te + executable name through $AUTOM4TE envvar. + * gettextize.in (func_trace): Likewise. + Suggested by Eric Blake at + . + 2013-11-19 Daiki Ueno * autopoint.in (func_trace): Disable m4_include and m4_esyscmd. diff --git a/gettext-tools/misc/autopoint.in b/gettext-tools/misc/autopoint.in index 0de13223f..3b664177b 100644 --- a/gettext-tools/misc/autopoint.in +++ b/gettext-tools/misc/autopoint.in @@ -153,7 +153,7 @@ dnl macros which needs to be traced without aclocal.m4 m4_define([AM_GNU_GETTEXT], []) m4_define([AM_GNU_GETTEXT_VERSION], []) ' \ - | autom4te --no-cache --language=Autoconf-without-aclocal-m4 \ + | ${AUTOM4TE:-autom4te} --no-cache --language=Autoconf-without-aclocal-m4 \ --trace="$1":\$% - "$2" 2>/dev/null } diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index 063b57ba8..9abbf354e 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -153,7 +153,7 @@ dnl macros which needs to be traced without aclocal.m4 m4_define([AM_GNU_GETTEXT], []) m4_define([AM_GNU_GETTEXT_VERSION], []) ' \ - | autom4te --no-cache --language=Autoconf-without-aclocal-m4 \ + | ${AUTOM4TE:-autom4te} --no-cache --language=Autoconf-without-aclocal-m4 \ --trace="$1":\$% - "$2" 2>/dev/null } -- 2.47.2