autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Tue, 21 Mar 2006 06:54:24 +0000
changeset 1563 b054590b967a
parent 1380 d94b080ff6ce
child 1564 4950a25bd91e
permissions -rwxr-xr-x
Fall back to autogen259 if autogen isn't available
     1 #!/bin/sh
     2 #
     3 echo "Generating build information using autoconf"
     4 echo "This may take a while ..."
     5 
     6 # Regenerate configuration files
     7 cp acinclude.m4 aclocal.m4
     8 for autoconf in autoconf autoconf259
     9 do if which $autoconf >/dev/null; then $autoconf; break; fi
    10 done
    11 (cd test; sh autogen.sh)
    12 
    13 # Run configure for this platform
    14 echo "Now you are ready to run ./configure"