view autogen.sh @ 1744:7f39af143e38

[From Sam] > BTW, when setting up parallel make, I usually use # cpus + 1, so a compile is > running while disk access is going for another. [From Ryan] My experience is that this works well on Linux, but is actually slower on PowerPC Mac OS X...not sure if that's an architecture issue or a scheduler issue, though, and haven't tried it on Intel Mac OS X.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 28 Apr 2006 05:46:07 +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"