From b62cfcea00862ccbf0e5e297f8a339f70987edef Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 3 Aug 2011 17:09:55 +0200 Subject: [PATCH] build-sys: make gperf configure check fatal and document the new build requirement. --- README | 1 + configure.ac | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README b/README index b7b0db76..8f1fe861 100644 --- a/README +++ b/README @@ -50,6 +50,7 @@ REQUIREMENTS: automake autoconf libtool + gperf make, gcc, and similar tools During runtime you need the following dependencies: diff --git a/configure.ac b/configure.ac index 9e195ed3..fbd2ecb5 100644 --- a/configure.ac +++ b/configure.ac @@ -62,6 +62,9 @@ AC_PROG_GCC_TRADITIONAL AC_CHECK_TOOL(OBJCOPY, objcopy) AC_CHECK_TOOL(STRINGS, strings) AC_CHECK_TOOL(GPERF, gperf) +if test -z "$GPERF" ; then + AC_MSG_ERROR([*** gperf not found]) +fi CC_CHECK_CFLAGS_APPEND([ \ -pipe \ -- 2.39.5