summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-01-06 15:32:15 +0100
committerBjörn Jacke <bj@sernet.de>2010-01-06 18:28:16 +0100
commite172b219eec72e978b3c754c4767e999b184c0ed (patch)
tree66a4535fe9235ab3d54362d98a298bf984d38891 /source3
parent350db0bf2548bd670ebff4587580ba9ca9212ac8 (diff)
downloadsamba-e172b219eec72e978b3c754c4767e999b184c0ed.tar.gz
samba-e172b219eec72e978b3c754c4767e999b184c0ed.tar.bz2
samba-e172b219eec72e978b3c754c4767e999b184c0ed.zip
ѕ3:configure: use gettimeofday check from lib/util/
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in10
1 files changed, 1 insertions, 9 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 7d34237185..e3f53b45c2 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -120,6 +120,7 @@ fi
m4_include(../lib/socket_wrapper/config.m4)
m4_include(../lib/nss_wrapper/config.m4)
+m4_include(../lib/util/time.m4)
m4_include(m4/swat.m4)
@@ -2216,15 +2217,6 @@ if test x"$samba_cv_HAVE_FUNCTION_MACRO" = x"yes"; then
AC_DEFINE(HAVE_FUNCTION_MACRO,1,[Whether there is a __FUNCTION__ macro])
fi
-AC_CACHE_CHECK([if gettimeofday takes tz argument],samba_cv_HAVE_GETTIMEOFDAY_TZ,[
-AC_TRY_LINK([
-#include <sys/time.h>
-#include <unistd.h>], [struct timeval tv; return gettimeofday(&tv, NULL);],
- samba_cv_HAVE_GETTIMEOFDAY_TZ=yes,
- samba_cv_HAVE_GETTIMEOFDAY_TZ=no)])
-if test x"$samba_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then
- AC_DEFINE(HAVE_GETTIMEOFDAY_TZ,1,[Whether gettimeofday takes a tz argument])
-fi
if test x"$samba_cv_WITH_PROFILE" = x"yes"; then