chiark / gitweb /
build-sys: make gperf configure check fatal
authorMichael Biebl <biebl@debian.org>
Wed, 3 Aug 2011 15:09:55 +0000 (17:09 +0200)
committerMichael Biebl <biebl@debian.org>
Wed, 3 Aug 2011 15:11:13 +0000 (17:11 +0200)
and document the new build requirement.

README
configure.ac

diff --git a/README b/README
index b7b0db763e0db7ddba1557dd0b3c3057d1c2f9af..8f1fe861f7c709b17d75375ebb57ec6b4fa20580 100644 (file)
--- 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:
index 9e195ed35c37012912fb8f31167db7b6b0d22c9b..fbd2ecb565586d8bec2e4902f02615dd0de87031 100644 (file)
@@ -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 \