aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-31 22:37:53 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-31 22:37:53 +0000
commit4c4dc61228af59be595fb542eaa1636005b61948 (patch)
treeb17202ef2cde07c5c7e6d474e7715557c1b8804c /configure
parent83f2da06c3b8546f5ce5b45e22fa7a42419dd1e2 (diff)
Make sure HAVE_ALTIVEC_H is always #defined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28408 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9267bbc92a..7ae2374993 100755
--- a/configure
+++ b/configure
@@ -2506,6 +2506,7 @@ fi #if x86
#FIXME: This should happen before the check for CFLAGS..
+def_altivec_h='#define HAVE_ALTIVEC_H 0'
if ppc && ( test "$_altivec" = yes || test "$_runtime_cpudetection" = yes ) ; then
# check if AltiVec is supported by the compiler, and how to enable it
@@ -2516,7 +2517,6 @@ EOF
if $(cc_check -maltivec -mabi=altivec) ; then
_altivec_gcc_flags="-maltivec -mabi=altivec"
# check if <altivec.h> should be included
- def_altivec_h='#undef HAVE_ALTIVEC_H'
cat > $TMPC << EOF
#include <altivec.h>
int main(void) { return 0; }