view test/autogen.sh @ 3752:f47658c8f87a gsoc2009_unit_tests

Better error handling.
author Edgar Simo <bobbens@gmail.com>
date Wed, 05 Aug 2009 18:56:56 +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