Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit b39ffd2

Browse files
author
Matthias Koeppe
committed
build/pkgs/openssl/spkg-configure.m4: Also require openssl if curl needs to be built
1 parent 54cd6fe commit b39ffd2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/pkgs/openssl/spkg-configure.m4

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ On Cygwin, openssl must be installed as a system package. This is an error."])
5656
])
5757
], [dnl REQUIRED-CHECK
5858
AC_REQUIRE([SAGE_SPKG_CONFIGURE_PYTHON3])
59-
dnl openssl is a dependency only of python3; so if we use system python3,
59+
AC_REQUIRE([SAGE_SPKG_CONFIGURE_CURL])
60+
dnl openssl is a dependency only of python3 and curl; so if we use system python3 and curl,
6061
dnl we do not require it. (In particular, we do not need a specific version.)
61-
AS_IF([test x$sage_spkg_install_python3 = xno], [
62+
AS_IF([test x$sage_spkg_install_python3 = xno -a x$sage_spkg_install_curl = xno], [
6263
sage_require_openssl=no
6364
])
6465
])

0 commit comments

Comments
 (0)