diff options
| author | Jan Djärv | 2014-03-31 08:08:29 +0200 |
|---|---|---|
| committer | Jan Djärv | 2014-03-31 08:08:29 +0200 |
| commit | dcb4c4d7532840328bf7b42909f80f662264d007 (patch) | |
| tree | 14172364b232e2fd358b67e00ea923ee5a74587a | |
| parent | 8e86e380dc76be2e49f23c9bf7f28eda076875c7 (diff) | |
| download | emacs-dcb4c4d7532840328bf7b42909f80f662264d007.tar.gz emacs-dcb4c4d7532840328bf7b42909f80f662264d007.zip | |
* configure.ac: Fix errors from previous checkin (GSettings check).
Backport from trunk.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 8 |
2 files changed, 12 insertions, 1 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-03-31 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * configure.ac: Fix errors from previous checkin (GSettings check). | ||
| 4 | Backport from trunk. | ||
| 5 | |||
| 1 | 2014-03-30 Daniel Colascione <dancol@dancol.org> | 6 | 2014-03-30 Daniel Colascione <dancol@dancol.org> |
| 2 | 7 | ||
| 3 | * configure.ac: Include GFILENOTIFY objects in glib check. (Bug#17069) | 8 | * configure.ac: Include GFILENOTIFY objects in glib check. (Bug#17069) |
diff --git a/configure.ac b/configure.ac index 971674bb3f2..9074cb2ffe6 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -2432,6 +2432,10 @@ HAVE_GSETTINGS=no | |||
| 2432 | if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then | 2432 | if 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 |
| 2456 | fi | 2462 | fi |
| 2457 | 2463 | ||