Commit 70106464 authored by Max Kellermann's avatar Max Kellermann

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.
parent b722d3d7
...@@ -410,8 +410,8 @@ dnl ...@@ -410,8 +410,8 @@ dnl
AC_ARG_ENABLE(audiofile, AC_ARG_ENABLE(audiofile,
AS_HELP_STRING([--enable-audiofile], AS_HELP_STRING([--enable-audiofile],
[enable audiofile support, disables wave support]),, [enable audiofile support (WAV and others)]),,
enable_audiofile=yes) enable_audiofile=auto)
MPD_AUTO_PKG(audiofile, AUDIOFILE, [audiofile >= 0.1.7], MPD_AUTO_PKG(audiofile, AUDIOFILE, [audiofile >= 0.1.7],
[audiofile decoder plugin], [libaudiofile not found]) [audiofile decoder plugin], [libaudiofile not found])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment