]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac (G_SLICE_ALWAYS_MALLOC): Remove obsolete macro.
authorKen Brown <kbrown@cornell.edu>
Mon, 25 Aug 2014 20:49:52 +0000 (16:49 -0400)
committerKen Brown <kbrown@cornell.edu>
Mon, 25 Aug 2014 20:49:52 +0000 (16:49 -0400)
* src/emacs.c (main): Remove use of obsolete macro
G_SLICE_ALWAYS_MALLOC.

ChangeLog
configure.ac
src/ChangeLog
src/emacs.c

index 8011206ded2662b1780fe1bba8dbddf2b82cea44..de9f3a0bef448278346ba155d0fef60161c94e3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-25  Ken Brown  <kbrown@cornell.edu>
+
+       * configure.ac (G_SLICE_ALWAYS_MALLOC): Remove obsolete macro.
+
 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
 
        * INSTALL.REPO: Remove reference to obsolete configure scripts
index 30435d67508f17ab7bd3089b0950569db6b3ce8d..4728ec51368cd2dc55b82f9fcf4451b7126759a6 100644 (file)
@@ -4593,20 +4593,6 @@ if test $emacs_cv_usable_FIONREAD = yes; then
   fi
 fi
 
-
-case $opsys in
-  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.])
-    ;;
-
   hpux11)
     dnl It works to open the pty's tty in the parent (Emacs), then
     dnl close and reopen it in the child.
index bb678dc48436129066199774e7f06f8e8fab0c4f..391d2e52100c03775ade1f446aa25edc7c78cab2 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-25  Ken Brown  <kbrown@cornell.edu>
+
+       * emacs.c (main): Remove use of obsolete macro
+       G_SLICE_ALWAYS_MALLOC.
+
 2014-08-25  Eli Zaretskii  <eliz@gnu.org>
 
        Implement locale-sensitive string collation for MS-Windows.
index a53b4cfd4edd910fdd3d89f48aaf165dd3b9948d..c381a771a685a1bd9f4716c7dc336e37d00e466d 100644 (file)
@@ -734,12 +734,6 @@ main (int argc, char **argv)
   stack_base = &dummy;
 #endif
 
-#ifdef G_SLICE_ALWAYS_MALLOC
-  /* This is used by the Cygwin build.  It's not needed starting with
-     cygwin-1.7.24, but it doesn't do any harm.  */
-  xputenv ("G_SLICE=always-malloc");
-#endif
-
 #ifndef CANNOT_DUMP
   might_dump = !initialized;
 #endif