changeset 13106:e34f9da5d9d4

gnulib-tool: Obey user's environment variables.
author Bruno Haible <bruno@clisp.org>
date Fri, 02 Apr 2010 16:57:08 +0200
parents 6d950d2ec11e
children ed335ebb55f0
files ChangeLog gnulib-tool
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-04-02  Bruno Haible  <bruno@clisp.org>
+
+	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  <bruno@clisp.org>
 
 	gnulib-tool: Provide the value of --m4-base to modules.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -5143,7 +5143,9 @@
      ./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