From 855b2427e944f62e7ab825b904e89de1e8bdd42b Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 18 Oct 2007 13:34:26 +0000 Subject: Replace Polyp- by PulseAudio output. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24809 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) (limited to 'configure') diff --git a/configure b/configure index a0f927603b..c69017c63b 100755 --- a/configure +++ b/configure @@ -391,7 +391,7 @@ Audio output: --disable-ossaudio disable OSS audio output [autodetect] --disable-arts disable aRts audio output [autodetect] --disable-esd disable esd audio output [autodetect] - --disable-polyp disable Polypaudio audio output [autodetect] + --disable-pulse disable Pulseaudio audio output [autodetect] --disable-jack disable JACK audio output [autodetect] --disable-openal disable OpenAL audio output [autodetect] --disable-nas disable NAS audio output [autodetect] @@ -556,7 +556,7 @@ _rtc=auto _ossaudio=auto _arts=auto _esd=auto -_polyp=auto +_pulse=auto _jack=auto _openal=auto _libcdio=auto @@ -884,8 +884,8 @@ for ac_option do --disable-arts) _arts=no ;; --enable-esd) _esd=yes ;; --disable-esd) _esd=no ;; - --enable-polyp) _polyp=yes ;; - --disable-polyp) _polyp=no ;; + --enable-pulse) _pulse=yes ;; + --disable-pulse) _pulse=no ;; --enable-jack) _jack=yes ;; --disable-jack) _jack=no ;; --enable-openal) _openal=yes ;; @@ -5096,32 +5096,30 @@ else _noaomodules="esd $_noaomodules" fi -echocheck "Polyp" -if test "$_polyp" = auto ; then - _polyp=no - if $_pkg_config --exists 'polyplib >= 0.6 polyplib-error >= 0.6 polyplib-mainloop >= 0.6' ; then +echocheck "pulse" +if test "$_pulse" = auto ; then + _pulse=no + if $_pkg_config --exists 'libpulse >= 0.9' ; then cat > $TMPC << EOF -#include -#include -#include +#include int main(void) { return 0; } EOF -cc_check `$_pkg_config --libs --cflags polyplib polyplib-error polyplib-mainloop` && tmp_run && _polyp=yes +cc_check `$_pkg_config --libs --cflags libpulse` && tmp_run && _pulse=yes fi fi -echores "$_polyp" +echores "$_pulse" -if test "$_polyp" = yes ; then - _def_polyp='#define USE_POLYP 1' - _aosrc="$_aosrc ao_polyp.c" - _aomodules="polyp $_aomodules" - _libs_mplayer="$_libs_mplayer `$_pkg_config --libs polyplib polyplib-error polyplib-mainloop`" - _inc_extra="$_inc_extra `$_pkg_config --cflags polyplib polyplib-error polyplib-mainloop`" +if test "$_pulse" = yes ; then + _def_pulse='#define USE_PULSE 1' + _aosrc="$_aosrc ao_pulse.c" + _aomodules="pulse $_aomodules" + _libs_mplayer="$_libs_mplayer `$_pkg_config --libs libpulse`" + _inc_extra="$_inc_extra `$_pkg_config --cflags libpulse`" else - _def_polyp='#undef USE_POLYP' - _noaomodules="polyp $_noaomodules" + _def_pulse='#undef USE_PULSE' + _noaomodules="pulse $_noaomodules" fi @@ -8170,7 +8168,7 @@ $_def_alsa1x $_def_arts $_def_esd $_def_esd_latency -$_def_polyp +$_def_pulse $_def_jack $_def_openal $_def_openal_h -- cgit v1.2.3