From: Michael Biebl Date: Wed, 3 Aug 2011 15:09:55 +0000 (+0200) Subject: build-sys: make gperf configure check fatal X-Git-Tag: v34~33 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b62cfcea00862ccbf0e5e297f8a339f70987edef;hp=b38bb4937972546dcc60ab5ea4a7d4b898349c1c build-sys: make gperf configure check fatal and document the new build requirement. --- diff --git a/README b/README index b7b0db763..8f1fe861f 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 9e195ed35..fbd2ecb56 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 \