From 635a7ce6c1dfbfa2fd9ccefa0253a0a846a29f94 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 21 Feb 2010 13:56:58 +1100 Subject: build: some more config checks --- lib/replace/wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/replace') 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') -- cgit