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