From 20895c0a765370f1c805193fff6f4d75954c9b7b Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Mon, 5 Jul 2004 07:43:52 +0000 Subject: Started to re-enable altivec optimized code for Darwin/PPC CVS patchset: 6773 CVS date: 2004/07/05 07:43:52 --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index b6ed2a5d0..09f350611 100644 --- a/configure.ac +++ b/configure.ac @@ -1633,6 +1633,11 @@ case "$host_or_hostalias" in dnl Do not use AC_SUBST(OBJCDEPMODE): we don't need it as long we use dnl _AM_DEPENDENCIES (below), and doing the AC_SUBST elicits a warning dnl from automake 1.6. + if test x$enable_altivec = xyes; then + AC_DEFINE_UNQUOTED(ENABLE_ALTIVEC,,[Define this if you want to use altivec on PowerPC CPUs]) + CFLAGS="$CFLAGS -faltivec" + LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -force_cpusubtype_ALL -faltivec" + fi ;; ppc-*-linux* | powerpc-*) -- cgit v1.2.3