aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2014-03-31 07:02:08 +0200
committerJan Djärv2014-03-31 07:02:08 +0200
commitce486e0d8f6a6b140187f5a843fe766c3859304b (patch)
tree472f2f9638c3ea57fd3e287560562e34b6ec495b
parentd94c875df38b62e7942acba41ed5eb26cca4d65f (diff)
downloademacs-ce486e0d8f6a6b140187f5a843fe766c3859304b.tar.gz
emacs-ce486e0d8f6a6b140187f5a843fe766c3859304b.zip
* configure.ac: Fix errors from previous checkin (GSettings check).
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac8
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 00547c36a08..3572267857c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12014-03-31 Jan Djärv <jan.h.d@swipnet.se>
2
3 * configure.ac: Fix errors from previous checkin (GSettings check).
4
12014-03-29 Jan Djärv <jan.h.d@swipnet.se> 52014-03-29 Jan Djärv <jan.h.d@swipnet.se>
2 6
3 * configure.ac: Add check that GSettings is in libgio (Bug#17118). 7 * configure.ac: Add check that GSettings is in libgio (Bug#17118).
diff --git a/configure.ac b/configure.ac
index bf404069a9f..223ff99e849 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2432,6 +2432,10 @@ HAVE_GSETTINGS=no
2432if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then 2432if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then
2433 PKG_CHECK_MODULES(GSETTINGS, gio-2.0 >= 2.26, HAVE_GSETTINGS=yes, HAVE_GSETTINGS=no) 2433 PKG_CHECK_MODULES(GSETTINGS, gio-2.0 >= 2.26, HAVE_GSETTINGS=yes, HAVE_GSETTINGS=no)
2434 if test "$HAVE_GSETTINGS" = "yes"; then 2434 if test "$HAVE_GSETTINGS" = "yes"; then
2435 old_CFLAGS=$CFLAGS
2436 CFLAGS="$CFLAGS $GSETTINGS_CFLAGS"
2437 old_LIBS=$LIBS
2438 LIBS="$LIBS $GSETTINGS_LIBS"
2435 AC_MSG_CHECKING([whether GSettings is in gio]) 2439 AC_MSG_CHECKING([whether GSettings is in gio])
2436 GSETTINGS_COMPILES=no 2440 GSETTINGS_COMPILES=no
2437 AC_LINK_IFELSE( 2441 AC_LINK_IFELSE(
@@ -2447,11 +2451,13 @@ if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then
2447 [GSETTINGS_COMPILES=yes]) 2451 [GSETTINGS_COMPILES=yes])
2448 AC_MSG_RESULT([$GSETTINGS_COMPILES]) 2452 AC_MSG_RESULT([$GSETTINGS_COMPILES])
2449 2453
2450 if test "$$GSETTINGS_COMPILES" = "yes"; then 2454 if test "$GSETTINGS_COMPILES" = "yes"; then
2451 AC_DEFINE(HAVE_GSETTINGS, 1, [Define to 1 if using GSettings.]) 2455 AC_DEFINE(HAVE_GSETTINGS, 1, [Define to 1 if using GSettings.])
2452 SETTINGS_CFLAGS="$GSETTINGS_CFLAGS" 2456 SETTINGS_CFLAGS="$GSETTINGS_CFLAGS"
2453 SETTINGS_LIBS="$GSETTINGS_LIBS" 2457 SETTINGS_LIBS="$GSETTINGS_LIBS"
2454 fi 2458 fi
2459 CFLAGS=$old_CFLAGS
2460 LIBS=$old_LIBS
2455 fi 2461 fi
2456fi 2462fi
2457 2463