From: Vincent Bernat Date: Wed, 8 May 2013 08:27:18 +0000 (+0200) Subject: configure: use `AC_PROG_EGREP` to find a suitable `grep -E` X-Git-Tag: 0.7.3~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ba4a1832e439608b531c6694518f78813a835a3;p=thirdparty%2Flldpd.git configure: use `AC_PROG_EGREP` to find a suitable `grep -E` On some systems, this is `ggrep -E`. --- diff --git a/Makefile.am b/Makefile.am index abc3c742..23c55f37 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,7 +14,7 @@ __force-changelog-generation: ChangeLog: __force-changelog-generation $(AM_V_GEN)if test -d $(top_srcdir)/.git; then \ prev=$$(git describe --tags --always --match '[0-9]*' 2> /dev/null) ; \ - for tag in $$(git tag | grep -E '^[0-9]+(\.[0-9]+){1,}$$' | sort -rn); do \ + for tag in $$(git tag | $(EGREP) '^[0-9]+(\.[0-9]+){1,}$$' | sort -rn); do \ if [ x"$$prev" = x ]; then prev=$$tag ; fi ; \ if [ x"$$prev" = x"$$tag" ]; then continue; fi ; \ echo "$$prev [$$(git log $$prev -1 --pretty=format:'%ai')]:" ; \ diff --git a/configure.ac b/configure.ac index 708c2ed3..570031bc 100644 --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,7 @@ AC_PROG_CXX AM_PROG_CC_C_O AC_PROG_LIBTOOL AC_PROG_LN_S +AC_PROG_EGREP # Doxygen DX_HTML_FEATURE(ON)