[svn] / branches / release-1_2-branch / xvidcore / build / generic / configure.in Repository:
ViewVC logotype

Diff of /branches/release-1_2-branch/xvidcore/build/generic/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1857, Wed May 13 09:39:20 2009 UTC revision 1858, Mon May 25 08:09:23 2009 UTC
# Line 8  Line 8 
8    
9  AC_PREREQ([2.50])  AC_PREREQ([2.50])
10    
11  AC_INIT([Xvid], [1.2.1], [xvid-devel@xvid.org])  AC_INIT([Xvid], [1.2.2], [xvid-devel@xvid.org])
12  AC_CONFIG_SRCDIR(configure.in)  AC_CONFIG_SRCDIR(configure.in)
13    
14  dnl Do not forget to increase that when needed.  dnl Do not forget to increase that when needed.
# Line 430  Line 430 
430  dnl and GNU gcc with very slight changes to code which can be sumed up by:  dnl and GNU gcc with very slight changes to code which can be sumed up by:
431  dnl  dnl
432  dnl Apple:  dnl Apple:
433  dnl  - compile with the option -faltivec  dnl  - compile with the option -arch ppc -faltivec
434  dnl  - define vectors with parentheses vec = (0,0,0,0)  dnl  - define vectors with parentheses vec = (0,0,0,0)
435  dnl GNU  dnl GNU
436  dnl  - compile with -maltivec -mabi=altivec  dnl  - compile with -maltivec -mabi=altivec
# Line 455  Line 455 
455  #include <altivec.h>  #include <altivec.h>
456  int main() { return(0); }  int main() { return(0); }
457  EOF  EOF
458     if $CC -faltivec -c conftest.c 2>/dev/null 1>/dev/null || \     if $CC -arch ppc -faltivec -c conftest.c 2>/dev/null 1>/dev/null || \
459        $CC -maltivec -mabi=altivec -c conftest.c 2>/dev/null 1>/dev/null ; then        $CC -maltivec -mabi=altivec -c conftest.c 2>/dev/null 1>/dev/null ; then
460          AC_MSG_RESULT(yes)          AC_MSG_RESULT(yes)
461          SPECIFIC_CFLAGS="$SPECIFIC_CFLAGS -DHAVE_ALTIVEC_H"          SPECIFIC_CFLAGS="$SPECIFIC_CFLAGS -DHAVE_ALTIVEC_H"
# Line 479  Line 479 
479    return(0);    return(0);
480  }  }
481  EOF  EOF
482     if $CC $TEMP_ALTIVEC -faltivec -c conftest.c 2>/dev/null 1>/dev/null ; then     if $CC $TEMP_ALTIVEC -arch ppc -faltivec -c conftest.c 2>/dev/null 1>/dev/null ; then
483          AC_MSG_RESULT([yes (Apple)])          AC_MSG_RESULT([yes (Apple)])
484          SPECIFIC_CFLAGS="$SPECIFIC_CFLAGS -faltivec -DHAVE_ALTIVEC_PARENTHESES_DECL $TEMP_ALTIVEC"          SPECIFIC_CFLAGS="$SPECIFIC_CFLAGS -arch ppc -faltivec -DHAVE_ALTIVEC_PARENTHESES_DECL $TEMP_ALTIVEC"
485          PPC_ALTIVEC_SOURCES="SRC_PPC_ALTIVEC"          PPC_ALTIVEC_SOURCES="SRC_PPC_ALTIVEC"
486     else     else
487  cat > conftest.c << EOF  cat > conftest.c << EOF

Legend:
Removed from v.1857  
changed lines
  Added in v.1858

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4