Mesa (master): build: Remove duplicate DRI automake conditionals

Matt Turner mattst88 at kemper.freedesktop.org
Fri Aug 24 18:07:29 UTC 2012


Module: Mesa
Branch: master
Commit: 00f3d9b11acd366329c347e4797b8af3437fcfe6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=00f3d9b11acd366329c347e4797b8af3437fcfe6

Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Aug 21 22:06:17 2012 -0700

build: Remove duplicate DRI automake conditionals

---

 configure.ac                    |    5 +----
 src/mesa/libdricore/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 12ce861..4a59e19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -698,7 +698,7 @@ if test "x$enable_glx" = xyes -a \
     enable_glx=no
 fi
 
-AM_CONDITIONAL(HAVE_DRI, test x"$enable_dri" = xyes)
+AM_CONDITIONAL(HAVE_DRI, test "x$enable_dri" = xyes)
 
 AC_ARG_ENABLE([shared-glapi],
     [AS_HELP_STRING([--enable-shared-glapi],
@@ -917,8 +917,6 @@ AC_SUBST([GLAPI_LIB_DEPS])
 DRI_LIB_DEPS="\$(top_builddir)/src/mesa/libdricore/libdricore${VERSION}.la"
 GALLIUM_DRI_LIB_DEPS="\$(TOP)/\$(LIB_DIR)/libdricore${VERSION}.so"
 
-AM_CONDITIONAL(HAVE_DRICORE, test "x$enable_dri" = xyes)
-
 AC_SUBST([HAVE_XF86VIDMODE])
 
 dnl
@@ -1977,7 +1975,6 @@ AM_CONDITIONAL(HAVE_GALLIUM_COMPUTE, test x$enable_opencl = xyes)
 AC_SUBST([GALLIUM_MAKE_DIRS])
 
 AM_CONDITIONAL(HAVE_X11_DRIVER, echo "$DRIVER_DIRS" | grep 'x11' >/dev/null 2>&1)
-AM_CONDITIONAL(HAVE_DRI_DRIVER, echo "$DRIVER_DIRS" | grep 'dri' >/dev/null 2>&1)
 
 AM_CONDITIONAL(HAVE_X86_ASM, echo "$DEFINES" | grep 'X86_ASM' >/dev/null 2>&1)
 AM_CONDITIONAL(HAVE_X86_64_ASM, echo "$DEFINES" | grep 'X86_64_ASM' >/dev/null 2>&1)
diff --git a/src/mesa/libdricore/Makefile.am b/src/mesa/libdricore/Makefile.am
index 8817034..897aeda 100644
--- a/src/mesa/libdricore/Makefile.am
+++ b/src/mesa/libdricore/Makefile.am
@@ -77,7 +77,7 @@ libdricore_asm_la_CPPFLAGS = $(AM_CPPFLAGS) \
         -I$(top_srcdir)/src/mesa/sparc
 endif
 
-if HAVE_DRICORE
+if HAVE_DRI
 noinst_LTLIBRARIES = libdricore-asm.la
 lib_LTLIBRARIES = libdricore at VERSION@.la
 




More information about the mesa-commit mailing list