emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 9c07e88: Don't suggest Mailutils on MS-Windows


From: Paul Eggert
Subject: [Emacs-diffs] master 9c07e88: Don't suggest Mailutils on MS-Windows
Date: Fri, 17 Mar 2017 06:22:52 -0400 (EDT)

branch: master
commit 9c07e888a7d226f9d84a859b5179b5bc2fd6614d
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Don't suggest Mailutils on MS-Windows
    
    * configure.ac: Don't suggest GNU Mailutils on MS-Windows, as it
    hasn't been ported.
---
 configure.ac | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index 47d0e5c..b9ca3cd1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5486,19 +5486,30 @@ AC_MSG_ERROR(['etc/refcards/emacsver.tex' could not be 
made.])
 AC_OUTPUT
 
 if test ! "$with_mailutils"; then
-  emacs_use_mailutils="use '$0 --with-mailutils'"
-  case `(movemail --version) 2>/dev/null` in
-    *Mailutils*) ;;
-    *) emacs_use_mailutils="install GNU Mailutils
-<http://mailutils.org> and $emacs_use_mailutils";;
+  case $opsys in
+    cygwin | mingw32)
+      # Don't suggest GNU Mailutils, as it hasn't been ported.
+      if test "$with_pop" = yes; then
+       emacs_fix_movemail="use '$0 --without-pop'"
+      else
+       emacs_fix_movemail=
+      fi;;
+    *)
+      emacs_fix_movemail="use '$0 --with-mailutils'"
+      case `(movemail --version) 2>/dev/null` in
+       *Mailutils*) ;;
+       *) emacs_fix_movemail="install GNU Mailutils
+<http://mailutils.org> and $emacs_fix_movemail";;
+      esac;;
   esac
+
   if test "$with_pop" = yes; then
     AC_MSG_WARN([This configuration installs a 'movemail' program
 that retrieves POP3 email via only insecure channels.
-To fix this you can $emacs_use_mailutils.])
-  else
+To fix this you can $emacs_fix_movemail.])
+  elif test "$emacs_fix_movemail"; then
     AC_MSG_NOTICE([This configuration installs a 'movemail' program that cannot
-retrieve POP3 email.  You might want to $emacs_use_mailutils.])
+retrieve POP3 email.  You might want to $emacs_fix_movemail.])
   fi
 fi
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]