aboutsummaryrefslogtreecommitdiff
path: root/audio/liba52-devel/files/extra-patch-configure.in
blob: ddeb92c0a7a4fb000903e0b1919ab4e2b486bcd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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