@@ -13,32 +13,6 @@ if test "$bson_cv_have_strnlen" = yes; then
13
13
AC_SUBST ( BSON_HAVE_STRNLEN , 1 )
14
14
fi
15
15
16
- # Check for syscall()
17
- AC_SUBST ( BSON_HAVE_SYSCALL_TID , 0 )
18
- AC_CACHE_CHECK ( [ for syscall] ,
19
- bson_cv_have_syscall_tid ,
20
- [ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
21
- #include <unistd.h>
22
- #include <sys/syscall.h>
23
- int syscall () { return 0; }
24
- ] ] ) ] ,
25
- [ bson_cv_have_syscall_tid=no] ,
26
- [ bson_cv_have_syscall_tid=yes] ) ] )
27
- if test "$bson_cv_have_syscall_tid" = yes -a "$os_darwin" != "yes"; then
28
- AC_CACHE_CHECK ( [ for SYS_gettid] ,
29
- bson_cv_have_sys_gettid_tid ,
30
- [ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
31
- #include <unistd.h>
32
- #include <sys/syscall.h>
33
- int gettid () { return SYS_gettid; }
34
- ] ] ) ] ,
35
- [ bson_cv_have_sys_gettid_tid=yes] ,
36
- [ bson_cv_have_sys_gettid_tid=no] ) ] )
37
- if test "$bson_cv_have_sys_gettid_tid" = yes; then
38
- AC_SUBST ( BSON_HAVE_SYSCALL_TID , 1 )
39
- fi
40
- fi
41
-
42
16
# Check for snprintf()
43
17
AC_SUBST ( BSON_HAVE_SNPRINTF , 0 )
44
18
AC_CHECK_FUNC ( snprintf , [ AC_SUBST ( BSON_HAVE_SNPRINTF , 1 ) ] )
0 commit comments