summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-05-13 15:45:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:00 -0500
commit2cfc91a11c2252ff5d7fb23e1d7b52728d39c94d (patch)
treee14a9d50ae60ca93ee71b3169580135bce290bd4 /source3
parent232b2d8349c27a2096d47ea2096273fe02834d51 (diff)
downloadsamba-2cfc91a11c2252ff5d7fb23e1d7b52728d39c94d.tar.gz
samba-2cfc91a11c2252ff5d7fb23e1d7b52728d39c94d.tar.bz2
samba-2cfc91a11c2252ff5d7fb23e1d7b52728d39c94d.zip
r22826: Fix the gettimeofday test that I broke in rev 22821.
(This used to be commit 74ca1992056f9a340b3964b17f868a84335333ed)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in
index d4fe277fb4..21f4e06423 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2216,12 +2216,11 @@ fi
AC_CACHE_CHECK([if gettimeofday takes tz argument],samba_cv_HAVE_GETTIMEOFDAY_TZ,[
AC_TRY_LINK([
#include <sys/time.h>
-#include <unistd.h>], [
-int main() { struct timeval tv; return gettimeofday(&tv, NULL);}],
+#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() is available])
+ AC_DEFINE(HAVE_GETTIMEOFDAY_TZ,1,[Whether gettimeofday takes a tz argument])
fi
if test x"$samba_cv_WITH_PROFILE" = x"yes"; then