From 6f3369bbcf9d0ebdaa5d141f8ca446448c24494c Mon Sep 17 00:00:00 2001 From: Cristian Morales Vega Date: Thu, 29 Oct 2020 17:14:49 +0000 Subject: configure: use pkgconfig to find openSSL when cross-compiling This reverts 736a40fec (November 2004), which doesn't explain why it was done. Closes #6145 --- configure.ac | 10 ++-------- 1 file 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= ;; *) -- cgit v1.2.1