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 4fa27f24a4888c8f19e5f2ec1e39baea5c787254..6fa4d9d5b9f24330938973e562b309d44784d285 100644 (file)
--- 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.
index 84ea7a07c2f306bf8f6d091dc7b9b75df28c2edf..64878a0eebdb057f6758fca454942e51b3c86077 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