Skip to content

PHPC-2452: Warn if --with-openssl-dir is used#1677

Merged
jmikola merged 1 commit intomongodb:v1.20from
jmikola:1.20-phpc-2452
Sep 23, 2024
Merged

PHPC-2452: Warn if --with-openssl-dir is used#1677
jmikola merged 1 commit intomongodb:v1.20from
jmikola:1.20-phpc-2452

Conversation

@jmikola
Copy link
Copy Markdown
Contributor

@jmikola jmikola commented Sep 23, 2024

@jmikola jmikola requested a review from alcaeus September 23, 2024 13:44

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
Copy Markdown
Contributor 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
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants