summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-09 19:01:24 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-09 19:01:24 +0000
commit38042349b00a354a4587ae453827f76c9098da2e (patch)
treec5ae6801680a81a48467d325682c87cbe4ade5ae /configure
parent3a250d3760fd3a7abae66ebda4b5ea5c6387a1aa (diff)
downloadmpv-38042349b00a354a4587ae453827f76c9098da2e.tar.bz2
mpv-38042349b00a354a4587ae453827f76c9098da2e.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 2d5f954a8b..634f27df91 100755
--- a/configure
+++ b/configure
@@ -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()