summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-03-16 23:50:37 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-03-17 00:15:48 -0700
commit9f771f6440a61433d34f14aee4046cf2fa6ba391 (patch)
tree2394bc49b97cd025f338af449fc97992db3f9ccf /lib-src
parentffbb46849990bf4bf952e01b78c9a1a0ca0d4432 (diff)
downloademacs-9f771f6440a61433d34f14aee4046cf2fa6ba391.tar.gz
Emacs 'movemail' is now a configure-time option
The new configure option --with-mailutils lets the builder say that Emacs should assume that GNU Mailutils is installed, instead of continuing to build and install its own limited and insecure substitute for 'movemail'. * INSTALL, etc/NEWS, etc/PROBLEMS: Mention --with-mailutils. * configure.ac: Add --with-mailutils option. (with_mailutils): New variable. Do not bother configuring 'movemail' when not building it. Warn about issues relating to --with-mailutils. * doc/emacs/rmail.texi (Movemail): Mention --with-mailutils. (Movemail, Remote Mailboxes): Document port numbers in POP and IMAP URLs. * lib-src/Makefile.in (with_mailutils): New macro. (UTILITIES): Use it.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index d0aa9cc7c27..b2cd66c0498 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -100,6 +100,9 @@ bindir=@bindir@
# --libexecdir option to '../configure'.
libexecdir=@libexecdir@
+# Nonempty if Emacs can assume Mailutils is installed.
+with_mailutils=@with_mailutils@
+
# Directory for local state files for all programs.
localstatedir=@localstatedir@
@@ -160,7 +163,8 @@ INSTALLABLES = etags${EXEEXT} ctags${EXEEXT} emacsclient${EXEEXT} $(CLIENTW) \
# Things that Emacs runs internally, or during the build process,
# which should not be installed in bindir.
-UTILITIES = profile${EXEEXT} movemail${EXEEXT} hexl${EXEEXT} \
+UTILITIES = profile${EXEEXT} hexl${EXEEXT} \
+ $(if $(with_mailutils), , movemail${EXEEXT}) \
$(and $(use_gamedir), update-game-score${EXEEXT})
DONT_INSTALL= make-docfile${EXEEXT}