changeset 8861:d2cb317c7f16

libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX patch by Romain Dolbeau <dolbeau@irisa.fr>
author arpi
date Thu, 09 Jan 2003 19:01:24 +0000
parents 778989dba3a2
children 356534b9e7d4
files configure
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Jan 09 18:39:09 2003 +0000
+++ b/configure	Thu Jan 09 19:01:24 2003 +0000
@@ -4622,6 +4622,8 @@
 if darwin ; then
   # use gnu style cpp on Darwin
   CFLAGS="$CFLAGS -no-cpp-precomp -DSYS_DARWIN"
+  # libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX
+  test "$_altivec" = yes && CFLAGS="$CFLAGS -DCONFIG_DARWIN"
 fi
 if hpux ; then
   # use flag for HPUX missing setenv()