From 7d9fa3ddaf75a5c646d114aa41d9c9ccda661612 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Mon, 2 Jun 2008 15:56:59 +0000 Subject: [PATCH] added code for detecting fluidsynth-DLL git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1048 0778d3d1-df1d-0410-868b-ea421aaaa00d --- configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index a2603f675..7510f6a88 100644 --- a/configure.in +++ b/configure.in @@ -420,7 +420,11 @@ AH_TEMPLATE(HAVE_FLUIDSYNTH_H, [Define to 1 if you have the heade if test "x$with_fluidsynth" = "xyes" ; then FLUIDSYNTH_SUPPORT="true" AC_CHECK_HEADER([fluidsynth.h], HAVE_FLUIDSYNTH_H="true", FLUIDSYNTH_SUPPORT="") - AC_CHECK_LIB([fluidsynth], [new_fluid_synth], HAVE_FLUIDSYNTH="true", FLUIDSYNTH_SUPPORT="") + if [ "$build_win32" = "true" ] ; then + AC_CHECK_LIB([fluidsynth-1], [new_fluid_synth], HAVE_FLUIDSYNTH="true", FLUIDSYNTH_SUPPORT="") + else + AC_CHECK_LIB([fluidsynth], [new_fluid_synth], HAVE_FLUIDSYNTH="true", FLUIDSYNTH_SUPPORT="") + fi fi if test ! -z "$FLUIDSYNTH_SUPPORT" ; then AC_DEFINE(HAVE_FLUIDSYNTH_H)