From a6bd7ad985e138874bb0e1f33f545651dfde32a9 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 17 Jul 2005 01:52:33 +0000 Subject: [PATCH] Set GLX automake conditional after we've tested for mesa source and set GLX to "no" if it's --with-mesa-source wasn't set. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)