- # TODO
- conf.env['SYSMIDI'] = 'JACK MIDI'
- conf.env.append_value('CXXFLAGS', '-DWITH_JACK_MIDI')
+def configure(conf):
+ conf.load('compiler_cxx')
+ autowaf.build_version_files(path_prefix+'midi++/version.h', path_prefix+'version.cc',
+ 'midipp', MAJOR, MINOR, MICRO, 'LIBMIDIPP_API', 'midi++/libmidi_visibility.h')
+ autowaf.configure(conf)
+ autowaf.check_pkg(conf, 'cppunit', uselib_store='CPPUNIT', atleast_version='1.12.0', mandatory=False)
+ autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
+ autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0')