Make various error-related globals thread-local
[binutils-gdb.git] / bfd / configure.ac
index d1e7e3a4bf3da8ff072892a47110b33b05360a35..42678065e57fe49dc09fc186834dad8239f7ded6 100644 (file)
@@ -233,6 +233,8 @@ AC_CHECK_DECLS([___lc_codepage_func], [], [], [[#include <locale.h>]])
 
 BFD_BINARY_FOPEN
 
+AX_TLS
+
 # Link in zlib/zstd if we can.  This allows us to read compressed debug sections.
 # This is used only by compress.c.
 AM_ZLIB