When cross-compiling, the configure script no longer attempts to use

pkg-config on the build host in order to detect OpenSSL compiler options.
This commit is contained in:
Daniel Stenberg 2004-11-01 22:50:59 +00:00
Родитель 4245400ae4
Коммит 736a40fec9
2 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -6,6 +6,10 @@
Changelog
Daniel (1 November 2004)
- When cross-compiling, the configure script no longer attempts to use
pkg-config on the build host in order to detect OpenSSL compiler options.
Daniel (27 October 2004)
- Dan Fandrich:

Просмотреть файл

@ -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