autogen.sh
author Ryan C. Gordon
Thu, 17 Nov 2005 03:04:47 +0000
changeset 1172 f69f4d25fb20
parent 1142 c7376efecdb5
child 1341 d02b552e5304
permissions -rwxr-xr-x
Don't crash if a NULL is passed for a "%s" parameter to SDL_SetError(),
instead replace it with the string "(null)", like glibc's printf() would do.
     1 #!/bin/sh
     2 #
     3 echo "Generating build information using aclocal, automake and autoconf"
     4 echo "This may take a while ..."
     5 
     6 # Touch the timestamps on all the files since CVS messes them up
     7 directory=`dirname $0`
     8 touch $directory/configure.in
     9 
    10 # Regenerate configuration files
    11 aclocal || exit 1
    12 automake --foreign --include-deps --add-missing --copy || exit 1
    13 autoconf || exit 1
    14 (cd test; aclocal; automake --foreign --include-deps --add-missing --copy; autoconf)
    15 
    16 # Run configure for this platform
    17 #./configure $*
    18 echo "Now you are ready to run ./configure"