# HG changeset patch # User Andrew O. Shadoura # Date 1213030348 -10800 # Node ID 073c6eac03901296dae1509cdaa03aa1f3ce9e8e # Parent 88180bc8c40c6795722ab24a20891b75b5539f4d check for libshout in configure diff -r 88180bc8c40c -r 073c6eac0390 configure.ac --- 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"