mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-07 08:21:59 +00:00
fix OpenGL/MesaGL testing.
This commit is contained in:
parent
dd3d2a073d
commit
058ac6522a
1 changed files with 4 additions and 4 deletions
|
@ -566,13 +566,13 @@ if test "x$glx_libraries" != xauto -a "x$glx_libraries" != xno -a "x$glx_librari
|
||||||
AC_CHECK_LIB(GL, glColor4f,
|
AC_CHECK_LIB(GL, glColor4f,
|
||||||
HAVE_GLX=yes
|
HAVE_GLX=yes
|
||||||
OGL_NAME=GL,,
|
OGL_NAME=GL,,
|
||||||
[ -L$glx_libraries ]
|
[ -L$glx_libraries -lX11 $X_EXTRA_LIBS ]
|
||||||
)
|
)
|
||||||
if test "x$HAVE_GLX" != xyes; then
|
if test "x$HAVE_GLX" != xyes; then
|
||||||
AC_CHECK_LIB(MesaGL, glColor4f,
|
AC_CHECK_LIB(MesaGL, glColor4f,
|
||||||
HAVE_GLX=yes
|
HAVE_GLX=yes
|
||||||
OGL_NAME=MesaGL,,
|
OGL_NAME=MesaGL,,
|
||||||
[ -L$glx_libraries ]
|
[ -L$glx_libraries -lX11 $X_EXTRA_LIBS ]
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -588,13 +588,13 @@ else
|
||||||
AC_CHECK_LIB(GL, glColor4f,
|
AC_CHECK_LIB(GL, glColor4f,
|
||||||
HAVE_GLX=yes
|
HAVE_GLX=yes
|
||||||
OGL_NAME=GL,,
|
OGL_NAME=GL,,
|
||||||
[ $X_LIBS ]
|
[ $X_LIBS -lX11 $X_EXTRA_LIBS ]
|
||||||
)
|
)
|
||||||
if test "x$HAVE_GLX" != xyes; then
|
if test "x$HAVE_GLX" != xyes; then
|
||||||
AC_CHECK_LIB(MesaGL, glColor4f,
|
AC_CHECK_LIB(MesaGL, glColor4f,
|
||||||
HAVE_GLX=yes
|
HAVE_GLX=yes
|
||||||
OGL_NAME=MesaGL,,
|
OGL_NAME=MesaGL,,
|
||||||
[ $X_LIBS ]
|
[ $X_LIBS -lX11 $X_EXTRA_LIBS ]
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue