build: Get rid of dead MESA_ASM_FILES variable
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
bd0c9d07d0
commit
d89ef39418
|
@ -433,7 +433,6 @@ AC_ARG_ENABLE([asm],
|
||||||
[enable_asm=yes]
|
[enable_asm=yes]
|
||||||
)
|
)
|
||||||
asm_arch=""
|
asm_arch=""
|
||||||
MESA_ASM_FILES=""
|
|
||||||
AC_MSG_CHECKING([whether to enable assembly])
|
AC_MSG_CHECKING([whether to enable assembly])
|
||||||
test "x$enable_asm" = xno && AC_MSG_RESULT([no])
|
test "x$enable_asm" = xno && AC_MSG_RESULT([no])
|
||||||
# disable if cross compiling on x86/x86_64 since we must run gen_matypes
|
# 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
|
case "$asm_arch" in
|
||||||
x86)
|
x86)
|
||||||
DEFINES="$DEFINES -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM"
|
DEFINES="$DEFINES -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM"
|
||||||
MESA_ASM_FILES='$(X86_FILES)'
|
|
||||||
AC_MSG_RESULT([yes, x86])
|
AC_MSG_RESULT([yes, x86])
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
DEFINES="$DEFINES -DUSE_X86_64_ASM"
|
DEFINES="$DEFINES -DUSE_X86_64_ASM"
|
||||||
MESA_ASM_FILES='$(X86_64_FILES)'
|
|
||||||
AC_MSG_RESULT([yes, x86_64])
|
AC_MSG_RESULT([yes, x86_64])
|
||||||
;;
|
;;
|
||||||
sparc)
|
sparc)
|
||||||
DEFINES="$DEFINES -DUSE_SPARC_ASM"
|
DEFINES="$DEFINES -DUSE_SPARC_ASM"
|
||||||
MESA_ASM_FILES='$(SPARC_FILES)'
|
|
||||||
AC_MSG_RESULT([yes, sparc])
|
AC_MSG_RESULT([yes, sparc])
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -492,7 +488,6 @@ if test "x$enable_asm" = xyes; then
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
AC_SUBST([MESA_ASM_FILES])
|
|
||||||
|
|
||||||
dnl Check to see if dlopen is in default libraries (like Solaris, which
|
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.
|
dnl has it in libc), or if libdl is needed to get it.
|
||||||
|
|
|
@ -87,7 +87,6 @@ AM_CPPFLAGS = $(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
|
||||||
AM_CFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CFLAGS)
|
AM_CFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CFLAGS)
|
||||||
AM_CXXFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CXXFLAGS)
|
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 =
|
MESA_ASM_FILES_FOR_ARCH =
|
||||||
|
|
||||||
if HAVE_X86_ASM
|
if HAVE_X86_ASM
|
||||||
|
|
Loading…
Reference in New Issue