From 4b3be1c15836cfedcd017a6dd77fa1c3ac68a5f0 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 17 Jun 2009 13:31:34 +0200 Subject: [PATCH] configure.ac: print error if gperf is missing --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index e81d999d..82c455dd 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,9 @@ AC_ARG_ENABLE([extras], [], [enable_extras=yes]) if test "x$enable_extras" = xyes; then AC_PATH_PROG([GPERF], [gperf]) + if test -z "$GPERF"; then + AC_MSG_ERROR([gperf is needed]) + fi PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0]) AC_SUBST([GLIB_CFLAGS]) -- 2.39.5