diff options
| author | Daniel Colascione | 2014-03-30 16:59:19 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-03-30 16:59:19 -0700 |
| commit | 8e86e380dc76be2e49f23c9bf7f28eda076875c7 (patch) | |
| tree | 1004ba2480cbf9a9f86eed12cd07c49297b474bf | |
| parent | 34cad8271df666d5f45431dba73eed02b2634657 (diff) | |
| download | emacs-8e86e380dc76be2e49f23c9bf7f28eda076875c7.tar.gz emacs-8e86e380dc76be2e49f23c9bf7f28eda076875c7.zip | |
* configure.ac: Include GFILENOTIFY objects in glib check (backport from trunk)
Fixes: debbugs:17069
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.ac | 6 |
2 files changed, 10 insertions, 0 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-03-30 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * configure.ac: Include GFILENOTIFY objects in glib check. (Bug#17069) | ||
| 4 | |||
| 1 | 2014-03-30 Jan Djärv <jan.h.d@swipnet.se> | 5 | 2014-03-30 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 44199c1fb50..971674bb3f2 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -3851,6 +3851,10 @@ AC_CHECK_FUNCS(snprintf) | |||
| 3851 | dnl Check this late. It depends on what other libraries (lrsvg, Gtk+ etc) | 3851 | dnl Check this late. It depends on what other libraries (lrsvg, Gtk+ etc) |
| 3852 | dnl Emacs uses. | 3852 | dnl Emacs uses. |
| 3853 | XGSELOBJ= | 3853 | XGSELOBJ= |
| 3854 | OLDCFLAGS="$CFLAGS" | ||
| 3855 | OLDLIBS="$LIBS" | ||
| 3856 | CFLAGS="$CFLAGS $GFILENOTIFY_CFLAGS" | ||
| 3857 | LIBS="$LIBS $GFILENOTIFY_LIBS" | ||
| 3854 | AC_MSG_CHECKING([whether GLib is linked in]) | 3858 | AC_MSG_CHECKING([whether GLib is linked in]) |
| 3855 | AC_LINK_IFELSE([AC_LANG_PROGRAM( | 3859 | AC_LINK_IFELSE([AC_LANG_PROGRAM( |
| 3856 | [[#include <glib.h> | 3860 | [[#include <glib.h> |
| @@ -3865,6 +3869,8 @@ if test "${links_glib}" = "yes"; then | |||
| 3865 | XGSELOBJ=xgselect.o | 3869 | XGSELOBJ=xgselect.o |
| 3866 | fi | 3870 | fi |
| 3867 | fi | 3871 | fi |
| 3872 | CFLAGS="$OLDCFLAGS" | ||
| 3873 | LIBS="$OLDLIBS" | ||
| 3868 | AC_SUBST(XGSELOBJ) | 3874 | AC_SUBST(XGSELOBJ) |
| 3869 | 3875 | ||
| 3870 | dnl Adapted from Haible's version. | 3876 | dnl Adapted from Haible's version. |