configure.ac: enable_audiofile defaults to "auto"

Since we're using MPD_AUTO_PKG, we can auto-detect this option.  Also
fix the --enable-audiofile help string.
This commit is contained in:
Max Kellermann 2009-11-10 21:27:55 +01:00
parent b722d3d7f3
commit 70106464d3

View File

@ -410,8 +410,8 @@ dnl
AC_ARG_ENABLE(audiofile,
AS_HELP_STRING([--enable-audiofile],
[enable audiofile support, disables wave support]),,
enable_audiofile=yes)
[enable audiofile support (WAV and others)]),,
enable_audiofile=auto)
MPD_AUTO_PKG(audiofile, AUDIOFILE, [audiofile >= 0.1.7],
[audiofile decoder plugin], [libaudiofile not found])