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>
main
Paul Berry 2012-01-31 14:44:14 -08:00
parent efd6e81e2b
commit 82c6938d23
1 changed files with 2 additions and 2 deletions

View 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