summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2012-01-31 14:44:14 -0800
committerPaul Berry <stereotype441@gmail.com>2012-01-31 14:46:16 -0800
commit82c6938d232327233caac743a07639ac91bceb7e (patch)
treec994bd47c2ce0481503dfe253bd69157ebc372ef
parentefd6e81e2ba112105457887ae18a58dfa4bbc8ef (diff)
intel: Fix build of Intel DRM on x86 systems
Commit efd6e81e inadvertently broke the build by looking for "i?86" or "x86_64" in $host_os. The correct variable to check is $host_cpu. This was preventing libdrm_intel.so from being built. Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f5ebc1d4..b59bc54a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -250,8 +250,8 @@ if test "x$INTEL" != "xno" -o "x$RADEON" != "xno"; then
else
if test "x$INTEL" != "xno"; then
- case $host_os in
- i?86-*|x86_64-*) INTEL=yes ;;
+ case $host_cpu in
+ i?86|x86_64) INTEL=yes ;;
*) INTEL=no ;;
esac
fi