configure.ac: require >= gcc-4.5 for ARM iwMMXt
authorMatt Turner <mattst88@gmail.com>
Sun, 15 Apr 2012 18:00:17 +0000 (14:00 -0400)
committerMatt Turner <mattst88@gmail.com>
Sun, 15 Apr 2012 18:00:17 +0000 (14:00 -0400)
We're using a patched gcc-4.5, and having to modify configure.ac and
autoreconf between changes is annoying. And besides, 4.5, 4.6, and 4.7's
iwMMXt intrinsic support is equally broken, and we test a known broken
intrinsic in the configure test program, so the version check is rather
meaningless.

configure.ac

index 1cf9eb4..56ef10e 100644 (file)
@@ -565,7 +565,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
 #ifndef __arm__
 #error "IWMMXT is only available on ARM"
 #endif
-#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6))
+#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5))
 #error "Need GCC >= 4.6 for IWMMXT intrinsics"
 #endif
 #include <mmintrin.h>