Re-add check for Metal on x86, where it's not supported.
diff --git a/configure b/configure
index f247ccb..b7ae819 100755
--- a/configure
+++ b/configure
@@ -21775,6 +21775,10 @@
           #import <Metal/Metal.h>
           #import <QuartzCore/CAMetalLayer.h>
 
+          #if TARGET_CPU_X86
+          #error Metal doesn't work on this configuration
+          #endif
+
 int
 main ()
 {
diff --git a/configure.ac b/configure.ac
index 7481761..5ba9d05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2156,6 +2156,10 @@
           #import <Cocoa/Cocoa.h>
           #import <Metal/Metal.h>
           #import <QuartzCore/CAMetalLayer.h>
+
+          #if TARGET_CPU_X86
+          #error Metal doesn't work on this configuration
+          #endif
         ],[
         ],[
         have_metal=yes