summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-08-03 17:09:55 +0200
committerMichael Biebl <biebl@debian.org>2011-08-03 17:11:13 +0200
commitb62cfcea00862ccbf0e5e297f8a339f70987edef (patch)
tree540ba6b2b2e35ca59d3aff73943148402de01ea4
parentb38bb4937972546dcc60ab5ea4a7d4b898349c1c (diff)
build-sys: make gperf configure check fatal
and document the new build requirement.
-rw-r--r--README1
-rw-r--r--configure.ac3
2 files changed, 4 insertions, 0 deletions
diff --git a/README b/README
index b7b0db763e..8f1fe861f7 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 9e195ed35c..fbd2ecb565 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 \