diff options
author | Christian Persch <chpe@gnome.org> | 2013-08-14 12:32:17 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-08-14 13:30:36 +0200 |
commit | 81194337fec82d3c58aa58da8ce393da8404b5d2 (patch) | |
tree | ae54ffefdc0a9577b2b417a29a6047de2e45a3e5 | |
parent | 6eec45cb73f2430dcb8a6e6751d4dc2446b8861c (diff) |
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.
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 39751af6..0e5c8836 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |