From: Ross Burton <ross.burton@intel.com>
To: elfutils-devel@sourceware.org
Subject: [PATCH 1/2] Require gawk in maintainer mode
Date: Wed, 04 Jul 2018 11:11:00 -0000 [thread overview]
Message-ID: <20180704111108.21448-1-ross.burton@intel.com> (raw)
gawk is required to build known_dwarf.h, so check for it in configure.ac.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 1cf6245b..a3b29939 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])
--
2.11.0
next reply other threads:[~2018-07-04 11:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-04 11:11 Ross Burton [this message]
2018-07-04 11:11 ` [PATCH 2/2] Consolidate error.h inclusion in system.h Ross Burton
2018-07-05 19:19 ` Mark Wielaard
2018-07-05 18:16 ` [PATCH 1/2] Require gawk in maintainer mode Mark Wielaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180704111108.21448-1-ross.burton@intel.com \
--to=ross.burton@intel.com \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).