summaryrefslogtreecommitdiff
path: root/lib/util/wscript_configure
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 16:18:33 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:43 +1000
commit2dfced59d56eae96540bb8721ccfa50487dbdd40 (patch)
treec43eccfc8582d15962e554401ada2cffc7cd518c /lib/util/wscript_configure
parent572fc43a4ac14fba4f721d49d0363b377e678901 (diff)
downloadsamba-2dfced59d56eae96540bb8721ccfa50487dbdd40.tar.gz
samba-2dfced59d56eae96540bb8721ccfa50487dbdd40.tar.bz2
samba-2dfced59d56eae96540bb8721ccfa50487dbdd40.zip
build: added CHECK_CODE_COMPILES()
Diffstat (limited to 'lib/util/wscript_configure')
-rw-r--r--lib/util/wscript_configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/wscript_configure b/lib/util/wscript_configure
index 0b2949cd83..a2f1c256a3 100644
--- a/lib/util/wscript_configure
+++ b/lib/util/wscript_configure
@@ -10,3 +10,5 @@ conf.CHECK_HEADERS('sys/attributes.h attr/xattr.h sys/xattr.h')
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')