/[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 1505 by capela, Wed Nov 21 18:37:40 2007 UTC revision 1691 by schoenebeck, Thu Feb 14 22:31:26 2008 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.2.0.8, rncbc@rncbc.org, qsampler)  AC_INIT(Qsampler, 0.2.1.6, rncbc@rncbc.org, qsampler)
3    
4  AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui)  AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui)
5  AC_CONFIG_HEADERS(config.h)  AC_CONFIG_HEADERS(config.h)
# Line 205  if test "x$ac_fxsend" = "xyes"; then Line 205  if test "x$ac_fxsend" = "xyes"; then
205    if test "x$ac_fxsend_level" = "xyes"; then    if test "x$ac_fxsend_level" = "xyes"; then
206            AC_DEFINE(CONFIG_FXSEND_LEVEL, 1, [Define if FX send level is available.])            AC_DEFINE(CONFIG_FXSEND_LEVEL, 1, [Define if FX send level is available.])
207    fi    fi
208      AC_CHECK_LIB(lscp, lscp_set_fxsend_name, [ac_fxsend_rename="yes"], [ac_fxsend_rename="no"])
209      if test "x$ac_fxsend_rename" = "xyes"; then
210              AC_DEFINE(CONFIG_FXSEND_RENAME, 1, [Define if FX send rename is available.])
211      fi
212  fi  fi
213    
214  AC_CACHE_CHECK([for audio_routing array type],  AC_CACHE_CHECK([for audio_routing array type],
# Line 228  if test "x$ac_edit_instrument" = "xyes"; Line 232  if test "x$ac_edit_instrument" = "xyes";
232    AC_DEFINE(CONFIG_EDIT_INSTRUMENT, 1, [Define if instrument editing is available.])    AC_DEFINE(CONFIG_EDIT_INSTRUMENT, 1, [Define if instrument editing is available.])
233  fi  fi
234    
235    AC_CACHE_CHECK([for CHANNEL_MIDI LSCP event support in liblscp],
236      ac_lscp_channel_midi_event, [
237      AC_TRY_COMPILE([
238            #include "lscp/client.h"
239            #include "lscp/event.h"
240            ], [
241            lscp_event_t ev;
242            ev = LSCP_EVENT_CHANNEL_MIDI;
243        ], ac_lscp_channel_midi_event="yes", ac_lscp_channel_midi_event="no")
244    ])
245    if test "x$ac_lscp_channel_midi_event" = "xyes"; then
246       AC_DEFINE(CONFIG_LSCP_CHANNEL_MIDI, 1, [Define if LSCP CHANNEL_MIDI event support is available.])
247    fi
248    
249  # Check for optional libraries.  # Check for optional libraries.
250  if test "x$ac_libgig" = "xyes"; then  if test "x$ac_libgig" = "xyes"; then
251     AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])     AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])
252     if test "x$ac_libgig" = "xyes"; then     if test "x$ac_libgig" = "xyes"; then
253        AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.])        AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.])
254        ac_libs="$ac_libs -lgig"        ac_libs="$ac_libs -lgig"
255          AC_MSG_CHECKING([for gig::File::SetAutoLoad() method in libgig])
256          AC_LANG_SAVE
257          AC_LANG_CPLUSPLUS
258          CXXFLAGS="$ac_libs"
259          AC_TRY_RUN([
260    #include <stdlib.h>
261    #include <gig.h>
262    int main() {
263        gig::File file;
264        file.SetAutoLoad(false);
265        exit(0);
266    }
267          ],
268          have_libgig_setautoload="yes",
269          have_libgig_setautoload="no",
270          have_libgig_setautoload="no"
271          )
272          AC_LANG_RESTORE
273          AC_MSG_RESULT([$have_libgig_setautoload])
274          if test "x$have_libgig_setautoload" = "xyes"; then
275              AC_DEFINE(HAVE_LIBGIG_SETAUTOLOAD, 1, [Define if libgig provides gig::File::SetAutoLoad() method.])
276          fi
277     fi     fi
278  fi  fi
279    
# Line 279  echo "  LSCP mute/solo support . . . . . Line 319  echo "  LSCP mute/solo support . . . . .
319  echo "  LSCP MIDI instrument support . . . . . . . . . . .: $ac_midi_instrument"  echo "  LSCP MIDI instrument support . . . . . . . . . . .: $ac_midi_instrument"
320  echo "  LSCP FX send support . . . . . . . . . . . . . . .: $ac_fxsend"  echo "  LSCP FX send support . . . . . . . . . . . . . . .: $ac_fxsend"
321  echo "  LSCP FX send level support . . . . . . . . . . . .: $ac_fxsend_level"  echo "  LSCP FX send level support . . . . . . . . . . . .: $ac_fxsend_level"
322    echo "  LSCP FX send rename support  . . . . . . . . . . .: $ac_fxsend_rename"
323  echo "  LSCP audio routing support . . . . . . . . . . . .: $ac_audio_routing"  echo "  LSCP audio routing support . . . . . . . . . . . .: $ac_audio_routing"
324  echo "  LSCP volume support  . . . . . . . . . . . . . . .: $ac_volume"  echo "  LSCP volume support  . . . . . . . . . . . . . . .: $ac_volume"
325  echo "  LSCP edit instrument support . . . . . . . . . . .: $ac_edit_instrument"  echo "  LSCP edit instrument support . . . . . . . . . . .: $ac_edit_instrument"
326  echo "  GigaSampler instrument file support (libgig) . . .: $ac_libgig"  echo "  GigaSampler instrument file support (libgig) . . .: $ac_libgig"
327    if test "x$ac_libgig" = "xyes"; then
328    echo "  libgig supports fast information retrieval . . . .: $have_libgig_setautoload"
329    fi
330    echo "  LSCP channel MIDI event support  . . . . . . . . .: $ac_lscp_channel_midi_event"
331  echo  echo
332  echo "  Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix"  echo "  Install prefix . . . . . . . . . . . . . . . . . .: $ac_prefix"
333  echo  echo

Legend:
Removed from v.1505  
changed lines
  Added in v.1691

  ViewVC Help
Powered by ViewVC