aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-10 03:44:48 +0000
committerDavid Robillard <d@drobilla.net>2011-01-10 03:44:48 +0000
commitdb319f5a8cb7915b2d5b93adab148fa16d92e7e5 (patch)
treeda0bae81add8f0aae2088d4ab81a0c4aa4cf4461 /wscript
parent5c7917d8a32665eeeba2d27f044fdc7a0f6377a9 (diff)
downloadmachina-db319f5a8cb7915b2d5b93adab148fa16d92e7e5.tar.gz
machina-db319f5a8cb7915b2d5b93adab148fa16d92e7e5.tar.bz2
machina-db319f5a8cb7915b2d5b93adab148fa16d92e7e5.zip
Make check for posix_memalign non-mandatory (configure successfully on OSX).
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2812 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/wscript b/wscript
index 06f31de..59c2eae 100644
--- a/wscript
+++ b/wscript
@@ -42,8 +42,9 @@ def configure(conf):
# 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')
+ header_name='stdlib.h',
+ define_name='HAVE_POSIX_MEMALIGN',
+ mandatory=False)
build_gui = conf.env['HAVE_GLADEMM'] == 1 and conf.env['HAVE_FLOWCANVAS'] == 1