gperf under FreeBSD does not know the -m option.
We could use AC_PATH_PROGS_FEATURE_CHECK (added in Autoconf 2.62) to check for this option.
This commit is contained in:
parent
fd0df7ec75
commit
0ead254919
|
@ -97,7 +97,7 @@ $(srcdir)/asn1/oid.h : $(srcdir)/asn1/oid.pl $(srcdir)/asn1/oid.txt
|
||||||
|
|
||||||
$(srcdir)/crypto/proposal/proposal_keywords.c: $(srcdir)/crypto/proposal/proposal_keywords.txt \
|
$(srcdir)/crypto/proposal/proposal_keywords.c: $(srcdir)/crypto/proposal/proposal_keywords.txt \
|
||||||
$(srcdir)/crypto/proposal/proposal_keywords.h
|
$(srcdir)/crypto/proposal/proposal_keywords.h
|
||||||
$(GPERF) -N proposal_get_token -m 10 -C -G -c -t -D < \
|
$(GPERF) -N proposal_get_token -C -G -c -t -D < \
|
||||||
$(srcdir)/crypto/proposal/proposal_keywords.txt > $@
|
$(srcdir)/crypto/proposal/proposal_keywords.txt > $@
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ y.tab.h: $(srcdir)/parser.y $(srcdir)/parser.l $(srcdir)/parser.h
|
||||||
$(YACC) -v -d $(srcdir)/parser.y
|
$(YACC) -v -d $(srcdir)/parser.y
|
||||||
|
|
||||||
keywords.c: $(srcdir)/keywords.txt $(srcdir)/keywords.h
|
keywords.c: $(srcdir)/keywords.txt $(srcdir)/keywords.h
|
||||||
$(GPERF) -m 10 -C -G -D -t < $(srcdir)/keywords.txt > $@
|
$(GPERF) -C -G -D -t < $(srcdir)/keywords.txt > $@
|
||||||
|
|
||||||
defs.o: $(PLUTODIR)/defs.c $(PLUTODIR)/defs.h
|
defs.o: $(PLUTODIR)/defs.c $(PLUTODIR)/defs.h
|
||||||
$(COMPILE) -c -o $@ $(PLUTODIR)/defs.c
|
$(COMPILE) -c -o $@ $(PLUTODIR)/defs.c
|
||||||
|
|
|
@ -8,4 +8,4 @@ MAINTAINERCLEANFILES = stroke_keywords.c
|
||||||
AM_CFLAGS = -DIPSEC_PIDDIR=\"${piddir}\"
|
AM_CFLAGS = -DIPSEC_PIDDIR=\"${piddir}\"
|
||||||
|
|
||||||
stroke_keywords.c: $(srcdir)/stroke_keywords.txt $(srcdir)/stroke_keywords.h
|
stroke_keywords.c: $(srcdir)/stroke_keywords.txt $(srcdir)/stroke_keywords.h
|
||||||
$(GPERF) -m 10 -D -C -G -t < $(srcdir)/stroke_keywords.txt > $@
|
$(GPERF) -D -C -G -t < $(srcdir)/stroke_keywords.txt > $@
|
||||||
|
|
Loading…
Reference in New Issue