diff options
author | Michal Ratajsky <[email protected]> | 2014-11-03 01:17:35 +0100 |
---|---|---|
committer | Michal Ratajsky <[email protected]> | 2014-11-03 01:17:35 +0100 |
commit | dcf30062003e1babb09f78c7ba1d7626e04aa478 (patch) | |
tree | 3ac9f64d8b81c9f291103b6aef1c95a6c53c0c15 /configure.ac | |
parent | 7b23aad70cb730faabbf867a57b1e8b1618a4cf1 (diff) | |
download | mate-media-dcf30062003e1babb09f78c7ba1d7626e04aa478.tar.bz2 mate-media-dcf30062003e1babb09f78c7ba1d7626e04aa478.tar.xz |
Remove dependency on PulseAudio and remaining references to it
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/configure.ac b/configure.ac index 655b9a0..fbdf4f9 100644 --- a/configure.ac +++ b/configure.ac @@ -116,36 +116,6 @@ AC_SUBST(VOLUME_CONTROL_CFLAGS) AC_SUBST(VOLUME_CONTROL_LIBS) dnl======================================================================= -dnl Check for PulseAudio optional dependency -dnl======================================================================= - -AC_ARG_ENABLE([pulseaudio], - AS_HELP_STRING([--enable-pulseaudio], - [Enable PulseAudio support @<:@default=auto@:>@]), - enable_pulseaudio=$enableval, enable_pulseaudio=auto) - -if test "x$enable_pulseaudio" != "xno"; then - PKG_CHECK_MODULES(PULSEAUDIO, - libpulse >= $PA_REQUIRED_VERSION, - have_pulseaudio=yes, - have_pulseaudio=no) - - if test "x$enable_pulseaudio" = "xyes" -a "x$have_pulseaudio" = "xno"; then - AC_MSG_ERROR([PulseAudio support explicitly requested but dependencies not found]) - fi - - if test "x$have_pulseaudio" = "xyes" ; then - AC_DEFINE(HAVE_PULSEAUDIO, [], [Define if we have pulseaudio]) - fi -else - have_pulseaudio=no -fi -AM_CONDITIONAL(HAVE_PULSEAUDIO, test x$have_pulseaudio = xyes) -AC_SUBST(HAVE_PULSEAUDIO) -AC_SUBST(PULSEAUDIO_CFLAGS) -AC_SUBST(PULSEAUDIO_LIBS) - -dnl======================================================================= dnl GLib dnl======================================================================= @@ -270,5 +240,4 @@ echo " Compiler: ${CC} CFLAGS: ${CFLAGS} GTK+ API version: ${GTK_API_VERSION} - PulseAudio: ${have_pulseaudio} " |