[xiph-commits] r3726 - libsydneyaudio/trunk
j at svn.annodex.net
j at svn.annodex.net
Fri Oct 10 04:46:08 PDT 2008
Author: j
Date: 2008-10-10 04:46:07 -0700 (Fri, 10 Oct 2008)
New Revision: 3726
Modified:
libsydneyaudio/trunk/configure.ac
Log:
only enable pulse if choosen via --with-pulse, the backend is not fully working
Modified: libsydneyaudio/trunk/configure.ac
===================================================================
--- libsydneyaudio/trunk/configure.ac 2008-09-24 09:08:59 UTC (rev 3725)
+++ libsydneyaudio/trunk/configure.ac 2008-10-10 11:46:07 UTC (rev 3726)
@@ -89,10 +89,21 @@
AC_SUBST(ALSA_CFLAGS)
AC_SUBST(ALSA_LIBS)
+
dnl
-dnl Detect pulseaudio
+dnl pulseaudio backend configure option and detect
dnl
-PKG_CHECK_MODULES(PULSE, libpulse, HAVE_PULSE=yes, HAVE_PULSE=no)
+AC_ARG_WITH(pulse,
+[ --with-pulse Use Pulseaudio backend],
+[ case "$withval" in
+ no)
+ HAVE_PULSE=no
+ ;;
+ *)
+ PKG_CHECK_MODULES(PULSE, libpulse, HAVE_PULSE=yes, HAVE_PULSE=no)
+ ;;
+ esac]
+)
AC_SUBST(PULSE_CFLAGS)
AC_SUBST(PULSE_LIBS)
@@ -110,7 +121,7 @@
dnl alsa backend configure option
dnl
AC_ARG_WITH(alsa,
-[ --with-alsa Use ALSA audio backend],
+[ --with-alsa Use ALSA audio backend],
[ case "$withval" in
no)
;;
@@ -126,7 +137,7 @@
dnl
AC_CHECK_HEADER(sys/soundcard.h, HAVE_OSS=yes, HAVE_OSS=no)
AC_ARG_WITH(oss,
-[ --with-oss Use OSS audio backend],
+[ --with-oss Use OSS audio backend],
[ case "$withval" in
no)
;;
More information about the commits
mailing list