Enhance APCu include detection for in-tree builds#93
Conversation
see kjdev/php-ext-zstd#100 in in-tree compilation it previously always silently falls back to "not found", now it works
📝 WalkthroughWalkthroughThe build configuration now searches for ChangesAPCu detection fallback
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@config.m4`:
- Around line 141-143: The APCu header fallback currently mutates the shared
phpincludedir configure variable, which can affect later header checks in the
same configure run. Update the config.m4 logic around the APCu header test to
use an APCu-specific temporary variable for the fallback path instead of
rewriting phpincludedir, and keep the original phpincludedir value unchanged for
the rest of the configure process.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
see kjdev/php-ext-zstd#100
in in-tree compilation it previously always silently falls back to "not found", now it works
Summary by CodeRabbit