Notice when gfilenotify depends on glib
This commit is contained in:
parent
a31161883b
commit
dfdce7dc1c
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-03-23 Daniel Colascione <dancol@dancol.org>
|
||||
|
||||
* configure.ac: (Bug#17069) Include GFILENOTIFY objects in glib
|
||||
check.
|
||||
|
||||
2014-03-22 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* make-dist: Do not distribute lib-src/testfile.
|
||||
|
|
|
@ -3834,6 +3834,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>
|
||||
|
@ -3848,6 +3852,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