Subject: Re: bug#65190: 30.0.50; Emacs doesn't build with `--with-mailutils` by default when mailutils is installed on macOS

From: Mou Tong <[email-masked]>
Date: Thu, 10 Aug 2023 03:10:36 +0000

Thx for the quick response, here is the modification:

```diff
--- a/configure.ac
+++ b/configure.ac
@@ -347,8 +347,10 @@ AC_DEFUN
   [],
   [with_mailutils=$with_features
    AS_IF([test "$with_mailutils" = yes],
-     [AS_IF([test "x$XCONFIGURE" != "xandroid" \
-             && test "$with_android" = "no"],
+     dnl [AS_IF([test "x$XCONFIGURE" != "xandroid" \
+     dnl         && test "$with_android" = "no"],
+     dnl   [(movemail --version) >/dev/null 2>&1 || with_mailutils=no],
+     [AS_IF([test "x$XCONFIGURE" != "xandroid"],
        [(movemail --version) >/dev/null 2>&1 || with_mailutils=no],
        [dnl Don't check for movemail if cross-compiling.
         dnl instead, default to false.
```

But the problem still exists.