Mercurial > audlegacy-plugins
changeset 2769:073c6eac0390
check for libshout in configure
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Mon, 09 Jun 2008 19:52:28 +0300 |
parents | 88180bc8c40c |
children | 9bc47b31404a |
files | configure.ac |
diffstat | 1 files changed, 21 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Mon Jun 09 19:49:36 2008 +0300 +++ b/configure.ac Mon Jun 09 19:52:28 2008 +0300 @@ -242,7 +242,7 @@ dnl Check for esound AC_ARG_ENABLE( esd, - [ --disable-esd disable esound output plugin [default=enabled]], + [ --disable-esd disable esound output plugin (default=enabled)], [enable_esd=$enableval], [enable_esd="yes"] ) @@ -261,7 +261,7 @@ dnl Check for PulseAudio AC_ARG_ENABLE( pulse, - [ --disable-pulse disable PulseAudio output plugin [default=enabled]], + [ --disable-pulse disable PulseAudio output plugin (default=enabled)], [enable_pulse=$enableval], [enable_pulse="yes"] ) @@ -295,6 +295,24 @@ have_coreaudio=no fi +AC_ARG_ENABLE( icecast, + [ --disable-icecast disable Icecast output plugin (default=enabled)], + [enable_icecast=$enableval], + [enable_icecast="yes"] +) + +if test "x$enable_icecast" = "xyes"; then + PKG_CHECK_MODULES(SHOUT, [shout >= 2.0], + [have_shout=yes + enable_filewriter=yes + OUTPUT_PLUGINS="$OUTPUT_PLUGINS icecast"], + [have_shout=no] + ) +else + AC_MSG_RESULT([*** icecast output plugin disabled per user request ***]) + have_shout=no +fi + dnl *** Dock Album Art (MacOS) AC_ARG_ENABLE(dockalbumart, @@ -1645,6 +1663,7 @@ echo " -> FileWriter MP3 output part: $have_lame" echo " -> FileWriter Vorbis output part: $have_vorbisenc" echo " -> FileWriter FLAC output part: $have_writer_flac" +echo " Icecast audio output (icecast): $have_shout" echo " Null Audio output (null): yes" echo echo " Input Plugins"