@ -270,24 +270,24 @@ AC_SUBST(JACK_LIBADD)
AC_SUBST(JACK_LDFLAGS)
AC_SUBST(JACK_LDFLAGS)
fi
fi
AC_ARG_WITH(polypaudio,AC_HELP_STRING([--with-polypaudio],[Enable Polypaudio server support @<:@default=check@:>@]),[polypaudio_test="$withval"],[polyp audio_test="yes"])
AC_ARG_WITH(pulseaudio,AC_HELP_STRING([--with-pulseaudio],[Enable PulseAudio server support @<:@default=check@:>@]),[pulseaudio_test="$withval"],[pulse audio_test="yes"])
if test "x$polyp audio_test" = "xyes" ; then
if test "x$pulse audio_test" = "xyes" ; then
AC_MSG_CHECKING(for Polypaudio 0.7 or later)
AC_MSG_CHECKING(for pulseaudio 0.9.2 or later)
if $PKG_CONFIG --atleast-version 0.7 polyplib -simple >/dev/null 2>&1 ; then
if $PKG_CONFIG --atleast-version 0.9.2 libpulse -simple >/dev/null 2>&1 ; then
POLYP_CFLAGS="`$PKG_CONFIG --cflags polyplib -simple`"
PULSE_CFLAGS="`$PKG_CONFIG --cflags libpulse -simple`"
POLYP_LIBADD="`$PKG_CONFIG --libs-only-l polyplib -simple`"
PULSE_LIBADD="`$PKG_CONFIG --libs-only-l libpulse -simple`"
POLYP_LDFLAGS="`$PKG_CONFIG --libs-only-L polyplib -simple`"
PULSE_LDFLAGS="`$PKG_CONFIG --libs-only-L libpulse -simple`"
have_polyp =yes
have_pulse =yes
AC_MSG_RESULT(yes)
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_LIBPOLYP , 1,
AC_DEFINE(HAVE_LIBPULSE , 1,
[Define if you have polyplib (required if you want Polypa udio server support)])
[Define if you have libpulse (required if you want PulseA udio server support)])
else
else
AC_MSG_RESULT(not installed)
AC_MSG_RESULT(not installed)
fi
fi
AC_SUBST(POLYP _CFLAGS)
AC_SUBST(PULSE _CFLAGS)
AC_SUBST(POLYP _LIBADD)
AC_SUBST(PULSE _LIBADD)
AC_SUBST(POLYP _LDFLAGS)
AC_SUBST(PULSE _LDFLAGS)
fi
fi
AC_ARG_WITH(ffmpeg,AC_HELP_STRING([--with-ffmpeg],[Enable experimental FFMPEG decoder support @<:@default=check@:>@]),[ffmpeg_test="$withval"],[ffmpeg_test="yes"])
AC_ARG_WITH(ffmpeg,AC_HELP_STRING([--with-ffmpeg],[Enable experimental FFMPEG decoder support @<:@default=check@:>@]),[ffmpeg_test="$withval"],[ffmpeg_test="yes"])
@ -482,7 +482,7 @@ AM_CONDITIONAL(include_alsa_sink, test x$have_alsa = xyes)
AM_CONDITIONAL(include_oss_sink, test x$have_oss = xyes)
AM_CONDITIONAL(include_oss_sink, test x$have_oss = xyes)
AM_CONDITIONAL(include_sun_sink, test x$have_sun = xyes)
AM_CONDITIONAL(include_sun_sink, test x$have_sun = xyes)
AM_CONDITIONAL(include_jack_sink, test x$have_jack = xyes)
AM_CONDITIONAL(include_jack_sink, test x$have_jack = xyes)
AM_CONDITIONAL(include_polyp_sink, test x$have_polyp = xyes)
AM_CONDITIONAL(include_pulse_sink, test x$have_pulse = xyes)
AM_CONDITIONAL(include_ffmpeg_decoder, test x$have_ffmpeg = xyes)
AM_CONDITIONAL(include_ffmpeg_decoder, test x$have_ffmpeg = xyes)
AC_MSG_CHECKING(for compilable aKode)
AC_MSG_CHECKING(for compilable aKode)