test/autogen.sh
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1564 4950a25bd91e
equal deleted inserted replaced
1658:e49147870aac 1659:14717b52abc0
     1 #!/bin/sh
     1 #!/bin/sh
     2 #
     2 #
     3 # Regenerate configuration files
     3 # Regenerate configuration files
     4 cp acinclude.m4 aclocal.m4
     4 cp acinclude.m4 aclocal.m4
     5 found=false
     5 found=false
     6 for autoconf in autoconf autoconf259
     6 for autoconf in autoconf autoconf259 autoconf-2.59
     7 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
     7 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
     8 done
     8 done
     9 if test x$found = xfalse; then
     9 if test x$found = xfalse; then
    10     echo "Couldn't find autoconf, aborting"
    10     echo "Couldn't find autoconf, aborting"
    11     exit 1
    11     exit 1