autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Sun, 26 May 2013 11:06:17 -0700
changeset 7222 2435b221d77d
parent 5409 30205e106bba
child 7232 6f17d930be39
permissions -rwxr-xr-x
Renamed documentation files to .txt and converted them to DOS line endings so they would open properly on all systems.
Updated Makefile.in so "make dist" includes everything necessary for release.
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"