[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 174/219: configure: error out if OpenSSL wasn't det
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 174/219: configure: error out if OpenSSL wasn't detected when asked for |
Date: |
Wed, 22 May 2019 19:18:33 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit c60042fe09dec5b220d65ad34c674b1fd9346e12
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu May 2 10:42:23 2019 +0200
configure: error out if OpenSSL wasn't detected when asked for
If --with-ssl is used and configure still couldn't enable SSL this
creates an error instead of just silently ignoring the fact.
Suggested-by: Isaiah Norton
Fixes #3824
Closes #3830
---
configure.ac | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/configure.ac b/configure.ac
index 00fef9489..f1c48b165 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1889,6 +1889,14 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
fi
+if test X"$OPT_SSL" != Xoff &&
+ test X"$OPT_SSL" != Xno &&
+ test "$OPENSSL_ENABLED" != "1"; then
+ AC_MSG_NOTICE([OPT_SSL: $OPT_SSL])
+ AC_MSG_NOTICE([OPENSSL_ENABLED: $OPENSSL_ENABLED])
+ AC_MSG_ERROR([--with-ssl was given but OpenSSL could not be detected])
+fi
+
dnl **********************************************************************
dnl Check for the random seed preferences
dnl **********************************************************************
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnurl] 174/219: configure: error out if OpenSSL wasn't detected when asked for,
gnunet <=