+2006-01-08 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (AUTOMAKEPATH, AUTOCONF, ACLOCAL, AUTOMAKE): New
+ variables.
+ (func_create_megatestdir): Call aclocal, autoconf, automake here, not
+ autoreconf.
+
2006-01-11 Bruno Haible <bruno@clisp.org>
* gnulib-tool (func_import, func_create_testdir): Replace build-aux
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2006-01-11 12:24:28 $'
+cvsdatestamp='$Date: 2006-01-11 12:56:40 $'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
# ;;
#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
# Create autogenerated files.
(cd "$megatestdir"
- echo "executing ${AUTORECONF} --install"
- ${AUTORECONF} --install
+ # 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
)
}