aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun2008-05-30 10:12:56 +0000
committerDiego Biurrun2008-05-30 10:12:56 +0000
commit81a5cdde80c1b5eb78a266a9a0f16706640425f8 (patch)
tree35deb77c2fc9c71baa8a3f0c084a848360e1c4eb /configure
parentde3e16ee1421f3ff1506973317074a0ccb77d112 (diff)
Simplify altivec.h test.
Originally committed as revision 13554 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure b/configure
index 2b3bd1c16a..c50e92bf9f 100755
--- a/configure
+++ b/configure
@@ -1531,13 +1531,10 @@ fi
# AltiVec flags: The FSF version of GCC differs from the Apple version
if enabled altivec; then
check_cflags -maltivec -mabi=altivec && \
- check_header altivec.h || \
+ { check_header altivec.h && inc_altivec_h="#include <altivec.h>" ; } || \
check_cflags -faltivec
# check if our compiler supports Motorola AltiVec C API
- enabled altivec_h &&
- inc_altivec_h="#include <altivec.h>" ||
- inc_altivec_h=
check_cc <<EOF || disable altivec
$inc_altivec_h
int main(void) {