1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

Improve default value of `with_mailutils' on Android

* configure.ac: Default to off on Android.
This commit is contained in:
Po Lu 2023-03-11 18:58:18 +08:00
parent b931a92ac4
commit a697ca5562

View 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=])