comparison configure.in @ 1658:e49147870aac SDL-1.3

glSDL support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 May 2006 06:58:33 +0000
parents 5b0805ceb50f
children 14717b52abc0
comparison
equal deleted inserted replaced
1657:5b0805ceb50f 1658:e49147870aac
1457 fi 1457 fi
1458 esac 1458 esac
1459 fi 1459 fi
1460 } 1460 }
1461 1461
1462 dnl Find glSDL
1463 CheckglSDL()
1464 {
1465 AC_ARG_ENABLE(video-glsdl,
1466 [ --enable-video-glsdl use glSDL video driver [default=yes]],
1467 , enable_video_glsdl=yes)
1468 AC_MSG_CHECKING(for glSDL support)
1469 AC_MSG_RESULT($video_opengl)
1470 if test x$video_opengl = xyes -a x$enable_video_glsdl = xyes; then
1471 AC_DEFINE(SDL_VIDEO_DRIVER_GLSDL)
1472 SOURCES="$SOURCES $srcdir/src/video/glsdl/*.c"
1473 fi
1474 }
1475
1462 dnl Check for Mesa offscreen rendering 1476 dnl Check for Mesa offscreen rendering
1463 CheckAtariOSMesa() 1477 CheckAtariOSMesa()
1464 { 1478 {
1465 if test "x$enable_video" = "xyes" -a "x$enable_video_opengl" = "xyes"; then 1479 if test "x$enable_video" = "xyes" -a "x$enable_video_opengl" = "xyes"; then
1466 AC_CHECK_HEADER(GL/osmesa.h, have_osmesa_hdr=yes) 1480 AC_CHECK_HEADER(GL/osmesa.h, have_osmesa_hdr=yes)
2078 CheckWscons 2092 CheckWscons
2079 CheckAAlib 2093 CheckAAlib
2080 CheckQtopia 2094 CheckQtopia
2081 CheckPicoGUI 2095 CheckPicoGUI
2082 CheckOpenGLX11 2096 CheckOpenGLX11
2097 CheckglSDL
2083 CheckInputEvents 2098 CheckInputEvents
2084 CheckTslib 2099 CheckTslib
2085 CheckUSBHID 2100 CheckUSBHID
2086 CheckPTHREAD 2101 CheckPTHREAD
2087 CheckClockGettime 2102 CheckClockGettime
2176 CheckDLOPEN 2191 CheckDLOPEN
2177 CheckNAS 2192 CheckNAS
2178 CheckPHOTON 2193 CheckPHOTON
2179 CheckX11 2194 CheckX11
2180 CheckOpenGLX11 2195 CheckOpenGLX11
2196 CheckglSDL
2181 CheckPTHREAD 2197 CheckPTHREAD
2182 # Set up files for the audio library 2198 # Set up files for the audio library
2183 if test x$enable_audio = xyes; then 2199 if test x$enable_audio = xyes; then
2184 AC_DEFINE(SDL_AUDIO_DRIVER_QNXNTO) 2200 AC_DEFINE(SDL_AUDIO_DRIVER_QNXNTO)
2185 SOURCES="$SOURCES $srcdir/src/audio/nto/*.c" 2201 SOURCES="$SOURCES $srcdir/src/audio/nto/*.c"
2213 CheckDummyVideo 2229 CheckDummyVideo
2214 CheckDiskAudio 2230 CheckDiskAudio
2215 CheckDummyAudio 2231 CheckDummyAudio
2216 CheckWIN32 2232 CheckWIN32
2217 CheckWIN32GL 2233 CheckWIN32GL
2234 CheckglSDL
2218 CheckDIRECTX 2235 CheckDIRECTX
2219 CheckNASM 2236 CheckNASM
2220 # Set up files for the audio library 2237 # Set up files for the audio library
2221 if test x$enable_audio = xyes; then 2238 if test x$enable_audio = xyes; then
2222 AC_DEFINE(SDL_AUDIO_DRIVER_WAVEOUT) 2239 AC_DEFINE(SDL_AUDIO_DRIVER_WAVEOUT)
2277 CheckDiskAudio 2294 CheckDiskAudio
2278 CheckDummyAudio 2295 CheckDummyAudio
2279 CheckNASM 2296 CheckNASM
2280 CheckBWINDOW 2297 CheckBWINDOW
2281 CheckBeGL 2298 CheckBeGL
2299 CheckglSDL
2282 # Set up files for the audio library 2300 # Set up files for the audio library
2283 if test x$enable_audio = xyes; then 2301 if test x$enable_audio = xyes; then
2284 AC_DEFINE(SDL_AUDIO_DRIVER_BAUDIO) 2302 AC_DEFINE(SDL_AUDIO_DRIVER_BAUDIO)
2285 SOURCES="$SOURCES $srcdir/src/audio/baudio/*.cc" 2303 SOURCES="$SOURCES $srcdir/src/audio/baudio/*.cc"
2286 have_audio=yes 2304 have_audio=yes
2354 CheckCOCOA 2372 CheckCOCOA
2355 CheckCARBON 2373 CheckCARBON
2356 CheckX11 2374 CheckX11
2357 CheckMacGL 2375 CheckMacGL
2358 CheckOpenGLX11 2376 CheckOpenGLX11
2377 CheckglSDL
2359 CheckPTHREAD 2378 CheckPTHREAD
2360 CheckAltivec 2379 CheckAltivec
2361 2380
2362 # Need this or things might misbuild on a G3. 2381 # Need this or things might misbuild on a G3.
2363 EXTRA_CFLAGS="$EXTRA_CFLAGS -force_cpusubtype_ALL" 2382 EXTRA_CFLAGS="$EXTRA_CFLAGS -force_cpusubtype_ALL"
2415 CheckAtariXbiosVideo 2434 CheckAtariXbiosVideo
2416 CheckAtariGemVideo 2435 CheckAtariGemVideo
2417 CheckAtariAudio 2436 CheckAtariAudio
2418 CheckAtariLdg 2437 CheckAtariLdg
2419 CheckAtariOSMesa 2438 CheckAtariOSMesa
2439 CheckglSDL
2420 CheckPTH 2440 CheckPTH
2421 # Set up files for the audio library 2441 # Set up files for the audio library
2422 if test x$enable_threads = xyes -a x$enable_pth = xyes; then 2442 if test x$enable_threads = xyes -a x$enable_pth = xyes; then
2423 if test x$enable_audio = xyes; then 2443 if test x$enable_audio = xyes; then
2424 AC_DEFINE(SDL_AUDIO_DRIVER_SUNAUDIO) 2444 AC_DEFINE(SDL_AUDIO_DRIVER_SUNAUDIO)