+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).
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. */
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"