@@ -225,22 +225,6 @@ if test "$PHP_MONGODB" != "no"; then
225
225
[ no] )
226
226
PHP_MONGODB_VALIDATE_ARG([ PHP_MONGODB_SYSTEM_LIBS] , [ yes no] )
227
227
228
- PHP_ARG_WITH([ libbson] ,
229
- [ whether to use system libbson] ,
230
- [ AS_HELP_STRING ( [ --with-libbson=@<:@ yes/no@:>@ ] ,
231
- [ MongoDB: Use system libbson (deprecated for --with-mongodb-system-libs) [ default=no] ] ) ] ,
232
- [ no] ,
233
- [ no] )
234
- PHP_MONGODB_VALIDATE_ARG([ PHP_LIBBSON] , [ yes no] )
235
-
236
- PHP_ARG_WITH([ libmongoc] ,
237
- [ whether to use system libmongoc] ,
238
- [ AS_HELP_STRING ( [ --with-libmongoc=@<:@ yes/no@:>@ ] ,
239
- [ MongoDB: Use system libmongoc (deprecated for --with-mongodb-system-libs) [ default=no] ] ) ] ,
240
- [ no] ,
241
- [ no] )
242
- PHP_MONGODB_VALIDATE_ARG([ PHP_LIBMONGOC] , [ yes no] )
243
-
244
228
PHP_ARG_WITH([ mongodb-client-side-encryption] ,
245
229
[ whether to enable client-side encryption] ,
246
230
[ AS_HELP_STRING ( [ --with-mongodb-client-side-encryption=@<:@ auto/yes/no@:>@ ] ,
@@ -249,26 +233,6 @@ if test "$PHP_MONGODB" != "no"; then
249
233
[ no] )
250
234
PHP_MONGODB_VALIDATE_ARG([ PHP_MONGODB_CLIENT_SIDE_ENCRYPTION] , [ auto yes no] )
251
235
252
- if test "$PHP_LIBBSON" != "no"; then
253
- AC_MSG_WARN ( Using -- with-libbson is deprecated and will be removed in a future version. Please use -- with-system-libs instead )
254
-
255
- if test "$PHP_LIBMONGOC" = "no"; then
256
- AC_MSG_ERROR ( Cannot use system libbson and bundled libmongoc )
257
- fi
258
-
259
- PHP_MONGODB_SYSTEM_LIBS="yes"
260
- fi
261
-
262
- if test "$PHP_LIBMONGOC" != "no"; then
263
- AC_MSG_WARN ( Using -- with-libmongoc is deprecated and will be removed in a future version. Please use -- with-system-libs instead )
264
-
265
- if test "$PHP_LIBBSON" = "no"; then
266
- AC_MSG_ERROR ( Cannot use system libmongoc and bundled libbson )
267
- fi
268
-
269
- PHP_MONGODB_SYSTEM_LIBS="yes"
270
- fi
271
-
272
236
PHP_MONGODB_BSON_VERSION_STRING="None"
273
237
PHP_MONGODB_MONGOC_VERSION_STRING="None"
274
238
PHP_MONGODB_MONGOCRYPT_VERSION_STRING="None"
0 commit comments