summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-21 13:56:58 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:34 +1000
commit635a7ce6c1dfbfa2fd9ccefa0253a0a846a29f94 (patch)
treec7c77193c3a7d31ebad98cd991d2ab76bd814559 /lib/replace
parent45d23d1f5360046e7dc6d357a28bcf44db8207bc (diff)
downloadsamba-635a7ce6c1dfbfa2fd9ccefa0253a0a846a29f94.tar.gz
samba-635a7ce6c1dfbfa2fd9ccefa0253a0a846a29f94.tar.bz2
samba-635a7ce6c1dfbfa2fd9ccefa0253a0a846a29f94.zip
build: some more config checks
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index dfeaab895b..c2e545f882 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -48,6 +48,11 @@ def configure(conf):
if 'HAVE_STDDEF_H' in conf.env and 'HAVE_STDLIB_H' in conf.env:
conf.DEFUN('STDC_HEADERS', 1)
+ if 'HAVE_SYS_TIME_H' in conf.env and 'HAVE_TIME_H' in conf.env:
+ conf.DEFUN('TIME_WITH_SYS_TIME', 1)
+
+ conf.define('SHLIBEXT', "so", quote=True)
+
conf.check(type_name='long long')
conf.CHECK_TYPES('intptr_t uintptr_t ptrdiff_t')
conf.CHECK_TYPES('comparison_fn_t socklen_t bool')