summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-12-27 20:55:29 -0700
committerEduardo Chappa <chappa@washington.edu>2016-12-27 20:55:29 -0700
commiteefde42da7da15b305a56b443c166bfd96ba7432 (patch)
tree26b71938274ce79d1f7ae79a359e7daddcd7f48b /configure
parent054440ecce3a1ea1292cc52f37a84ad21d04cd6d (diff)
downloadalpine-eefde42da7da15b305a56b443c166bfd96ba7432.tar.xz
* crypto.h is installed in /usr/include in cygwin, but everyone else
installs it in /usr/include/openssl. Also other systems seem to install crypto.h when they install openssl, so we only check for the existence of crypto.h in Cygwin.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 12 insertions, 6 deletions
diff --git a/configure b/configure
index 19f46d7..1c4cc97 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Rev:20 by chappa@washington.edu.
+# From configure.ac Rev:21 by chappa@washington.edu.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for alpine 2.20.999.
#
@@ -15107,6 +15107,7 @@ case $host in
;;
esac
+
# Check whether --with-localedir was given.
if test "${with_localedir+set}" = set; then :
withval=$with_localedir;
@@ -18491,7 +18492,9 @@ 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"
+ case $host in
+ *-*-cygwin)
+ 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
@@ -18499,10 +18502,13 @@ else
fi
- if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
- as_fn_error $? "crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
- exit 1
- fi
+ if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
+ as_fn_error $? "crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
+ exit 1
+ fi
+ ;;
+ *) ;;
+ esac
fi
if test "x$alpine_SSLTYPE" != "xnone" ; then