build: Remove duplicate DRI automake conditionals
authorMatt Turner <mattst88@gmail.com>
Wed, 22 Aug 2012 05:06:17 +0000 (22:06 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 24 Aug 2012 18:08:19 +0000 (11:08 -0700)
configure.ac
src/mesa/libdricore/Makefile.am

index 12ce861454122d3327c9dfb3d50e65fdfe29b3a6..4a59e195ef5bd5c2acd0f4b15f933694a9bc2714 100644 (file)
@@ -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)
index 881703405b1305b9167ab3ae7382416d39329c22..897aeda6c6f3df981992862878e5144c0f14daf2 100644 (file)
@@ -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@VERSION@.la