diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-12-21 16:13:00 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-09 13:56:08 +0100 |
commit | 205d3e7a02648770e2a98772d66d078477b6c03e (patch) | |
tree | 1bc82a3f5e955c2c37735810c2ae0ca8b4337d38 /configure.ac | |
parent | 3bdc057d306e72eca2e561be783d0532d8fd643d (diff) | |
download | msitools-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.ac | 5 |
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]) |