Don't test for altivec if it has been disabled.

SVN revision: 8131
This commit is contained in:
rbdpngn 2003-12-16 17:37:26 +00:00 committed by rbdpngn
parent 8b273b4f52
commit 9fb85c8776
1 changed files with 3 additions and 5 deletions

View File

@ -416,13 +416,11 @@ if test "x$have_altivec" = "xyes"; then
[
altivec_libs="-laltivec"
AC_DEFINE(BUILD_ALTIVEC)
],
[
have_altivec=""
])
]
)
fi
if test "x$have_altivec" = "x"; then
if test "x$have_altivec" = "xyes"; then
AC_MSG_CHECKING(whether to use altivec compiler flag)
if test $GCC = yes; then
if echo "int main(){ return 0;}" | gcc -faltivec -E - > /dev/null 2>&1; then