changeset 2770:9bc47b31404a

added SHOUT_CFLAGS and SHOUT_LIBS
author Andrew O. Shadoura <bugzilla@tut.by>
date Mon, 09 Jun 2008 20:25:37 +0300
parents 073c6eac0390
children 949d790e8e33
files configure.ac extra.mk.in src/icecast/Makefile
diffstat 3 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Mon Jun 09 19:52:28 2008 +0300
+++ b/configure.ac	Mon Jun 09 20:25:37 2008 +0300
@@ -295,6 +295,8 @@
 	have_coreaudio=no
 fi
 
+dnl *** Icecast
+
 AC_ARG_ENABLE( icecast,
     [  --disable-icecast       disable Icecast output plugin (default=enabled)],
     [enable_icecast=$enableval],
@@ -313,6 +315,9 @@
     have_shout=no
 fi
 
+AC_SUBST(SHOUT_CFLAGS)
+AC_SUBST(SHOUT_LIBS)
+
 dnl *** Dock Album Art (MacOS)
 
 AC_ARG_ENABLE(dockalbumart,
--- a/extra.mk.in	Mon Jun 09 19:52:28 2008 +0300
+++ b/extra.mk.in	Mon Jun 09 20:25:37 2008 +0300
@@ -258,6 +258,8 @@
 SDL_LIBS ?= @SDL_LIBS@
 SET_MAKE ?= @SET_MAKE@
 SHELL ?= @SHELL@
+SHOUT_CFLAGS ?= @SHOUT_CFLAGS@
+SHOUT_LIBS ?= @SHOUT_LIBS@
 SIDPLAY1_INCLUDES ?= @SIDPLAY1_INCLUDES@
 SIDPLAY1_LDADD ?= @SIDPLAY1_LDADD@
 SIDPLAY2_INCLUDES ?= @SIDPLAY2_INCLUDES@
--- a/src/icecast/Makefile	Mon Jun 09 19:52:28 2008 +0300
+++ b/src/icecast/Makefile	Mon Jun 09 20:25:37 2008 +0300
@@ -9,6 +9,6 @@
 
 plugindir := ${plugindir}/${OUTPUT_PLUGIN_DIR}
 
-CFLAGS += ${PLUGIN_CFLAGS}
-CPPFLAGS += ${PLUGIN_CPPFLAGS} ${GLIB_CFLAGS} ${GTK_CFLAGS} ${PANGO_CFLAGS} ${MOWGLI_CFLAGS} ${DBUS_CFLAGS} ${FILEWRITER_CFLAGS} ${OGG_VORBIS_CFLAGS} -I../../intl -I../..
-LIBS += ${GTK_LIBS} ${FILEWRITER_LIBS}
+CFLAGS += ${PLUGIN_CFLAGS} ${SHOUT_CFLAGS}
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${GLIB_CFLAGS} ${GTK_CFLAGS} ${PANGO_CFLAGS} ${MOWGLI_CFLAGS} ${DBUS_CFLAGS} ${FILEWRITER_CFLAGS} ${OGG_VORBIS_CFLAGS} ${SHOUT_CFLAGS} -I../../intl -I../..
+LIBS += ${GTK_LIBS} ${FILEWRITER_LIBS} ${SHOUT_LIBS}