mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-01-31 20:50:36 +00:00
Fixed silly bug in OpenGL detection.
This commit is contained in:
parent
87419fbacc
commit
5fa34c3456
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ if test "x$HAS_OGL" != xno; then
|
||||||
save_CPPFLAGS="$CPPFLAGS"
|
save_CPPFLAGS="$CPPFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS $OGL_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $OGL_CFLAGS"
|
||||||
AC_CHECK_HEADER(GL/gl.h, HAS_OGL=yes, HAS_OGL=no)
|
AC_CHECK_HEADER(GL/gl.h, HAS_OGL=yes, HAS_OGL=no)
|
||||||
if test "x$HAS_OGL" != no; then
|
if test "x$HAS_OGL" != xno; then
|
||||||
AC_MSG_CHECKING(for GL_COLOR_INDEX8_EXT in GL/gl.h)
|
AC_MSG_CHECKING(for GL_COLOR_INDEX8_EXT in GL/gl.h)
|
||||||
AC_TRY_COMPILE([#include "GL/gl.h"],
|
AC_TRY_COMPILE([#include "GL/gl.h"],
|
||||||
[ int x = (int) GL_COLOR_INDEX8_EXT;],
|
[ int x = (int) GL_COLOR_INDEX8_EXT;],
|
||||||
|
|
Loading…
Reference in a new issue