[MPlayer-cvslog] r32744 - trunk/configure

Diego Biurrun diego at biurrun.de
Sun Jan 2 20:03:59 CET 2011


On Sun, Jan 02, 2011 at 03:54:10PM +0100, Adrian Stutz wrote:
> On Sun, Jan 2, 2011 at 12:49, diego <subversion at mplayerhq.hu> wrote:
> > Log:
> > Simplify vector declarations and fast inttypes check with statement_check().
> [...]
> >     # check if the compiler supports braces for 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."
> > +    statement_check "$inc_altivec_h" '(vector int) {1}' $_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.
> 
> This generates "#include <#include <altivec.h>>". The inc_altivec_h
> variable should be changed to not include the full include statement
> but just the header filename instead.

No, that won't work either.  Thanks for the notification, unfortunately
my PPC died so that I cannot protect myself from my mistakes through
proper testing...

Diego


More information about the MPlayer-cvslog mailing list