summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-01 22:50:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-01 22:50:59 +0000
commit736a40fec9a13fcad55e646189b3419a9280ab98 (patch)
tree1afc240f66f9e1d056891555cfc8c13c3f5613f5 /configure.ac
parent4245400ae4c2623c49280ffeb295d4eb6790f7e2 (diff)
downloadcurl-736a40fec9a13fcad55e646189b3419a9280ab98.tar.gz
When cross-compiling, the configure script no longer attempts to use
pkg-config on the build host in order to detect OpenSSL compiler options.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a9aa71529..82b733c8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -710,11 +710,17 @@ else
case "$OPT_SSL" in
yes)
dnl --with-ssl (without path) used
- PKGTEST="yes"
+ if test x$cross_compiling != xyes; then
+ dnl only do pkg-config magic when not cross-compiling
+ PKGTEST="yes"
+ fi
EXTRA_SSL=/usr/local/ssl ;;
off)
dnl no --with-ssl option given, just check default places
- PKGTEST="yes"
+ if test x$cross_compiling != xyes; then
+ dnl only do pkg-config magic when not cross-compiling
+ PKGTEST="yes"
+ fi
EXTRA_SSL= ;;
*)
dnl check the given --with-ssl spot