diff options
author | Eduardo Chappa <chappa@washington.edu> | 2016-12-02 21:05:10 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2016-12-02 21:05:10 -0700 |
commit | a6d2585047ced0f5c3ae200f0df189fb45ef8763 (patch) | |
tree | f8e57ac3c899f94210008c9a554de5a65614aebf /configure | |
parent | 232f7094c81cf3e78918adc5d112cc39d268c784 (diff) | |
download | alpine-a6d2585047ced0f5c3ae200f0df189fb45ef8763.tar.xz |
* In Cygwin, installing Openssl does not install libcrypto-devel, so we
add a check for crypt.h to the configure script to check that this
file is properly installed.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Rev:18 by chappa@washington.edu. +# From configure.ac Rev:19 by chappa@washington.edu. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for alpine 2.20.99. # @@ -18485,6 +18485,18 @@ fi as_fn_error $? "crypto library NOT found" "$LINENO" 5 exit 1 fi + ac_fn_c_check_header_mongrel "$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default" +if test "x$ac_cv_header_crypto_h" = xyes; then : + +else + alpine_CRYPTO_DEVEL="none" +fi + + + if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then + as_fn_error $? "crypto library file crypt.h NOT found. Install correspoding licrypt-devel package" "$LINENO" 5 + exit 1 + fi fi if test "x$alpine_SSLTYPE" != "xnone" ; then |