libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX

patch by Romain Dolbeau <dolbeau@irisa.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8862 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2003-01-09 19:01:24 +00:00
parent 3a250d3760
commit 38042349b0
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -4622,6 +4622,8 @@ fi
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()