test/autogen.sh
author Ryan C. Gordon <icculus@icculus.org>
Mon, 18 Feb 2019 00:26:53 -0500
changeset 69 a2c5f6a01a55
parent 0 a6cb692b8939
permissions -rwxr-xr-x
Fill in a default palette for 8-bit screen surfaces.
icculus@0
     1
#!/bin/sh
icculus@0
     2
#
icculus@0
     3
# Regenerate configuration files
icculus@0
     4
cp acinclude.m4 aclocal.m4
icculus@0
     5
found=false
icculus@0
     6
for autoconf in autoconf autoconf259 autoconf-2.59
icculus@0
     7
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
icculus@0
     8
done
icculus@0
     9
if test x$found = xfalse; then
icculus@0
    10
    echo "Couldn't find autoconf, aborting"
icculus@0
    11
    exit 1
icculus@0
    12
fi