Skip to content

Autotools: Normalize PHP_ADD_BUILD_DIR 1st argument #15612

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

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

petk
Copy link
Member

@petk petk commented Aug 28, 2024

The m4_normalize(m4_expand([$1])) expands the given argument if it contains M4 macros, and then trims the items together into a space separated string in an intuitive way.

From my tests, I think this is still "safe" to put to PHP-8.4 branch as it already works the same also without m4_normalize() in PHP-8.3 and earlier due to those double quotes used around the 1st argument variable. That's why I'm targeting it already.

Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

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

Fine by me but would like other reviews too as I'm not that familiar with autotools

The m4_normalize(m4_expand([$1])) expands the given argument if it
contains M4 macros, and then trims the items together into a space
separated string in an intuitive way.
@petk petk force-pushed the patch-normalize-PHP_ADD_BUILD_DIR branch from cc637cd to 2abfe6c Compare August 28, 2024 21:55
@petk petk merged commit fbacc0f into php:master Aug 28, 2024
9 of 10 checks passed
@petk petk deleted the patch-normalize-PHP_ADD_BUILD_DIR branch August 28, 2024 22:44
@petk
Copy link
Member Author

petk commented Aug 28, 2024

Has been rechecked again and all seems to be ok here. Thanks.

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.

3 participants