diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-07-28 19:01:30 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-07-28 19:01:30 +0000 |
commit | d4beb49188599f7a8f5d57f7735145200aba8275 (patch) | |
tree | 54c1cd17235be131f1694efd7d008a3571d75456 | |
parent | cff7844e80fde47b807c53ecad7586c1872821f2 (diff) |
OpenBSD's gcc 3.3 is capable of handling the MMX code of pixman.
Change the configure test so that it gets enabled.
Tested by marco@ ajacoutot@ ckuethe@ and others.
-rw-r--r-- | lib/pixman/configure | 4 | ||||
-rw-r--r-- | lib/pixman/configure.ac | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/pixman/configure b/lib/pixman/configure index 6ab477b48..9a0567cee 100644 --- a/lib/pixman/configure +++ b/lib/pixman/configure @@ -20784,8 +20784,8 @@ xserver_save_CFLAGS=$CFLAGS CFLAGS="$MMX_CFLAGS $CFLAGS" cat >conftest.$ac_ext <<_ACEOF -#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)) -error "Need GCC >= 3.4 for MMX intrinsics" +#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)) +error "Need GCC >= 3.3 for MMX intrinsics" #endif #include <mmintrin.h> int main () { diff --git a/lib/pixman/configure.ac b/lib/pixman/configure.ac index 7352c27e4..c9085d20b 100644 --- a/lib/pixman/configure.ac +++ b/lib/pixman/configure.ac @@ -166,8 +166,8 @@ AC_MSG_CHECKING(whether to use MMX intrinsics) xserver_save_CFLAGS=$CFLAGS CFLAGS="$MMX_CFLAGS $CFLAGS" AC_COMPILE_IFELSE([ -#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)) -error "Need GCC >= 3.4 for MMX intrinsics" +#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)) +error "Need GCC >= 3.3 for MMX intrinsics" #endif #include <mmintrin.h> int main () { |