summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-07-12 20:19:10 -0400
committerGlenn Morris <rgm@gnu.org>2012-07-12 20:19:10 -0400
commitdbee57935d2ca614c6ec052f1f26a4c67bc7eaa8 (patch)
tree32abf593240c74ce9679e35ecb22b35e7c047bf0 /src
parent6de0e799032b36bed7f7aa066a60d6c5ff9066b6 (diff)
downloademacs-dbee57935d2ca614c6ec052f1f26a4c67bc7eaa8.tar.gz
Move ULIMIT_BREAK_VALUE from src/s to configure
* configure.ac (ULIMIT_BREAK_VALUE): Move here from src/s. * src/s/gnu-linux.h, src/s/irix6-5.h: Let configure set ULIMIT_BREAK_VALUE.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/s/gnu-linux.h6
-rw-r--r--src/s/irix6-5.h3
3 files changed, 2 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4f08d108f5d..c66b38147ff 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
2012-07-13 Glenn Morris <rgm@gnu.org>
+ * s/gnu-linux.h, s/irix6-5.h: Let configure set ULIMIT_BREAK_VALUE.
+
* process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION.
* s/darwin.h (MIN_PTY_KERNEL_VERSION): Remove single-use macro.
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 569b69f574b..30bdf0407be 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -57,9 +57,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#else
#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE
#endif
-
-#ifdef __i386__
-/* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */
-/* we cannot get the maximum address for brk */
-# define ULIMIT_BREAK_VALUE (32*1024*1024)
-#endif
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index 39ac59a00c2..a8923d230d2 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -30,9 +30,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
char *_getpty();
#endif
-/* Ulimit(UL_GMEMLIM) is busted... */
-#define ULIMIT_BREAK_VALUE 0x14000000
-
#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */
#undef TIOCSIGSEND /* defined in usg5-4-common.h */