--- psiconv/trunk/autogen.sh 2001/06/17 18:44:28 116 +++ psiconv/trunk/autogen.sh 2003/11/11 18:58:55 152 @@ -2,11 +2,17 @@ # # Run this before configure # -# This file blatantly ripped off from subversion. -# -# Note: this dependency on Perl is fine: only SVN developers use autogen.sh -# and we can state that dev people need Perl on their machine -# +# This file blatantly ripped off from subversion and Abiword + +# To run this file, you need: +# automake >= 1.6 (tested with 1.6.3, 1.7.8; older will probably not work) +# libtool >= 1.5 (tested with 1.5; older will probably not work) +# autoconf >= 2.50 (tested with 2.50, 2.57; older will not work) + +# Set this to a specific version if you want to use a non-standard automake +#AUTOMAKE_VERSION=-1.6 +# Set this to a specific version if you want to use a non-standard autoconf +AUTOCONF_VERSION=2.50 set -e @@ -15,13 +21,13 @@ # Produce aclocal.m4, so autoconf gets the automake macros it needs echo "Creating aclocal.m4..." -aclocal +aclocal$AUTOMAKE_VERSION -autoheader +autoheader$AUTOCONF_VERSION # Produce all the `Makefile.in's, verbosely, and create neat missing things # like `libtool', `install-sh', etc. -automake --add-missing --verbose --gnu --copy +automake$AUTOMAKE_VERSION --add-missing --verbose --gnu --copy --force-missing # If there's a config.cache file, we may need to delete it. # If we have an existing configure script, save a copy for comparison. @@ -31,7 +37,7 @@ # Produce ./configure echo "Creating configure..." -autoconf +autoconf$AUTOCONF_VERSION echo "" echo "You can run ./configure now."