[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 27/163: configure: add basic test of --with-ssl pre
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 27/163: configure: add basic test of --with-ssl prefix |
Date: |
Sun, 05 Aug 2018 12:35:53 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit d353af001420574210605ba132dfd31a0e3876a5
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed May 23 14:26:49 2018 +0200
configure: add basic test of --with-ssl prefix
When given a prefix, the $PREFIX_OPENSSL/lib/openssl.pc or
$PREFIX_OPENSSL/include/openssl/ssl.h files must be present or cause an
error. Helps users detect when giving configure the wrong path.
Reported-by: Oleg Pudeyev
Assisted-by: Per Malmberg
Fixes #2580
---
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 24e47aa33..c552c46ab 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1591,9 +1591,11 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
dnl specify PKG_CONFIG_LIBDIR we're only looking where
dnl the user told us to look
OPENSSL_PCDIR="$OPT_SSL/lib/pkgconfig"
- AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$OPENSSL_PCDIR"])
if test -f "$OPENSSL_PCDIR/openssl.pc"; then
+ AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$OPENSSL_PCDIR"])
PKGTEST="yes"
+ elif test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
+ AC_MSG_ERROR([$PREFIX_OPENSSL is a bad --with-ssl prefix!])
fi
dnl in case pkg-config comes up empty, use what we got
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 32/163: content_encoding: handle zlib versions too old for Z_BLOCK, (continued)
- [GNUnet-SVN] [gnurl] 32/163: content_encoding: handle zlib versions too old for Z_BLOCK, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 38/163: mailmap: Max Savenkov, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 31/163: multi: provide a socket to wait for in Curl_protocol_getsock, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 41/163: cmdline-opts/gen.pl: warn if mutexes: or see-also: list non-existing options, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 44/163: configure: fix ssh2 linking when built with a static mbedtls, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 67/163: curl_addrinfo: use same #ifdef conditions in source as header, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 33/163: winbuild: only delete OUTFILE if it exists, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 36/163: mailmap: a Richard Alcock fixup, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 17/163: curl: show headers in bold, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 19/163: checksrc: make sure sizeof() is used *with* parentheses, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 27/163: configure: add basic test of --with-ssl prefix,
gnunet <=
- [GNUnet-SVN] [gnurl] 37/163: Fix the test for fsetxattr and strerror_r tests in CMake to work without compiling, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 50/163: configure: override AR_FLAGS to silence warning, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 47/163: KNOWN_BUGS: restore text regarding #2101., gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 40/163: curl.1: Fix cmdline-opts reference errors., gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 60/163: configure: check for declaration of getpwuid_r, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 39/163: docs: fix cmdline-opts metadata headers case consistency., gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 26/163: http resume: skip body if http code 416 (range error) is ignored., gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 29/163: TODO: CURLINFO_PAUSE_STATE, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 59/163: tests: update .gitignore for libtests, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 72/163: cmdline-opts/cert-type.d: mention "p12" as a recognized type as well, gnunet, 2018/08/05