intel: Fix build of Intel DRM on x86 systems
[glsdk/libdrm.git] / configure.ac
index f5ebc1d45175f19a25e9e0a1f8060ca27a0d5824..b59bc54a20654503a5ce98c05df64677a210baf4 100644 (file)
@@ -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