diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-01-04 15:41:19 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-01-04 15:41:19 +0000 |
commit | 2a792efe7f9c17b3a89a1e281cb9cbe814c91e16 (patch) | |
tree | 52babbbb68a075e8473afde80cbb3ed10f55d769 /libstdc++-v3/configure.ac | |
parent | 4bf07f3f5fb4fefa2702eced2291ee5d9cb5ad48 (diff) | |
download | gcc-2a792efe7f9c17b3a89a1e281cb9cbe814c91e16.tar.gz |
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.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index 3d6177116c2..f2f6e0a10c2 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. |