jordansissel / grok

DRY and RAD for regular expressions and then some.
http://code.google.com/p/semicomplete/wiki/Grok
Other
244 stars 53 forks source link

Wrong version check for gperf Makefile (fails to build with gperf 3.1) #28

Open ercpe opened 7 years ago

ercpe commented 7 years ago

https://github.com/jordansissel/grok/blob/master/Makefile#L216:

@if $(GPERF) --version | head -1 | egrep -v '3\.[0-9]+\.[0-9]+' ; then \
    echo "We require gperf version >= 3.0.3" ; \
    exit 1; \
fi

This test fails with gperf 3.1:

We require gperf version >= 3.0.3