aboutsummaryrefslogtreecommitdiff
path: root/libgcc/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/configure.ac')
-rw-r--r--libgcc/configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgcc/configure.ac b/libgcc/configure.ac
index e735019..ce467dd 100644
--- a/libgcc/configure.ac
+++ b/libgcc/configure.ac
@@ -238,6 +238,14 @@ if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
fi
AC_SUBST(set_have_cc_tls)
+# See if we have emulated thread-local storage.
+GCC_CHECK_EMUTLS
+set_use_emutls=
+if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
+ set_use_emutls="-DUSE_EMUTLS"
+fi
+AC_SUBST(set_use_emutls)
+
# Conditionalize the makefile for this target machine.
tmake_file_=
for f in ${tmake_file}