Commit 41fdbd54 by Joel Brobecker Committed by Joel Brobecker

Do not use libiberty's getpagesize on Android

libiberty/ChangeLog:

        * configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on
        Android hosts.
        * configure: Regenerate.

From-SVN: r229893
parent d9f4ea18
2015-11-06 Joel Brobecker <brobecker@adacore.com>
* configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on
Android hosts.
* configure: Regenerate.
2015-10-28 Jason Merrill <jason@redhat.com>
* Makefile.in (TAGS): Fix for separate build directory.
......
......@@ -6224,6 +6224,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.
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment