Commit 634e231f authored by Sam Hocevar's avatar Sam Hocevar

* configure.ac: fixed the AltiVec capabilities check.

parent 97db316e
...@@ -1066,7 +1066,7 @@ AC_CACHE_CHECK([if \$CC groks AltiVec C extensions], ...@@ -1066,7 +1066,7 @@ AC_CACHE_CHECK([if \$CC groks AltiVec C extensions],
[vec_ld(0, (unsigned char *)0);], [vec_ld(0, (unsigned char *)0);],
[ac_cv_c_altivec="-faltivec"], [ac_cv_c_altivec="-faltivec"],
[# Linux/PPC test (no flags) [# Linux/PPC test (no flags)
CFLAGS="${CFLAGS_save} ${CFLAGS_idctaltivec}" CFLAGS="${CFLAGS_save} ${CFLAGS_idctaltivec} -Werror"
AC_TRY_COMPILE([#ifdef HAVE_ALTIVEC_H AC_TRY_COMPILE([#ifdef HAVE_ALTIVEC_H
#include <altivec.h> #include <altivec.h>
#endif], #endif],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment