diff options
-rw-r--r-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -22,6 +22,12 @@ def configure(conf): autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0', uselib_store='LV2') autowaf.check_pkg(conf, 'naub-0', atleast_version='0.0.0', uselib_store='NAUB') + # Check for mlock + conf.check(function_name='mlock', + header_name='sys/mman.h', + define_name='HAVE_MLOCK', + mandatory=False) + # Set env.pluginlib_PATTERN pat = conf.env.cshlib_PATTERN if pat.startswith('lib'): |