[gnome-games] build: Make --disable-sound work
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] build: Make --disable-sound work
- Date: Thu, 9 Jul 2009 23:13:11 +0000 (UTC)
commit bbf2436509d0cdc64907985b2f543c1f6cdb9c4d
Author: Christian Persch <chpe gnome org>
Date: Mon Jul 6 15:46:52 2009 +0200
build: Make --disable-sound work
Fix the test that sets the ENABLE_SOUND define, so that --disable-sound
actually disables sound support.
configure.in | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index b28b338..ceb1cf8 100644
--- a/configure.in
+++ b/configure.in
@@ -358,8 +358,7 @@ if test "$enable_sound" = "yes"; then
AC_MSG_CHECKING([for which sound library to use])
AC_ARG_WITH([sound],
[AS_HELP_STRING([--with-sound=libcanberra|sdl_mixer (default: libcanberra)])],
- [with_sound="$withval"],
- [with_sound=libcanberra])
+ [],[with_sound=libcanberra])
AC_MSG_RESULT([$with_sound])
else
with_sound=no
@@ -673,7 +672,7 @@ AM_CONDITIONAL([WITH_GTHREAD],[test "$need_gthread" = "yes"])
# Sound support: Libcanberra, GStreamer or SDL_mixer
-if test "$enable_sound"; then
+if test "$enable_sound" = "yes"; then
AC_DEFINE([ENABLE_SOUND],[1],[Define if sound support is enabled])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]