X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fconfigure.ac;h=9d3f2988d5d240d95a2bdc3829e8837efcc6b898;hb=f515a1d643b599ebb8a23d3d95e9f0dfc8261a11;hp=922aa86e9b03719135b2b12ee5aad1c0cbd74342;hpb=7c89917ffa6813f40fbb9f345411d59716e90714;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/configure.ac b/libiberty/configure.ac index 922aa86e9b..9d3f2988d5 100644 --- a/libiberty/configure.ac +++ b/libiberty/configure.ac @@ -155,6 +155,7 @@ AC_MSG_NOTICE([target_header_dir = $target_header_dir]) GCC_NO_EXECUTABLES AC_PROG_CC +AC_GNU_SOURCE AC_SYS_LARGEFILE AC_PROG_CPP_WERROR @@ -275,6 +276,7 @@ libiberty_AC_DECLARE_ERRNO # Determine sizes of some types. AC_CHECK_SIZEOF([int]) AC_CHECK_SIZEOF([long]) +AC_CHECK_SIZEOF([size_t]) # Check for presense of long long AC_CHECK_TYPE([long long], @@ -599,6 +601,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.