[dasher] Don't silently use GConf if GSettings requested but not found.
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher] Don't silently use GConf if GSettings requested but not found.
- Date: Wed, 13 Apr 2011 10:06:18 +0000 (UTC)
commit 873856638bcea9ad99ebf00e79943f3387cbc795
Author: Patrick Welche <prlw1 cam ac uk>
Date: Wed Apr 6 15:14:39 2011 +0200
Don't silently use GConf if GSettings requested but not found.
configure.ac | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a0c441d..24448bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -241,6 +241,8 @@ then
[have_gconf=false
AC_MSG_WARN([Neither a glib with GSettings, nor GConf were detected - user preferences will not be stored.])])
])
+ AS_IF([test "x$with_gsettings" = "xyes" -a $have_gsettings = false],
+ [AC_MSG_ERROR([GSettings requested but not found])])
# GtkBuilder's autoconnect feature requires dasher to be
# linked with the --export-dynamic flag. pkg-config does not
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]