/[svn]/linuxsampler/trunk/configure.in
ViewVC logotype

Diff of /linuxsampler/trunk/configure.in

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

revision 1651 by persson, Sun Jan 27 15:07:11 2008 UTC revision 1762 by schoenebeck, Fri Aug 29 17:33:02 2008 UTC
# Line 5  AC_INIT(configure.in) Line 5  AC_INIT(configure.in)
5    
6  LINUXSAMPLER_RELEASE_MAJOR=0  LINUXSAMPLER_RELEASE_MAJOR=0
7  LINUXSAMPLER_RELEASE_MINOR=5  LINUXSAMPLER_RELEASE_MINOR=5
8  LINUXSAMPLER_RELEASE_BUILD=1  LINUXSAMPLER_RELEASE_BUILD=1.7cvs
9    
10  #------------------------------------------------------------------------------------  #------------------------------------------------------------------------------------
11  # The following is the libtool / shared library version. This doesn't have to  # The following is the libtool / shared library version. This doesn't have to
# Line 33  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT Line 33  SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT
33  # the LSCP specification version this LinuSampler release complies with:  # the LSCP specification version this LinuSampler release complies with:
34    
35  LSCP_RELEASE_MAJOR=1  LSCP_RELEASE_MAJOR=1
36  LSCP_RELEASE_MINOR=3  LSCP_RELEASE_MINOR=4
37    
38  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.])  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.])
39  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.])  AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.])
40    
41    AC_PROG_CXX
42  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL
43    
44  AC_SUBST(SHLIB_VERSION_ARG)  AC_SUBST(SHLIB_VERSION_ARG)
# Line 161  else Line 162  else
162      echo "NPTL glibc bug check disabled"      echo "NPTL glibc bug check disabled"
163  fi  fi
164    
165    # FIXME: this is actually a dependency of libgig, not of LS directly, why
166    # isn't it hidden by libgig?
167    AC_CHECK_HEADERS(uuid/uuid.h)
168    AC_SEARCH_LIBS(uuid_generate, uuid)
169    
170    
171    
172  ###########################################################################  ###########################################################################
# Line 264  if test "$config_jack_driver" = "yes"; t Line 270  if test "$config_jack_driver" = "yes"; t
270      if test $have_jack = "1"; then      if test $have_jack = "1"; then
271          AC_SUBST(JACK_LIBS)          AC_SUBST(JACK_LIBS)
272          AC_SUBST(JACK_CFLAGS)          AC_SUBST(JACK_CFLAGS)
273          AC_CHECK_LIB(jack, jack_client_name_size, [AC_DEFINE(HAVE_JACK_CLIENT_NAME_SIZE, 1, [Define to 1 if you have the `jack_client_name_size' function.])], , $JACK_LIBS)          linuxsampler_save_LIBS=$LIBS
274            LIBS="$JACK_LIBS $LIBS"
275            AC_CHECK_FUNCS(jack_client_name_size jack_client_open)
276            LIBS=$linuxsampler_save_LIBS
277          have_audio_output_driver="true";          have_audio_output_driver="true";
278      fi      fi
279  else  else
# Line 276  AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack, Line 285  AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack,
285  # JACK MIDI  # JACK MIDI
286  have_jack_midi=0  have_jack_midi=0
287  if test $have_jack = "1"; then  if test $have_jack = "1"; then
288     linuxsampler_save_CFLAGS=$CFLAGS      linuxsampler_save_CFLAGS=$CFLAGS
289     linuxsampler_save_LIBS=$LIBS      linuxsampler_save_LIBS=$LIBS
290     CFLAGS="$JACK_CFLAGS $CFLAGS"      CFLAGS="$JACK_CFLAGS $CFLAGS"
291     LIBS="$JACK_LIBS $LIBS"      LIBS="$JACK_LIBS $LIBS"
292     AC_CHECK_HEADER(jack/midiport.h, have_jack_midi=1, have_jack_midi=0)      AC_CHECK_HEADER(jack/midiport.h, have_jack_midi=1, have_jack_midi=0)
293     if test $have_jack_midi = "1"; then      if test $have_jack_midi = "1"; then
294       AC_CHECK_FUNCS(jack_midi_get_event_count)          AC_CHECK_FUNCS(jack_midi_get_event_count)
295       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jack/midiport.h>]], [[          AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jack/midiport.h>]], [[
296           jack_midi_clear_buffer(0, 0);              jack_midi_clear_buffer(0, 0);
297       ]])], [AC_DEFINE(JACK_MIDI_FUNCS_NEED_NFRAMES, 1,          ]])], [AC_DEFINE(JACK_MIDI_FUNCS_NEED_NFRAMES, 1,
298               [Define to 1 if you have the old jack midi functions that need an nframes argument.])])                    [Define to 1 if you have the old jack midi functions that need an nframes argument.])])
299     fi          have_midi_input_driver="true"
300     CFLAGS=$linuxsampler_save_CFLAGS      fi
301     LIBS=$linuxsampler_save_LIBS      CFLAGS=$linuxsampler_save_CFLAGS
302        LIBS=$linuxsampler_save_LIBS
303  fi  fi
304  AM_CONDITIONAL(HAVE_JACK_MIDI, test $have_jack_midi = "1")  AM_CONDITIONAL(HAVE_JACK_MIDI, test $have_jack_midi = "1")
305  AC_DEFINE_UNQUOTED(HAVE_JACK_MIDI, $have_jack_midi,  AC_DEFINE_UNQUOTED(HAVE_JACK_MIDI, $have_jack_midi,
# Line 430  AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_m Line 440  AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_m
440  if test "$have_midi_input_driver" = "false"; then  if test "$have_midi_input_driver" = "false"; then
441      echo "No supported MIDI input system found!"      echo "No supported MIDI input system found!"
442      echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:"      echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:"
443      echo "ALSA, MIDIShare, CoreMIDI."      echo "ALSA, JACK, MIDIShare, CoreMIDI, MME."
444      echo "If you think you have one of those available on your system, make sure you"      echo "If you think you have one of those available on your system, make sure you"
445      echo "also have the respective development (header) files installed."      echo "also have the respective development (header) files installed."
446      exit -1;      exit -1;
447  fi  fi
448  if test "$have_audio_output_driver" = "false"; then  if test "$have_audio_output_driver" = "false"; then
449      echo "No supported audio output system found!"      echo "No supported audio output system found!"
450      echo "Sorry, LinuxSampler only supports ALSA, JACK and ARTS as audio output"      echo "Sorry, LinuxSampler only supports ALSA, JACK, ARTS and ASIO as audio output"
451      echo "driver at the moment!"      echo "driver at the moment!"
452      exit -1;      exit -1;
453  fi  fi
# Line 557  fi Line 567  fi
567    
568  AC_ARG_ENABLE(pthread-testcancel,  AC_ARG_ENABLE(pthread-testcancel,
569    [  --enable-pthread-testcancel    [  --enable-pthread-testcancel
570                            Enable pthread_testcancel() calls and avoid asynchronous                            Enable pthread_testcancel() calls and avoid asynchronous
571                            cancel of pthreads (default=no).],                            cancel of pthreads (default=no).],
572    [config_pthread_testcancel="$enableval"],    [config_pthread_testcancel="$enableval"],
573    [config_pthread_testcancel="no"]    [config_pthread_testcancel="no"]
# Line 989  if test "$config_interpolate_volume" = " Line 999  if test "$config_interpolate_volume" = "
999    AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])    AC_DEFINE_UNQUOTED(CONFIG_INTERPOLATE_VOLUME, 1, [Define to 1 if you want to enable interpolation of volume modulation.])
1000  fi  fi
1001    
1002    AC_ARG_ENABLE(master-volume-sysex-by-port,
1003      [  --enable-master-volume-sysex-by-port
1004                              Whether global volume sysex message should be
1005                              applied globally to the whole sampler or only to
1006                              the sampler channels connected to the same MIDI
1007                              input port on which the sysex message arrived on.
1008                              By default global volume sysex messages apply
1009                              globally to the whole sampler, since many MIDI
1010                              devices behave that way.],
1011      [config_master_volume_sysex_by_port="$enableval"],
1012      [config_master_volume_sysex_by_port="no"]
1013    )
1014    if test "$config_master_volume_sysex_by_port" = "yes"; then
1015      AC_DEFINE_UNQUOTED(CONFIG_MASTER_VOLUME_SYSEX_BY_PORT, 1, [Define to 1 if you want global volume sysex message only be applied to the respective MIDI port.])
1016    fi
1017    
1018  AC_ARG_ENABLE(plugin-dir,  AC_ARG_ENABLE(plugin-dir,
1019    [  --enable-plugin-dir    [  --enable-plugin-dir
1020                            Directory where the sampler shall look for potential plugins,                            Directory where the sampler shall look for potential plugins,
# Line 1115  AM_CONFIG_HEADER(config.h) Line 1141  AM_CONFIG_HEADER(config.h)
1141  AM_INIT_AUTOMAKE(linuxsampler, "$LINUXSAMPLER_RELEASE_MAJOR.$LINUXSAMPLER_RELEASE_MINOR.$LINUXSAMPLER_RELEASE_BUILD")  AM_INIT_AUTOMAKE(linuxsampler, "$LINUXSAMPLER_RELEASE_MAJOR.$LINUXSAMPLER_RELEASE_MINOR.$LINUXSAMPLER_RELEASE_BUILD")
1142    
1143  AC_LANG_CPLUSPLUS  AC_LANG_CPLUSPLUS
 AC_PROG_CXX  
1144    
1145  # some gcc 4.0 versions need -msse for SSE register allocations  # some gcc 4.0 versions need -msse for SSE register allocations
1146  if test "$config_asm" = "yes"; then  if test "$config_asm" = "yes"; then
# Line 1138  AC_OUTPUT( \ Line 1163  AC_OUTPUT( \
1163      src/engines/Makefile \      src/engines/Makefile \
1164      src/engines/gig/Makefile \      src/engines/gig/Makefile \
1165      src/engines/common/Makefile \      src/engines/common/Makefile \
1166        src/effects/Makefile \
1167      src/common/Makefile \      src/common/Makefile \
1168      src/testcases/Makefile \      src/testcases/Makefile \
1169      src/drivers/Makefile \      src/drivers/Makefile \
# Line 1204  echo "# Override Filter Type: ${config_o Line 1230  echo "# Override Filter Type: ${config_o
1230  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"  echo "# Assert GS SysEx Checksum: ${config_assert_gs_sysex_checksum}"
1231  echo "# Process Muted Channels: ${config_process_muted_channels}"  echo "# Process Muted Channels: ${config_process_muted_channels}"
1232  echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"  echo "# Process All-Notes-Off MIDI message: ${config_process_all_notes_off}"
1233    echo "# Apply global volume SysEx by MIDI port: ${config_master_volume_sysex_by_port}"
1234  echo "# Interpolate Volume: ${config_interpolate_volume}"  echo "# Interpolate Volume: ${config_interpolate_volume}"
1235  echo "# Instruments database support: ${config_instruments_db}"  echo "# Instruments database support: ${config_instruments_db}"
1236  if test "$config_instruments_db" = "yes"; then  if test "$config_instruments_db" = "yes"; then

Legend:
Removed from v.1651  
changed lines
  Added in v.1762

  ViewVC Help
Powered by ViewVC