[MPlayer-cvslog] r32749 - trunk/configure
diego
subversion at mplayerhq.hu
Sun Jan 2 20:04:35 CET 2011
Author: diego
Date: Sun Jan 2 20:04:35 2011
New Revision: 32749
Log:
Revert previous wrong simplification of AltiVec vector declarations check.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sun Jan 2 19:52:46 2011 (r32748)
+++ trunk/configure Sun Jan 2 20:04:35 2011 (r32749)
@@ -2778,8 +2778,11 @@ if ppc && ( test "$_altivec" = yes || te
echores "$_altivec_gcc_flags"
# check if the compiler supports braces for vector declarations
- statement_check "$inc_altivec_h" '(vector int) {1}' $_altivec_gcc_flags ||
- die "You need a compiler that supports {} in AltiVec vector declarations."
+ cat > $TMPC << EOF
+$inc_altivec_h
+int main(void) { (vector int) {1}; return 0; }
+EOF
+ cc_check $_altivec_gcc_flags || die "You need a compiler that supports {} in AltiVec vector declarations."
# Disable runtime cpudetection if we cannot generate AltiVec code or
# AltiVec is disabled by the user.
More information about the MPlayer-cvslog
mailing list