Commit 8e86e380 authored by Daniel Colascione's avatar Daniel Colascione Committed by Glenn Morris

* configure.ac: Include GFILENOTIFY objects in glib check (backport from trunk)

Fixes: debbugs:17069
parent 34cad827
2014-03-30 Daniel Colascione <dancol@dancol.org>
* configure.ac: Include GFILENOTIFY objects in glib check. (Bug#17069)
2014-03-30 Jan Djärv <jan.h.d@swipnet.se>
* configure.ac: Add check that GSettings is in libgio (Bug#17118).
......
......@@ -3851,6 +3851,10 @@ AC_CHECK_FUNCS(snprintf)
dnl Check this late. It depends on what other libraries (lrsvg, Gtk+ etc)
dnl Emacs uses.
XGSELOBJ=
OLDCFLAGS="$CFLAGS"
OLDLIBS="$LIBS"
CFLAGS="$CFLAGS $GFILENOTIFY_CFLAGS"
LIBS="$LIBS $GFILENOTIFY_LIBS"
AC_MSG_CHECKING([whether GLib is linked in])
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[#include <glib.h>
......@@ -3865,6 +3869,8 @@ if test "${links_glib}" = "yes"; then
XGSELOBJ=xgselect.o
fi
fi
CFLAGS="$OLDCFLAGS"
LIBS="$OLDLIBS"
AC_SUBST(XGSELOBJ)
dnl Adapted from Haible's version.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment