@@ -8235,39 +8235,6 @@ else $as_nop
82358235 as_fn_error $? "Unsupported OS X version is required" "$LINENO" 5
82368236fi
82378237rm -f conftest.err conftest.i conftest.$ac_ext
8238- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if thread-local storage is supported" >&5
8239- printf %s "checking if thread-local storage is supported... " >&6; }
8240- if test ${rb_cv_tls_supported+y}
8241- then :
8242- printf %s "(cached) " >&6
8243- else $as_nop
8244- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245- /* end confdefs.h. */
8246- int __thread conftest;
8247- int
8248- main (void)
8249- {
8250-
8251- ;
8252- return 0;
8253- }
8254- _ACEOF
8255- if ac_fn_c_try_link "$LINENO"
8256- then :
8257- rb_cv_tls_supported=yes
8258- else $as_nop
8259- rb_cv_tls_supported=no
8260- fi
8261- rm -f core conftest.err conftest.$ac_objext conftest.beam \
8262- conftest$ac_exeext conftest.$ac_ext
8263- fi
8264- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rb_cv_tls_supported" >&5
8265- colorize_result "$rb_cv_tls_supported" ; }
8266- if test x"$rb_cv_tls_supported" != xyes
8267- then :
8268- printf "%s\n" "#define RB_THREAD_LOCAL_SPECIFIER_IS_UNSUPPORTED 1" >>confdefs.h
8269-
8270- fi
82718238 ;; #(
82728239 *) :
82738240 ;;
@@ -8350,6 +8317,40 @@ then :
83508317
83518318 as_fn_error $? "too old GCC: $gcc_major.$gcc_minor" "$LINENO" 5
83528319
8320+ fi
8321+
8322+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if thread-local storage is supported" >&5
8323+ printf %s "checking if thread-local storage is supported... " >&6; }
8324+ if test ${rb_cv_tls_supported+y}
8325+ then :
8326+ printf %s "(cached) " >&6
8327+ else $as_nop
8328+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8329+ /* end confdefs.h. */
8330+ int __thread conftest;
8331+ int
8332+ main (void)
8333+ {
8334+
8335+ ;
8336+ return 0;
8337+ }
8338+ _ACEOF
8339+ if ac_fn_c_try_link "$LINENO"
8340+ then :
8341+ rb_cv_tls_supported=yes
8342+ else $as_nop
8343+ rb_cv_tls_supported=no
8344+ fi
8345+ rm -f core conftest.err conftest.$ac_objext conftest.beam \
8346+ conftest$ac_exeext conftest.$ac_ext
8347+ fi
8348+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rb_cv_tls_supported" >&5
8349+ colorize_result "$rb_cv_tls_supported" ; }
8350+ if test x"$rb_cv_tls_supported" != xyes
8351+ then :
8352+ printf "%s\n" "#define RB_THREAD_LOCAL_SPECIFIER_IS_UNSUPPORTED 1" >>confdefs.h
8353+
83538354fi
83548355
83558356else $as_nop
0 commit comments