view autogen.sh @ 1647:2af911d41a08

Date: Thu, 20 Apr 2006 10:13:34 +0200 From: Julien Lecomte Subject: [SDL] sdl-config I've noticed that `sdl-config' usage reports that --static-libs is available even when it's not. I've modified the 'sdl-config.in' file so that it no longer reports '--static-libs' if SDL was compiled with --disable-static. I didn't change --disable-shared behavior.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Apr 2006 16:33:51 +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"