aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-15 00:29:59 +0200
committerMax Kellermann <max@duempel.org>2012-08-15 00:48:52 +0200
commit9c83464b95a6e8145fee0a03bd151f4bc7a6cac7 (patch)
treed799abb71e32e596122a3ad8b02493a3fe669317
parentb1bbd70f0f956e9829158ee80a42f1bafde67347 (diff)
downloadmpd-9c83464b95a6e8145fee0a03bd151f4bc7a6cac7.tar.gz
mpd-9c83464b95a6e8145fee0a03bd151f4bc7a6cac7.tar.xz
mpd-9c83464b95a6e8145fee0a03bd151f4bc7a6cac7.zip
configure.ac: auto-detect libfluidsynth
Now that the libfluidsynth API was sanitized, we can enable the plugin automatically if libfluidsynth is installed.
Diffstat (limited to '')
-rw-r--r--INSTALL2
-rw-r--r--configure.ac4
-rw-r--r--src/decoder/fluidsynth_decoder_plugin.c9
3 files changed, 3 insertions, 12 deletions
diff --git a/INSTALL b/INSTALL
index cc6fbdc36..fdebbe71d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -103,7 +103,7 @@ libsidplay2 - http://sidplay2.sourceforge.net/
For C64 SID support.
libfluidsynth - http://fluidsynth.resonance.org/
-For MIDI support (DO NOT USE - use libwildmidi instead)
+For MIDI support.
libwildmidi - http://wildmidi.sourceforge.net/
For MIDI support.
diff --git a/configure.ac b/configure.ac
index 8a0f02871..f9062934f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -217,8 +217,8 @@ AC_ARG_ENABLE(flac,
AC_ARG_ENABLE(fluidsynth,
AS_HELP_STRING([--enable-fluidsynth],
- [enable MIDI support via fluidsynth (default: disable)]),,
- enable_fluidsynth=no)
+ [enable MIDI support via fluidsynth (default: auto)]),,
+ enable_fluidsynth=auto)
AC_ARG_ENABLE(gme,
AS_HELP_STRING([--enable-gme],
diff --git a/src/decoder/fluidsynth_decoder_plugin.c b/src/decoder/fluidsynth_decoder_plugin.c
index a8c148c89..1fef209bc 100644
--- a/src/decoder/fluidsynth_decoder_plugin.c
+++ b/src/decoder/fluidsynth_decoder_plugin.c
@@ -17,15 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-/*
- * WARNING! This plugin suffers from major shortcomings in the
- * libfluidsynth API, which render it practically unusable. For a
- * discussion, see the post on the fluidsynth mailing list:
- *
- * http://www.mail-archive.com/fluid-dev@nongnu.org/msg01099.html
- *
- */
-
#include "config.h"
#include "decoder_api.h"
#include "conf.h"