Hi Simon and Paul, The func_create_megatestdir part of this patch
2004-09-18 Simon Josefsson <[EMAIL PROTECTED]> and Paul Eggert <[EMAIL PROTECTED]> * gnulib-tool: Replace various ad-hoc automake/autoconf/aclocal calls with autoreconf. Define GL_LIB. has the effect of nearly doubling the executing time of "gnulib-tool --create-megatestdir --dir=/dev/shm/testdir". 4 hours vs. ca. 7 or 8 hours of CPU time - it matters. I'm reverting to simple autoconf and automake calls for the toplevel directory. 2006-01-08 Bruno Haible <[EMAIL PROTECTED]> * gnulib-tool (AUTOMAKEPATH, AUTOCONF, ACLOCAL, AUTOMAKE): New variables. (func_create_megatestdir): Call aclocal, autoconf, automake here, not autoreconf. *** gnulib-tool.bak 2006-01-07 19:41:07.000000000 +0100 --- gnulib-tool 2006-01-08 13:30:35.000000000 +0100 *************** *** 35,40 **** --- 35,46 ---- # ;; #esac + # You can set AUTOMAKEPATH to empty if automake 1.9.x is already in your PATH. + AUTOMAKEPATH= + + AUTOCONF="${AUTOCONFPATH}autoconf" + ACLOCAL="${AUTOMAKEPATH}aclocal" + AUTOMAKE="${AUTOMAKEPATH}automake" AUTORECONF="${AUTOCONFPATH}autoreconf" # func_usage *************** *** 1619,1626 **** # Create autogenerated files. (cd "$megatestdir" ! echo "executing ${AUTORECONF} --install" ! ${AUTORECONF} --install ) } --- 1625,1641 ---- # Create autogenerated files. (cd "$megatestdir" ! # Do not use "${AUTORECONF} --install", because autoreconf operates ! # recursively, but the subdirectories are already finished, therefore ! # calling autoreconf here would only waste lots of CPU time. ! echo "executing ${ACLOCAL}" ! ${ACLOCAL} ! echo "executing mkdir build-aux" ! mkdir build-aux ! echo "executing ${AUTOCONF}" ! ${AUTOCONF} ! echo "executing ${AUTOMAKE} --add-missing --copy" ! ${AUTOMAKE} --add-missing --copy ) } _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib