autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Sun, 30 Apr 2006 20:27:33 +0000
changeset 294 58eb208474e0
parent 165 b3ecd65d86c6
child 322 54d96d95a0cb
permissions -rwxr-xr-x
Removed automake dependency, to allow Universal binaries on Mac OS X
     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 found=false
     9 for autoconf in autoconf autoconf259
    10 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
    11 done
    12 if test x$found = xfalse; then
    13     echo "Couldn't find autoconf, aborting"
    14     exit 1
    15 fi
    16 
    17 # Run configure for this platform
    18 echo "Now you are ready to run ./configure"