diff options
author | David Robillard <d@drobilla.net> | 2012-01-08 03:27:33 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-01-08 03:27:33 +0000 |
commit | 47bdfa160502acc78cb90f350258fe975e4f956f (patch) | |
tree | d86ba2004cc536dcdac3ca685a3eb5d5ba7284a6 /wscript | |
parent | a79fe5a88d0ef9f440fd6b8330a82fb67839fabd (diff) | |
download | lilv-47bdfa160502acc78cb90f350258fe975e4f956f.tar.gz lilv-47bdfa160502acc78cb90f350258fe975e4f956f.tar.bz2 lilv-47bdfa160502acc78cb90f350258fe975e4f956f.zip |
Use flock instead of lockf (seems to be more portable).
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3919 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -86,10 +86,9 @@ def configure(conf): define_name='HAVE_WORDEXP', mandatory=False) - conf.check_cc(function_name='lockf', - header_name='unistd.h', - defines='_BSD_SOURCE', - define_name='HAVE_LOCKF', + conf.check_cc(function_name='flock', + header_name='sys/file.h', + define_name='HAVE_FLOCK', mandatory=False) conf.check_cc(function_name='fileno', |