svn commit: samba r22892 - in branches/SAMBA_3_0_26/source: .
vlendec at samba.org
vlendec at samba.org
Tue May 15 10:36:53 GMT 2007
Author: vlendec
Date: 2007-05-15 10:36:51 +0000 (Tue, 15 May 2007)
New Revision: 22892
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22892
Log:
Fix the build, it did not find that gettimeofday takes two arguments on
my box. AC_TRY_LINK seems not to take a main { } frame.
Modified:
branches/SAMBA_3_0_26/source/configure.in
Changeset:
Modified: branches/SAMBA_3_0_26/source/configure.in
===================================================================
--- branches/SAMBA_3_0_26/source/configure.in 2007-05-15 09:40:28 UTC (rev 22891)
+++ branches/SAMBA_3_0_26/source/configure.in 2007-05-15 10:36:51 UTC (rev 22892)
@@ -2115,12 +2115,11 @@
AC_CACHE_CHECK([if gettimeofday takes tz argument],samba_cv_HAVE_GETTIMEOFDAY_TZ,[
AC_TRY_LINK([
#include <sys/time.h>
-#include <unistd.h>], [
-main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}],
- samba_cv_HAVE_GETTIMEOFDAY_TZ=yes,
- samba_cv_HAVE_GETTIMEOFDAY_TZ=no)])
+#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