summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 3 insertions, 4 deletions
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',