Skip to content

Commit 8a8dd0e

Browse files
committed
Remove conditional dependencies in config.w32
1 parent 5a6710e commit 8a8dd0e

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

config.w32

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,8 @@ ARG_WITH("mongodb-sasl", "MongoDB: Build against Cyrus-SASL", "yes");
7474
ARG_WITH("mongodb-client-side-encryption", "MongoDB: Enable client-side encryption", "yes");
7575

7676
if (PHP_MONGODB != "no") {
77-
/* Note: ADD_EXTENSION_DEP() only reports the date and standard extensions as
78-
* installed in PHP 7.4.13+ and 8.0.0+). On other versions, assume that
79-
* they're always enabled. */
80-
if (
81-
PHP_VERSION >= 8 ||
82-
(PHP_VERSION == 7 && PHP_MINOR_VERSION == 4 && PHP_RELEASE_VERSION >= 13)
83-
) {
84-
ADD_EXTENSION_DEP("mongodb", "date", false);
85-
ADD_EXTENSION_DEP("mongodb", "standard", false);
86-
}
87-
77+
ADD_EXTENSION_DEP("mongodb", "date", false);
78+
ADD_EXTENSION_DEP("mongodb", "standard", false);
8879
ADD_EXTENSION_DEP("mongodb", "json", false);
8980
ADD_EXTENSION_DEP("mongodb", "spl", false);
9081

0 commit comments

Comments
 (0)