[systemd-commits] configure.ac README

Michael Biebl mbiebl at kemper.freedesktop.org
Wed Aug 3 08:11:26 PDT 2011


 README       |    1 +
 configure.ac |    3 +++
 2 files changed, 4 insertions(+)

New commits:
commit b62cfcea00862ccbf0e5e297f8a339f70987edef
Author: Michael Biebl <biebl at debian.org>
Date:   Wed Aug 3 17:09:55 2011 +0200

    build-sys: make gperf configure check fatal
    
    and document the new build requirement.

diff --git a/README b/README
index b7b0db7..8f1fe86 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 9e195ed..fbd2ecb 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 \



More information about the systemd-commits mailing list