]> git.pld-linux.org Git - packages/OpenAL.git/blob - OpenAL-acfix.patch
- simplify
[packages/OpenAL.git] / OpenAL-acfix.patch
1 --- openal/linux/configure.in.orig      Mon Jan 13 23:28:25 2003
2 +++ openal/linux/configure.in   Tue Feb 18 21:24:56 2003
3 @@ -85,23 +85,7 @@
4  enable_paranoid_locks=no
5  enable_empty_locks=no
6  
7 -CFLAGS="-O6 -fexpensive-optimizations -funroll-all-loops -funroll-loops -fomit-frame-pointer -finline-functions -ffast-math $CFLAGS"
8 -
9 -dnl add -march
10 -case "$target" in 
11 -    *i386*)
12 -    CFLAGS="$CFLAGS -march=i386" ;;
13 -    *i486*)
14 -    CFLAGS="$CFLAGS -march=i486" ;;
15 -    *i586*)
16 -    CFLAGS="$CFLAGS -march=i586" ;;
17 -    *i686*)
18 -    CFLAGS="$CFLAGS -march=i686" ;;
19 -    mips*)
20 -    CFLAGS="$CFLAGS -march=mips" ;;
21 -    *)
22 -    echo "Unknown target $target" ;;
23 -esac
24 +CFLAGS="-fexpensive-optimizations -funroll-all-loops -funroll-loops -fomit-frame-pointer -finline-functions -ffast-math $CFLAGS"
25  
26  fi
27  
28 @@ -270,7 +254,7 @@
29  [  --enable-dmalloc          enable DMALLOC support       [default=no]],
30                , enable_dmalloc=no)
31  if test x$enable_dmalloc = xyes; then
32 -    AC_CHECK_HEADER(dmalloc.h, 
33 +    AC_CHECK_HEADER(dmalloc.h,[
34         dnl header found
35         AC_DEFINE(DMALLOC, 1, [undocumented])
36         AC_DEFINE(DMALLOC_FUNC_CHECK, 1, [undocumented])
37 @@ -280,14 +264,14 @@
38         REDUNDANT_DECLS_WARN=no,
39         dnl header not found, check local/include
40         dnl invalid cache
41 -       [AC_CHECK_HEADER(/usr/local/include/dmalloc.h,
42 +       AC_CHECK_HEADER(/usr/local/include/dmalloc.h,[
43                 dnl header found in local/include
44                 AC_DEFINE(DMALLOC, 1, [undocumented])
45                 AC_DEFINE(DMALLOC_FUNC_CHECK, 1, [undocumented])
46                 INCLUDES="$CFLAGS -include \"/usr/local/include/dmalloc.h\""
47                 LIBS="$LIBS -ldmallocth"
48                 SHOULD_USE_WERROR=no
49 -               REDUNDANT_DECLS_WARN=no)])
50 +               REDUNDANT_DECLS_WARN=no])])
51  fi
52  
53  dnl efence stuff
54 @@ -685,7 +669,7 @@
55  if test x$enable_vorbis = xyes; then
56  
57         AC_CHECK_LIB(vorbisfile, ov_info,
58 -               AC_DEFINE( VORBIS_SUPPORT, 1, [undocumented] )
59 +               AC_DEFINE([VORBIS_SUPPORT], 1, [undocumented] )
60                 LIBS="$LIBS -lvorbis -lvorbisfile",, -lvorbis )
61  
62  fi #   enable_vorbis = no
This page took 0.024045 seconds and 3 git commands to generate.