diff options
author | Kai Tietz <ktietz@redhat.com> | 2015-02-27 13:19:38 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@redhat.com> | 2015-02-27 13:19:38 +0000 |
commit | 5f1b3fef61727899422783d85f11ad0ad18b57e5 (patch) | |
tree | 0a95b69849b1ff2ca29b0fdccf3838f2234017c0 /libgcc/configure.ac | |
parent | d9a7dd09cbdb6315610ae3b2e9557fb31208070b (diff) |
PR target/65038
* config.in: Regenerated.
* configure: Likewise.
* configure.ac (AC_HEADER_STDC): Added explicit.
(AC_CHECK_HEADERS): Check for default headers plus
for ftw.h header.
* libgcov-util.c (gcov_read_profile_dir): Disable use
of ftw-function, if header is not found.
(ftw_read_file): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@221059 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/configure.ac')
-rw-r--r-- | libgcc/configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgcc/configure.ac b/libgcc/configure.ac index 23d5f35af57..5edcbde69dd 100644 --- a/libgcc/configure.ac +++ b/libgcc/configure.ac @@ -197,6 +197,11 @@ AS_VAR_ARITH([long_double_type_size], [$ac_cv_sizeof_long_double \* 8]) AC_SUBST(double_type_size) AC_SUBST(long_double_type_size) +AC_CHECK_HEADERS(inttypes.h stdint.h stdlib.h ftw.h \ + unistd.h sys/stat.h sys/types.h \ + string.h strings.h memory.h) +AC_HEADER_STDC + # Check for decimal float support. AC_CACHE_CHECK([whether decimal floating point is supported], [libgcc_cv_dfp], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |