Hi,

I committed these small tweaks to gnulib-tool:

2005-10-16  Bruno Haible  <[EMAIL PROTECTED]>

        * gnulib-tool (func_emit_tests_Makefile_am): Also define
        TESTS_ENVIRONMENT, so that individual tests can augment it.

        * gnulib-tool (func_create_testdir): Use an intermediate target for
        building $(BUILT_SOURCES). Needed because BUILT_SOURCES can contain
        macros, like $(ALLOCA_H), which cannot be passed through the command
        line.

*** gnulib-20050919/gnulib-tool.bak     2005-09-20 13:48:16.000000000 +0200
--- gnulib-20050919/gnulib-tool 2005-10-16 22:41:24.000000000 +0200
***************
*** 725,730 ****
--- 725,731 ----
    echo "ACLOCAL_AMFLAGS = -I ${testsbase_inverse}/${m4base}"
    echo
    echo "TESTS ="
+   echo "TESTS_ENVIRONMENT ="
    echo "noinst_PROGRAMS ="
    echo "EXTRA_DIST ="
    echo "BUILT_SOURCES ="
***************
*** 1517,1523 ****
         cd lib
         built_sources=`grep '^BUILT_SOURCES *=' Makefile.in | sed -e 
's/^BUILT_SOURCES *=//'`
         if test -n "$built_sources"; then
!          make $built_sources
         fi
         cd ..
       make distclean
--- 1518,1525 ----
         cd lib
         built_sources=`grep '^BUILT_SOURCES *=' Makefile.in | sed -e 
's/^BUILT_SOURCES *=//'`
         if test -n "$built_sources"; then
!          echo 'built_sources: $(BUILT_SOURCES)' >> Makefile
!          make built_sources
         fi
         cd ..
       make distclean



_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to