some cleanups and fixes

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@450 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2006-12-28 23:19:00 +00:00
parent f68d4e4b62
commit 73c75e94cb
2 changed files with 8 additions and 6 deletions

View File

@@ -1,5 +1,8 @@
2006-12-28 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* configure.in:
some cleanups and fixes
* src/tracks/instrument_track.cpp:
before calling mixer::addPlayHandle(), unlock m_notesMutex as in some
cases (when running into xruns)

View File

@@ -220,8 +220,7 @@ if test "x$with_vst" = "xyes" ; then
ORIG_CPPFLAGS=$CPPFLAGS
CFLAGS="$CFLAGS -I./include"
CPPFLAGS="$CPPFLAGS -I./include"
ORIG_CC="$CC"
CC="$CXX"
AC_LANG_PUSH(C++)
AC_CHECK_HEADER(aeffectx.h, HAVE_VST_AEFFECTX_H="true")
CFLAGS="$ORIG_CFLAGS"
CPPFLAGS="$ORIG_CPPFLAGS"
@@ -239,14 +238,14 @@ if test "x$with_vst" = "xyes" ; then
fi
fi
fi
CC="$ORIG_CC"
AC_LANG_POP(C++)
fi
AM_CONDITIONAL(VST_SUPPORT, test ! -z "$WINEGCC")
# check for LADSPA-SDK
AC_ARG_WITH(ladspa,
AS_HELP_STRING([--without-ladspa], [enable support for LADSPA]), , [ with_ladspa=yes ] )
AS_HELP_STRING([--without-ladspa], [disable support for LADSPA]), , [ with_ladspa=yes ] )
AH_TEMPLATE(HAVE_LADSPA_H, [Define to 1 if you have the <ladspa.h> header file.])
AH_TEMPLATE(LADSPA_SUPPORT, [Define to 1 if you have the <ladspa.h> header file.])
if test "x$with_ladspa" = "xyes" ; then
@@ -265,8 +264,8 @@ AM_CONDITIONAL(LADSPA_SUPPORT, test "$build_linux" = "true" )
# check for STK
AC_LANG_PUSH(C++)
AC_ARG_WITH(stk,
AS_HELP_STRING([--with-stk], [enable support for STK plugins]),
[ with_stk=yes ], [ with_stk=no ])
AS_HELP_STRING([--without-stk], [disable support for STK plugins]),
[ with_stk=no ], [ with_stk=yes ])
AH_TEMPLATE(HAVE_STK_H, [Define to 1 if you have the <stk/Stk.h> header file.])
if test "x$with_stk" = "xyes" ; then
AC_CHECK_HEADER([stk/Stk.h], HAVE_STK_H="true")