From 656c3abd651c251e9836baf5255e6346f028c0bc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 5 May 2007 18:51:24 +0000 Subject: Added Jack MIDI compatibility filthy annoying kludges. git-svn-id: http://svn.drobilla.net/lad/machina@507 a436a847-0d15-0410-975c-d299462d15a1 --- acinclude.m4 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 acinclude.m4 (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 new file mode 100644 index 0000000..22592fe --- /dev/null +++ b/acinclude.m4 @@ -0,0 +1,15 @@ +# Copyright (C) 2007 Nedko Arnaudov +# This file is distributed under the same terms as the Autoconf macro files. + +AC_DEFUN([AC_JACK_MIDI_NFRAMES_CHECK], [ +AC_MSG_CHECKING([whether JACK MIDI functions need nframes parameter]) +AC_LANG_PUSH(C) +AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[ +#include +#include +]], [[ +jack_midi_event_get(0, 0, 0, 0); +]]), [jackmidi_nframes='yes'], [jackmidi_nframes='no']) +AC_MSG_RESULT([$jackmidi_nframes]) +AC_LANG_POP() +]) -- cgit v1.2.1