From: Jeremy Huddleston Date: Mon, 30 Jan 2012 23:20:04 +0000 (-0800) Subject: Don't build Intel DRM if $CHOST is not i?86-* or x86_64-* X-Git-Tag: android-x86-4.4-r1~338 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=efd6e81e2ba112105457887ae18a58dfa4bbc8ef;p=android-x86%2Fexternal-libdrm.git Don't build Intel DRM if $CHOST is not i?86-* or x86_64-* This fixes a failure in 'make check' found by the tinderbox when trying to build this code on Linux/ppc. This code is only designed to run on Intel platforms, so don't even bother building it if we're not in that set. Found-by: Tinderbox Signed-off-by: Jeremy Huddleston --- diff --git a/configure.ac b/configure.ac index 773167f5..f5ebc1d4 100644 --- a/configure.ac +++ b/configure.ac @@ -250,7 +250,10 @@ if test "x$INTEL" != "xno" -o "x$RADEON" != "xno"; then else if test "x$INTEL" != "xno"; then - INTEL=yes + case $host_os in + i?86-*|x86_64-*) INTEL=yes ;; + *) INTEL=no ;; + esac fi if test "x$RADEON" != "xno"; then RADEON=yes