Mesa (master): configure.ac: Test $asm_arch directly.
Matt Turner
mattst88 at kemper.freedesktop.org
Thu Nov 7 18:07:23 UTC 2013
Module: Mesa
Branch: master
Commit: 957c7570ea3f7d6ea4cf2cc49d85207136fb0470
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=957c7570ea3f7d6ea4cf2cc49d85207136fb0470
Author: Matt Turner <mattst88 at gmail.com>
Date: Tue Nov 5 11:20:12 2013 -0800
configure.ac: Test $asm_arch directly.
Reviewed-by: Eric Anholt <eric at anholt.net>
---
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index a8366ee..6590583 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1938,9 +1938,9 @@ AM_CONDITIONAL(HAVE_X11_DRIVER, test "x$enable_xlib_glx" = xyes)
AM_CONDITIONAL(HAVE_OSMESA, test "x$enable_osmesa" = xyes)
AM_CONDITIONAL(HAVE_GALLIUM_OSMESA, test "x$enable_gallium_osmesa" = xyes)
-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)
-AM_CONDITIONAL(HAVE_SPARC_ASM, echo "$DEFINES" | grep 'SPARC_ASM' >/dev/null 2>&1)
+AM_CONDITIONAL(HAVE_X86_ASM, test "x$asm_arch" = xx86)
+AM_CONDITIONAL(HAVE_X86_64_ASM, test "x$asm_arch" = xx86_64)
+AM_CONDITIONAL(HAVE_SPARC_ASM, test "x$asm_arch" = xsparc)
AC_SUBST([VDPAU_MAJOR], 1)
AC_SUBST([VDPAU_MINOR], 0)
More information about the mesa-commit
mailing list