summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-09-30 12:26:22 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-09-30 12:26:22 +0000
commit050d3ab45ec5d597c47265962988019574d6e512 (patch)
tree243cc0755c33e0005ed2c2d537fe6384e33ec82c /wscript
parentbe54a80356976e4ff81ebf90143ad167d22e3d82 (diff)
shuffle some OS X stuff around
git-svn-id: svn://localhost/ardour2/branches/3.0@10175 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r--wscript13
1 files changed, 6 insertions, 7 deletions
diff --git a/wscript b/wscript
index 878f2035df..6feb3504de 100644
--- a/wscript
+++ b/wscript
@@ -35,9 +35,6 @@ children = [
'gtk2_ardour',
'templates',
'export',
-# this needs to be conditional at some point, since
-# we will not build it or use it on OS X
- 'tools/sanity_check'
]
i18n_children = [
@@ -46,6 +43,11 @@ i18n_children = [
'libs/gtkmm2ext',
]
+if sys.platform != 'darwin':
+ children += [ 'tools/sanity_check' ]
+else:
+ children += [ 'libs/appleutility' ]
+
# Version stuff
def fetch_svn_revision (path):
@@ -510,8 +512,6 @@ def configure(conf):
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.14.0')
autowaf.check_pkg(conf, 'sndfile', uselib_store='SNDFILE', atleast_version='1.0.18')
- if sys.platform == 'darwin':
- sub_config_and_use(conf, 'libs/appleutility')
for i in children:
sub_config_and_use(conf, i)
@@ -630,8 +630,7 @@ def build(bld):
bld.path.find_dir ('libs/pbd/pbd')
autowaf.set_recursive()
- if sys.platform == 'darwin':
- bld.add_subdirs('libs/appleutility')
+
for i in children:
bld.recurse(i)