Index: build/autogen.sh ================================================================== --- build/autogen.sh +++ build/autogen.sh @@ -1,5 +1,23 @@ #! /bin/bash + +# Download latest copy of autoconf macros +( + cd aclocal || exit 1 + + for file in shobj.m4 tcl.m4 versionscript.m4; do + rm -f "${file}" + + wget -O "${file}.new" "http://rkeene.org/devel/autoconf/${file}.m4" || continue + + mv "${file}.new" "${file}" + done +) aclocal -I aclocal autoconf rm -rf autom4te.cache + +for file in config.guess config.sub install-sh; do + ... +done + Index: build/pre.sh ================================================================== --- build/pre.sh +++ build/pre.sh @@ -1,19 +1,6 @@ #! /bin/bash cd "$(dirname "$(which "$0")")/.." || exit 1 -# Download latest copy of autoconf macros -( - cd aclocal || exit 1 - - for file in shobj.m4 tcl.m4 versionscript.m4; do - rm -f "${file}" - - wget -O "${file}.new" "http://rkeene.org/devel/autoconf/${file}.m4" || continue - - mv "${file}.new" "${file}" - done -) - # Generate configure script ./build/autogen.sh