summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <zonque@users.sourceforge.net>2004-07-05 07:43:52 +0000
committerDaniel Mack <zonque@users.sourceforge.net>2004-07-05 07:43:52 +0000
commit20895c0a765370f1c805193fff6f4d75954c9b7b (patch)
treef635a6542c3b01ee5580fb752792d080b2e7305b
parent5d1461ecfc4f4b281800077744a63b1bf4099601 (diff)
downloadxine-lib-20895c0a765370f1c805193fff6f4d75954c9b7b.tar.gz
xine-lib-20895c0a765370f1c805193fff6f4d75954c9b7b.tar.bz2
Started to re-enable altivec optimized code for Darwin/PPC
CVS patchset: 6773 CVS date: 2004/07/05 07:43:52
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
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-*)