* configure.ac: Include GFILENOTIFY objects in glib check (backport from trunk)
Fixes: debbugs:17069
This commit is contained in:
parent
34cad8271d
commit
8e86e380dc
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue