aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-16 23:24:20 +0000
committerDavid Robillard <d@drobilla.net>2010-12-16 23:24:20 +0000
commit68edf261fe04b114094539ab0cb4ccd93da8af51 (patch)
tree1d880aabfa53f0afde80c42bc1758e0b68e50c69 /wscript
parent9d2fa5d832e299d7708bedabb448174b7b3495a9 (diff)
downloadmachina-68edf261fe04b114094539ab0cb4ccd93da8af51.tar.gz
machina-68edf261fe04b114094539ab0cb4ccd93da8af51.tar.bz2
machina-68edf261fe04b114094539ab0cb4ccd93da8af51.zip
Fix machina compilation.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2727 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript17
1 files changed, 7 insertions, 10 deletions
diff --git a/wscript b/wscript
index 1ad8284..a2f49fb 100644
--- a/wscript
+++ b/wscript
@@ -27,34 +27,31 @@ def configure(conf):
autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GTKMM',
atleast_version='2.11.12', mandatory=False)
autowaf.check_pkg(conf, 'jack', uselib_store='JACK',
- atleast_version='0.109.0', mandatory=True)
+ atleast_version='0.109.0', mandatory=True)
autowaf.check_pkg(conf, 'raul', uselib_store='RAUL',
atleast_version='0.5.1', mandatory=True)
autowaf.check_pkg(conf, 'flowcanvas', uselib_store='FLOWCANVAS',
atleast_version='0.5.1', mandatory=False)
autowaf.check_pkg(conf, 'libglademm-2.4', uselib_store='GLADEMM',
atleast_version='2.6.0', mandatory=False)
+ autowaf.check_pkg(conf, 'rasqal', uselib_store='RASQAL', mandatory=False)
autowaf.check_pkg(conf, 'redlandmm', uselib_store='REDLANDMM',
atleast_version='0.0.0', mandatory=False)
autowaf.check_pkg(conf, 'eugene', uselib_store='EUGENE',
atleast_version='0.0.0', mandatory=False)
# Check for posix_memalign (OSX, amazingly, doesn't have it)
- conf.check(
- function_name='posix_memalign',
- header_name='stdlib.h',
- define_name='HAVE_POSIX_MEMALIGN')
+ conf.check(function_name='posix_memalign',
+ header_name='stdlib.h',
+ define_name='HAVE_POSIX_MEMALIGN')
build_gui = conf.env['HAVE_GLADEMM'] == 1 and conf.env['HAVE_FLOWCANVAS'] == 1
autowaf.define(conf, 'MACHINA_PPQN', 19200)
-
autowaf.define(conf, 'MACHINA_VERSION', MACHINA_VERSION)
autowaf.define(conf, 'BUILD_MACHINA_GUI', int(build_gui))
- if conf.env['BUNDLE']:
- autowaf.define(conf, 'MACHINA_DATA_DIR', os.path.join(conf.env['DATADIRNAME'] + 'machina'))
- else:
- autowaf.define(conf, 'MACHINA_DATA_DIR', os.path.join(conf.env['DATADIR'], 'machina'))
+ autowaf.define(conf, 'MACHINA_DATA_DIR', os.path.join(
+ conf.env['DATADIR'], 'machina'))
conf.write_config_header('machina-config.h', remove=False)