configure.in
branchSDL-1.3
changeset 1658 e49147870aac
parent 1657 5b0805ceb50f
child 1659 14717b52abc0
     1.1 --- a/configure.in	Fri Apr 28 16:55:41 2006 +0000
     1.2 +++ b/configure.in	Mon May 01 06:58:33 2006 +0000
     1.3 @@ -1459,6 +1459,20 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 +dnl Find glSDL
     1.8 +CheckglSDL()
     1.9 +{
    1.10 +    AC_ARG_ENABLE(video-glsdl,
    1.11 +[  --enable-video-glsdl    use glSDL video driver [default=yes]],
    1.12 +                  , enable_video_glsdl=yes)
    1.13 +    AC_MSG_CHECKING(for glSDL support)
    1.14 +    AC_MSG_RESULT($video_opengl)
    1.15 +    if test x$video_opengl = xyes -a x$enable_video_glsdl = xyes; then
    1.16 +        AC_DEFINE(SDL_VIDEO_DRIVER_GLSDL)
    1.17 +        SOURCES="$SOURCES $srcdir/src/video/glsdl/*.c"
    1.18 +    fi
    1.19 +}
    1.20 +
    1.21  dnl Check for Mesa offscreen rendering
    1.22  CheckAtariOSMesa()
    1.23  {
    1.24 @@ -2080,6 +2094,7 @@
    1.25          CheckQtopia
    1.26          CheckPicoGUI
    1.27          CheckOpenGLX11
    1.28 +        CheckglSDL
    1.29          CheckInputEvents
    1.30          CheckTslib
    1.31          CheckUSBHID
    1.32 @@ -2178,6 +2193,7 @@
    1.33          CheckPHOTON
    1.34          CheckX11
    1.35          CheckOpenGLX11
    1.36 +        CheckglSDL
    1.37          CheckPTHREAD
    1.38          # Set up files for the audio library
    1.39          if test x$enable_audio = xyes; then
    1.40 @@ -2215,6 +2231,7 @@
    1.41          CheckDummyAudio
    1.42          CheckWIN32
    1.43          CheckWIN32GL
    1.44 +        CheckglSDL
    1.45          CheckDIRECTX
    1.46          CheckNASM
    1.47          # Set up files for the audio library
    1.48 @@ -2279,6 +2296,7 @@
    1.49          CheckNASM
    1.50          CheckBWINDOW
    1.51          CheckBeGL
    1.52 +        CheckglSDL
    1.53          # Set up files for the audio library
    1.54          if test x$enable_audio = xyes; then
    1.55              AC_DEFINE(SDL_AUDIO_DRIVER_BAUDIO)
    1.56 @@ -2356,6 +2374,7 @@
    1.57          CheckX11
    1.58          CheckMacGL
    1.59          CheckOpenGLX11
    1.60 +        CheckglSDL
    1.61          CheckPTHREAD
    1.62          CheckAltivec
    1.63  
    1.64 @@ -2417,6 +2436,7 @@
    1.65          CheckAtariAudio
    1.66          CheckAtariLdg
    1.67          CheckAtariOSMesa
    1.68 +        CheckglSDL
    1.69          CheckPTH
    1.70          # Set up files for the audio library
    1.71          if test x$enable_threads = xyes -a x$enable_pth = xyes; then