File tree Expand file tree Collapse file tree 2 files changed +0
-24
lines changed
scripts/autotools/libbson Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,6 @@ if (PHP_MONGODB != "no") {
130
130
BSON_OS : 2 ,
131
131
BSON_HAVE_STDBOOL_H : 0 ,
132
132
BSON_HAVE_STRINGS_H : 0 ,
133
- BSON_PTHREAD_ONCE_INIT_NEEDS_BRACES : 0 ,
134
133
BSON_HAVE_CLOCK_GETTIME : 0 ,
135
134
BSON_HAVE_STRNLEN : 0 ,
136
135
BSON_HAVE_SNPRINTF : 0 ,
Original file line number Diff line number Diff line change @@ -96,26 +96,3 @@ AX_PTHREAD([
96
96
] ,[
97
97
AC_MSG_ERROR ( [ libbson requires pthreads on non-Windows platforms.] )
98
98
] )
99
-
100
-
101
- # The following is borrowed from the guile configure script.
102
- #
103
- # On past versions of Solaris, believe 8 through 10 at least, you
104
- # had to write "pthread_once_t foo = { PTHREAD_ONCE_INIT };".
105
- # This is contrary to POSIX:
106
- # http://www.opengroup.org/onlinepubs/000095399/functions/pthread_once.html
107
- # Check here if this style is required.
108
- #
109
- # glibc (2.3.6 at least) works both with or without braces, so the
110
- # test checks whether it works without.
111
- #
112
- AC_SUBST ( BSON_PTHREAD_ONCE_INIT_NEEDS_BRACES , 0 )
113
- AC_CACHE_CHECK ( [ whether PTHREAD_ONCE_INIT needs braces] ,
114
- bson_cv_need_braces_on_pthread_once_init ,
115
- [ AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [ #include <pthread.h>
116
- pthread_once_t foo = PTHREAD_ONCE_INIT;] ] ) ] ,
117
- [ bson_cv_need_braces_on_pthread_once_init=no] ,
118
- [ bson_cv_need_braces_on_pthread_once_init=yes] ) ] )
119
- if test "$bson_cv_need_braces_on_pthread_once_init" = yes; then
120
- AC_SUBST ( BSON_PTHREAD_ONCE_INIT_NEEDS_BRACES , 1 )
121
- fi
You can’t perform that action at this time.
0 commit comments