view autogen.sh @ 3167:0c85abc61e47

Added a #ifndef SDL_NO_COMPAT around SDL_ActiveEvent and SDL_ResizeEvent so that code that has a #defien SDL_NO_COMPAT before the #include SDL.h with not be able to use these obsolete events.
author Bob Pendleton <bob@pendleton.com>
date Fri, 05 Jun 2009 23:36:00 +0000
parents c687a8691de3
children 3da232c5980a
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 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
(cd test; sh autogen.sh)

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