diff --git a/m4/shout.m4 b/m4/shout.m4 index 07e18066..60b32b16 100644 --- a/m4/shout.m4 +++ b/m4/shout.m4 @@ -35,8 +35,8 @@ AC_ARG_ENABLE(shouttest, [ --disable-shouttest Do not try to compile and if test "x$enable_shouttest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $SHOUT_CFLAGS" - LIBS="$LIBS $SHOUT_LIBS" + CFLAGS="$CFLAGS $SHOUT_CFLAGS $OGG_CFLAGS $VORBIS_CFLAGS" + LIBS="$LIBS $SHOUT_LIBS $OGG_LIBS $VORBIS_LIBS" dnl dnl Now check if the installed Shout is sufficiently new. dnl @@ -67,8 +67,8 @@ int main () : else echo "*** Could not run Shout test program, checking why..." - CFLAGS="$CFLAGS $SHOUT_CFLAGS" - LIBS="$LIBS $SHOUT_LIBS" + CFLAGS="$CFLAGS $SHOUT_CFLAGS $OGG_CFLAGS $VORBIS_CFLAGS" + LIBS="$LIBS $SHOUT_LIBS $OGG_LIBS $VORBIS_LIBS" AC_TRY_LINK([ #include #include