[folks] Bug 638395 — folks-inspect prevents default Vala-free builds
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Bug 638395 — folks-inspect prevents default Vala-free builds
- Date: Sat, 1 Jan 2011 00:44:57 +0000 (UTC)
commit 8b2e847d2a9c9b78e095f8dff7f5f20e4db00df9
Author: Philip Withnall <philip withnall collabora co uk>
Date: Fri Dec 31 14:23:31 2010 +0000
Bug 638395 â?? folks-inspect prevents default Vala-free builds
Add notices and errors to the configure script to notify the user of why
the inspect tool is not being built. Closes: bgo#638395
configure.ac | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a5c2cc6..28becb7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,6 +199,12 @@ AC_ARG_ENABLE([inspect-tool],
[Enable building the data inspection tool]),
[enable_inspect_tool=$enableval with_inspect_tool=$enableval],
[enable_inspect_tool=maybe with_inspect_tool=no])
+AS_IF([test "$enable_inspect_tool" = "yes" -a "$enable_vala" != "yes"],
+ [AC_MSG_ERROR([Inspect tool explicitly enabled, but Vala wasn't enabled \
+ using --enable-vala])])
+AS_IF([test "$enable_inspect_tool" = "maybe" -a "$enable_vala" != "yes"],
+ [AC_MSG_NOTICE([Inspect tool disabled, as Vala wasn't enabled using \
+ --enable-vala])])
AS_IF([test "$enable_inspect_tool" != "no" -a "x$enable_vala" = "xyes"],
[AC_CHECK_LIB([readline], [main],
[with_inspect_tool=yes], [with_inspect_tool=no],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]