Do not use libiberty's getpagesize on Android
[deliverable/binutils-gdb.git] / libiberty / configure
index d8890a11de77d9a10815919f812f9361a0e953bb..720dc5e80beb936f3d08d593955727ca13e34f4d 100755 (executable)
@@ -6248,6 +6248,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.035208 seconds and 4 git commands to generate.