Revert r1845377 as it has caused a lot of trouble for end users.
Plaintext password storage will again be enabled by default. It can still be
disabled at configure time.
* configure.ac: Invert the default of the plaintext-password-storage
option and update its help text.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1909351 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configure.ac b/configure.ac
index f2af67d..62815b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -872,21 +872,18 @@
dnl plaintext passwords -------------------
AC_ARG_ENABLE(plaintext-password-storage,
-AS_HELP_STRING([--enable-plaintext-password-storage],
- [Enable on-disk caching of plaintext passwords and passphrases.
- (Enabling this functionality will not force Subversion
+AS_HELP_STRING([--disable-plaintext-password-storage],
+ [Disable on-disk caching of plaintext passwords and passphrases.
+ (Leaving this functionality enabled will not force Subversion
to store passwords in plaintext, but does permit users to
explicitly allow that behavior via runtime configuration.)]),
-[plaintext_passwordd_storage="$enableval"],
-[plaintext_passwordd_storage="no"])
-
-if test "$plaintext_passwordd_storage" = "yes"; then
- AC_MSG_WARN([Enabling plaintext password/passphrase storage])
-else
- AC_MSG_NOTICE([Disabling plaintext password/passphrase storage])
- AC_DEFINE(SVN_DISABLE_PLAINTEXT_PASSWORD_STORAGE, 1,
- [Defined if plaintext password/passphrase storage is disabled])
-fi
+[
+ if test "$enableval" = "no"; then
+ AC_MSG_NOTICE([Disabling plaintext password/passphrase storage])
+ AC_DEFINE(SVN_DISABLE_PLAINTEXT_PASSWORD_STORAGE, 1,
+ [Defined if plaintext password/passphrase storage is disabled])
+ fi
+])
dnl Build and install rules -------------------