diff --git a/configure.ac b/configure.ac index 897f17198..376779b00 100644 --- a/configure.ac +++ b/configure.ac @@ -1990,6 +1990,11 @@ case "${host}" in LG_PAGE=14 fi ;; + *-*-linux-android) + if test "x$LG_PAGE" = "xdetect"; then + AC_CHECK_DECLS([PAGE_SIZE], [LG_PAGE=12], [LG_PAGE=14], [#include ]) + fi + ;; aarch64-unknown-linux-*) if test "x$LG_PAGE" = "xdetect"; then LG_PAGE=16