|
Lines 270-293
Link Here
|
| 270 |
AC_SUBST(JACK_LDFLAGS) |
270 |
AC_SUBST(JACK_LDFLAGS) |
| 271 |
fi |
271 |
fi |
| 272 |
|
272 |
|
| 273 |
AC_ARG_WITH(polypaudio,AC_HELP_STRING([--with-polypaudio],[Enable Polypaudio server support @<:@default=check@:>@]),[polypaudio_test="$withval"],[polypaudio_test="yes"]) |
273 |
AC_ARG_WITH(pulseaudio,AC_HELP_STRING([--with-pulseaudio],[Enable PulseAudio server support @<:@default=check@:>@]),[pulseaudio_test="$withval"],[pulseaudio_test="yes"]) |
| 274 |
|
274 |
|
| 275 |
if test "x$polypaudio_test" = "xyes" ; then |
275 |
if test "x$pulseaudio_test" = "xyes" ; then |
| 276 |
AC_MSG_CHECKING(for Polypaudio 0.7 or later) |
276 |
AC_MSG_CHECKING(for PulseAudio 0.9.2 or later) |
| 277 |
if $PKG_CONFIG --atleast-version 0.7 polyplib-simple >/dev/null 2>&1 ; then |
277 |
if $PKG_CONFIG --atleast-version 0.9.2 libpulse-simple >/dev/null 2>&1 ; then |
| 278 |
POLYP_CFLAGS="`$PKG_CONFIG --cflags polyplib-simple`" |
278 |
PULSE_CFLAGS="`$PKG_CONFIG --cflags libpulse-simple`" |
| 279 |
POLYP_LIBADD="`$PKG_CONFIG --libs-only-l polyplib-simple`" |
279 |
PULSE_LIBADD="`$PKG_CONFIG --libs-only-l libpulse-simple`" |
| 280 |
POLYP_LDFLAGS="`$PKG_CONFIG --libs-only-L polyplib-simple`" |
280 |
PULSE_LDFLAGS="`$PKG_CONFIG --libs-only-L libpulse-simple`" |
| 281 |
have_polyp=yes |
281 |
have_pulse=yes |
| 282 |
AC_MSG_RESULT(yes) |
282 |
AC_MSG_RESULT(yes) |
| 283 |
AC_DEFINE(HAVE_LIBPOLYP, 1, |
283 |
AC_DEFINE(HAVE_LIBPULSE, 1, |
| 284 |
[Define if you have polyplib (required if you want Polypaudio server support)]) |
284 |
[Define if you have libpulse (required if you want PulseAudio server support)]) |
| 285 |
else |
285 |
else |
| 286 |
AC_MSG_RESULT(not installed) |
286 |
AC_MSG_RESULT(not installed) |
| 287 |
fi |
287 |
fi |
| 288 |
AC_SUBST(POLYP_CFLAGS) |
288 |
AC_SUBST(PULSE_CFLAGS) |
| 289 |
AC_SUBST(POLYP_LIBADD) |
289 |
AC_SUBST(PULSE_LIBADD) |
| 290 |
AC_SUBST(POLYP_LDFLAGS) |
290 |
AC_SUBST(PULSE_LDFLAGS) |
| 291 |
fi |
291 |
fi |
| 292 |
|
292 |
|
| 293 |
AC_ARG_WITH(ffmpeg,AC_HELP_STRING([--with-ffmpeg],[Enable experimental FFMPEG decoder support @<:@default=check@:>@]),[ffmpeg_test="$withval"],[ffmpeg_test="yes"]) |
293 |
AC_ARG_WITH(ffmpeg,AC_HELP_STRING([--with-ffmpeg],[Enable experimental FFMPEG decoder support @<:@default=check@:>@]),[ffmpeg_test="$withval"],[ffmpeg_test="yes"]) |
|
Lines 482-488
Link Here
|
| 482 |
AM_CONDITIONAL(include_oss_sink, test x$have_oss = xyes) |
482 |
AM_CONDITIONAL(include_oss_sink, test x$have_oss = xyes) |
| 483 |
AM_CONDITIONAL(include_sun_sink, test x$have_sun = xyes) |
483 |
AM_CONDITIONAL(include_sun_sink, test x$have_sun = xyes) |
| 484 |
AM_CONDITIONAL(include_jack_sink, test x$have_jack = xyes) |
484 |
AM_CONDITIONAL(include_jack_sink, test x$have_jack = xyes) |
| 485 |
AM_CONDITIONAL(include_polyp_sink, test x$have_polyp = xyes) |
485 |
AM_CONDITIONAL(include_polyp_sink, test x$have_pulse = xyes) |
| 486 |
AM_CONDITIONAL(include_ffmpeg_decoder, test x$have_ffmpeg = xyes) |
486 |
AM_CONDITIONAL(include_ffmpeg_decoder, test x$have_ffmpeg = xyes) |
| 487 |
|
487 |
|
| 488 |
AC_MSG_CHECKING(for compilable aKode) |
488 |
AC_MSG_CHECKING(for compilable aKode) |