summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2013-08-15 12:37:15 -0400
committerKen Brown <kbrown@cornell.edu>2013-08-15 12:37:15 -0400
commit0fe73012cda7153f85cff32db8df442a0859fa5b (patch)
tree27f37c1b0d7b4e3e9eba3df00bcf5ca9d72651c2 /configure.ac
parent691a357f3afffc2f40a6f04dea072933dcdf8bc0 (diff)
downloademacs-0fe73012cda7153f85cff32db8df442a0859fa5b.tar.gz
Revert last change to gmalloc.c; update some comments.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 8 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 61ea613e287..980c36f75c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4340,14 +4340,16 @@ fi
case $opsys in
- dnl Emacs supplies its own malloc, but glib (part of Gtk+) calls
- dnl memalign and on Cygwin, that becomes the Cygwin-supplied memalign.
- dnl As malloc is not the Cygwin malloc, the Cygwin memalign always
- dnl returns ENOSYS. A workaround is to set G_SLICE=always-malloc. */
+ dnl Emacs supplies its own malloc, but glib calls posix_memalign,
+ dnl and on Cygwin prior to version 1.7.24 that becomes the
+ dnl Cygwin-supplied posix_memalign. As malloc is not the Cygwin
+ dnl malloc, the Cygwin posix_memalign always returns ENOSYS. A
+ dnl workaround is to set G_SLICE=always-malloc. This is no longer
+ dnl needed starting with cygwin-1.7.24, and it is no longer
+ dnl effective starting with glib-2.36. */
cygwin)
AC_DEFINE(G_SLICE_ALWAYS_MALLOC, 1, [Define to set the
- G_SLICE environment variable to "always-malloc" at startup, if
- using GTK.])
+ G_SLICE environment variable to "always-malloc" at startup.])
;;
hpux11)