diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-10-16 13:21:53 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-10-16 13:21:53 +0000 |
commit | adc3a553ea124bb22bb23f7c163cece361149f0a (patch) | |
tree | 69dce57f67997319a7eb5db851a9a574cc1b12ec /audio/liba52/files | |
parent | Update to patchlevel 5. (diff) |
New port liba52 version 0.7.1b: A free library for decoding ATSC
A/52 streams, aka AC-3
Diffstat (limited to 'audio/liba52/files')
-rw-r--r-- | audio/liba52/files/extra-patch-configure.in | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/audio/liba52/files/extra-patch-configure.in b/audio/liba52/files/extra-patch-configure.in new file mode 100644 index 000000000000..ddeb92c0a7a4 --- /dev/null +++ b/audio/liba52/files/extra-patch-configure.in @@ -0,0 +1,48 @@ +--- configure.in.orig Fri Aug 31 06:36:25 2001 ++++ configure.in Tue Oct 16 10:53:04 2001 +@@ -16,45 +16,15 @@ + + dnl -Wall -Werror moved to the end to not disturb the configure script + +- dnl -O3 + changequote(<<,>>) + OPT_CFLAGS=`echo "$CFLAGS"|sed "s/-O[0-9]*//g;"` + changequote([,]) +- OPT_CFLAGS="$OPT_CFLAGS -O3" + AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]) + + dnl -fomit-frame-pointer + OPT_CFLAGS="$CFLAGS -fomit-frame-pointer" + AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]) + +- dnl arch-specific flags +- case "$host_alias" in +- i?86-* | k?-*) +- case "$host_alias" in +- i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";; +- i486-*) OPT_CFLAGS="$CFLAGS -mcpu=i486";; +- i586-*) OPT_CFLAGS="$CFLAGS -mcpu=pentium";; +- i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";; +- k6-*) OPT_CFLAGS="$CFLAGS -mcpu=k6";; +- esac +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- sparc-*) +- OPT_CFLAGS="$CFLAGS -mcpu=ultrasparc -mvis" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- mips-sgi-irix6.*) dnl do we need to be that specific ? +- OPT_CFLAGS="$CFLAGS -mabi=64" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- esac +-else +- dnl non-gcc flags - we probably need exact configuration triplets here. +- case "$host_alias" in +- mips-sgi-irix6.*) +- OPT_CFLAGS="$CFLAGS -64" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- sparc-sun-solaris*) +- OPT_CFLAGS="$CFLAGS -xCC -fast -xO5" +- AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; +- esac + fi + + dnl Checks for libtool - this must be done after we set cflags |