Commit bbc11c1c authored by Sam Hocevar's avatar Sam Hocevar

* vec_ld() is not sufficient to check for AltiVec support on

    OS X x86, because it's just an undefined function; so we use the keyword
    "vector" to make sure.
parent ad54c6e1
......@@ -1203,7 +1203,7 @@ AC_CACHE_CHECK([if \$CC groks AltiVec C extensions],
[# OS X/PPC test (gcc 3.x)
CFLAGS="${CFLAGS_save} -faltivec"
[vec_ld(0, (unsigned char *)0);],
[vec_ld(1 * sizeof(vector float), (unsigned char *)0);],
dnl Below this are the Linux tests
[# Linux/PPC test (gcc 4.x)
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