diff --git a/configure.in b/configure.in index 3ea13ac9e..a7f37fb2d 100644 --- a/configure.in +++ b/configure.in @@ -580,13 +580,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 -lX11 $X_EXTRA_LIBS ] + [ -L$glx_libraries -lX11 -lXext $X_EXTRA_LIBS ] ) if test "x$HAVE_GLX" != xyes; then AC_CHECK_LIB(MesaGL, glColor4f, HAVE_GLX=yes OGL_NAME=MesaGL,, - [ -L$glx_libraries -lX11 $X_EXTRA_LIBS ] + [ -L$glx_libraries -lX11 -lXext $X_EXTRA_LIBS ] ) fi if test "x$HAVE_GLX" != xyes; then @@ -609,13 +609,13 @@ else AC_CHECK_LIB(GL, glColor4f, HAVE_GLX=yes OGL_NAME=GL,, - [ $X_LIBS -lX11 $X_EXTRA_LIBS ] + [ $X_LIBS -lX11 -lXext $X_EXTRA_LIBS ] ) if test "x$HAVE_GLX" != xyes; then AC_CHECK_LIB(MesaGL, glColor4f, HAVE_GLX=yes OGL_NAME=MesaGL,, - [ $X_LIBS -lX11 $X_EXTRA_LIBS ] + [ $X_LIBS -lX11 -lXext $X_EXTRA_LIBS ] ) fi if test "x$HAVE_GLX" != xyes; then