autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Sun, 26 May 2013 13:06:54 -0700
changeset 7229 2636ad0a52e4
parent 7222 2435b221d77d
child 7232 6f17d930be39
permissions -rwxr-xr-x
Updated VisualC.html for SDL 2.0
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@1564
     7
found=false
slouken@1832
     8
for autoconf in autoconf autoconf259 autoconf-2.59
slouken@1564
     9
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
slouken@1563
    10
done
slouken@1564
    11
if test x$found = xfalse; then
slouken@1564
    12
    echo "Couldn't find autoconf, aborting"
slouken@1564
    13
    exit 1
slouken@1564
    14
fi
slouken@1380
    15
(cd test; sh autogen.sh)
slouken@0
    16
slouken@0
    17
# Run configure for this platform
slouken@0
    18
echo "Now you are ready to run ./configure"