autogen.sh
changeset 294 58eb208474e0
parent 165 b3ecd65d86c6
child 322 54d96d95a0cb
     1.1 --- a/autogen.sh	Sun Apr 30 08:56:00 2006 +0000
     1.2 +++ b/autogen.sh	Sun Apr 30 20:27:33 2006 +0000
     1.3 @@ -1,8 +1,18 @@
     1.4  #!/bin/sh
     1.5  #
     1.6 -aclocal
     1.7 -automake --foreign --include-deps --add-missing --copy
     1.8 -autoconf
     1.9 +echo "Generating build information using autoconf"
    1.10 +echo "This may take a while ..."
    1.11  
    1.12 -#./configure $*
    1.13 +# Regenerate configuration files
    1.14 +cp acinclude.m4 aclocal.m4
    1.15 +found=false
    1.16 +for autoconf in autoconf autoconf259
    1.17 +do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
    1.18 +done
    1.19 +if test x$found = xfalse; then
    1.20 +    echo "Couldn't find autoconf, aborting"
    1.21 +    exit 1
    1.22 +fi
    1.23 +
    1.24 +# Run configure for this platform
    1.25  echo "Now you are ready to run ./configure"