Skip to content

Commit 23364a1

Browse files
authored
PHPC-2386: Fix build config output without libmongocrypt (#1557)
1 parent 0ced119 commit 23364a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ if test "$PHP_MONGODB" != "no"; then
352352

353353
PHP_MONGODB_BSON_VERSION_STRING="Bundled ($libbson_VERSION_FULL)"
354354
PHP_MONGODB_MONGOC_VERSION_STRING="Bundled ($libmongoc_VERSION_FULL)"
355-
PHP_MONGODB_MONGOCRYPT_VERSION_STRING="Bundled ($MONGOCRYPT_BUILD_VERSION)"
356355

357356
AC_SUBST(BSON_EXTRA_ALIGN, 0)
358357
AC_SUBST(BSON_OS, 1)
@@ -445,6 +444,8 @@ if test "$PHP_MONGODB" != "no"; then
445444
if test "$PHP_MONGODB_CLIENT_SIDE_ENCRYPTION" = "yes"; then
446445
PHP_MONGODB_LIBMONGOCRYPT_CFLAGS="$PHP_MONGODB_BUNDLED_CFLAGS $PHP_MONGODB_LIBMONGOCRYPT_CFLAGS -DKMS_MSG_STATIC -DMLIB_USER"
447446

447+
PHP_MONGODB_MONGOCRYPT_VERSION_STRING="Bundled ($MONGOCRYPT_BUILD_VERSION)"
448+
448449
dnl Since libmongocrypt adds kms-message, we can enable AWS auth in this case
449450
AC_SUBST(MONGOC_ENABLE_MONGODB_AWS_AUTH, 1)
450451
AC_SUBST(MONGOCRYPT_ENABLE_TRACE, 1)

0 commit comments

Comments
 (0)