configure.ac: Check fluid_synth_sysex instead of new_fluid_synth

Disabling FluidSynth support is the simplest solution to unbreaking the
build with FluidSynth 1.0.9.

Of the FluidSynth functions used this is the one added latest, before
the release of 1.1.0.

1.0.9 is also missing fluid_synth_system_reset, which seems rather
important to have.
This commit is contained in:
Jan Alexander Steffens (heftig)
2018-04-07 11:37:58 +02:00
parent e5b5dee3be
commit c9a35d7abe

View File

@@ -414,7 +414,7 @@ AC_CHECK_HEADER(X11/XKBlib.h, have_x11_h=yes, have_x11_h=no, )
dnl LIBRARY TEST: Fluidsynth support dnl LIBRARY TEST: Fluidsynth support
AC_CHECK_HEADER(fluidsynth.h,have_fluidsynth_h=yes,) AC_CHECK_HEADER(fluidsynth.h,have_fluidsynth_h=yes,)
AC_CHECK_LIB(fluidsynth, new_fluid_synth, have_fluidsynth_lib=yes,,) AC_CHECK_LIB(fluidsynth, fluid_synth_sysex, have_fluidsynth_lib=yes,,)
dnl LIBRARY TEST: FFMPEG support dnl LIBRARY TEST: FFMPEG support
AC_CHECK_LIB(avcodec,avcodec_open2,have_ffmpeg=yes,have_ffmpeg=no,) AC_CHECK_LIB(avcodec,avcodec_open2,have_ffmpeg=yes,have_ffmpeg=no,)