-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Zend/Zend.m4: use AX_APPEND_COMPILE_FLAGS #10642
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
Conversation
The new macro looks nice. What's the reason for removing the lines for: -Wlogical-op ? |
I didn't remove them - I rewrote them with AX_APPEND_COMPILE_FLAGS which allows multiple flags in one line, look:
|
appreciate the simplification. |
New *.m4 files need to be added also to the which becomes the https://github.com/php/php-src/blob/master/scripts/phpize.in |
762a0d0
to
4c467d6
Compare
Amended. |
And probably the same can be done for the AX_CHECK_COMPILE_FLAG call in sapi/fuzzer/config.m4? |
Yes, but I didn't do that yet because this instance then adds the result to two variables: Lines 33 to 38 in 8995f60
The call in For now, I wanted to leave it that way, to be improved later. The rest of PHP is inconsistent as well - it checks warning flags but adds it only to |
@@ -3,7 +3,10 @@ dnl Process this file with autoconf to produce a configure script. | |||
dnl Include external macro definitions before the AC_INIT to also remove | |||
dnl comments starting with # and empty newlines from the included files. | |||
dnl ---------------------------------------------------------------------------- | |||
m4_include([build/ax_require_defined.m4]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be sorted alphabetically. Autoconf includes these at the beginning anyway regardless when calling some macro.
For the FILES_BUILD="*.m4 config.guess config.sub gen_stub.php ltmain.sh Makefile.global shtool" And the |
No description provided.