From: Wayne Davison Date: Mon, 25 May 2020 18:50:44 +0000 (-0700) Subject: A couple minor configure.ac tweaks. X-Git-Tag: v3.2.0pre1~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc265c5a927466172dc01593be86becfc46913b8;p=thirdparty%2Frsync.git A couple minor configure.ac tweaks. --- diff --git a/configure.ac b/configure.ac index e22e17e9..cbf93056 100644 --- a/configure.ac +++ b/configure.ac @@ -391,8 +391,7 @@ 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_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) + AC_SEARCH_LIBS(MD5_Init, crypto, [AC_DEFINE(USE_OPENSSL)]) else AC_MSG_RESULT(no) fi @@ -404,8 +403,7 @@ AH_TEMPLATE([SUPPORT_XXHASH], [Undefine if you do not want xxhash checksums. By default this is defined.]) if test x"$enable_xxhash" != x"no" && test x"$ac_cv_header_xxhash_h" = x"yes"; then AC_MSG_RESULT(yes) - AC_SEARCH_LIBS(XXH64_createState, xxhash) - AC_DEFINE(SUPPORT_XXHASH) + AC_SEARCH_LIBS(XXH64_createState, xxhash, [AC_DEFINE(SUPPORT_XXHASH)]) else AC_MSG_RESULT(no) fi