* configure.ac: Make the final "Does Emacs use Gsettings" message
authorGlenn Morris <rgm@gnu.org>
Mon, 31 Mar 2014 16:22:32 +0000 (09:22 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 31 Mar 2014 16:22:32 +0000 (09:22 -0700)
consistent with src/config.h.

ChangeLog
configure.ac

index 25efcf1..65e730f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-31  Glenn Morris  <rgm@gnu.org>
+
+       * configure.ac: Make the final "Does Emacs use Gsettings" message
+       consistent with src/config.h.
+
 2014-03-31  Jan Djärv  <jan.h.d@swipnet.se>
 
        * configure.ac: Fix errors from previous checkin (GSettings check).
index 9074cb2..83bbb32 100644 (file)
@@ -2437,7 +2437,6 @@ if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then
       old_LIBS=$LIBS
       LIBS="$LIBS $GSETTINGS_LIBS"
       AC_MSG_CHECKING([whether GSettings is in gio])
-      GSETTINGS_COMPILES=no
       AC_LINK_IFELSE(
          [AC_LANG_PROGRAM(
             [[/* Check that gsettings really is present.  */
@@ -2448,10 +2447,10 @@ if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then
               GSettings *settings;
               GVariant *val = g_settings_get_value (settings, "");
             ]])],
-        [GSETTINGS_COMPILES=yes])
-      AC_MSG_RESULT([$GSETTINGS_COMPILES])
+        [], HAVE_GSETTINGS=no)
+      AC_MSG_RESULT([$HAVE_GSETTINGS])
 
-      if test "$GSETTINGS_COMPILES" = "yes"; then
+      if test "$HAVE_GSETTINGS" = "yes"; then
         AC_DEFINE(HAVE_GSETTINGS, 1, [Define to 1 if using GSettings.])
        SETTINGS_CFLAGS="$GSETTINGS_CFLAGS"
        SETTINGS_LIBS="$GSETTINGS_LIBS"