Remove ogg.m4, speex.m4, vorbis.m4 from the source directory before
starting to regenerate the configure script.
Do not add $prefix/include to the CPPFLAGS as this is evil
--- /dev/null
+diff --git a/configure.ac b/configure.ac
+index 52fc51d..e93fc52 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -179,7 +179,7 @@ eval shout_includedir="$includedir"
+ prefix="$save_prefix"
+
+ SHOUT_VERSION="$VERSION"
+-SHOUT_CPPFLAGS="-I$shout_includedir $VORBIS_CFLAGS $PTHREAD_CPPFLAGS"
++SHOUT_CPPFLAGS="$VORBIS_CFLAGS $PTHREAD_CPPFLAGS"
+ SHOUT_CFLAGS="$PTHREAD_CFLAGS"
+ SHOUT_LIBS="-lshout"
+
--- /dev/null
+DESCRIPTION = "Library which can be used to write a source client like ices"
+HOMEPAGE = "http://www.icecast.org"
+DEPENDS = "speex libtheora libvorbis libogg"
+LICENSE = "LGPL"
+
+SRC_URI = "http://downloads.us.xiph.org/releases/libshout/libshout-${PV}.tar.gz \
+ file://no-host-includes.ac;patch=1 "
+
+inherit autotools
+
+do_configure_prepend() {
+ # Use the staged m4 files
+ rm -f ${S}/m4/speex.m4
+ rm -f ${S}/m4/ogg.m4
+ rm -f ${S}/m4/vorbis.m4
+}
--- /dev/null
+require ${PN}.inc