chiark / gitweb /
configure.ac: print error if gperf is missing
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 17 Jun 2009 11:31:34 +0000 (13:31 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 17 Jun 2009 11:31:34 +0000 (13:31 +0200)
configure.ac

index e81d999..82c455d 100644 (file)
@@ -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])