Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing locally:

$ phpize
$ ./configure --with-openssl-dir=foo

Output:

...
checking whether to enable crypto and TLS... auto
checking deprecated option for OpenSSL library path... foo
configure: WARNING: Using --with-openssl-dir is deprecated and will be removed in a future version.
checking for cc options needed to detect all undeclared functions... none needed
checking for openssl >= 1.0.1... yes
...


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

Expand Down