diff options
author | Kai Tietz <ktietz@redhat.com> | 2015-02-27 13:05:02 +0100 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2015-02-27 13:05:02 +0100 |
commit | a2a5609b4bac11a8dec713f42cd39193d4336a74 (patch) | |
tree | bbff44813b8a61d8a24eda75f0bb3a6842287372 /libgcc/configure.ac | |
parent | d1783ae53cfc5cea69de151a4df63dead33a0386 (diff) | |
download | gcc-a2a5609b4bac11a8dec713f42cd39193d4336a74.zip gcc-a2a5609b4bac11a8dec713f42cd39193d4336a74.tar.gz gcc-a2a5609b4bac11a8dec713f42cd39193d4336a74.tar.bz2 |
re PR libgcc/65038 ([regression 5] Unable to find ftw.h for libgcov-util.c)
PR target/65038
* config.in: Regenerated.
* configure: Likewise.
* configure.ac (AC_HEADER_STDC): Add explicit.
(AC_CHECK_HEADERS): Check for default headers
plus for ftw.h one.
* libgcov-util.c (gcov_read_profile_dir): Disable use
of ftw-function, if header not found.
(ftw_read_file): Don't translate if ftw header isn't
present.
From-SVN: r221055
Diffstat (limited to 'libgcc/configure.ac')
-rw-r--r-- | libgcc/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgcc/configure.ac b/libgcc/configure.ac index 23d5f35..cb98ec8 100644 --- a/libgcc/configure.ac +++ b/libgcc/configure.ac @@ -47,6 +47,12 @@ AC_SUBST(libgcc_topdir) AC_CONFIG_AUX_DIR($libgcc_topdir) AC_CONFIG_HEADER(auto-target.h:config.in) +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 + AC_ARG_ENABLE(shared, [ --disable-shared don't provide a shared libgcc], [ |