summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-12-21 16:13:00 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-01-09 13:56:08 +0100
commit205d3e7a02648770e2a98772d66d078477b6c03e (patch)
tree1bc82a3f5e955c2c37735810c2ae0ca8b4337d38 /configure.ac
parent3bdc057d306e72eca2e561be783d0532d8fd643d (diff)
downloadmsitools-205d3e7a02648770e2a98772d66d078477b6c03e.tar.gz
msitools-205d3e7a02648770e2a98772d66d078477b6c03e.tar.xz
msitools-205d3e7a02648770e2a98772d66d078477b6c03e.zip
build-sys: generate VAPI if vapigen is available
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 01465b2..4181080 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,11 @@ LT_INIT([win32-dll disable-fast-install])
GOBJECT_INTROSPECTION_CHECK([0.9.4])
AM_CONDITIONAL([GIR], [test "x$INTROSPECTION_MAKEFILE" != x])
+AM_PROG_VALAC([0.14])
+AC_PATH_PROG(VAPIGEN, vapigen, no)
+AC_SUBST(VAPIGEN)
+AM_CONDITIONAL([VAPI], [test "x$VAPIGEN" != xno])
+
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AM_MISSING_PROG([AUTOM4TE], [autom4te])