summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 17:00:49 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:43 +1000
commitd40b396ad835f77878aefda8624d53b9112c1ebb (patch)
tree203e2f51762c20cdcb21fbd0e46c043cba128a40 /lib/util
parenteadf918402996d7f9d737679c958f2dc1b6f8783 (diff)
downloadsamba-d40b396ad835f77878aefda8624d53b9112c1ebb.tar.gz
samba-d40b396ad835f77878aefda8624d53b9112c1ebb.tar.bz2
samba-d40b396ad835f77878aefda8624d53b9112c1ebb.zip
build: added interface checking and nicer snprintf checking
use CHECK_CODE()
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/wscript_configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/wscript_configure b/lib/util/wscript_configure
index a2f1c256a3..8c819e378a 100644
--- a/lib/util/wscript_configure
+++ b/lib/util/wscript_configure
@@ -11,4 +11,4 @@ conf.CHECK_FUNCS_IN('flistxattr', 'attr', checklibc=True)
conf.CHECK_STRUCTURE_MEMBER('struct statvfs', 'f_frsize', define='HAVE_FRSIZE')
-conf.CHECK_CODE_COMPILES('gettimeofday(NULL, NULL)', 'HAVE_GETTIMEOFDAY_TZ')
+conf.CHECK_CODE('gettimeofday(NULL, NULL)', 'HAVE_GETTIMEOFDAY_TZ', execute=False)