aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.ac
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-01-04 15:41:19 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2017-01-04 15:41:19 +0000
commit2a792efe7f9c17b3a89a1e281cb9cbe814c91e16 (patch)
tree52babbbb68a075e8473afde80cbb3ed10f55d769 /libstdc++-v3/configure.ac
parent4bf07f3f5fb4fefa2702eced2291ee5d9cb5ad48 (diff)
downloadgcc-2a792efe7f9c17b3a89a1e281cb9cbe814c91e16.zip
gcc-2a792efe7f9c17b3a89a1e281cb9cbe814c91e16.tar.gz
gcc-2a792efe7f9c17b3a89a1e281cb9cbe814c91e16.tar.bz2
PR78968 add configure check for __cxa_thread_atexit in libc
PR libstdc++/78968 * config.h.in: Regenerate. * configure: Likewise. * configure.ac: Check for __cxa_thread_atexit. * libsupc++/atexit_thread.cc [_GLIBCXX_HAVE___CXA_THREAD_ATEXIT]: Don't define __cxa_thread_atexit if libc provides it. From-SVN: r244057
Diffstat (limited to 'libstdc++-v3/configure.ac')
-rw-r--r--libstdc++-v3/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
index 3d61771..f2f6e0a 100644
--- a/libstdc++-v3/configure.ac
+++ b/libstdc++-v3/configure.ac
@@ -255,7 +255,7 @@ if $GLIBCXX_IS_NATIVE; then
# For TLS support.
GCC_CHECK_TLS
- AC_CHECK_FUNCS(__cxa_thread_atexit_impl)
+ AC_CHECK_FUNCS(__cxa_thread_atexit_impl __cxa_thread_atexit)
AC_CHECK_FUNCS(aligned_alloc posix_memalign memalign _aligned_malloc)
# For iconv support.