Unverified Commit 3368b91d authored by Karl Linden's avatar Karl Linden
Browse files

Check for ppoll() in toplevel wscript.

parent 6399b803
#! /usr/bin/env python
# encoding: utf-8
def configure(conf):
conf.define('HAVE_PPOLL', 1 )
def create_jack_driver_obj(bld, target, sources, uselib = None):
driver = bld(features = ['c', 'cxx', 'cxxshlib', 'cshlib'])
driver.env['cxxshlib_PATTERN'] = 'jack_%s.so'
......
......@@ -480,9 +480,14 @@ def configure(conf):
# configure all auto options
configure_auto_options(conf)
# Check for functions.
conf.check_cc(
function_name='ppoll',
header_name=['poll.h', 'signal.h'],
defines=['_GNU_SOURCE'],
mandatory=False)
conf.recurse('common')
if conf.env['IS_LINUX']:
conf.recurse('linux')
if Options.options.dbus:
conf.recurse('dbus')
if conf.env['BUILD_JACKDBUS'] != True:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment