]> git.pld-linux.org Git - packages/vorbis-tools.git/blob - vorbis-tools-ac_fixes.patch
- updated for 1.2.0
[packages/vorbis-tools.git] / vorbis-tools-ac_fixes.patch
1 --- vorbis-tools-1.2.0/configure.ac.orig        2008-03-03 06:37:31.000000000 +0100
2 +++ vorbis-tools-1.2.0/configure.ac     2008-05-30 19:00:51.669612156 +0200
3 @@ -20,11 +20,7 @@
4  dnl Check for programs
5  dnl --------------------------------------------------  
6  
7 -dnl save $CFLAGS since AC_PROG_CC likes to insert "-g -O2"
8 -dnl if $CFLAGS is blank
9 -cflags_save="$CFLAGS"
10  AC_PROG_CC
11 -CFLAGS="$cflags_save"
12  
13  AC_PROG_LIBTOOL
14  
15 @@ -42,53 +38,6 @@
16  dnl Set build flags based on environment
17  dnl --------------------------------------------------
18  
19 -cflags_save="$CFLAGS"
20 -if test -z "$GCC"; then
21 -        case $host in
22 -        *-*-irix*)
23 -                DEBUG="-g -signed"
24 -                CFLAGS="-O2 -w -signed"
25 -                PROFILE="-p -g3 -O2 -signed"
26 -                ;;
27 -        sparc-sun-solaris*)
28 -                DEBUG="-v -g"
29 -                CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
30 -                PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc"
31 -                ;;
32 -        *)
33 -                DEBUG="-g"
34 -                CFLAGS="-O"
35 -                PROFILE="-g -p"
36 -                ;;
37 -        esac
38 -else
39 -        case $host in
40 -        *-*-linux*)
41 -                DEBUG="-g -Wall -fsigned-char"
42 -                CFLAGS="-O2 -Wall -ffast-math -fsigned-char"
43 -                PROFILE="-Wall -W -pg -g -O2 -ffast-math -fsigned-char"
44 -                ;;
45 -        sparc-sun-*)
46 -                DEBUG="-g -Wall -fsigned-char -mv8"
47 -                CFLAGS="-O20 -ffast-math -fsigned-char -mv8"
48 -                PROFILE="-pg -g -O20 -fsigned-char -mv8"
49 -                ;;
50 -        *-*-darwin*)
51 -                DEBUG="-fno-common -g -Wall -fsigned-char"
52 -                CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
53 -                PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math"
54 -                ;;
55 -        *)
56 -                DEBUG="-g -Wall -fsigned-char"
57 -                CFLAGS="-O2 -fsigned-char"
58 -                PROFILE="-O2 -g -pg -fsigned-char"
59 -                ;;
60 -        esac
61 -fi
62 -CFLAGS="$CFLAGS $cflags_save"
63 -DEBUG="$DEBUG $cflags_save"
64 -PROFILE="$PROFILE $cflags_save"
65 -
66  dnl --------------------------------------------------
67  dnl Allow tools to be selectively built
68  dnl --------------------------------------------------
This page took 0.066346 seconds and 4 git commands to generate.