From: Ross Burton Date: Wed, 4 Jul 2018 11:11:07 +0000 (+0100) Subject: Require gawk in maintainer mode X-Git-Tag: elfutils-0.174~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d612684109f0395b86e4aaad9ba94e02f79a099a;p=thirdparty%2Felfutils.git Require gawk in maintainer mode gawk is required to build known_dwarf.h, so check for it in configure.ac. Signed-off-by: Ross Burton --- diff --git a/ChangeLog b/ChangeLog index 696f31e2e..45418a0a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-07-04 Ross Burton + + * configure.ac: Check for gawk. + 2018-06-11 Mark Wielaard * configure.ac: Set version to 0.172. diff --git a/configure.ac b/configure.ac index 1cf6245bd..a3b299392 100644 --- a/configure.ac +++ b/configure.ac @@ -618,6 +618,10 @@ if test "x$enable_maintainer_mode" = xyes; then if test "$HAVE_BISON" = "no"; then AC_MSG_ERROR([bison needed in maintainer mode]) fi + AC_CHECK_PROG(HAVE_GAWK, gawk, yes, no) + if test "$HAVE_GAWK" = "no"; then + AC_MSG_ERROR([gawk needed in maintainer mode]) + fi else if test ! -f ${srcdir}/libdw/known-dwarf.h; then AC_MSG_ERROR([No libdw/known-dwarf.h. configure --enable-maintainer-mode])