/[svn]/qsampler/trunk/configure.ac
ViewVC logotype

Diff of /qsampler/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1021 by capela, Wed Jan 10 19:39:00 2007 UTC revision 1022 by capela, Thu Jan 11 16:14:31 2007 UTC
# Line 1  Line 1 
1  # Process this file with autoconf to produce a configure script.  # Process this file with autoconf to produce a configure script.
2  AC_INIT(Qsampler, 0.1.3.19, rncbc@rncbc.org, qsampler)  AC_INIT(Qsampler, 0.1.3.20, rncbc@rncbc.org, qsampler)
3  AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui.h)  AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui.h)
4  AC_CONFIG_HEADERS(config.h)  AC_CONFIG_HEADERS(config.h)
5  AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec)  AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec)
# Line 198  if test "x$ac_midi_instrument" = "xyes"; Line 198  if test "x$ac_midi_instrument" = "xyes";
198    AC_DEFINE(CONFIG_MIDI_INSTRUMENT, 1, [Define if MIDI instrument mapping is available.])    AC_DEFINE(CONFIG_MIDI_INSTRUMENT, 1, [Define if MIDI instrument mapping is available.])
199  fi  fi
200    
201    AC_CHECK_LIB(lscp, lscp_create_fxsend, [ac_fxsend="yes"], [ac_fxsend="no"])
202    if test "x$ac_fxsend" = "xyes"; then
203      AC_DEFINE(CONFIG_FXSEND, 1, [Define if FX sends is available.])
204    fi
205    
206    AC_CACHE_CHECK([for audio_routing array type],
207      ac_audio_routing, [
208      AC_TRY_COMPILE([#include "lscp/client.h"], [
209            lscp_channel_info_t info;
210            char ch = info.audio_routing[0][0];
211        ], ac_audio_routing="no", ac_audio_routing="yes")
212    ])
213    if test "x$ac_audio_routing" = "xyes"; then
214       AC_DEFINE(CONFIG_AUDIO_ROUTING, 1, [Define if audio_routing is an integer array.])
215    fi
216    
217  # Check for optional libraries.  # Check for optional libraries.
218  if test "x$ac_libgig" = "xyes"; then  if test "x$ac_libgig" = "xyes"; then
219     AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])     AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])

Legend:
Removed from v.1021  
changed lines
  Added in v.1022

  ViewVC Help
Powered by ViewVC