configure.ac: auto-detect fluidsynth by default
The option "--enable-fluidsynth" was documented to be "auto" by default, when it was really "no".
This commit is contained in:
parent
74a778e65f
commit
727c622659
2
NEWS
2
NEWS
@ -1,4 +1,6 @@
|
|||||||
ver 0.18.5 (20??/??/??)
|
ver 0.18.5 (20??/??/??)
|
||||||
|
* decoder
|
||||||
|
- fluidsynth: auto-detect by default
|
||||||
* fix build failures due to missing includes
|
* fix build failures due to missing includes
|
||||||
* fix build failure with static libmpdclient
|
* fix build failure with static libmpdclient
|
||||||
|
|
||||||
|
@ -874,10 +874,12 @@ AM_CONDITIONAL(HAVE_FLAC, test x$enable_flac = xyes)
|
|||||||
enable_flac_encoder=$enable_flac
|
enable_flac_encoder=$enable_flac
|
||||||
|
|
||||||
dnl -------------------------------- FluidSynth -------------------------------
|
dnl -------------------------------- FluidSynth -------------------------------
|
||||||
|
|
||||||
|
MPD_AUTO_PKG(fluidsynth, FLUIDSYNTH, [fluidsynth >= 1.1],
|
||||||
|
[fluidsynth decoder], [fluidsynth not found])
|
||||||
|
|
||||||
if test x$enable_fluidsynth = xyes; then
|
if test x$enable_fluidsynth = xyes; then
|
||||||
PKG_CHECK_MODULES(FLUIDSYNTH, [fluidsynth >= 1.1],
|
AC_DEFINE(ENABLE_FLUIDSYNTH, 1, [Define for fluidsynth support])
|
||||||
AC_DEFINE(ENABLE_FLUIDSYNTH, 1, [Define for fluidsynth support]),
|
|
||||||
enable_fluidsynth=no)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(ENABLE_FLUIDSYNTH, test x$enable_fluidsynth = xyes)
|
AM_CONDITIONAL(ENABLE_FLUIDSYNTH, test x$enable_fluidsynth = xyes)
|
||||||
|
Loading…
Reference in New Issue
Block a user