From 82c6938d232327233caac743a07639ac91bceb7e Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Tue, 31 Jan 2012 14:44:14 -0800 Subject: 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 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') 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 -- cgit v1.2.3