Index: configure
--- configure.orig
+++ configure
@@ -20933,7 +20933,7 @@ printf %s "checking for thread-local storage... " >&6;
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-static __thread int x ;
+__thread int x ;
 int main () { x = 123; return x; }
 
 _ACEOF
