emacs-diffs
[Top][All Lists]
Advanced

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

feature/android a697ca55622 4/4: Improve default value of `with_mailutil


From: Po Lu
Subject: feature/android a697ca55622 4/4: Improve default value of `with_mailutils' on Android
Date: Sat, 11 Mar 2023 06:01:58 -0500 (EST)

branch: feature/android
commit a697ca556225864d6a820cd1b316a9577ccf84bd
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Improve default value of `with_mailutils' on Android
    
    * configure.ac: Default to off on Android.
---
 configure.ac | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3eb57a089a0..45041781f26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -318,10 +318,12 @@ AC_ARG_WITH([mailutils],
   [],
   [with_mailutils=$with_features
    AS_IF([test "$with_mailutils" = yes],
-     [AS_IF([test "x$XCONFIGURE" != "xandroid"],
+     [AS_IF([test "x$XCONFIGURE" != "xandroid" \
+             && test "$with_android" = "no"],
        [(movemail --version) >/dev/null 2>&1 || with_mailutils=no],
-       [dnl don't check for movemail if cross-compiling.
-        with_mailutils=yes])])])
+       [dnl Don't check for movemail if cross-compiling.
+        dnl instead, default to false.
+        with_mailutils=no])])])
 AS_IF([test "$with_mailutils" = no],
   [with_mailutils=])
 



reply via email to

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