Skip to content

Commit 56e9231

Browse files
committed
PHPC-1521: Only warn when SASL enabled but not available
1 parent 93acadf commit 56e9231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ if (PHP_MONGODB != "no") {
222222
if (CHECK_FUNC_IN_HEADER("sasl/sasl.h", "sasl_client_done")) {
223223
mongoc_opts.MONGOC_HAVE_SASL_CLIENT_DONE = 1;
224224
}
225-
} else {
225+
} else if (PHP_MONGODB_SASL != "no") {
226226
WARNING("mongodb libsasl support not enabled, libs not found");
227227
}
228228

0 commit comments

Comments
 (0)