]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Assume that gettimeofday() takes two arguments when cross-compiling.
authorWayne Davison <wayned@samba.org>
Thu, 23 Sep 2004 16:00:44 +0000 (16:00 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 23 Sep 2004 16:00:44 +0000 (16:00 +0000)
configure.in

index b910f073aaa9b392ce025ca5ce19ba6b9d18670a..7d673f7cf8bc0696bf14237deec2835f584520c8 100644 (file)
@@ -543,7 +543,7 @@ AC_TRY_RUN([
 #include <unistd.h>
 main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}],
            rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes,rsync_cv_HAVE_GETTIMEOFDAY_TZ=no,rsync_cv_HAVE_GETTIMEOFDAY_TZ=cross)])
-if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then
+if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" != x"no"; then
     AC_DEFINE(HAVE_GETTIMEOFDAY_TZ, 1, [ ])
 fi