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
This commit is contained in:
Joel Brobecker 2015-11-06 21:37:49 +00:00 committed by Joel Brobecker
parent d9f4ea18ac
commit 41fdbd5440
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.

6
libiberty/configure vendored
View File

@ -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.

View 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.