Skip to content

Commit

Permalink
Use simple patterns as the default grep in solaris is dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Jun 9, 2014
1 parent 8644d25 commit c77bb1d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/include/all.mk
Expand Up @@ -62,11 +62,14 @@ src/freeradius-devel/features.h: src/include/features.h src/freeradius-devel
# preprocessor macros from autoconf.h
# This means we don't need to include autoconf.h in installed headers.
#
# We use simple patterns here to work with the lowest common
# denominator's grep (Solaris).
#
src/include/features.h: src/include/features-h src/include/autoconf.h
@$(ECHO) HEADER $@
@cp $< $@
@grep "^#define[[:blank:]]\{1,\}WITH_" src/include/autoconf.h >> $@
@grep "^#define[[:blank:]]\{1,\}RADIUSD_VERSION" src/include/autoconf.h >> $@
@grep "^#define[ ]*WITH_" src/include/autoconf.h >> $@
@grep "^#define[ ]*RADIUSD_VERSION" src/include/autoconf.h >> $@

src/freeradius-devel/missing.h: src/include/missing.h src/freeradius-devel

Expand Down

0 comments on commit c77bb1d

Please sign in to comment.