Commit 8d11eaff authored by Eric Wong's avatar Eric Wong

configure.ac: no longer drop MPD_CFLAGS if shout is enabled

I'm an idiot for not noticing that :x git-svn-id: https://svn.musicpd.org/mpd/trunk@5256 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 6f341e9a
...@@ -20,11 +20,9 @@ AC_DEFINE(PROTOCOL_VERSION, "0.12.1", [The mpd protocol version]) ...@@ -20,11 +20,9 @@ AC_DEFINE(PROTOCOL_VERSION, "0.12.1", [The mpd protocol version])
MPD_LIBS="" MPD_LIBS=""
MPD_CFLAGS="" MPD_CFLAGS=""
case "$CC" in if test x$GCC = xyes; then
*gcc*)
MPD_CFLAGS="-Wall -Wmissing-prototypes" MPD_CFLAGS="-Wall -Wmissing-prototypes"
;; fi
esac
if test -z "$prefix" || test "x$prefix" = xNONE; then if test -z "$prefix" || test "x$prefix" = xNONE; then
local_lib= local_lib=
...@@ -515,7 +513,7 @@ elif test x$enable_oggvorbis = xyes; then ...@@ -515,7 +513,7 @@ elif test x$enable_oggvorbis = xyes; then
if test x$enable_shout = xyes; then if test x$enable_shout = xyes; then
MPD_LIBS="$MPD_LIBS $VORBISENC_LIBS" MPD_LIBS="$MPD_LIBS $VORBISENC_LIBS"
MPD_CFLAGS="$VORBISFILE_CFLAGS $VORBISENC_CFLAGS" MPD_CFLAGS="$MPD_CFLAGS $VORBISFILE_CFLAGS $VORBISENC_CFLAGS"
fi fi
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment