Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Sep 23, 2024

@@ -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
...

@jmikola jmikola merged commit 7da337f into mongodb:v1.20 Sep 23, 2024
82 checks passed
@jmikola jmikola deleted the 1.20-phpc-2452 branch September 23, 2024 15:18
This was referenced Sep 23, 2024
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