test/autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Tue, 21 Mar 2006 07:02:34 +0000
changeset 1564 4950a25bd91e
parent 1563 b054590b967a
child 1659 14717b52abc0
permissions -rwxr-xr-x
Show an error message if autoconf isn't found
     1 #!/bin/sh
     2 #
     3 # Regenerate configuration files
     4 cp acinclude.m4 aclocal.m4
     5 found=false
     6 for autoconf in autoconf autoconf259
     7 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
     8 done
     9 if test x$found = xfalse; then
    10     echo "Couldn't find autoconf, aborting"
    11     exit 1
    12 fi