Deal with the case of no -lX11 but with a valid libGL, for -3dfx.

This commit is contained in:
Zephaniah E. Hull 2001-05-21 06:27:01 +00:00
parent 853dfceac6
commit e9a2509837

View file

@ -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