summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-04 16:57:10 +0200
committerStefano Karapetsas <[email protected]>2012-09-04 16:57:10 +0200
commit44b85ff8d08023f49be431f1a8514240b9b4b276 (patch)
tree637ef9c57a778e3e7e0fb45fcb3248c49a375733 /configure.in
parent9f6a41dc0563e92cb59609aa3dcc8b9d42d1d40b (diff)
downloadlibmateweather-44b85ff8d08023f49be431f1a8514240b9b4b276.tar.bz2
libmateweather-44b85ff8d08023f49be431f1a8514240b9b4b276.tar.xz
migrate to gsettings
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in19
1 files changed, 9 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index 57a50fb..d762ec0 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-AC_INIT([libmateweather], [1.4.0], [http://www.mate-desktop.org])
+AC_INIT([libmateweather], [1.5.0], [http://www.mate-desktop.org])
AC_PREREQ(2.59)
AM_CONFIG_HEADER(config.h)
@@ -34,7 +34,7 @@ GTK_REQUIRED=2.11.0
GLIB_REQUIRED=2.13.0
LIBSOUP_REQUIRED=2.4.0
LIBSOUP_GNOME_REQUIRED=1.1.0
-MATECONF_REQUIRED=1.1.0
+GIO_REQUIRED=2.25.0
LIBXML_REQUIRED=2.6.0
AM_MAINTAINER_MODE
@@ -48,7 +48,8 @@ AM_PROG_CC_C_O
AC_ISC_POSIX
AC_STDC_HEADERS
AM_PROG_LIBTOOL
-AC_PATH_PROG(MATECONFTOOL, mateconftool-2)
+
+GLIB_GSETTINGS
AC_ARG_ENABLE(all-translations-in-one-xml,
[AC_HELP_STRING([--enable-all-translations-in-one-xml],
@@ -134,13 +135,11 @@ PKG_CHECK_MODULES(LIBSOUP_GNOME,
AC_SUBST(LIBSOUP_CFLAGS)
AC_SUBST(LIBSOUP_LIBS)
-dnl -- check for mateconf (required) -----------------------------------------
-PKG_CHECK_MODULES(MATECONF,
- [mateconf-2.0])
-AC_SUBST(MATECONF_CFLAGS)
-AC_SUBST(MATECONF_LIBS)
-
-AM_MATECONF_SOURCE_2
+dnl -- check for gio (required) -----------------------------------------
+PKG_CHECK_MODULES(GIO,
+ [gio-2.0 >= GIO_REQUIRED])
+AC_SUBST(GIO_CFLAGS)
+AC_SUBST(GIO_LIBS)
dnl -- check for glib; redundant at this point, but sets $GLIB_MKENUMS
AM_PATH_GLIB_2_0($GLIB_REQUIRED)