From: Wayne Davison Date: Mon, 6 Jul 2020 02:08:44 +0000 (-0700) Subject: Some configure tweaks for TANDEM. X-Git-Tag: v3.2.3pre1~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=748b5c5d532d8a11d476475766dc5b0e5b0cd970;p=thirdparty%2Frsync.git Some configure tweaks for TANDEM. --- diff --git a/configure.ac b/configure.ac index 112367cb..24a07101 100644 --- a/configure.ac +++ b/configure.ac @@ -346,7 +346,7 @@ AC_ARG_ENABLE(ipv6, AS_HELP_STRING([--disable-ipv6],[turn off IPv6 support])) if test x"$enable_ipv6" != x"no"; then AC_MSG_CHECKING([ipv6 stack type]) - for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin; do + for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin TANDEM; do case $i in inria) # http://www.kame.net/ @@ -438,6 +438,15 @@ yes #include #ifdef _CYGWIN_IN6_H yes +#endif], + [ipv6type=$i; + AC_DEFINE(INET6, 1, [true if you have IPv6])]) + ;; + TANDEM) + AC_EGREP_CPP(yes, [ +#include +#ifdef __TANDEM +yes #endif], [ipv6type=$i; AC_DEFINE(INET6, 1, [true if you have IPv6])]) @@ -481,7 +490,7 @@ AC_CHECK_HEADERS(sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h \ netdb.h malloc.h float.h limits.h iconv.h libcharset.h langinfo.h \ sys/acl.h acl/libacl.h attr/xattr.h sys/xattr.h sys/extattr.h \ popt.h popt/popt.h linux/falloc.h netinet/in_systm.h netinet/ip.h \ - zlib.h xxhash.h openssl/md4.h openssl/md5.h zstd.h lz4.h) + zlib.h xxhash.h openssl/md4.h openssl/md5.h zstd.h lz4.h sys/file.h) AC_HEADER_MAJOR_FIXED AC_MSG_CHECKING([whether to enable use of openssl crypto library]) diff --git a/rsync.h b/rsync.h index 1d6b8179..5983c906 100644 --- a/rsync.h +++ b/rsync.h @@ -442,7 +442,9 @@ enum delret { #include #endif #include +#ifdef HAVE_SYS_FILE_H #include +#endif #ifdef HAVE_DIRENT_H # include