build: Error out if vala bindings are enabled but Makefile.vapigen not found
Cannot test this for enable_vala=auto since enable_vala has been set to yes/no by this time. Bug #705641.
This commit is contained in:

committed by
Aleksander Morgado

parent
6eec45cb73
commit
81194337fe
@@ -116,6 +116,11 @@ GOBJECT_INTROSPECTION_CHECK([0.9.6])
|
||||
# Vala bindings
|
||||
VAPIGEN_CHECK(0.18)
|
||||
|
||||
# Sanity check
|
||||
if test "x$enable_vala" = "xyes" -a ! -f "$VAPIGEN_MAKEFILE"; then
|
||||
AC_MSG_ERROR([Vala bindings enabled but Makefile.vapigen not found. Install vala-devel, or pass --disable-vala])
|
||||
fi
|
||||
|
||||
# DBus system directory
|
||||
AC_ARG_WITH(dbus-sys-dir, AS_HELP_STRING([--with-dbus-sys-dir=DIR], [where D-BUS system.d directory is]))
|
||||
if test -n "$with_dbus_sys_dir" ; then
|
||||
|
Reference in New Issue
Block a user