view test/autogen.sh @ 3662:6a0b3048f271

Handle assertion failures when SDL_Init() isn't called.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 13 Jan 2010 09:44:17 +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