projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f4507
)
build: Also add a configure check for YACC/bison
author
Colin Walters
<walters@verbum.org>
Mon, 7 Dec 2015 15:39:37 +0000
(10:39 -0500)
committer
Colin Walters
<walters@verbum.org>
Mon, 7 Dec 2015 15:39:37 +0000
(10:39 -0500)
So we error out more nicely if not found.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 41a4aa0745fba4ead5e19904f5d023fd22542a64..1135ff6ff52f98a6486056e5f304bdfc928a767b 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-42,6
+42,9
@@
AM_CONDITIONAL(BUILDOPT_INSTALL_TESTS, test x$enable_installed_tests = xyes)
AC_CHECK_HEADER([sys/xattr.h],,[AC_MSG_ERROR([You must have sys/xattr.h from glibc])])
+AC_CHECK_PROGS(YACC, 'bison -y', :)
+AS_IF([test "$YACC" = :], [AC_MSG_ERROR([bison not found but required])])
+
PKG_PROG_PKG_CONFIG
GIO_DEPENDENCY="gio-unix-2.0 >= 2.40.0 libgsystem >= 2015.1"