# HG changeset patch # User Calin Crisan ccrisan@gmail.com # Date 1215039739 -10800 # Node ID bbde87558ec71ae8cf100b60c65fdfae1a9067fa # Parent 22d73f09eeccaf252963ed10ed825b92771ec8d0 integrated streambrowser into the main buildsystem diff -r 22d73f09eecc -r bbde87558ec7 configure.ac --- a/configure.ac Wed Jul 02 21:27:56 2008 +0200 +++ b/configure.ac Thu Jul 03 02:02:19 2008 +0300 @@ -1237,6 +1237,16 @@ ) fi +AC_ARG_ENABLE(streambrowser, + [ --disable-streambrowser disable streambrowser general plugin (default=enabled) ], + [enable_streambrowser=$enableval], + [enable_streambrowser=yes] +) + +if test "$enable_streambrowser" = "yes"; then + GENERAL_PLUGINS="$GENERAL_PLUGINS streambrowser" +fi + AM_CONDITIONAL(HAVE_CDROM, test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes") AM_CONDITIONAL(HAVE_LINUX_JOYSTICK,test "${ac_cv_header_linux_joystick_h}" = "yes") @@ -1712,6 +1722,7 @@ echo " Upload to MTP device: $have_mtp_up" echo " Bluetooth audio suport: $have_bluetooth" echo " MacOS Dock Album Art plugin: $have_dockalbumart" +echo " Streambrowser: $enable_streambrowser" echo echo " Effect" echo " ------" diff -r 22d73f09eecc -r bbde87558ec7 src/streambrowser/Makefile --- a/src/streambrowser/Makefile Wed Jul 02 21:27:56 2008 +0200 +++ b/src/streambrowser/Makefile Thu Jul 03 02:02:19 2008 +0300 @@ -13,7 +13,7 @@ PACKAGE = audacious -plugindir := ${plugindir}/${INPUT_PLUGIN_DIR} +plugindir := ${plugindir}/${GENERAL_PLUGIN_DIR} CFLAGS += ${PLUGIN_CFLAGS} ${BEEP_DEFINES} CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${XML_CPPFLAGS} ${ARCH_DEFINES} -I../..