/[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 1024 by capela, Fri Jan 12 10:56:31 2007 UTC revision 1036 by capela, Mon Jan 15 19:11:59 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.21, rncbc@rncbc.org, qsampler)  AC_INIT(Qsampler, 0.1.3.25, 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 201  fi Line 201  fi
201  AC_CHECK_LIB(lscp, lscp_create_fxsend, [ac_fxsend="yes"], [ac_fxsend="no"])  AC_CHECK_LIB(lscp, lscp_create_fxsend, [ac_fxsend="yes"], [ac_fxsend="no"])
202  if test "x$ac_fxsend" = "xyes"; then  if test "x$ac_fxsend" = "xyes"; then
203    AC_DEFINE(CONFIG_FXSEND, 1, [Define if FX sends is available.])    AC_DEFINE(CONFIG_FXSEND, 1, [Define if FX sends is available.])
204      AC_CACHE_CHECK([for FX send level in lscp_fxsend_info_t],
205        ac_fxsend_level, [
206        AC_TRY_COMPILE([#include "lscp/client.h"], [
207              lscp_fxsend_info_t info;
208              info.level = 0.0f;
209          ], ac_fxsend_level="yes", ac_fxsend_level="no")
210      ])
211      if test "x$ac_fxsend_level" = "xyes"; then
212              AC_DEFINE(CONFIG_FXSEND_LEVEL, 1, [Define if FX send level is available.])
213      fi
214  fi  fi
215    
216  AC_CACHE_CHECK([for audio_routing array type],  AC_CACHE_CHECK([for audio_routing array type],
# Line 214  if test "x$ac_audio_routing" = "xyes"; t Line 224  if test "x$ac_audio_routing" = "xyes"; t
224     AC_DEFINE(CONFIG_AUDIO_ROUTING, 1, [Define if audio_routing is an integer array.])     AC_DEFINE(CONFIG_AUDIO_ROUTING, 1, [Define if audio_routing is an integer array.])
225  fi  fi
226    
227    AC_CHECK_LIB(lscp, lscp_set_volume, [ac_volume="yes"], [ac_volume="no"])
228    if test "x$ac_volume" = "xyes"; then
229      AC_DEFINE(CONFIG_VOLUME, 1, [Define if global volume is available.])
230    fi
231    
232  # Check for optional libraries.  # Check for optional libraries.
233  if test "x$ac_libgig" = "xyes"; then  if test "x$ac_libgig" = "xyes"; then
234     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.1024  
changed lines
  Added in v.1036

  ViewVC Help
Powered by ViewVC