diff configure @ 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 0c0b84a656fe
children 90195705ae00
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()