summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-01-20 09:59:40 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-01-20 09:59:40 +0100
commit5947437d47cc3bf8f289e52e6361fccad4b08ae3 (patch)
tree07e955c6879ac8826aa2c51aa77950bea596ed2f /ext
parent6ada49a469afd1b1d8c6e04230f1ef00c0386c2d (diff)
parent74380465ec8d868bd3d28d7cf73151642d195012 (diff)
downloadphp-git-5947437d47cc3bf8f289e52e6361fccad4b08ae3.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: Fix bug #79112: IMAP can't find OpenSSL during configure
Diffstat (limited to 'ext')
-rw-r--r--ext/ftp/config.m47
-rw-r--r--ext/imap/config.m46
-rw-r--r--ext/snmp/config.m47
3 files changed, 7 insertions, 13 deletions
diff --git a/ext/ftp/config.m4 b/ext/ftp/config.m4
index 3d81242a69..d5d613ecef 100644
--- a/ext/ftp/config.m4
+++ b/ext/ftp/config.m4
@@ -3,10 +3,11 @@ PHP_ARG_ENABLE([ftp],
[AS_HELP_STRING([--enable-ftp],
[Enable FTP support])])
+dnl TODO: Rename this option for master.
PHP_ARG_WITH([openssl-dir],
- [OpenSSL dir for FTP],
- [AS_HELP_STRING([[--with-openssl-dir[=DIR]]],
- [FTP: openssl install prefix])],
+ [whether to explicitly enable FTP SSL support],
+ [AS_HELP_STRING([[--with-openssl-dir]],
+ [FTP: Whether to enable FTP SSL support without ext/openssl])],
[no],
[no])
diff --git a/ext/imap/config.m4 b/ext/imap/config.m4
index 74dbc2d931..5086a312d0 100644
--- a/ext/imap/config.m4
+++ b/ext/imap/config.m4
@@ -73,7 +73,7 @@ AC_DEFUN([PHP_IMAP_SSL_CHK], [
], [
AC_MSG_ERROR([OpenSSL libraries not found.
- Check the path given to --with-openssl-dir and output in config.log)
+ Check whether openssl is on your PKG_CONFIG_PATH and the output in config.log)
])
])
elif test -f "$IMAP_INC_DIR/linkage.c"; then
@@ -100,8 +100,8 @@ PHP_ARG_WITH([kerberos],
PHP_ARG_WITH([imap-ssl],
[for IMAP SSL support],
- [AS_HELP_STRING([[--with-imap-ssl[=DIR]]],
- [IMAP: Include SSL support. DIR is the OpenSSL install prefix])],
+ [AS_HELP_STRING([[--with-imap-ssl]],
+ [IMAP: Include SSL support])],
[no],
[no])
diff --git a/ext/snmp/config.m4 b/ext/snmp/config.m4
index 893edc79db..1475ddfe2b 100644
--- a/ext/snmp/config.m4
+++ b/ext/snmp/config.m4
@@ -3,13 +3,6 @@ PHP_ARG_WITH([snmp],
[AS_HELP_STRING([[--with-snmp[=DIR]]],
[Include SNMP support])])
-PHP_ARG_WITH([openssl-dir],
- [OpenSSL dir for SNMP],
- [AS_HELP_STRING([[--with-openssl-dir[=DIR]]],
- [SNMP: openssl install prefix])],
- [no],
- [no])
-
if test "$PHP_SNMP" != "no"; then
if test "$PHP_SNMP" = "yes"; then