autogen.sh
changeset 1361 19418e4422cb
parent 1341 d02b552e5304
child 1376 4a47f20705eb
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
     1 #!/bin/sh
     1 #!/bin/sh
     2 #
     2 #
     3 echo "Generating build information using aclocal, automake and autoconf"
     3 echo "Generating build information using aclocal and autoconf"
     4 echo "This may take a while ..."
     4 echo "This may take a while ..."
     5 
     5 
     6 # Touch the timestamps on all the files since CVS messes them up
       
     7 directory=`dirname $0`
       
     8 touch $directory/configure.in
       
     9 touch $directory/include/SDL_config.h.in
       
    10 
       
    11 # Regenerate configuration files
     6 # Regenerate configuration files
    12 aclocal || exit 1
     7 (aclocal && autoconf) || exit $?
    13 automake --foreign --include-deps --add-missing --copy || exit 1
     8 (cd test; aclocal; autoconf)
    14 autoconf || exit 1
       
    15 (cd test; aclocal; automake --foreign --include-deps --add-missing --copy; autoconf)
       
    16 
     9 
    17 # Run configure for this platform
    10 # Run configure for this platform
    18 #./configure $*
       
    19 echo "Now you are ready to run ./configure"
    11 echo "Now you are ready to run ./configure"