bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib-tool: Obey user's environment variables


From: Bruno Haible
Subject: gnulib-tool: Obey user's environment variables
Date: Fri, 2 Apr 2010 15:57:01 +0100
User-agent: KMail/1.9.9

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  <address@hidden>

        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

[Prev in Thread] Current Thread [Next in Thread]