From 165b5b660a60b2d79361bd32441e7a1b8c10edd3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Mar 2010 17:05:36 +1100 Subject: build: move gettimeofday check to libreplace - add checklink option to CHECK_FUNC() - Used for when a prototype is not available --- lib/replace/wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/replace/wscript') 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", -- cgit