/[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 1649 by nagata, Fri Jan 25 15:06:02 2008 UTC revision 1686 by schoenebeck, Thu Feb 14 14:58:50 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.3cvs
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.])
# Line 273  fi Line 273  fi
273  AM_CONDITIONAL(HAVE_JACK, test $have_jack = "1")  AM_CONDITIONAL(HAVE_JACK, test $have_jack = "1")
274  AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack,[Define to 1 if you have JACK installed.])  AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack,[Define to 1 if you have JACK installed.])
275    
276    # JACK MIDI
277    have_jack_midi=0
278    if test $have_jack = "1"; then
279        linuxsampler_save_CFLAGS=$CFLAGS
280        linuxsampler_save_LIBS=$LIBS
281        CFLAGS="$JACK_CFLAGS $CFLAGS"
282        LIBS="$JACK_LIBS $LIBS"
283        AC_CHECK_HEADER(jack/midiport.h, have_jack_midi=1, have_jack_midi=0)
284        if test $have_jack_midi = "1"; then
285            AC_CHECK_FUNCS(jack_midi_get_event_count)
286            AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jack/midiport.h>]], [[
287                jack_midi_clear_buffer(0, 0);
288            ]])], [AC_DEFINE(JACK_MIDI_FUNCS_NEED_NFRAMES, 1,
289                      [Define to 1 if you have the old jack midi functions that need an nframes argument.])])
290            have_midi_input_driver="true"
291        fi
292        CFLAGS=$linuxsampler_save_CFLAGS
293        LIBS=$linuxsampler_save_LIBS
294    fi
295    AM_CONDITIONAL(HAVE_JACK_MIDI, test $have_jack_midi = "1")
296    AC_DEFINE_UNQUOTED(HAVE_JACK_MIDI, $have_jack_midi,
297                       [Define to 1 if you have JACK with MIDI support installed.])
298    
299  # ARTS  # ARTS
300  AC_ARG_ENABLE(arts-driver,  AC_ARG_ENABLE(arts-driver,
301    [  --disable-arts-driver    [  --disable-arts-driver
# Line 408  AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_m Line 431  AC_DEFINE_UNQUOTED(HAVE_MME_MIDI,$have_m
431  if test "$have_midi_input_driver" = "false"; then  if test "$have_midi_input_driver" = "false"; then
432      echo "No supported MIDI input system found!"      echo "No supported MIDI input system found!"
433      echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:"      echo "Sorry, LinuxSampler only supports the following MIDI drivers at the moment:"
434      echo "ALSA, MIDIShare, CoreMIDI."      echo "ALSA, JACK, MIDIShare, CoreMIDI, MME."
435      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"
436      echo "also have the respective development (header) files installed."      echo "also have the respective development (header) files installed."
437      exit -1;      exit -1;
438  fi  fi
439  if test "$have_audio_output_driver" = "false"; then  if test "$have_audio_output_driver" = "false"; then
440      echo "No supported audio output system found!"      echo "No supported audio output system found!"
441      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"
442      echo "driver at the moment!"      echo "driver at the moment!"
443      exit -1;      exit -1;
444  fi  fi

Legend:
Removed from v.1649  
changed lines
  Added in v.1686

  ViewVC Help
Powered by ViewVC