[PATCH] gvncviewer: Fix enabling pulseaudio bits



Make sure HAVE_PULSEAUDIO ends up in config.h
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 21d7a02..8766ff1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -237,6 +237,10 @@ if test "x$with_pulseaudio" != "xno"; then
       [AC_MSG_NOTICE([libpulse-simple not found, disabling PulseAudio support])])
   fi
 fi
+if test "x$HAVE_PULSEAUDIO" = "xyes"; then
+    AC_DEFINE_UNQUOTED([HAVE_PULSEAUDIO], 1,
+      [whether pulseaudio is available for audio streaming])
+fi
 AM_CONDITIONAL([HAVE_PULSEAUDIO], [test "x$HAVE_PULSEAUDIO" = "xyes"])
 AC_SUBST(PULSEAUDIO_CFLAGS)
 AC_SUBST(PULSEAUDIO_LIBS)
-- 
1.8.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]