summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2008-02-02 02:40:44 +0000
committerBrian Cameron <bcameron@src.gnome.org>2008-02-02 02:40:44 +0000
commit7e3aed5fbafe25a9756bf2afb9f00c225892e6aa (patch)
treeb502b329cdfdd6cbeb1ffc08dfd2b53393dda5fa /configure.ac
parentda22a147d842481d237c082209a0cf15cc844258 (diff)
downloadgdm-7e3aed5fbafe25a9756bf2afb9f00c225892e6aa.tar.gz
Make check an optional dependency. Add needed includes to build on
2008-02-01 Brian Cameron <brian.cameron@sun.com> * configure.ac: Make check an optional dependency. * common/gdm-address.c: Add needed includes to build on Solaris. svn path=/trunk/; revision=5680
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 83419a92..1a3c9cea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,7 +142,10 @@ AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
AC_PATH_XTRA
# Unit testing framework
-PKG_CHECK_MODULES(CHECK,[check >= 0.9.4])
+PKG_CHECK_MODULES(CHECK,
+ [check >= 0.9.4],
+ have_check=yes,
+ have_check=no)
AM_CONDITIONAL([HAVE_CHECK],[test "x$CHECK_CFLAGS" != "x"])
AC_PATH_PROG(GCONFTOOL, gconftool-2)