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
committed by asterisk-org-access-app[bot]
parent db945243e6
commit b0992fb771
4 changed files with 4 additions and 24 deletions

View File

@@ -1172,9 +1172,6 @@ AC_LINK_IFELSE(
#)
#fi
# for FreeBSD thr_self
AC_CHECK_HEADERS([sys/thr.h])
AC_MSG_CHECKING(for compiler sync operations)
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([], [int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);])],