Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Oct 12, 2024

buildconf (and phpize) have special treatment for these "macros". When configure.js is built, all config.w32 are grepped, these "macros" are appended to configure.js, and all config.w32 contents are appended with the "macros" commented out. That means that for configure they are in the toplevel anyway, so having them inside of if statements in config.w32 is confusing.

Note that this matches autoconf behavior.

`buildconf` (and `phpize`) have special treatment for these "macros".
When configure.js is built, all config.w32 are grepped, these "macros"
are appended to configure.js, and all config.w32 contents are appended
with the "macros" commented out.  That means that for `configure` they
are in the toplevel anyway, so having them inside of `if` statements in
config.w32 is confusing.

Note that this matches autoconf behavior.
@cmb69 cmb69 merged commit fe76b39 into php:master Oct 14, 2024
10 checks passed
@cmb69 cmb69 deleted the cmb/arg-with-enable-toplevel branch October 14, 2024 08: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