diff options
author | Avuton Olrich <avuton@gmail.com> | 2010-04-17 04:22:14 -0700 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2010-04-21 07:35:32 -0700 |
commit | e44f639002391a2e989b13b280820af7eb599146 (patch) | |
tree | b4d302c9e47ce368841dcf7ec5f3180863723c4c | |
parent | 1aa470e0bfe653b0270a4909ce5ce25f1cce2ae7 (diff) | |
download | mpd-e44f639002391a2e989b13b280820af7eb599146.tar.gz mpd-e44f639002391a2e989b13b280820af7eb599146.tar.xz mpd-e44f639002391a2e989b13b280820af7eb599146.zip |
configure.ac: Move final encoder tests to the end of the encoder tests.
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 12 |
1 files 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 --------------------------------------------------------------------------- |