]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve default value of `with_mailutils' on Android
authorPo Lu <luangruo@yahoo.com>
Sat, 11 Mar 2023 10:58:18 +0000 (18:58 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 11 Mar 2023 10:58:18 +0000 (18:58 +0800)
* configure.ac: Default to off on Android.

configure.ac

index 3eb57a089a0c2e56bcf3d748af5ed23a70847c3c..45041781f26953602b7f8b8cbb9857e67da61179 100644 (file)
@@ -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=])