test/autogen.sh
author Bob Pendleton <bob@pendleton.com>
Wed, 23 Sep 2009 02:52:11 +0000
changeset 3299 975fd903466b
parent 1833 e566046c73d9
permissions -rwxr-xr-x
int testmmousetable.c the arguments to main() are not compatible with what is required in SDL_main.h
Cleaned up testatomic.c to use the same syntax as every other test program.
slouken@0
     1
#!/bin/sh
slouken@0
     2
#
slouken@1380
     3
# Regenerate configuration files
slouken@1380
     4
cp acinclude.m4 aclocal.m4
slouken@1564
     5
found=false
slouken@1833
     6
for autoconf in autoconf autoconf259 autoconf-2.59
slouken@1564
     7
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
slouken@1563
     8
done
slouken@1564
     9
if test x$found = xfalse; then
slouken@1564
    10
    echo "Couldn't find autoconf, aborting"
slouken@1564
    11
    exit 1
slouken@1564
    12
fi