summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-12-02 21:05:10 -0700
committerEduardo Chappa <chappa@washington.edu>2016-12-02 21:05:10 -0700
commita6d2585047ced0f5c3ae200f0df189fb45ef8763 (patch)
treef8e57ac3c899f94210008c9a554de5a65614aebf /configure
parent232f7094c81cf3e78918adc5d112cc39d268c784 (diff)
downloadalpine-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-xconfigure14
1 files changed, 13 insertions, 1 deletions
diff --git a/configure b/configure
index 8d78b555..c03c3f33 100755
--- a/configure
+++ b/configure
@@ -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