diff options
author | Wayne Davison <wayne@opencoder.net> | 2020-05-23 12:26:06 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2020-05-23 12:30:58 -0700 |
commit | 1cb1edeb6853abe89e66fa10f8d3a532a909c2f8 (patch) | |
tree | 96aeb45f5c1b6916ea475389d134453e968b4cf7 /configure.ac | |
parent | 15c1162b24f51b29cbd534b2e8f732e06995ef89 (diff) | |
download | rsync-1cb1edeb6853abe89e66fa10f8d3a532a909c2f8.tar.gz |
Optional openssl support for MD4 pre-transfer checksums (but, sadly, not transfer checksums).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 77b18278..427959f3 100644 --- a/configure.ac +++ b/configure.ac @@ -381,7 +381,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/md5.h) + zlib.h xxhash.h openssl/md4.h openssl/md5.h) AC_HEADER_MAJOR_FIXED AC_MSG_CHECKING([whether to enable use of openssl crypto library]) @@ -389,7 +389,7 @@ AC_ARG_ENABLE([openssl], AS_HELP_STRING([--disable-openssl],[disable openssl crypto library])) AH_TEMPLATE([USE_OPENSSL], [Undefine if you do not want to use openssl crypto library. By default this is defined.]) -if test x"$enable_openssl" != x"no" && test x"$ac_cv_header_openssl_md5_h" = x"yes"; then +if test x"$enable_openssl" != x"no" && test x"$ac_cv_header_openssl_md4_h" = x"yes" && test x"$ac_cv_header_openssl_md5_h" = x"yes"; then AC_MSG_RESULT(yes) AC_SEARCH_LIBS(MD5_Init, crypto) AC_DEFINE(USE_OPENSSL) |