--- qsampler/trunk/configure.ac 2007/06/13 21:54:07 1234 +++ qsampler/trunk/configure.ac 2007/10/08 09:37:39 1394 @@ -1,8 +1,8 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(Qsampler, 0.1.4.1, rncbc@rncbc.org, qsampler) +AC_INIT(Qsampler, 0.1.4.8, rncbc@rncbc.org, qsampler) AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui.h) AC_CONFIG_HEADERS(config.h) -AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec) +AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec qsampler.desktop) # Set default installation prefix. AC_PREFIX_DEFAULT(/usr/local) @@ -240,6 +240,11 @@ AC_DEFINE(CONFIG_VOLUME, 1, [Define if global volume is available.]) fi +AC_CHECK_LIB(lscp, lscp_edit_instrument, [ac_edit_instrument="yes"], [ac_edit_instrument="no"]) +if test "x$ac_edit_instrument" = "xyes"; then + AC_DEFINE(CONFIG_EDIT_INSTRUMENT, 1, [Define if instrument editing is available.]) +fi + # Check for optional libraries. if test "x$ac_libgig" = "xyes"; then AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])