From: Bruno Haible Date: Fri, 2 Apr 2010 14:57:08 +0000 (+0200) Subject: gnulib-tool: Obey user's environment variables. X-Git-Tag: v0.1~4381 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=5f20e745297e37686b60abda860fbe2a3d6c68c1;p=gnulib.git gnulib-tool: Obey user's environment variables. --- diff --git a/ChangeLog b/ChangeLog index 4fa27f24a..6fa4d9d5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-04-02 Bruno Haible + gnulib-tool: Obey user's environment variables. + * gnulib-tool (func_create_testdir): When creating built sources, + respect the environment variables for autoconf, automake, etc. given by + the user. + +2010-04-02 Bruno Haible + gnulib-tool: Provide the value of --m4-base to modules. * gnulib-tool (func_import, func_create_testdir): Emit a definition of gl_m4_base. diff --git a/gnulib-tool b/gnulib-tool index 84ea7a07c..64878a0ee 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -5143,7 +5143,9 @@ func_create_testdir () ./configure || func_exit 1 cd "$sourcebase" echo 'built_sources: $(BUILT_SOURCES)' >> Makefile - $MAKE built_sources || func_exit 1 + $MAKE AUTOCONF="${AUTOCONF}" AUTOHEADER="${AUTOHEADER}" ACLOCAL="${ACLOCAL}" AUTOMAKE="${AUTOMAKE}" AUTORECONF="${AUTORECONF}" AUTOPOINT="${AUTOPOINT}" LIBTOOLIZE="${LIBTOOLIZE}" \ + built_sources \ + || func_exit 1 cd .. $MAKE distclean || func_exit 1 ) || func_exit 1