aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-15 20:11:34 +0000
committerGravatar nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-15 20:11:34 +0000
commitf5f234c94e3c914bc76a33d892aef4e45be5fa6c (patch)
tree40c9e27c8ff007ccb07e233e68c2b689f047f58e /configure
parentf781d5bc30586161c243a4ae71b50292c4b9facf (diff)
set define for apple gcc altivec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15484 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure b/configure
index 6899201b62..6844088497 100755
--- a/configure
+++ b/configure
@@ -1973,7 +1973,7 @@ int main() {
}
EOF
FSF_flags='-maltivec -mabi=altivec'
- Darwin_flags='-faltivec'
+ Darwin_flags='-faltivec -D__APPLE_ALTIVEC__'
# check for Darwin-style flags first, since
# gcc-3.3 (August Update from Apple) on MacOS 10.2.8
@@ -3225,9 +3225,6 @@ EOF
_aomodules="macosx $_aomodules"
_vosrc="$_vosrc vo_quartz.c"
_vomodules="quartz $_vomodules"
- if test "$_cc_major" -ge "4" ; then
- _def_altivec_h='#undef HAVE_ALTIVEC_H'
- fi
else
_macosx=no
_def_macosx='#undef MACOSX'