[vlc-devel] commit: Simplify Pulseaudio detection (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 5 18:38:19 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug  5 17:52:56 2009 +0200| [c2cd93a6997a0bc105bed2fd6646dddc1c631c47] | committer: Jean-Baptiste Kempf 

Simplify Pulseaudio detection

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2cd93a6997a0bc105bed2fd6646dddc1c631c47
---

 configure.ac |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/configure.ac b/configure.ac
index c4fe291..e97e4e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4510,16 +4510,7 @@ fi
 dnl
 dnl  Pulseaudio module
 dnl
-AC_ARG_ENABLE(pulse,
-  [  --enable-pulse          Pulseaudio support (default enabled)])
-  if test "${enable_pulse}" != "no"
-   then
-     PKG_CHECK_MODULES(PULSE, libpulse >= 0.9.11,
-       [ VLC_ADD_PLUGIN([pulse])
-        VLC_ADD_CFLAGS([pulse],[${PULSE_CFLAGS}])
-        VLC_ADD_LDFLAGS([pulse],[${PULSE_LIBS}])],
-       [AC_MSG_WARN(pulseaudio library not found)])
-   fi
+PKG_ENABLE_MODULES_VLC([PULSE], [libpulse >= 0.9.11], [Pulseaudio support], [auto])
 
 dnl
 dnl  Portaudio module




More information about the vlc-devel mailing list