test/autogen.sh
author Jørgen P. Tjernø <jorgen@valvesoftware.com>
Wed, 03 Apr 2013 16:48:23 -0700
changeset 7056 a5699778d80f
parent 1833 e566046c73d9
permissions -rwxr-xr-x
Improve testgamecontroller output & robustness.
     1 #!/bin/sh
     2 #
     3 # Regenerate configuration files
     4 cp acinclude.m4 aclocal.m4
     5 found=false
     6 for autoconf in autoconf autoconf259 autoconf-2.59
     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