[Mesa-dev] [PATCH 2/3] build: Remove duplicate DRI automake conditionals
Matt Turner
mattst88 at gmail.com
Tue Aug 21 22:47:03 PDT 2012
---
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 aac58b2..adbfb21 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
--
1.7.8.6
More information about the mesa-dev
mailing list