summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4ebb894be..b29c9c3a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -383,7 +383,6 @@ if test "$XCSECURITY" = yes; then
AC_DEFINE(XCSECURITY,1,[Build Security extension])
fi
-AM_CONDITIONAL(GLX, test x$GLX = xyes)
if test "$GLX" = yes -a x$MESA_SOURCE != x; then
AC_DEFINE(GLXEXT,1,[Build GLX extension])
# EXTENSION_LIBS="$EXTENSION_LIBS "'$(top_builddir)/GL/glx/libglx.la $(top_builddir)/GL/mesa/libGLcore.la'
@@ -391,6 +390,7 @@ if test "$GLX" = yes -a x$MESA_SOURCE != x; then
else
GLX=no
fi
+AM_CONDITIONAL(GLX, test x$GLX = xyes)
AC_SUBST([MESA_SOURCE])
AM_CONDITIONAL(DRI, test x$DRI = xyes)