• Bruno Haible's avatar
    getpagesize: Fix compilation error on Android. · 0cc03459
    Bruno Haible authored
    * m4/getpagesize.m4 (gl_CHECK_FUNC_GETPAGESIZE): New macro.
    (gl_FUNC_GETPAGESIZE): Invoke it instead of AC_CHECK_FUNC.
    * m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): Don't invoke
    AC_CHECK_FUNC. Instead, invoke gl_CHECK_FUNC_GETPAGESIZE and define
    HAVE_GETPAGESIZE accordingly.
    * modules/getcwd (Files): Add m4/getpagesize.m4.
    0cc03459