gnulib-tool: Obey user's environment variables.
authorBruno Haible <bruno@clisp.org>
Fri, 2 Apr 2010 14:57:08 +0000 (16:57 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 2 Apr 2010 16:10:55 +0000 (18:10 +0200)
ChangeLog
gnulib-tool

index 4fa27f2..6fa4d9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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.
        * gnulib-tool (func_import, func_create_testdir): Emit a definition
        of gl_m4_base.
index 84ea7a0..64878a0 100755 (executable)
@@ -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