GNU bug report logs - #65190
30.0.50; Emacs doesn't build with `--with-mailutils` by default when mailutils is installed on macOS

Previous Next

Package: emacs;

Reported by: Mou Tong <mou.tong <at> outlook.com>

Date: Thu, 10 Aug 2023 02:12:01 UTC

Severity: normal

Found in version 30.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 65190 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Mou Tong <mou.tong <at> outlook.com>
Cc: 65190 <at> debbugs.gnu.org
Subject: Re: bug#65190: 30.0.50; Emacs doesn't build with `--with-mailutils`
 by default  when mailutils is installed on macOS
Date: Thu, 10 Aug 2023 10:37:26 +0800
Mou Tong <mou.tong <at> outlook.com> writes:

> After the android branch merged, the file `configure.ac`'s section about
> `mailutils` changed.
>
> When I build Emacs on macOS with `./configure`, cli will remind me:
>
> ```
> configure: WARNING: This configuration installs a 'movemail' program
> that does not retrieve POP3 email.  By default, Emacs 25 and earlier
> installed a 'movemail' program that retrieved POP3 email via only
> insecure channels, a practice that is no longer recommended but that
> you can continue to support by using './configure --with-pop'.
> configure: You might want to use './configure --with-mailutils'.
> ```
>
> I have installed mailtuils by homebrew (a package manager on macOS), and
> it works fine before the android branch got merged.
>
> I guess the problem occurs in this line
>
> https://git.savannah.gnu.org/cgit/emacs.git/tree/configure.ac?id=e1d08e9e11d2bd5e93c8ae4ea4a8e27129b316cb#n349
>
> But I don't know how to fix this :(

Does the problem resolve itself if you change:

     [AS_IF([test "x$XCONFIGURE" != "xandroid" \
             && test "$with_android" = "no"],
       [(movemail --version) >/dev/null 2>&1 || with_mailutils=no],


to read

     [AS_IF([test "x$XCONFIGURE" != "xandroid"],
       [(movemail --version) >/dev/null 2>&1 || with_mailutils=no],

?




This bug report was last modified 1 year and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.