From 47bdfa160502acc78cb90f350258fe975e4f956f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Jan 2012 03:27:33 +0000 Subject: 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 --- wscript | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 4d9de86..730c814 100644 --- a/wscript +++ b/wscript @@ -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', -- cgit v1.2.1