diff options
author | Carl Worth <cworth@cworth.org> | 2003-12-05 10:30:39 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2003-12-05 10:30:39 +0000 |
commit | 97666464c0a38d5904869af1c742c87c3be15067 (patch) | |
tree | 89a5ce6e8bae354a89fa73817b2e70ef240abb70 /autogen.sh | |
parent | 928095693bff00e38b6d369ee0e7931f136f9082 (diff) |
Allow names of all autofoo programs to be overridden via environment variables.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -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 |