]>
Commit | Line | Data |
---|---|---|
9a996c84 JB |
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 @@ | |
68071dbf JB |
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 | ||
9a996c84 | 28 | @@ -270,7 +254,7 @@ |
68071dbf JB |
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 | |
9a996c84 JB |
35 | AC_DEFINE(DMALLOC, 1, [undocumented]) |
36 | AC_DEFINE(DMALLOC_FUNC_CHECK, 1, [undocumented]) | |
37 | @@ -280,14 +264,14 @@ | |
68071dbf JB |
38 | REDUNDANT_DECLS_WARN=no, |
39 | dnl header not found, check local/include | |
40 | dnl invalid cache | |
9a996c84 | 41 | - [AC_CHECK_HEADER(/usr/local/include/dmalloc.h, |
68071dbf JB |
42 | + AC_CHECK_HEADER(/usr/local/include/dmalloc.h,[ |
43 | dnl header found in local/include | |
9a996c84 JB |
44 | AC_DEFINE(DMALLOC, 1, [undocumented]) |
45 | AC_DEFINE(DMALLOC_FUNC_CHECK, 1, [undocumented]) | |
68071dbf JB |
46 | INCLUDES="$CFLAGS -include \"/usr/local/include/dmalloc.h\"" |
47 | LIBS="$LIBS -ldmallocth" | |
48 | SHOULD_USE_WERROR=no | |
9a996c84 | 49 | - REDUNDANT_DECLS_WARN=no)]) |
68071dbf JB |
50 | + REDUNDANT_DECLS_WARN=no])]) |
51 | fi | |
52 | ||
53 | dnl efence stuff | |
9a996c84 | 54 | @@ -685,7 +669,7 @@ |
68071dbf JB |
55 | if test x$enable_vorbis = xyes; then |
56 | ||
57 | AC_CHECK_LIB(vorbisfile, ov_info, | |
9a996c84 JB |
58 | - AC_DEFINE( VORBIS_SUPPORT, 1, [undocumented] ) |
59 | + AC_DEFINE([VORBIS_SUPPORT], 1, [undocumented] ) | |
68071dbf JB |
60 | LIBS="$LIBS -lvorbis -lvorbisfile",, -lvorbis ) |
61 | ||
62 | fi # enable_vorbis = no |