[dasher] Be verbose about which settings' store will be used



commit 0c039c0f449a728a3fda39e8588872e86ac79cb2
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Fri Jul 22 13:00:33 2011 +0100

    Be verbose about which settings' store will be used

 configure.ac |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index acc28fc..e7ce44a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -229,6 +229,15 @@ then
 		])
 	AS_IF([test "x$with_gsettings" = "xyes" -a $have_gsettings = false],
 		[AC_MSG_ERROR([GSettings requested but not found])])
+	AC_MSG_CHECKING([which settings store to use])
+	AS_IF(
+		[test $have_gsettings = true  -a $have_gconf = false],
+			[AC_MSG_RESULT([GSettings])],
+		[test $have_gsettings = false -a $have_gconf = true],
+			[AC_MSG_RESULT([GConf])],
+		[test $have_gsettings = false -a $have_gconf = false],
+			[AC_MSG_RESULT([none])],
+		[AC_MSG_ERROR([Logic error in configure.ac - please send bug report!])])
 
 	# 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]