diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-07 17:05:36 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:44 +1000 |
commit | 165b5b660a60b2d79361bd32441e7a1b8c10edd3 (patch) | |
tree | bd32bd04151003a618d750ee5c21b3a0c58c2bc9 /lib/replace/wscript | |
parent | a2c866a5e6540b213947eecf09e32245ce77da3f (diff) | |
download | samba-165b5b660a60b2d79361bd32441e7a1b8c10edd3.tar.gz samba-165b5b660a60b2d79361bd32441e7a1b8c10edd3.tar.bz2 samba-165b5b660a60b2d79361bd32441e7a1b8c10edd3.zip |
build: move gettimeofday check to libreplace
- add checklink option to CHECK_FUNC()
- Used for when a prototype is not available
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r-- | lib/replace/wscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index e40626788a..e999c02eef 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -160,6 +160,7 @@ def configure(conf): quote=0, msg="Checking for va_copy") + conf.CHECK_CODE('gettimeofday(NULL, NULL)', 'HAVE_GETTIMEOFDAY_TZ', execute=False) conf.CHECK_CODE('#include "test/snprintf.c"', define="HAVE_C99_VSNPRINTF", |