PR78968 add configure check for __cxa_thread_atexit in libc
authorJonathan Wakely <jwakely@redhat.com>
Wed, 4 Jan 2017 15:41:19 +0000 (15:41 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 4 Jan 2017 15:41:19 +0000 (15:41 +0000)
commit2a792efe7f9c17b3a89a1e281cb9cbe814c91e16
tree52babbbb68a075e8473afde80cbb3ed10f55d769
parent4bf07f3f5fb4fefa2702eced2291ee5d9cb5ad48
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
libstdc++-v3/ChangeLog
libstdc++-v3/config.h.in
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/libsupc++/atexit_thread.cc