]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac: Add comment explaining why HAVE_GLIB is different.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Apr 2014 22:19:54 +0000 (15:19 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Apr 2014 22:19:54 +0000 (15:19 -0700)
configure.ac

index 9096681d78c8126c91e8917905d9383cd04c01ae..8250d89b6696536a3df145e18d7a2e2074e99dc4 100644 (file)
@@ -3806,6 +3806,13 @@ AC_FUNC_FORK
 
 AC_CHECK_FUNCS(snprintf)
 
+dnl Check for glib.  This differs from other library checks in that
+dnl Emacs need not link to glib unless some other library is already
+dnl linking to glib.  Although glib provides no facilities that Emacs
+dnl needs for its own purposes, when glib is present Emacs needs to
+dnl use primitives like g_main_context_query to avoid clashing with
+dnl glib at a low level.
+dnl
 dnl Check this late, since it depends on $GTK_CFLAGS etc.
 XGSELOBJ=
 OLDCFLAGS="$CFLAGS"