13
0

auto-detect JackVideoFrameOffset support

git-svn-id: svn://localhost/ardour2/branches/3.0@13375 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Robin Gareus 2012-11-02 16:32:28 +00:00
parent e344f57a30
commit 27803dc139

View File

@ -340,6 +340,19 @@ int main(int argc, char **argv) {
mandatory = True,
errmsg = missing_jack_message)
conf.check_cc(fragment = '''
#include <jack/transport.h>
int main(int argc, char** argv) {
jack_position_t pos;
pos.valid & JackVideoFrameOffset;
return 0;
}''',
uselib= [ 'JACK' ],
msg = 'Checking for JackVideoFrameOffset',
define_name = 'HAVE_JACK_VIDEO_SUPPORT',
mandatory = False,
okmsg = 'present')
if flac_supported():
conf.define ('HAVE_FLAC', 1)
if ogg_supported():