diff --git a/configure.ac b/configure.ac index 3aebbfad6..fa6f6c0b7 100644 --- a/configure.ac +++ b/configure.ac @@ -1258,6 +1258,13 @@ if test x$enable_twolame_encoder = xyes; then fi AM_CONDITIONAL(ENABLE_TWOLAME_ENCODER, test x$enable_twolame_encoder = xyes) +dnl ------------------------------- WAVE Encoder ------------------------------ +AM_CONDITIONAL(ENABLE_WAVE_ENCODER, test x$enable_wave_encoder = xyes) +if test x$enable_wave_encoder = xyes; then + AC_DEFINE(ENABLE_WAVE_ENCODER, 1, + [Define to enable the PCM wave encoder plugin]) +fi + if test x$enable_vorbis_encoder != xno || test x$enable_lame_encoder != xno || test x$enable_twolame_encoder != xno || @@ -1329,12 +1336,6 @@ if test x$enable_encoder = xyes; then [Define to enable the encoder plugins]) fi -AM_CONDITIONAL(ENABLE_WAVE_ENCODER, test x$enable_wave_encoder = xyes) -if test x$enable_wave_encoder = xyes; then - AC_DEFINE(ENABLE_WAVE_ENCODER, 1, - [Define to enable the PCM wave encoder plugin]) -fi - dnl --------------------------------------------------------------------------- dnl Documentation dnl ---------------------------------------------------------------------------