2 # Run this to generate configure and initial GNUmakefiles
7 if [ stepmake
/aclocal.
m4 -nt aclocal.
m4 ]; then
8 echo "stepmake/aclocal.m4 is newer. Copying file."
9 cp -f stepmake
/aclocal.
m4 aclocal.
m4
12 if [ stepmake
/autogen.sh
-nt autogen.sh
]; then
13 echo "stepmake/autogen.sh is newer. Copying file."
14 cp -f stepmake
/autogen.sh autogen.sh
18 # Be paranoid: check for autoconf >= 2.50
19 # Some setups have both autoconf 2.13 and 2.5x available through
20 # a wrapper script: /usr/bin/autoconf.
21 # This wrapper may incorrectly autoselect autoconf 2.50, but it
22 # advertises itself as autoconf 2.13.
23 # If you have such a setup, invoke this script as:
24 # autoconf=autoconf2.50 ./autogen.sh
25 for i
in autoconf2.50 autoconf-2.50 autoconf false
; do
26 version
=`$i --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
27 if test "0$version" -ge 250; then
33 if test -z "$autoconf"; then
34 echo "ERROR: Please install autoconf 2.50 or newer"
39 echo "WARNING: I am going to run \`configure' with no arguments."
40 echo "If you wish to pass any to it, please specify them on the"
41 echo \
`$0\'" command line."
45 for coin in `find $srcdir -name configure.
in -print`
51 echo "Running autoconf ..."
56 #conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
57 if test -z "$NOCONFIGURE"; then
58 echo Running $srcdir/configure $conf_flags "$@" ...
59 $srcdir/configure $conf_flags "$@"
61 echo Skipping configure process.