From a697ca556225864d6a820cd1b316a9577ccf84bd Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 11 Mar 2023 18:58:18 +0800 Subject: [PATCH] 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=]) -- 2.39.2