diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-12 18:03:30 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-12 18:03:30 +0000 |
commit | 3b607af979b6df5088d5192211e92098f9f9e91e (patch) | |
tree | cf908a903688f23ee260758a8fbba306d77da5cd | |
parent | 960b9e2c03cc226e300aadf71ce1b1e6a3a3d7bb (diff) | |
download | gcc-3b607af979b6df5088d5192211e92098f9f9e91e.tar.gz |
Add missing header in Filesystem TS configure tests
Backport from mainline
2016-10-26 Uros Bizjak <ubizjak@gmail.com>
* acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Include <limits.h>
for PATH_MAX in realpath test.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@243577 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 7 | ||||
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 1 | ||||
-rwxr-xr-x | libstdc++-v3/configure | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c81ee4dd312..43c9b119f00 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,6 +1,13 @@ 2016-12-12 Jonathan Wakely <jwakely@redhat.com> Backport from mainline + 2016-10-26 Uros Bizjak <ubizjak@gmail.com> + + * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Include <limits.h> + for PATH_MAX in realpath test. + * configure: Regenerate. + + Backport from mainline 2016-05-25 Jonathan Wakely <jwakely@redhat.com> * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Fix test for sendfile. diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 4b951d86c49..ce44a6af452 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -4343,6 +4343,7 @@ dnl AC_CACHE_VAL(glibcxx_cv_realpath, [dnl GCC_TRY_COMPILE_OR_LINK( [ + #include <limits.h> #include <stdlib.h> #include <unistd.h> ], diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 4b06793e1c4..19173eb74f3 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -80096,6 +80096,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include <limits.h> #include <stdlib.h> #include <unistd.h> @@ -80128,6 +80129,7 @@ fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include <limits.h> #include <stdlib.h> #include <unistd.h> |