When creating built sources, gnulib-tool should obey the environment variables
that the user has set (those that are listed at the top of gnulib-tool).


2010-04-02  Bruno Haible  <br...@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.

--- gnulib-tool.orig    Fri Apr  2 16:54:29 2010
+++ gnulib-tool Fri Apr  2 16:54:09 2010
@@ -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


Reply via email to