comparison configure.ac @ 2611:dd7a24edc9f6 trunk

[svn] why are we still checking for GConf? checks and related OMK data removed
author kiyoshi
date Tue, 06 Mar 2007 18:54:10 -0800
parents b474ecb5bde4
children 4cc1e231d244
comparison
equal deleted inserted replaced
2610:2c41c0ef0c36 2611:dd7a24edc9f6
261 AC_SUBST(REGEX_CFLAGS) 261 AC_SUBST(REGEX_CFLAGS)
262 262
263 263
264 dnl GConf support 264 dnl GConf support
265 265
266 CONFIGDB_BACKEND="rcfile"
267
268 AC_ARG_ENABLE(gconf,
269 [ --enable-gconf enable GConf support (default=disabled)],
270 [enable_gconf=$enableval],
271 [enable_gconf="no"]
272 )
273
274 if test "$enable_gconf" = "yes"; then
275 PKG_CHECK_MODULES(GCONF, [gconf-2.0 >= 2.6.0],
276 [
277 AC_DEFINE(HAVE_GCONF, , [Define if building with GConf support])
278 ADD_PC_REQUIRES([gconf-2.0 >= 2.6.0])
279 ],
280 [AC_MSG_ERROR([Cannot find GConf])]
281 )
282 fi
283
284 if test "$enable_gconf" = "yes"; then
285 CONFIGDB_BACKEND="gconf"
286 fi
287
288 PKG_CHECK_MODULES(LIBMCS, [libmcs >= 0.1], 266 PKG_CHECK_MODULES(LIBMCS, [libmcs >= 0.1],
289 [ 267 [
290 AC_DEFINE(HAVE_MCS, , [Define if building with libmcs support]) 268 AC_DEFINE(HAVE_MCS, , [Define if building with libmcs support])
291 ADD_PC_REQUIRES([libmcs >= 0.1]) 269 ADD_PC_REQUIRES([libmcs >= 0.1])
292 ], 270 ],