Add bbt_add that does not take Metric parameter.
[ardour.git] / libs / pbd / wscript
index cd1197fb1736bfb7c41192c2b5d4d3c0d91794f7..be65a84ac1cd9179865c101991e3f13c6c57daf4 100644 (file)
@@ -1,6 +1,7 @@
 #!/usr/bin/env python
 import autowaf
 import os
+import sys
 
 # Version of this package (even if built as a child)
 MAJOR = '4'
@@ -31,10 +32,11 @@ def configure(conf):
        autowaf.build_version_files(path_prefix+'pbd/version.h', path_prefix+'version.cc',
                        'libpbd', MAJOR, MINOR, MICRO)
        autowaf.configure(conf)
-       autowaf.check_tool(conf, 'compiler_cxx')
+       conf.check_tool('compiler_cxx')
        autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
        autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0')
-       autowaf.check_pkg(conf, 'uuid', uselib_store='UUID')
+       if sys.platform != 'darwin':
+               autowaf.check_pkg(conf, 'uuid', uselib_store='UUID')
 
        conf.check(function_name='getmntent', header_name='mntent.h', define_name='HAVE_GETMNTENT')
        conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO')