search for: rsync_cv_have_gettimeofday_tz

Displaying 2 results from an estimated 2 matches for "rsync_cv_have_gettimeofday_tz".

2019 Sep 09
0
[PATCH] autoconf tweaks for C99 compilers
..._HAVE_STRUCT_UTIMBUF=yes],[rsync_cv_HAVE_STRUCT_UTIMBUF=no])]) if test x"$rsync_cv_HAVE_STRUCT_UTIMBUF" = x"yes"; then AC_DEFINE(HAVE_STRUCT_UTIMBUF, 1, [Define to 1 if you have the "struct utimbuf" type]) fi AC_CACHE_CHECK([if gettimeofday takes tz argument],rsync_cv_HAVE_GETTIMEOFDAY_TZ,[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/time.h> -#include <unistd.h>]], [[struct timeval tv; exit(gettimeofday(&tv, NULL));]])],[rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes],[rsync_cv_HAVE_GETTIMEOFDAY_TZ=no])]) +#include <unistd.h>]], [[struct timeval tv; return gettimeof...
2010 Feb 12
1
[RFC] add support for fallocate()
...9 +++++++++ receiver.c | 9 ++++++++- rsync.h | 4 ++++ syscall.c | 9 +++++++++ 4 files changed, 30 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index 9de88d1..3e6ce55 100644 --- a/configure.in +++ b/configure.in @@ -761,6 +761,15 @@ if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" != x"no"; then AC_DEFINE(HAVE_GETTIMEOFDAY_TZ, 1, [Define to 1 if gettimeofday() takes a time-zone arg]) fi +AC_CACHE_CHECK([if fallocate with mode FALLOC_FL_KEEP_SIZE is available],rsync_cv_HAVE_FALLOCATE,[ +AC_TRY_LINK([#include <fcntl.h> +#include <linux/falloc.h...