comparison configure.in @ 1628:10b4827452a8

Fixed bug #185 The SDL platform header shouldn't dictate the OS target API for other applications. The build system should define the target API for building SDL internally.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 13 Apr 2006 14:14:06 +0000
parents 7e89aa7843c5
children 89e25c25213c
comparison
equal deleted inserted replaced
1627:aee7ea396f59 1628:10b4827452a8
2317 # This could be either full "Mac OS X", or plain "Darwin" which is 2317 # This could be either full "Mac OS X", or plain "Darwin" which is
2318 # just the OS X kernel sans upper layers like Carbon and Cocoa. 2318 # just the OS X kernel sans upper layers like Carbon and Cocoa.
2319 # Next line is broken, and a few files below require Mac OS X (full) 2319 # Next line is broken, and a few files below require Mac OS X (full)
2320 ARCH=macosx 2320 ARCH=macosx
2321 2321
2322 # HACK: Reset EXTRA_LDFLAGS; the only thing it contains at this point is 2322 # Mac OS X builds with both the Carbon and OSX APIs at the moment
2323 # -lm which is not needed under Mac OS X. But for some reasons it also 2323 EXTRA_CFLAGS="-DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX"
2324 # tends to contain spurious -L switches, which we don't want to use 2324
2325 # here or in sdl-config. Hence we reset it. 2325 # HACK: Reset EXTRA_LDFLAGS; the only thing it contains at this point
2326 # is -lm which is not needed under Mac OS X. But for some reasons it
2327 # also tends to contain spurious -L switches, which we don't want to
2328 # use here or in sdl-config. Hence we reset it.
2326 EXTRA_LDFLAGS="" 2329 EXTRA_LDFLAGS=""
2327 2330
2328 CheckDummyVideo 2331 CheckDummyVideo
2329 CheckDiskAudio 2332 CheckDiskAudio
2330 CheckDummyAudio 2333 CheckDummyAudio