Mercurial > sdl-ios-xcode
view autogen.sh @ 1741:d67622addf51
fatbuild fixes:
- A change to define CXX in fatbuild, which comforts the configure script a little, even if we don't use C++ anywhere.
- Some code to see how many CPU cores exist and parallelize make across them.
- CFLAGS that apply to both archs are specified seperately (-O3, -pipe, etc)
- -fvisibility=hidden for the gcc4 builds
- a "clean", "clean-ppc" and "clean-x86" command
- Fix to SDL_config_macosx.h for the HAVE_ALLOCA_H thing.
Now builds on an Intel Mac.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 27 Apr 2006 11:18:03 +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"