summaryrefslogtreecommitdiffstats
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
commit4109493217f2544a0dcbcb3ef6d4539651594347 (patch)
tree46e6a0459d34712b077baf9eaeb8913a41b2bead
parent2238842f9419c5cee8be74b3d4cb4ede8e816f16 (diff)
downloadingen-4109493217f2544a0dcbcb3ef6d4539651594347.tar.gz
ingen-4109493217f2544a0dcbcb3ef6d4539651594347.tar.bz2
ingen-4109493217f2544a0dcbcb3ef6d4539651594347.zip
Make check for posix_memalign non-mandatory (configure successfully on OSX).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2812 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/wscript b/wscript
index d2855702..d5741fb3 100644
--- a/wscript
+++ b/wscript
@@ -69,8 +69,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)
autowaf.check_header(conf, 'lv2/lv2plug.in/ns/lv2core/lv2.h')
autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/atom/atom.h')