diff options
| author | Paul Eggert | 2017-10-03 15:42:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-10-03 15:46:15 -0700 |
| commit | af2a40fbd37a663a8ee5a722f9fecb80c425c128 (patch) | |
| tree | 9f331e74730a2a41ac62658e99be418efa62c2e4 | |
| parent | 4ac5ac50c94b20acdad3746ee168a72d8dd18b4f (diff) | |
| download | emacs-af2a40fbd37a663a8ee5a722f9fecb80c425c128.tar.gz emacs-af2a40fbd37a663a8ee5a722f9fecb80c425c128.zip | |
--with-pop is now the default only on MS-Windows
Problem reported by N. Jackson (Bug#28597).
This improves an earlier suggestion by Robert Pluim (Bug#28597#47).
* INSTALL, configure.ac, etc/NEWS:
Make --with-pop the default only on native MS-Windows.
| -rw-r--r-- | INSTALL | 6 | ||||
| -rw-r--r-- | configure.ac | 19 | ||||
| -rw-r--r-- | etc/NEWS | 5 |
3 files changed, 20 insertions, 10 deletions
| @@ -273,8 +273,10 @@ a POP3 server by default. Versions of the POP protocol older than | |||
| 273 | POP3 are not supported. While POP3 support is typically enabled, | 273 | POP3 are not supported. While POP3 support is typically enabled, |
| 274 | whether Emacs actually uses POP3 is controlled by individual users; | 274 | whether Emacs actually uses POP3 is controlled by individual users; |
| 275 | see the Rmail chapter of the Emacs manual. Unless --with-mailutils is | 275 | see the Rmail chapter of the Emacs manual. Unless --with-mailutils is |
| 276 | in effect, it is a good idea to configure --without-pop so that users | 276 | in effect, it is a good idea to configure without POP3 support so that |
| 277 | are less likely to inadvertently read email via insecure channels. | 277 | users are less likely to inadvertently read email via insecure |
| 278 | channels. On native MS-Windows, --with-pop is the default; on other | ||
| 279 | platforms, --without-pop is the default. | ||
| 278 | 280 | ||
| 279 | For image support you may have to download, build, and install the | 281 | For image support you may have to download, build, and install the |
| 280 | appropriate image support libraries for image types other than XBM and | 282 | appropriate image support libraries for image types other than XBM and |
diff --git a/configure.ac b/configure.ac index eb2c6840402..3feac73bed3 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -232,9 +232,9 @@ AC_DEFUN([OPTION_DEFAULT_ON], [dnl | |||
| 232 | m4_bpatsubst([with_$1], [[^0-9a-z]], [_])=$with_features])dnl | 232 | m4_bpatsubst([with_$1], [[^0-9a-z]], [_])=$with_features])dnl |
| 233 | ])dnl | 233 | ])dnl |
| 234 | 234 | ||
| 235 | # FIXME: The default options '--without-mailutils --with-pop' result | 235 | # For retrieving mail, unencrypted network connections are the default |
| 236 | # in a movemail implementation that supports only unencrypted POP3 | 236 | # only on native MS-Windows platforms. (FIXME: These platforms should |
| 237 | # connections. Encrypted connections should be the default. | 237 | # also be secure by default.) |
| 238 | 238 | ||
| 239 | AC_ARG_WITH([mailutils], | 239 | AC_ARG_WITH([mailutils], |
| 240 | [AS_HELP_STRING([--with-mailutils], | 240 | [AS_HELP_STRING([--with-mailutils], |
| @@ -251,9 +251,16 @@ if test "$with_mailutils" = no; then | |||
| 251 | fi | 251 | fi |
| 252 | AC_SUBST([with_mailutils]) | 252 | AC_SUBST([with_mailutils]) |
| 253 | 253 | ||
| 254 | OPTION_DEFAULT_ON([pop], | 254 | AC_ARG_WITH([pop], |
| 255 | [don't support POP mail retrieval with movemail (--without-pop or | 255 | [AS_HELP_STRING([--with-pop], |
| 256 | --with-mailutils is recommended, as movemail POP is insecure)]) | 256 | [Support POP mail retrieval if Emacs movemail is used (not recommended, |
| 257 | as Emacs movemail POP is insecure). This is the default only on | ||
| 258 | native MS-Windows.])], | ||
| 259 | [], | ||
| 260 | [case $host in | ||
| 261 | *-mingw*) with_pop=yes;; | ||
| 262 | *) with_pop=no;; | ||
| 263 | esac]) | ||
| 257 | if test "$with_pop" = yes; then | 264 | if test "$with_pop" = yes; then |
| 258 | AC_DEFINE(MAIL_USE_POP) | 265 | AC_DEFINE(MAIL_USE_POP) |
| 259 | fi | 266 | fi |
| @@ -35,8 +35,9 @@ GNU Mailutils to retrieve email. It is recommended, and is the | |||
| 35 | default if GNU Mailutils is installed. When --with-mailutils is not | 35 | default if GNU Mailutils is installed. When --with-mailutils is not |
| 36 | in effect, the Emacs build procedure by default continues to build and | 36 | in effect, the Emacs build procedure by default continues to build and |
| 37 | install a limited 'movemail' substitute that retrieves POP3 email only | 37 | install a limited 'movemail' substitute that retrieves POP3 email only |
| 38 | via insecure channels; to avoid this problem, use either | 38 | via insecure channels. To avoid this problem, use either |
| 39 | --with-mailutils or --without-pop when configuring. | 39 | --with-mailutils or --without-pop when configuring; --without-pop |
| 40 | is the default on platforms other than native MS-Windows. | ||
| 40 | 41 | ||
| 41 | ** The new option 'configure --enable-gcc-warnings=warn-only' causes | 42 | ** The new option 'configure --enable-gcc-warnings=warn-only' causes |
| 42 | GCC to issue warnings without stopping the build. This behavior is | 43 | GCC to issue warnings without stopping the build. This behavior is |