view test/autogen.sh @ 4346:5fe9b267cf55 SDL-1.2

matthew green actually, please don't apply this upstream. i need to think about a better solution.. thanks. .mrg.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 17 Oct 2009 05:05:29 +0000
parents e566046c73d9
children
line wrap: on
line source

#!/bin/sh
#
# Regenerate configuration files
cp acinclude.m4 aclocal.m4
found=false
for autoconf in autoconf autoconf259 autoconf-2.59
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
done
if test x$found = xfalse; then
    echo "Couldn't find autoconf, aborting"
    exit 1
fi