From e44f639002391a2e989b13b280820af7eb599146 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sat, 17 Apr 2010 04:22:14 -0700 Subject: configure.ac: Move final encoder tests to the end of the encoder tests. --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index fa6f6c0b7..4775014c5 100644 --- a/configure.ac +++ b/configure.ac @@ -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 --------------------------------------------------------------------------- -- cgit v1.2.3