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
slouken@0
     1
#!/bin/sh
slouken@0
     2
#
slouken@1376
     3
echo "Generating build information using autoconf"
slouken@0
     4
echo "This may take a while ..."
slouken@0
     5
slouken@0
     6
# Regenerate configuration files
slouken@1376
     7
cp acinclude.m4 aclocal.m4
slouken@1563
     8
for autoconf in autoconf autoconf259
slouken@1563
     9
do if which $autoconf >/dev/null; then $autoconf; break; fi
slouken@1563
    10
done
slouken@1380
    11
(cd test; sh autogen.sh)
slouken@0
    12
slouken@0
    13
# Run configure for this platform
slouken@0
    14
echo "Now you are ready to run ./configure"