Skip to content

Commit

Permalink
PHPC-2452: Warn if --with-openssl-dir is used
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Sep 23, 2024
1 parent e9c6e0d commit 80faf11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/autotools/libmongoc/CheckSSL.m4
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ PHP_ARG_WITH([openssl-dir],
[auto],
[no])

if test "$PHP_OPENSSL_DIR" != "auto"; then
AC_MSG_WARN([Using --with-openssl-dir is deprecated and will be removed in a future version.])
fi

AS_IF([test "$PHP_MONGODB_SSL" = "openssl" -o "$PHP_MONGODB_SSL" = "auto"],[
found_openssl="no"
Expand Down

0 comments on commit 80faf11

Please sign in to comment.