PR libstdc++/78968
* crossconfig.m4: Check for __cxa_thread_atexit on *-*-freebsd*.
* configure: Regenerate.
From-SVN: r244169
+2017-01-06 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/78968
+ * crossconfig.m4: Check for __cxa_thread_atexit on *-*-freebsd*.
+ * configure: Regenerate.
+
2017-01-06 Barrett Adair <barrettellisadair@gmail.com>
Jonathan Wakely <jwakely@redhat.com>
$as_echo "#define HAVE_ISNANL 1" >>confdefs.h
fi
+ for ac_func in __cxa_thread_atexit
+do :
+ ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
+if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE___CXA_THREAD_ATEXIT 1
+_ACEOF
+
+fi
+done
+
;;
*-hpux*)
SECTION_FLAGS='-ffunction-sections -fdata-sections'
AC_DEFINE(HAVE_ISINFL)
AC_DEFINE(HAVE_ISNANL)
fi
+ AC_CHECK_FUNCS(__cxa_thread_atexit)
;;
*-hpux*)
SECTION_FLAGS='-ffunction-sections -fdata-sections'