diff options
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/configure.ac b/configure.ac index bf6964382..d069eed70 100644 --- a/configure.ac +++ b/configure.ac @@ -1310,39 +1310,41 @@ if test x$enable_httpd_output = xyes; then fi AM_CONDITIONAL(ENABLE_HTTPD_OUTPUT, test x$enable_httpd_output = xyes) -if test x$enable_shout = xauto; then - # handle shout auto-detection: disable if no encoder is +dnl --------------------------------- Recorder -------------------------------- +if test x$enable_recorder_output = xauto; then + # handle recorder auto-detection: disable if no encoder is # available if test x$enable_encoder = xyes; then - enable_shout=yes + enable_recorder_output=yes else - AC_MSG_WARN([No encoder plugin -- disabling the shout output plugin]) - enable_shout=no + AC_MSG_WARN([No encoder plugin -- disabling the recorder output plugin]) + enable_recorder_output=no fi fi -if test x$enable_recorder_output = xauto; then - # handle recorder auto-detection: disable if no encoder is +if test x$enable_recorder_output = xyes; then + AC_DEFINE(ENABLE_RECORDER_OUTPUT, 1, [Define to enable the recorder output]) +fi +AM_CONDITIONAL(ENABLE_RECORDER_OUTPUT, test x$enable_recorder_output = xyes) + +if test x$enable_shout = xauto; then + # handle shout auto-detection: disable if no encoder is # available if test x$enable_encoder = xyes; then - enable_recorder_output=yes + enable_shout=yes else - AC_MSG_WARN([No encoder plugin -- disabling the recorder output plugin]) - enable_recorder_output=no + AC_MSG_WARN([No encoder plugin -- disabling the shout output plugin]) + enable_shout=no fi fi + + AM_CONDITIONAL(HAVE_SHOUT, test x$enable_shout = xyes) if test x$enable_shout = xyes; then AC_DEFINE(HAVE_SHOUT, 1, [Define to enable the shoutcast output]) fi -AM_CONDITIONAL(ENABLE_RECORDER_OUTPUT, test x$enable_recorder_output = xyes) -if test x$enable_recorder_output = xyes; then - AC_DEFINE(ENABLE_RECORDER_OUTPUT, 1, [Define to enable the recorder output]) -fi - - dnl --------------------------------------------------------------------------- dnl Documentation dnl --------------------------------------------------------------------------- |