build-sys: make gperf configure check fatal

and document the new build requirement.
This commit is contained in:
Michael Biebl 2011-08-03 17:09:55 +02:00
parent b38bb49379
commit b62cfcea00
2 changed files with 4 additions and 0 deletions

1
README
View File

@ -50,6 +50,7 @@ REQUIREMENTS:
automake
autoconf
libtool
gperf
make, gcc, and similar tools
During runtime you need the following dependencies:

View 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 \