configure.in
changeset 1952 420716272158
parent 1945 3182150b470f
child 1977 754847f19490
     1.1 --- a/configure.in	Thu Jul 27 06:53:23 2006 +0000
     1.2 +++ b/configure.in	Fri Jul 28 08:43:17 2006 +0000
     1.3 @@ -1359,7 +1359,7 @@
     1.4  
     1.5  dnl Check to see if OpenGL support is desired
     1.6  AC_ARG_ENABLE(video-opengl,
     1.7 -AC_HELP_STRING([--enable-video-opengl], [include OpenGL context creation [[default=yes]]]),
     1.8 +AC_HELP_STRING([--enable-video-opengl], [include OpenGL support [[default=yes]]]),
     1.9                , enable_video_opengl=yes)
    1.10  
    1.11  dnl Find OpenGL
    1.12 @@ -1379,6 +1379,7 @@
    1.13          if test x$video_opengl = xyes; then
    1.14              AC_DEFINE(SDL_VIDEO_OPENGL)
    1.15              AC_DEFINE(SDL_VIDEO_OPENGL_GLX)
    1.16 +            AC_DEFINE(SDL_VIDEO_RENDER_OGL)
    1.17          fi
    1.18      fi
    1.19  }
    1.20 @@ -1398,6 +1399,7 @@
    1.21          AC_MSG_RESULT($video_opengl)
    1.22          if test x$video_opengl = xyes; then
    1.23              AC_DEFINE(SDL_VIDEO_OPENGL)
    1.24 +            AC_DEFINE(SDL_VIDEO_RENDER_OGL)
    1.25              EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGL"
    1.26          fi
    1.27      fi
    1.28 @@ -1409,6 +1411,7 @@
    1.29      if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
    1.30          AC_DEFINE(SDL_VIDEO_OPENGL)
    1.31          AC_DEFINE(SDL_VIDEO_OPENGL_WGL)
    1.32 +        AC_DEFINE(SDL_VIDEO_RENDER_OGL)
    1.33      fi
    1.34  }
    1.35  
    1.36 @@ -1417,6 +1420,8 @@
    1.37  {
    1.38      if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
    1.39          AC_DEFINE(SDL_VIDEO_OPENGL)
    1.40 +        AC_DEFINE(SDL_VIDEO_OPENGL_BGL)
    1.41 +        AC_DEFINE(SDL_VIDEO_RENDER_OGL)
    1.42          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lGL"
    1.43      fi
    1.44  }
    1.45 @@ -1426,6 +1431,8 @@
    1.46  {
    1.47      if test x$enable_video = xyes -a x$enable_video_opengl = xyes; then
    1.48          AC_DEFINE(SDL_VIDEO_OPENGL)
    1.49 +        AC_DEFINE(SDL_VIDEO_OPENGL_CGL)
    1.50 +        AC_DEFINE(SDL_VIDEO_RENDER_OGL)
    1.51          case "$host" in
    1.52              *-*-darwin*)
    1.53                  if test x$enable_video_cocoa = xyes; then
    1.54 @@ -1456,6 +1463,7 @@
    1.55          fi
    1.56          AC_DEFINE(SDL_VIDEO_OPENGL)
    1.57          AC_DEFINE(SDL_VIDEO_OPENGL_OSMESA)
    1.58 +        AC_DEFINE(SDL_VIDEO_RENDER_OGL)
    1.59          SDL_CFLAGS="$SDL_CFLAGS $OSMESA_CFLAGS"
    1.60          SDL_LIBS="$SDL_LIBS $OSMESA_LIBS"
    1.61