Skip to content

Autotools: Enable adding a list of paths in PHP_ADD_INCLUDE #15777

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 3 commits into from
Sep 8, 2024

Conversation

petk
Copy link
Member

@petk petk commented Sep 6, 2024

This enables adding multiple include paths. For example:

PHP_ADD_INCLUDE([
  $abs_srcdir
  $abs_builddir
  $abs_srcdir/main
  $abs_builddir/main
], [1])

@petk petk force-pushed the patch-php-add-include branch from ceaab63 to 9dc7d38 Compare September 7, 2024 04:01
@petk
Copy link
Member Author

petk commented Sep 7, 2024

Branch rebased and "path" variable renamed a bit to not possibly intervene with some other "path" variable from expand macro or that add_include if code changes.

I'll double check this again a bit and merge it afterwards. Thanks for the review...

petk added 3 commits September 8, 2024 06:47
This enables adding multiple include paths. For example:

    PHP_ADD_INCLUDE([
      $abs_srcdir
      $abs_builddir
      $abs_srcdir/main
      $abs_builddir/main
    ], [1])

[skip ci] Sync macro naming in changelog
@petk petk force-pushed the patch-php-add-include branch from 9dc7d38 to f753d1f Compare September 8, 2024 04:54
@petk petk merged commit 6d6bf05 into php:master Sep 8, 2024
1 of 2 checks passed
@petk petk deleted the patch-php-add-include branch September 8, 2024 04:57
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