diff options
author | danglassey <danglassey> | 2002-08-14 09:57:17 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-08-14 09:57:17 +0000 |
commit | daa67ff1f728c07f2a116ee9a9f4505479ca6808 (patch) | |
tree | c224a537d30480002ae0560cc9104b543b4d1b5e /autogen.sh | |
parent | 6d6973e035aac5ec1676efccd5b8ada70c40b639 (diff) | |
download | sword-sf-cvs-daa67ff1f728c07f2a116ee9a9f4505479ca6808.tar.gz |
Initial import from crosswire CVS for syncingimport-1.1.1
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..66b1d7c --- /dev/null +++ b/autogen.sh @@ -0,0 +1,64 @@ +#!/bin/sh +ACLOCAL="$AUTODIR""aclocal" +echo "*** Recreating aclocal.m4" +echo "$ACLOCAL" +if $ACLOCAL --version | egrep "1\.6" >/dev/null 2>&1; then \ + echo "aclocal 1.6" ; + $ACLOCAL;\ +elif $ACLOCAL --version | egrep "1\.5" >/dev/null 2>&1; then \ + echo "aclocal 1.5" ;\ + echo "You must have aclocal 1.6 to use aclocal with this \ +source";\ +elif $ACLOCAL --version | egrep "1\.4" >/dev/null 2>&1; then \ + echo "aclocal 1.4" ;\ + echo "You must have aclocal 1.6 to use aclocal with this \ +source";\ +else \ + echo "aclocal unknown" ;\ + echo "You must have aclocal 1.6 to use aclocal with this \ +source";\ +fi +echo "*** Recreating configure" +AUTOCONF="$AUTODIR""autoconf" +AUTOHEAD="$AUTODIR""autoheader" +if $AUTOCONF --version | egrep "2\.53" >/dev/null 2>&1; then \ + echo "autoconf 2.53" ; + if egrep "^AM_CONFIG_HEADER" configure.ac >/dev/null 2>&1; then \ + echo "*** Creating config.h template" ;\ + $AUTOHEAD ;\ + fi + $AUTOCONF;\ +elif $AUTOCONF --version | egrep "2\.52" >/dev/null 2>&1; then \ + echo "autoconf 2.52" ; + if egrep "^AM_CONFIG_HEADER" configure.ac >/dev/null 2>&1; then \ + echo "*** Creating config.h template" ;\ + $AUTOHEAD ;\ + fi + $AUTOCONF;\ +elif $AUTOCONF --version | egrep "2\.13$" >/dev/null 2>&1; then \ + echo "autoconf 2.13" ;\ + echo "You must have autoconf 2.52+ to use autoconf with this \ +source";\ +else \ + echo "autoconf unknown" ;\ + echo "You must have autoconf 2.52+ to use autoconf with this \ +source";\ +fi +echo "*** Recreating the Makefile.in files" +AUTOMAKE="$AUTODIR""automake" +if $AUTOMAKE --version | egrep "1\.6$" >/dev/null 2>&1; then \ + echo "automake 1.6" ; + $AUTOMAKE;\ +elif $AUTOMAKE --version | egrep "1\.5" >/dev/null 2>&1; then \ + echo "automake 1.5" ;\ + echo "You must have automake 1.6 to use automake with this \ +source";\ +elif $AUTOMAKE --version | egrep "1\.4" >/dev/null 2>&1; then \ + echo "automake 1.4" ;\ + echo "You must have automake 1.6 to use automake with this \ +source";\ +else \ + echo "automake unknown" ;\ + echo "You must have automake 1.6 to use automake with this \ +source";\ +fi |