configure.ac: Move final encoder tests to the end of the encoder tests.

This commit is contained in:
Avuton Olrich 2010-04-17 04:22:14 -07:00
parent 1aa470e0bf
commit e44f639002

View File

@ -1265,6 +1265,7 @@ if test x$enable_wave_encoder = xyes; then
[Define to enable the PCM wave encoder plugin])
fi
dnl --------------------------- encoder plugins test --------------------------
if test x$enable_vorbis_encoder != xno ||
test x$enable_lame_encoder != xno ||
test x$enable_twolame_encoder != xno ||
@ -1281,6 +1282,11 @@ else
fi
fi
if test x$enable_encoder = xyes; then
AC_DEFINE(ENABLE_ENCODER, 1,
[Define to enable the encoder plugins])
fi
AM_CONDITIONAL(ENABLE_ENCODER, test x$enable_encoder = xyes)
if test x$enable_shout = xauto; then
# handle shout auto-detection: disable if no encoder is
@ -1330,12 +1336,6 @@ if test x$enable_httpd_output = xyes; then
AC_DEFINE(ENABLE_HTTPD_OUTPUT, 1, [Define to enable the HTTP server output])
fi
AM_CONDITIONAL(ENABLE_ENCODER, test x$enable_encoder = xyes)
if test x$enable_encoder = xyes; then
AC_DEFINE(ENABLE_ENCODER, 1,
[Define to enable the encoder plugins])
fi
dnl ---------------------------------------------------------------------------
dnl Documentation
dnl ---------------------------------------------------------------------------