Do not use libiberty's getpagesize on Android
[deliverable/binutils-gdb.git] / libiberty / configure.ac
index 868be8e72d1a969f94339042c98233d353d30b4c..e21e3aa5809b12f0616d376c69608fc5c941dbd4 100644 (file)
@@ -600,6 +600,12 @@ if test -z "${setobjs}"; then
 
   case "${host}" in
 
+  *-*-android*)
+    # On android, getpagesize is defined in unistd.h as a static inline
+    # function, which AC_CHECK_FUNCS does not handle properly.
+    ac_cv_func_getpagesize=yes
+    ;;
+
   *-*-mingw32*)
     # Under mingw32, sys_nerr and sys_errlist exist, but they are
     # macros, so the test below won't find them.
This page took 0.026622 seconds and 4 git commands to generate.