[folks] Don't break the build if building folks-inspect without Vala
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Don't break the build if building folks-inspect without Vala
- Date: Fri, 31 Dec 2010 07:19:50 +0000 (UTC)
commit 697a12646bd7d25c68c3042f13b3b9e323427262
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Dec 30 23:19:31 2010 -0800
Don't break the build if building folks-inspect without Vala
configure.ac | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 662980d..8fc67f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,11 +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" != "no"],
+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],
[-lncurses])])
-AS_IF([test "$enable_inspect_tool" != "no" -a "$with_inspect_tool" = "yes"],
+AS_IF([test "$enable_inspect_tool" != "no" -a "$with_inspect_tool" = "yes" -a
+ "x$enable_vala" = "xyes"],
[VALA_CHECK_PACKAGES([readline])
LIBREADLINE="-lreadline -lncurses"
AC_DEFINE([HAVE_LIBREADLINE], [1], [Define if you have libreadline])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]