From 058ac6522a9cc64af7bdc2c5b2977d12747f17b5 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 29 Mar 2001 18:20:05 +0000 Subject: [PATCH] fix OpenGL/MesaGL testing. --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 1746019b1..4e06c7b23 100644 --- a/configure.in +++ b/configure.in @@ -566,13 +566,13 @@ if test "x$glx_libraries" != xauto -a "x$glx_libraries" != xno -a "x$glx_librari AC_CHECK_LIB(GL, glColor4f, HAVE_GLX=yes OGL_NAME=GL,, - [ -L$glx_libraries ] + [ -L$glx_libraries -lX11 $X_EXTRA_LIBS ] ) if test "x$HAVE_GLX" != xyes; then AC_CHECK_LIB(MesaGL, glColor4f, HAVE_GLX=yes OGL_NAME=MesaGL,, - [ -L$glx_libraries ] + [ -L$glx_libraries -lX11 $X_EXTRA_LIBS ] ) fi fi @@ -588,13 +588,13 @@ else AC_CHECK_LIB(GL, glColor4f, HAVE_GLX=yes OGL_NAME=GL,, - [ $X_LIBS ] + [ $X_LIBS -lX11 $X_EXTRA_LIBS ] ) if test "x$HAVE_GLX" != xyes; then AC_CHECK_LIB(MesaGL, glColor4f, HAVE_GLX=yes OGL_NAME=MesaGL,, - [ $X_LIBS ] + [ $X_LIBS -lX11 $X_EXTRA_LIBS ] ) fi fi