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.
This commit is contained in:
parent
63f17666fc
commit
b9575da0ef
4
lib/pixman/configure
vendored
4
lib/pixman/configure
vendored
@ -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 () {
|
||||
|
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user