Mesa (master): build: Get rid of dead MESA_ASM_FILES variable
Matt Turner
mattst88 at kemper.freedesktop.org
Wed Mar 13 00:06:49 UTC 2013
Module: Mesa
Branch: master
Commit: d89ef394189831cfb278bbaf318586972a929712
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d89ef394189831cfb278bbaf318586972a929712
Author: Matt Turner <mattst88 at gmail.com>
Date: Thu Feb 21 16:51:19 2013 -0800
build: Get rid of dead MESA_ASM_FILES variable
Reviewed-by: Eric Anholt <eric at anholt.net>
---
configure.ac | 5 -----
src/mesa/Makefile.am | 1 -
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5bc0684..5118b8e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -433,7 +433,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
@@ -474,17 +473,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])
;;
*)
@@ -492,7 +488,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 41483dd..c341c48 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
More information about the mesa-commit
mailing list