[gtk-vnc] Fix enabling pulseaudio bits in gvncviewer



commit 3e727d0a22f26c3170aac27bb50f336ded07fb57
Author: Cole Robinson <crobinso redhat com>
Date:   Thu Jan 31 10:17:33 2013 +0000

    Fix enabling pulseaudio bits in gvncviewer
    
    The gvncviewer.c file used a HAVE_PULSEAUDIO conditional,
    but this was only defined for make and not in config.h
    
    Signed-off-by: Daniel P. Berrange <berrange redhat com>

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
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)



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