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.
This commit is contained in:
Nikita Popov 2019-06-12 09:28:25 +02:00
parent 852ab5d83f
commit b654a07492
2 changed files with 6 additions and 3 deletions

View File

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

View File

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