From 2cfc91a11c2252ff5d7fb23e1d7b52728d39c94d Mon Sep 17 00:00:00 2001 From: James Peach Date: Sun, 13 May 2007 15:45:50 +0000 Subject: r22826: Fix the gettimeofday test that I broke in rev 22821. (This used to be commit 74ca1992056f9a340b3964b17f868a84335333ed) --- source3/configure.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3') 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 -#include ], [ -int main() { struct timeval tv; return gettimeofday(&tv, NULL);}], +#include ], [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 -- cgit