From 850a280ef1a1a5c97bd6ee6c59b833ce8ea90b7f Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Wed, 5 Mar 2008 17:15:55 +0000 Subject: [PATCH] PulseAudio and OpenAL were being forced on due to typos, also add some quotes for cleanliness. Originally committed to SVN as r1905. --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index db038e4a5..6bc70ec9a 100644 --- a/configure.in +++ b/configure.in @@ -134,7 +134,7 @@ AC_ARG_WITH(alsa, [ --without-alsa build without ALSA audio provider. if test "x$with_alsa" != xno; then AC_CHECK_LIB([asound], [snd_pcm_open], [ALSA_LDFLAGS="-lasound"; found_audio=yes; with_alsa=yes], [with_alsa=no]) fi -if test "$with_alsa" = yes; then +if test "$with_alsa" = "yes"; then AC_DEFINE(WITH_ALSA, 1, [Enable ALSA Support]) fi @@ -158,7 +158,7 @@ if test "x$with_portaudio" != xno; then CPPFLAGS="$aegisub_save_CPPFLAGS" fi -if test "$with_portaudio" = yes; then +if test "$with_portaudio" = "yes"; then AC_DEFINE(WITH_PORTAUDIO, 1, [Enable PortAudio Audio Provider]) fi @@ -171,7 +171,7 @@ if test "x$with_pulseaudio" != xno; then PKG_CHECK_MODULES(LIBPULSE, libpulse >= 0.5, [found_audio=yes; with_pulseaudio=yes], [with_pulseaudio=no]) fi AM_CONDITIONAL([HAVE_PULSEAUDIO], [test "$with_pulseaudio" != "no"]) -if test "$with_pulseaudio" == no; then +if test "$with_pulseaudio" = "yes"; then AC_DEFINE(WITH_PULSEAUDIO, 1, [Enable PulseAudio support]) fi @@ -181,7 +181,7 @@ if test "x$with_openal" != xno; then PKG_CHECK_MODULES(OPENAL, libpulse >= 0.0.8, [found_audio=yes; with_openal=yes], [with_openal=no]) fi AM_CONDITIONAL([HAVE_OPENAL], [test "$with_openal" != "no"]) -if test "$with_openal" == no; then +if test "$with_openal" = "yes"; then AC_DEFINE(WITH_OPENAL, 1, [Enable OpenAL support]) fi