aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config.h.in
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-06-18 17:01:24 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-06-18 17:01:24 +0100
commit7314856c61938db90d66f4cead8e4df73ea5d3af (patch)
tree0dc2a7bc7a7e38b18f00fadfd60b9ae269288e19 /libstdc++-v3/config.h.in
parent3be9ded290ac5232d52a8353235ff7d08ce02fae (diff)
downloadgcc-7314856c61938db90d66f4cead8e4df73ea5d3af.zip
gcc-7314856c61938db90d66f4cead8e4df73ea5d3af.tar.gz
gcc-7314856c61938db90d66f4cead8e4df73ea5d3af.tar.bz2
Fix bootstrap failure for bare metal due to autoconf link tests
The AC_CHECK_FUNCS tests cause the build to fail for bare metal cross compilers, where link tests are not allowed. Replace them with GCC_TRY_COMPILE_OR_LINK tests instead. Skip all the Filesystem dependency checks if not building the filesystem library. * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Only check when enable_libstdcxx_filesystem_ts = yes. Check for link, readlink and symlink. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Remove AC_CHECK_FUNCS for link, readlink and symlink. From-SVN: r261704
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r--libstdc++-v3/config.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in
index 3fb685c..919a1f0 100644
--- a/libstdc++-v3/config.h.in
+++ b/libstdc++-v3/config.h.in
@@ -264,7 +264,7 @@
/* Only used in build directory testsuite_hooks.h. */
#undef HAVE_LIMIT_VMEM
-/* Define to 1 if you have the `link' function. */
+/* Define if link is available in <unistd.h>. */
#undef HAVE_LINK
/* Define if futex syscall is available. */
@@ -342,7 +342,7 @@
/* Define to 1 if you have the `quick_exit' function. */
#undef HAVE_QUICK_EXIT
-/* Define to 1 if you have the `readlink' function. */
+/* Define if readlink is available in <unistd.h>. */
#undef HAVE_READLINK
/* Define to 1 if you have the `setenv' function. */
@@ -414,7 +414,7 @@
/* Define if strxfrm_l is available in <string.h>. */
#undef HAVE_STRXFRM_L
-/* Define to 1 if you have the `symlink' function. */
+/* Define if symlink is available in <unistd.h>. */
#undef HAVE_SYMLINK
/* Define to 1 if the target runtime linker supports binding the same symbol