-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix: eliminate non-posix standard variables #3437
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
fix: eliminate non-posix standard variables #3437
Conversation
fzipi
left a comment
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.
Typo
|
|
Two questions:
|
These are part of ModSecurity's API (the header files which will be installed under
I'm not sure I understand your question here, but yes, these lines are problematic. See the diff of the mentioned file. That's the point: eliminate the |



what
This PR fixes the error that
./build.shgives namely thesrc/Makefile.amcontains non-POSIX variables.why
GNU
automakedoes not supportwildcard, but the project uses that in src/Makefile.am. There is an open issue about this so we should fix that.references
#3435
https://www.gnu.org/software/automake/manual/html_node/Wildcards.html
fix
As the documentation says above GNU automake expects a programmer should list the files instead of using
wildcard, I used a hack: inbuild.shI collect all header files in previously mentioned directories, and generate a file:src/headers.mk. This file is included insrc/Makefile.am. The file is generated all cases when user runs./build.sh. The generated file is not part of the source tree - see.gitignorechanges in this PR.