Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
81a5cdde
Commit
81a5cdde
authored
May 30, 2008
by
Diego Biurrun
Browse files
Simplify altivec.h test.
Originally committed as revision 13554 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
de3e16ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
configure
configure
+1
-4
No files found.
configure
View file @
81a5cdde
...
...
@@ -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) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment