svn commit: samba r22826 - in branches/SAMBA_3_0/source: .

jpeach at samba.org jpeach at samba.org
Sun May 13 15:45:50 GMT 2007


Author: jpeach
Date: 2007-05-13 15:45:50 +0000 (Sun, 13 May 2007)
New Revision: 22826

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22826

Log:
Fix the gettimeofday test that I broke in rev 22821.

Modified:
   branches/SAMBA_3_0/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in	2007-05-13 12:59:42 UTC (rev 22825)
+++ branches/SAMBA_3_0/source/configure.in	2007-05-13 15:45:50 UTC (rev 22826)
@@ -2216,12 +2216,11 @@
 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



More information about the samba-cvs mailing list