mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 11:51:17 +00:00
I don't _HAVE_ a MesaGL to -l dammit! And configure already knew that on
my system Mesa was -lGL and contained the 3dfx stuff. So now we actually save the name of the GL library for use in the 3dfx buildability tests. Mercury dies now.
This commit is contained in:
parent
bf764072a0
commit
af44f6aa13
1 changed files with 3 additions and 1 deletions
|
@ -416,6 +416,7 @@ dnl Make sure -lGL or -lMesaGL works
|
|||
if test "x$HAS_OGL" = xyes; then
|
||||
AC_CHECK_LIB(GL, glColor4f, OGL_LIBS="$OGL_LIBS -lGL"
|
||||
HAS_OGL=yes
|
||||
OGL_NAME=GL
|
||||
if test "x$have_dynload" != "xyes"; then
|
||||
AC_CHECK_LIB(GL, XMesaSetFXmode, qwfoo=qwfoo, HAS_XMESA=no,
|
||||
[ $OGL_LIBS $X_LIBS -lXext -lX11 $X_EXTRA_LIBS])
|
||||
|
@ -426,6 +427,7 @@ if test "x$HAS_OGL" = xyes; then
|
|||
if test "x$HAS_OGL" != xyes; then
|
||||
AC_CHECK_LIB(MesaGL, glColor4f, OGL_LIBS="$OGL_LIBS -lMesaGL"
|
||||
HAS_OGL=yes
|
||||
OGL_NAME=MesaGL
|
||||
if test "x$have_dynload" != "xyes"; then
|
||||
AC_CHECK_LIB(MesaGL, XMesaSetFXmode, qwfoo=qwfoo, HAS_XMESA=no,
|
||||
[ $OGL_LIBS $X_LIBS -lXext -lX11 $X_EXTRA_LIBS])
|
||||
|
@ -465,7 +467,7 @@ if test "x$HAS_3dfx" != xno; then
|
|||
if test -n "$HAS_SVGA"; then
|
||||
if test -z "$TDFXGL_NAME"; then
|
||||
if test -n "$HAS_FXMESA"; then
|
||||
TDFXGL_NAME=MesaGL
|
||||
TDFXGL_NAME=$OGL_NAME
|
||||
fi
|
||||
fi
|
||||
if test -z "$TDFXGL_NAME"; then
|
||||
|
|
Loading…
Reference in a new issue