| @@ -1,17 +1,26 @@ | | | @@ -1,17 +1,26 @@ |
1 | $NetBSD: patch-aa,v 1.3 2006/10/10 20:05:10 rillig Exp $ | | 1 | $NetBSD: patch-aa,v 1.4 2008/06/09 05:57:35 snj Exp $ |
2 | | | 2 | |
3 | --- configure.orig 2006-10-10 22:02:41.000000000 +0200 | | 3 | --- configure.orig 2005-05-13 22:29:09 +0300 |
4 | +++ configure 2006-10-10 22:04:28.000000000 +0200 | | 4 | +++ configure 2008-06-03 15:42:38 +0300 |
| | | 5 | @@ -5088,7 +5088,7 @@ if test "${ac_cv_lib_SDL_mixer_Mix_OpenA |
| | | 6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 7 | else |
| | | 8 | ac_check_lib_save_LIBS=$LIBS |
| | | 9 | -LIBS="-lSDL_mixer $LIBS" |
| | | 10 | +LIBS="-lSDL_mixer $SDL_LIBS $LIBS" |
| | | 11 | cat >conftest.$ac_ext <<_ACEOF |
| | | 12 | /* confdefs.h. */ |
| | | 13 | _ACEOF |
5 | @@ -5248,12 +5248,12 @@ rm -f conftest.err conftest.$ac_objext \ | | 14 | @@ -5248,12 +5248,12 @@ rm -f conftest.err conftest.$ac_objext \ |
6 | rm -f conf.sdltest | | 15 | rm -f conf.sdltest |
7 | | | 16 | |
8 | | | 17 | |
9 | - if test "$enable_sound" == "yes" -a "$found_sound" == "no"; then | | 18 | - if test "$enable_sound" == "yes" -a "$found_sound" == "no"; then |
10 | + if test "$enable_sound" = "yes" -a "$found_sound" = "no"; then | | 19 | + if test "$enable_sound" = "yes" -a "$found_sound" = "no"; then |
11 | { { echo "$as_me:$LINENO: error: libSDL and SDL_mixer are required for sound" >&5 | | 20 | { { echo "$as_me:$LINENO: error: libSDL and SDL_mixer are required for sound" >&5 |
12 | echo "$as_me: error: libSDL and SDL_mixer are required for sound" >&2;} | | 21 | echo "$as_me: error: libSDL and SDL_mixer are required for sound" >&2;} |
13 | { (exit 1); exit 1; }; } | | 22 | { (exit 1); exit 1; }; } |
14 | fi | | 23 | fi |
15 | - if test "$found_sound" == "yes"; then | | 24 | - if test "$found_sound" == "yes"; then |
16 | + if test "$found_sound" = "yes"; then | | 25 | + if test "$found_sound" = "yes"; then |
17 | AUDIO_CFLAGS="$SDL_CFLAGS" | | 26 | AUDIO_CFLAGS="$SDL_CFLAGS" |