@@ -243,26 +243,26 @@ if test "$PHP_MONGODB" != "no"; then
243243 PHP_MONGODB_MONGOCRYPT_VERSION_STRING="None"
244244
245245 if test "$PHP_MONGODB_SYSTEM_LIBS" != "no"; then
246- PKG_CHECK_MODULES([ PHP_MONGODB_BSON] , [ bson2 >= 2.2.2 ] , [
246+ PKG_CHECK_MODULES([ PHP_MONGODB_BSON] , [ bson2 >= 2.3.0 ] , [
247247 PHP_MONGODB_BSON_VERSION=`$PKG_CONFIG bson2 --modversion`
248248 PHP_MONGODB_BSON_VERSION_STRING="System ($PHP_MONGODB_BSON_VERSION)"
249249
250250 PHP_MONGODB_CFLAGS="$PHP_MONGODB_CFLAGS $PHP_MONGODB_BSON_CFLAGS"
251251 PHP_EVAL_LIBLINE($PHP_MONGODB_BSON_LIBS, MONGODB_SHARED_LIBADD)
252252 AC_DEFINE ( HAVE_SYSTEM_LIBBSON , 1 , [ Use system libbson] )
253253 ] ,[
254- AC_MSG_ERROR ( [ Could not find system library for libbson >= 2.2.2 ] )
254+ AC_MSG_ERROR ( [ Could not find system library for libbson >= 2.3.0 ] )
255255 ] )
256256
257- PKG_CHECK_MODULES([ PHP_MONGODB_MONGOC] , [ mongoc2 >= 2.2.2 ] , [
257+ PKG_CHECK_MODULES([ PHP_MONGODB_MONGOC] , [ mongoc2 >= 2.3.0 ] , [
258258 PHP_MONGODB_MONGOC_VERSION=`$PKG_CONFIG mongoc2 --modversion`
259259 PHP_MONGODB_MONGOC_VERSION_STRING="System ($PHP_MONGODB_MONGOC_VERSION)"
260260
261261 PHP_MONGODB_CFLAGS="$PHP_MONGODB_CFLAGS $PHP_MONGODB_MONGOC_CFLAGS"
262262 PHP_EVAL_LIBLINE($PHP_MONGODB_MONGOC_LIBS, MONGODB_SHARED_LIBADD)
263263 AC_DEFINE ( HAVE_SYSTEM_LIBMONGOC , 1 , [ Use system libmongoc] )
264264 ] ,[
265- AC_MSG_ERROR ( Could not find system library for libmongoc >= 2.2.2 )
265+ AC_MSG_ERROR ( Could not find system library for libmongoc >= 2.3.0 )
266266 ] )
267267
268268 if test "$PHP_MONGODB_CLIENT_SIDE_ENCRYPTION" != "no"; then
0 commit comments