Skip to content

Remove PHP_DEFINE m4 macro #4360

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
Closed

Conversation

petk
Copy link
Member

@petk petk commented Jul 3, 2019

This step was introduced with 350de12 and then changed later on so now it doesn't work anymore properly.

@nikic
Copy link
Member

nikic commented Jul 8, 2019

I just looked at what's going on with PHP_DEFINE and ... wat. Could you please look into migrating iconv to AC_DEFINE and drop this macro entirely? I get the idea behind it, but with everything else using AC_DEFINE and us including php_config.h (transitively) everywhere, this really doesn't make sense.

@petk petk force-pushed the patch-configure-dead-code branch from 55d47bd to b2f8722 Compare July 9, 2019 22:55
@petk petk changed the title Remove non working cleanup Remove PHP_DEFINE m4 macro Jul 9, 2019
@petk petk force-pushed the patch-configure-dead-code branch from 7e2eee9 to 7fb3387 Compare July 18, 2019 18:50
petk added 2 commits July 22, 2019 02:06
PHP_DEFINE was introduced with the PHP 5 build system
9d9d39a and then refactored via
350de12. This simplifies includes.

Also changed:
- removed PHP_ATOM_INC define via DEFS variable
- generated unused include directory removed
- Remove include dir from DEFS
- Remove also include dir from PDO checks
@petk petk force-pushed the patch-configure-dead-code branch from 7fb3387 to d0d083c Compare July 22, 2019 00:10
@petk petk changed the base branch from PHP-7.4 to master September 8, 2019 20:37
@petk petk closed this Sep 8, 2019
@petk petk deleted the patch-configure-dead-code branch September 8, 2019 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants