Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -348,13 +348,13 @@ PHP_ARG_WITH(libbson, whether to use system libbson,
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
AC_MSG_CHECKING(for libbson)
if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libbson-1.0; then
if $PKG_CONFIG libbson-1.0 --atleast-version 1.3.3; then
if $PKG_CONFIG libbson-1.0 --atleast-version 1.5.0; then
LIBBSON_INC=`$PKG_CONFIG libbson-1.0 --cflags`
LIBBSON_LIB=`$PKG_CONFIG libbson-1.0 --libs`
LIBBSON_VER=`$PKG_CONFIG libbson-1.0 --modversion`
AC_MSG_RESULT(version $LIBBSON_VER found)
else
AC_MSG_ERROR(system libbson must be upgraded to version >= 1.3.3)
AC_MSG_ERROR(system libbson must be upgraded to version >= 1.5.0)
fi
else
AC_MSG_ERROR(pkgconfig and libbson must be installed)
Expand Down Expand Up @@ -387,7 +387,7 @@ PHP_ARG_WITH(libmongoc, whether to use system libmongoc,
AC_MSG_RESULT(version $LIBMONGOC_VER found)

else
AC_MSG_ERROR(system libmongoc must be upgraded to version >= 1.3.3)
AC_MSG_ERROR(system libmongoc must be upgraded to version >= 1.5.0)
fi
else
AC_MSG_ERROR(pkgconfig and mongoc must be installed)
Expand Down