autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Sun, 09 Jan 2011 08:35:18 -0800
changeset 4968 379361d5e425
parent 3377 c8d350c981ff
child 5409 30205e106bba
permissions -rwxr-xr-x
Jcw87 to Sam

The project files for VS 2005 are still outdated/messed up. I have a patch that will bring the VS 2005 project files up to date with the VS 2008 project files, add the x64 platform to the VS 2005 project files, fix a few issues with x64 in VS 2008, and a few other misc changes that don't really change the output at all.
     1 #!/bin/sh
     2 #
     3 echo "Generating build information using autoconf"
     4 echo "This may take a while ..."
     5 
     6 # Generate SDL_revision.h
     7 sh build-scripts/updaterev.sh
     8 
     9 # Regenerate configuration files
    10 cat acinclude/* >aclocal.m4
    11 found=false
    12 for autoconf in autoconf autoconf259 autoconf-2.59
    13 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
    14 done
    15 if test x$found = xfalse; then
    16     echo "Couldn't find autoconf, aborting"
    17     exit 1
    18 fi
    19 (cd test; sh autogen.sh)
    20 
    21 # Run configure for this platform
    22 echo "Now you are ready to run ./configure"