chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
181368a
)
configure.ac: print error if gperf is missing
author
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 17 Jun 2009 11:31:34 +0000
(13:31 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Wed, 17 Jun 2009 11:31:34 +0000
(13:31 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index e81d999d9ea637dc3d8ad611f01114a1927f06ed..82c455ddcb8c10789b33d0d610c465fa75afc9c1 100644
(file)
--- 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])
[], [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])
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0])
AC_SUBST([GLIB_CFLAGS])