diff options
author | Yann Ylavic <ylavic@apache.org> | 2023-02-15 12:43:44 +0100 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2023-02-15 12:43:44 +0100 |
commit | 05b4010efc52fb90149be01a5cfc321aba273425 (patch) | |
tree | e6d3a64bce56d624d83f9fbb475854a981c80ae5 /configure.in | |
parent | Remove Travis configuration, it's no longer supported by the ASF. [skip ci] (diff) | |
download | apache2-05b4010efc52fb90149be01a5cfc321aba273425.tar.xz apache2-05b4010efc52fb90149be01a5cfc321aba273425.zip |
configure: Assume crypt() does not support SHA-2 when cross-compiling.
Can be forced with "./configure ap_cv_crypt_sha2=yes ..." still.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907672 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 4989ec3404..daaae7d200 100644 --- a/configure.in +++ b/configure.in @@ -519,7 +519,7 @@ if test "$ac_cv_search_crypt" != "no"; then ]], [char *result = crypt(PASSWD_0, SALT_0); if (!result) return 1; if (strcmp(result, EXPECT_0)) return 2; -])], [ap_cv_crypt_sha2=yes], [ap_cv_crypt_sha2=no])]) +])], [ap_cv_crypt_sha2=yes], [ap_cv_crypt_sha2=no], [ap_cv_crypt_sha2=no])]) if test "$ap_cv_crypt_sha2" = yes; then AC_DEFINE([HAVE_CRYPT_SHA2], 1, [Define if crypt() supports SHA-2 hashes]) fi |