main/utils: Simplify the FreeBSD ast_get_tid() handling

FreeBSD has had kernel threads for 20+ years.
This commit is contained in:
Brad Smith
2024-01-27 02:43:50 -05:00
parent 72523f19a9
commit 75dc596843
4 changed files with 4 additions and 24 deletions

14
configure vendored
View File

@@ -18847,20 +18847,6 @@ rm -f core conftest.err conftest.$ac_objext \
#)
#fi
# for FreeBSD thr_self
for ac_header in sys/thr.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_thr_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_SYS_THR_H 1
_ACEOF
fi
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler sync operations" >&5
$as_echo_n "checking for compiler sync operations... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext