]>
Commit | Line | Data |
---|---|---|
68071dbf JB |
1 | --- tmp/openal/linux/configure.in.orig Fri Feb 14 20:52:54 2003 |
2 | +++ tmp/openal/linux/configure.in Fri Feb 14 20:59:11 2003 | |
3 | @@ -75,23 +75,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 | @@ -229,7 +229,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) | |
36 | AC_DEFINE(DMALLOC_FUNC_CHECK) | |
37 | @@ -239,14 +239,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) | |
45 | AC_DEFINE(DMALLOC_FUNC_CHECK) | |
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 | @@ -640,7 +640,7 @@ | |
55 | if test x$enable_vorbis = xyes; then | |
56 | ||
57 | AC_CHECK_LIB(vorbisfile, ov_info, | |
58 | - AC_DEFINE( VORBIS_SUPPORT ) | |
59 | + AC_DEFINE([VORBIS_SUPPORT]) | |
60 | LIBS="$LIBS -lvorbis -lvorbisfile",, -lvorbis ) | |
61 | ||
62 | fi # enable_vorbis = no |