/[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 1652 by persson, Sun Jan 27 16:14:56 2008 UTC
# Line 276  AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack, Line 276  AC_DEFINE_UNQUOTED(HAVE_JACK,$have_jack,
276  # JACK MIDI  # JACK MIDI
277  have_jack_midi=0  have_jack_midi=0
278  if test $have_jack = "1"; then  if test $have_jack = "1"; then
279     linuxsampler_save_CFLAGS=$CFLAGS      linuxsampler_save_CFLAGS=$CFLAGS
280     linuxsampler_save_LIBS=$LIBS      linuxsampler_save_LIBS=$LIBS
281     CFLAGS="$JACK_CFLAGS $CFLAGS"      CFLAGS="$JACK_CFLAGS $CFLAGS"
282     LIBS="$JACK_LIBS $LIBS"      LIBS="$JACK_LIBS $LIBS"
283     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)
284     if test $have_jack_midi = "1"; then      if test $have_jack_midi = "1"; then
285       AC_CHECK_FUNCS(jack_midi_get_event_count)          AC_CHECK_FUNCS(jack_midi_get_event_count)
286       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jack/midiport.h>]], [[          AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <jack/midiport.h>]], [[
287           jack_midi_clear_buffer(0, 0);              jack_midi_clear_buffer(0, 0);
288       ]])], [AC_DEFINE(JACK_MIDI_FUNCS_NEED_NFRAMES, 1,          ]])], [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.])])                    [Define to 1 if you have the old jack midi functions that need an nframes argument.])])
290     fi          have_midi_input_driver="true"
291     CFLAGS=$linuxsampler_save_CFLAGS      fi
292     LIBS=$linuxsampler_save_LIBS      CFLAGS=$linuxsampler_save_CFLAGS
293        LIBS=$linuxsampler_save_LIBS
294  fi  fi
295  AM_CONDITIONAL(HAVE_JACK_MIDI, test $have_jack_midi = "1")  AM_CONDITIONAL(HAVE_JACK_MIDI, test $have_jack_midi = "1")
296  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 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.1651  
changed lines
  Added in v.1652

  ViewVC Help
Powered by ViewVC