mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
main/utils: Simplify the FreeBSD ast_get_tid() handling
FreeBSD has had kernel threads for 20+ years.
This commit is contained in:
14
configure
vendored
14
configure
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user