[Mesa-dev] [PATCH 07/18] build: Get rid of dead MESA_ASM_FILES variable
Matt Turner
mattst88 at gmail.com
Sun Mar 10 20:24:48 PDT 2013
---
configure.ac | 5 -----
src/mesa/Makefile.am | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3204869..508b176 100644
--- a/configure.ac
+++ b/configure.ac
@@ -432,7 +432,6 @@ AC_ARG_ENABLE([asm],
[enable_asm=yes]
)
asm_arch=""
-MESA_ASM_FILES=""
AC_MSG_CHECKING([whether to enable assembly])
test "x$enable_asm" = xno && AC_MSG_RESULT([no])
# disable if cross compiling on x86/x86_64 since we must run gen_matypes
@@ -473,17 +472,14 @@ if test "x$enable_asm" = xyes; then
case "$asm_arch" in
x86)
DEFINES="$DEFINES -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM"
- MESA_ASM_FILES='$(X86_FILES)'
AC_MSG_RESULT([yes, x86])
;;
x86_64)
DEFINES="$DEFINES -DUSE_X86_64_ASM"
- MESA_ASM_FILES='$(X86_64_FILES)'
AC_MSG_RESULT([yes, x86_64])
;;
sparc)
DEFINES="$DEFINES -DUSE_SPARC_ASM"
- MESA_ASM_FILES='$(SPARC_FILES)'
AC_MSG_RESULT([yes, sparc])
;;
*)
@@ -491,7 +487,6 @@ if test "x$enable_asm" = xyes; then
;;
esac
fi
-AC_SUBST([MESA_ASM_FILES])
dnl Check to see if dlopen is in default libraries (like Solaris, which
dnl has it in libc), or if libdl is needed to get it.
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 20e452f..14685e7 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -87,7 +87,6 @@ AM_CPPFLAGS = $(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
AM_CFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CFLAGS)
AM_CXXFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CXXFLAGS)
-# cannot just add $(MESA_ASM_FILES) to libmesa_la_SOURCES as it contains a configure substitution
MESA_ASM_FILES_FOR_ARCH =
if HAVE_X86_ASM
--
1.7.8.6
More information about the mesa-dev
mailing list