summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-06-12 09:28:25 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-12 09:28:25 +0200
commitb654a0749233d89704d8b23ae6e758095fdfea1d (patch)
tree0fc636d30915487211a95926bc5dcae852c3483d
parent852ab5d83fc350cabbe5d80237410ab9e2d47176 (diff)
downloadphp-git-b654a0749233d89704d8b23ae6e758095fdfea1d.tar.gz
Revert option rename
Let's keep this at --with-password-argon2 to avoid churn, I don't think we have a strong motivation to rename this one.
-rw-r--r--UPGRADING3
-rw-r--r--ext/standard/config.m46
2 files changed, 6 insertions, 3 deletions
diff --git a/UPGRADING b/UPGRADING
index 66be319cb9..42671609cd 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -608,6 +608,9 @@ The following extensions and SAPIs are affected:
- SQLite3:
. --with-sqlite3 no longer accepts a directory.
+- Standard:
+ . --with-password-argon2 no longer accepts a directory.
+
- XSL:
. --with-xsl no longer accepts a directory.
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index 20ff3d55c0..0a46b1e341 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -406,12 +406,12 @@ AC_CHECK_DECLS([arc4random_buf])
dnl
dnl Check for argon2
dnl
-PHP_ARG_WITH([argon2],
+PHP_ARG_WITH([password-argon2],
[whether to build with Argon2 support],
- [AS_HELP_STRING([--with-argon2],
+ [AS_HELP_STRING([--with-password-argon2],
[Build with Argon2 support])])
-if test "$PHP_ARGON2" != "no"; then
+if test "$PHP_PASSWORD_ARGON2" != "no"; then
PKG_CHECK_MODULES([ARGON2], [libargon2])
PHP_EVAL_INCLINE($ARGON2_CFLAGS)