summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure12
1 files changed, 9 insertions, 3 deletions
diff --git a/unix/configure b/unix/configure
index 03ca289..4936082 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4901,6 +4901,12 @@ then :
printf "%s\n" "#define HAVE_PTHREAD_ATFORK 1" >>confdefs.h
fi
+ac_fn_c_check_func "$LINENO" "pthread_spin_lock" "ac_cv_func_pthread_spin_lock"
+if test "x$ac_cv_func_pthread_spin_lock" = xyes
+then :
+ printf "%s\n" "#define HAVE_PTHREAD_SPIN_LOCK 1" >>confdefs.h
+
+fi
LIBS=$ac_saved_libs
@@ -7437,11 +7443,11 @@ printf "%s\n" "$tcl_cv_cc_input_charset" >&6; }
CFLAGS="$CFLAGS -finput-charset=UTF-8"
fi
- ac_fn_c_check_header_compile "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdbool_h" = xyes
+ ac_fn_c_check_header_compile "$LINENO" "stdatomic.h" "ac_cv_header_stdatomic_h" "$ac_includes_default"
+if test "x$ac_cv_header_stdatomic_h" = xyes
then :
-printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
+printf "%s\n" "#define HAVE_STDATOMIC_H 1" >>confdefs.h
fi