Commit dfdce7dc authored by Daniel Colascione's avatar Daniel Colascione

Notice when gfilenotify depends on glib

parent a3116188
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.
......
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