summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Morales Vega <cristian@samknows.com>2020-10-29 17:14:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2020-10-29 23:18:29 +0100
commit6f3369bbcf9d0ebdaa5d141f8ca446448c24494c (patch)
tree7034b9187291851e99ba603aecaa4db1ec4dae0f
parentce8ac2db2be8a7b6864ea40da8776ef813a13d11 (diff)
downloadcurl-6f3369bbcf9d0ebdaa5d141f8ca446448c24494c.tar.gz
configure: use pkgconfig to find openSSL when cross-compiling
This reverts 736a40fec (November 2004), which doesn't explain why it was done. Closes #6145
-rwxr-xr-xconfigure.ac10
1 files changed, 2 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index b7a7d2daa..a81d96a39 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1767,19 +1767,13 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
case "$OPT_SSL" in
yes)
dnl --with-ssl (without path) used
- if test x$cross_compiling != xyes; then
- dnl only do pkg-config magic when not cross-compiling
- PKGTEST="yes"
- fi
+ PKGTEST="yes"
PREFIX_OPENSSL=/usr/local/ssl
LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
;;
off)
dnl no --with-ssl option given, just check default places
- if test x$cross_compiling != xyes; then
- dnl only do pkg-config magic when not cross-compiling
- PKGTEST="yes"
- fi
+ PKGTEST="yes"
PREFIX_OPENSSL=
;;
*)