diff options
author | Viliam Mateicka <viliam.mateicka@gmail.com> | 2009-11-17 19:41:35 +0100 |
---|---|---|
committer | Viliam Mateicka <viliam.mateicka@gmail.com> | 2009-11-17 19:41:35 +0100 |
commit | 5420f9ae76babdfa4ecf35eaad44f90c5866e59a (patch) | |
tree | 7b70de8d9296faa953d6084e8cf97518a709259d /configure.ac | |
parent | 39404725f05222706196c6faeaee841b999f9dfb (diff) | |
download | mpd-5420f9ae76babdfa4ecf35eaad44f90c5866e59a.tar.gz mpd-5420f9ae76babdfa4ecf35eaad44f90c5866e59a.tar.xz mpd-5420f9ae76babdfa4ecf35eaad44f90c5866e59a.zip |
encoder: introducing flac encoder plugin
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b9eb06d36..486f1d85b 100644 --- a/configure.ac +++ b/configure.ac @@ -989,6 +989,8 @@ fi AM_CONDITIONAL(HAVE_FLAC, test x$enable_flac = xyes) +enable_flac_encoder=$enable_flac + if test x$enable_oggflac = xyes; then oldmpdcflags="$MPD_CFLAGS" oldmpdlibs="$MPD_LIBS" @@ -1087,6 +1089,7 @@ else enable_lame_encoder=no enable_twolame_encoder=no enable_wave_encoder=no + enable_flac_encoder=no fi MPD_AUTO_PKG(vorbis_encoder, VORBISENC, [vorbisenc], @@ -1107,6 +1110,7 @@ MPD_AUTO_PKG(twolame_encoder, TWOLAME, [twolame], if test x$enable_vorbis_encoder != xno || test x$enable_lame_encoder != xno || test x$enable_twolame_encoder != xno || + test x$enable_flac_encoder != xno || test x$enable_wave_encoder != xno; then # at least one encoder plugin is enabled enable_encoder=yes @@ -1194,6 +1198,12 @@ if test x$enable_wave_encoder = xyes; then [Define to enable the PCM wave encoder plugin]) fi +AM_CONDITIONAL(ENABLE_FLAC_ENCODER, test x$enable_flac_encoder = xyes) +if test x$enable_flac_encoder = xyes; then + AC_DEFINE(ENABLE_FLAC_ENCODER, 1, + [Define to enable the FLAC encoder plugin]) +fi + dnl dnl Documentation dnl @@ -1444,6 +1454,12 @@ if echo " TwoLAME mp3 encoder ...........disabled" fi + if test x$enable_flac_encoder = xyes; then + echo " FLAC encoder ..................enabled" + else + echo " FLAC encoder ..................disabled" + fi + if test x$enable_wave_encoder = xyes; then echo " PCM wave encoder ..............enabled" else |