diff options
author | Matt Turner <[email protected]> | 2013-11-05 11:20:12 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-11-07 10:00:25 -0800 |
commit | 957c7570ea3f7d6ea4cf2cc49d85207136fb0470 (patch) | |
tree | bbeb1bea8368b3e2ab36340545f33ff8fc9fa61b | |
parent | 23e69ad6ec89d6d1c74d9bd0c59a61716fd2ff96 (diff) |
configure.ac: Test $asm_arch directly.
Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index a8366ee2f8c..65905831fab 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) |