You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR uses precious variables for GREP, EGREP, SED, AWK, LEX and YACC. The PR eases building NSD on platforms like Solaris. The PR will make no difference on platforms like Linux.
The precious variables means configure will allow the user to override them in the environment, or find the best replacement using AC_PROG_SED, AC_PROG_AWK, AC_PROG_GREP and friends. The variables are then used in the Makefile.in.
Sun managed to provide some tools that are more anemic then Posix. Avoiding the anemic tools (like egrep) and using the more featured tools (like ggrep -E) resolves most build errors on Solaris.
- Merge PR #86 from noloader: Use precious variables for GREP, EGREP,
SED, AWK, LEX and YACC.
- For PR #86: Fix that programs loaded after CFLAGS and stuff is
set, specifically the compiler, so that it can work if it needs
special flags from that. Fix that lex only needs to support -i
if actually defined, otherwise the output included in the source
tarball can be used.
Thanks for the PR! This is nice to have these tests, I wanted to change two things. The C compiler want to test that later so that environment can continue to get set up, in case it needs special variables, CFLAGS. So I moved those lines down a bit. For the -i test, only if LEX is there, otherwise if it is "" or ":" we can use the flex and bison output included in source tarballs that we distribute for NSD.
Regardless, good to have so merged and included with these fixes.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR uses precious variables for GREP, EGREP, SED, AWK, LEX and YACC. The PR eases building NSD on platforms like Solaris. The PR will make no difference on platforms like Linux.
The precious variables means
configure
will allow the user to override them in the environment, or find the best replacement usingAC_PROG_SED
,AC_PROG_AWK
,AC_PROG_GREP
and friends. The variables are then used in theMakefile.in
.Sun managed to provide some tools that are more anemic then Posix. Avoiding the anemic tools (like
egrep
) and using the more featured tools (likeggrep -E
) resolves most build errors on Solaris.Also see Issue 85, configure.ac and Makefile.in hard codes tools.