mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
Deal with the case of no -lX11 but with a valid libGL, for -3dfx.
This commit is contained in:
parent
853dfceac6
commit
e9a2509837
1 changed files with 12 additions and 0 deletions
12
configure.in
12
configure.in
|
@ -602,6 +602,18 @@ if test "x$glx_libraries" != xauto -a "x$glx_libraries" != xno -a "x$glx_librari
|
|||
[ -L$glx_libraries -lX11 $X_EXTRA_LIBS ]
|
||||
)
|
||||
fi
|
||||
AC_CHECK_LIB(GL, glColor4f,
|
||||
HAVE_GLX=yes
|
||||
OGL_NAME=GL,,
|
||||
[ -L$glx_libraries ]
|
||||
)
|
||||
if test "x$HAVE_GLX" != xyes; then
|
||||
AC_CHECK_LIB(MesaGL, glColor4f,
|
||||
HAVE_GLX=yes
|
||||
OGL_NAME=MesaGL,,
|
||||
[ -L$glx_libraries ]
|
||||
)
|
||||
fi
|
||||
if test "x$HAVE_GLX" != xyes; then
|
||||
AC_CHECK_LIB(opengl32, glColor4f,
|
||||
HAVE_GLX=yes
|
||||
|
|
Loading…
Reference in a new issue