diff options
author | Ross Burton <ross@linux.intel.com> | 2009-02-11 13:49:13 +0000 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2009-02-11 13:54:51 +0000 |
commit | bbd9f4fa168c27600fd886326be06c09373748ed (patch) | |
tree | d20b399a1bd647b2f4481c9c4fed8195cefbacfa | |
parent | 41ea3ecfdec2f910ad7d73b69ef2c4c7fd1b9e81 (diff) |
Add --with-gnome, defaulting to yes, and check for libsoup-gnome
-rw-r--r-- | configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 994dc60..960d6fc 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,20 @@ PKG_CHECK_MODULES(SOUP, libsoup-2.4) PKG_CHECK_MODULES(XML, libxml-2.0) PKG_CHECK_MODULES(GTHREAD, gthread-2.0) +AC_MSG_CHECKING([whether to use the GNOME environment]) +AC_ARG_WITH([gnome],[AS_HELP_STRING([--without-gnome], [disable support for GNOME environment])], + [], [with_gnome=yes]) + +AS_IF( + [test "$with_gnome" = yes], + [ + AC_MSG_RESULT([yes]) + AC_DEFINE([WITH_GNOME], 1, [Use GNOME]) + PKG_CHECK_MODULES(SOUP_GNOME, libsoup-gnome-2.4 >= 2.25.1) + ], + AC_MSG_RESULT([no]) +) + GTK_DOC_CHECK(1.9) localedir=${datadir}/locale |