Skip to content

Cleanup & fix openssl handling in configure #5091

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

Closed
wants to merge 2 commits into from

Conversation

nikic
Copy link
Member

@nikic nikic commented Jan 17, 2020

Remove leftover references to --with-openssl-dir, which is not used, as the openssl path is now determined by pkg-config.

Also remove the check of PHP_OPENSSL inside SETUP_OPENSSL. It's the responsibility of the caller to determine whether they want to enable openssl or not. This should also make IMAP with SSL work, which uses a different option.

[AS_HELP_STRING([[--with-openssl-dir[=DIR]]],
[FTP: openssl install prefix])],
[no],
[no])
Copy link
Member Author

Choose a reason for hiding this comment

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

After thinking about this a bit more, I don't think we can drop these, because they're the only way to force enable SSL support if you only want to build the ftp ext (without the openssl ext). This should probably be something like --with-ftp-ssl similar to the imap option.

But to avoid BC break for 7.4, we should probably just keep this as-is and just change the message to not talk about prefixes.

@nikic
Copy link
Member Author

nikic commented Jan 17, 2020

Per my comment above, I'm now no longer removing --with-openssl-dir, just clarifying what it does and leaving a TODO to rename in master.

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.

1 participant