Allow names of all autofoo programs to be overridden via environment variables.

This commit is contained in:
Carl Worth 2003-12-05 10:30:39 +00:00
parent 928095693b
commit 97666464c0
2 changed files with 16 additions and 5 deletions

View file

@ -1,5 +1,8 @@
2003-12-05 Carl Worth <cworth@east.isi.edu>
* autogen.sh (AUTOCONF): Allow names of all autofoo programs to be
overridden via environment variables.
* configure.in: Bump version to 0.1.15 for new
CAIRO_HAS_XLIB_SURFACE macro.

View file

@ -3,6 +3,14 @@
set -e
LIBTOOLIZE=${LIBTOOLIZE-libtoolize}
LIBTOOLIZE_FLAGS="--copy --force"
ACLOCAL=${ACLOCAL-aclocal}
AUTOHEADER=${AUTOHEADER-autoheader}
AUTOMAKE=${AUTOMAKE-automake}
AUTOMAKE_FLAGS="--add-missing"
AUTOCONF=${AUTOCONF-autoconf}
ARGV0=$0
if test -z "$ACLOCAL_FLAGS"; then
@ -32,14 +40,14 @@ do_cmd() {
$@
}
do_cmd libtoolize --force --copy
do_cmd $LIBTOOLIZE $LIBTOOLIZE_FLAGS
do_cmd aclocal ${ACLOCAL_FLAGS}
do_cmd $ACLOCAL $ACLOCAL_FLAGS
do_cmd autoheader
do_cmd $AUTOHEADER
do_cmd automake --add-missing
do_cmd $AUTOMAKE $AUTOMAKE_FLAGS
do_cmd autoconf
do_cmd $AUTOCONF
do_cmd ./configure --enable-maintainer-mode ${1+"$@"} && echo "Now type \`make' to compile" || exit 1