Mercurial > sdl-ios-xcode
comparison configure.in @ 1742:af4352da64d8
Fixed bug #206, fatbuild.sh works flawlessly on Intel Macs
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 28 Apr 2006 05:38:06 +0000 |
parents | 9f59d4c5aaea |
children | 741dc4e89f3a |
comparison
equal
deleted
inserted
replaced
1741:d67622addf51 | 1742:af4352da64d8 |
---|---|
50 fi | 50 fi |
51 | 51 |
52 dnl Set up the compiler and linker flags | 52 dnl Set up the compiler and linker flags |
53 INCLUDE="-I$srcdir/include" | 53 INCLUDE="-I$srcdir/include" |
54 if test x$srcdir != x.; then | 54 if test x$srcdir != x.; then |
55 # Remove SDL_config.h from the source directory, since it's the | |
56 # default one, and we want to include the one that we generate. | |
57 if test -f $srcdir/include/SDL_config.h; then | |
58 rm $srcdir/include/SDL_config.h | |
59 fi | |
55 INCLUDE="-Iinclude $INCLUDE" | 60 INCLUDE="-Iinclude $INCLUDE" |
56 fi | 61 fi |
57 case "$host" in | 62 case "$host" in |
58 *-*-cygwin*) | 63 *-*-cygwin*) |
59 # We build SDL on cygwin without the UNIX emulation layer | 64 # We build SDL on cygwin without the UNIX emulation layer |
2330 # is -lm which is not needed under Mac OS X. But for some reasons it | 2335 # is -lm which is not needed under Mac OS X. But for some reasons it |
2331 # also tends to contain spurious -L switches, which we don't want to | 2336 # also tends to contain spurious -L switches, which we don't want to |
2332 # use here or in sdl-config. Hence we reset it. | 2337 # use here or in sdl-config. Hence we reset it. |
2333 EXTRA_LDFLAGS="" | 2338 EXTRA_LDFLAGS="" |
2334 | 2339 |
2340 CheckVisibilityHidden | |
2335 CheckDummyVideo | 2341 CheckDummyVideo |
2336 CheckDiskAudio | 2342 CheckDiskAudio |
2337 CheckDummyAudio | 2343 CheckDummyAudio |
2338 CheckDLOPEN | 2344 CheckDLOPEN |
2339 | 2345 |