view autogen.sh @ 1637:9ba366b919c7

Date: Fri, 31 Mar 2006 18:28:55 -0500 From: Mike Frysinger Subject: [SDL] [patch] touchup configure --help output the current output includes a lot of "default=yes" stuff in it ... except that it lacks the [] around it patch attached to fix the situation
author Sam Lantinga <slouken@libsdl.org>
date Fri, 14 Apr 2006 06:03:09 +0000
parents 4950a25bd91e
children 14717b52abc0
line wrap: on
line source

#!/bin/sh
#
echo "Generating build information using autoconf"
echo "This may take a while ..."

# Regenerate configuration files
cp acinclude.m4 aclocal.m4
found=false
for autoconf in autoconf autoconf259
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
(cd test; sh autogen.sh)

# Run configure for this platform
echo "Now you are ready to run ./configure"