aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac16
-rw-r--r--src/ChangeLog2
-rw-r--r--src/s/gnu-linux.h6
-rw-r--r--src/s/irix6-5.h3
5 files changed, 22 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 59f9981bc3f..0132571d2e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12012-07-13 Glenn Morris <rgm@gnu.org>
2
3 * configure.ac (ULIMIT_BREAK_VALUE): Move here from src/s.
4
12012-07-12 Glenn Morris <rgm@gnu.org> 52012-07-12 Glenn Morris <rgm@gnu.org>
2 6
3 * configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA 7 * configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA
diff --git a/configure.ac b/configure.ac
index 24ad6b59f57..90016de779b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3545,6 +3545,7 @@ case $opsys in
3545esac 3545esac
3546 3546
3547 3547
3548AH_TEMPLATE(ULIMIT_BREAK_VALUE, [Undocumented.])
3548AH_TEMPLATE(TAB3, [Undocumented.]) 3549AH_TEMPLATE(TAB3, [Undocumented.])
3549 3550
3550case $opsys in 3551case $opsys in
@@ -3555,10 +3556,25 @@ case $opsys in
3555 AC_DEFINE(TAB3, OXTABS) 3556 AC_DEFINE(TAB3, OXTABS)
3556 ;; 3557 ;;
3557 3558
3559 gnu-linux | gnu-kfreebsd )
3560 dnl libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared
3561 dnl library, we cannot get the maximum address for brk.
3562 AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
3563#ifndef __i386__
3564# error "not i386"
3565#endif
3566 ]], [[]])], AC_DEFINE(ULIMIT_BREAK_VALUE, [(32*1024*1024)]), [])
3567 ;;
3568
3558 hpux*) 3569 hpux*)
3559 AC_DEFINE(RUN_TIME_REMAP, 1, [Define if emacs.c needs to call 3570 AC_DEFINE(RUN_TIME_REMAP, 1, [Define if emacs.c needs to call
3560 run_time_remap; for HPUX.]) 3571 run_time_remap; for HPUX.])
3561 ;; 3572 ;;
3573
3574 irix6-5)
3575 dnl Ulimit(UL_GMEMLIM) is busted...
3576 AC_DEFINE(ULIMIT_BREAK_VALUE, [0x14000000])
3577 ;;
3562esac 3578esac
3563 3579
3564 3580
diff --git a/src/ChangeLog b/src/ChangeLog
index 4f08d108f5d..c66b38147ff 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12012-07-13 Glenn Morris <rgm@gnu.org> 12012-07-13 Glenn Morris <rgm@gnu.org>
2 2
3 * s/gnu-linux.h, s/irix6-5.h: Let configure set ULIMIT_BREAK_VALUE.
4
3 * process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION. 5 * process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION.
4 * s/darwin.h (MIN_PTY_KERNEL_VERSION): Remove single-use macro. 6 * s/darwin.h (MIN_PTY_KERNEL_VERSION): Remove single-use macro.
5 7
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/>. */
57#else 57#else
58#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE 58#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE
59#endif 59#endif
60
61#ifdef __i386__
62/* libc-linux/sysdeps/linux/i386/ulimit.c says that due to shared library, */
63/* we cannot get the maximum address for brk */
64# define ULIMIT_BREAK_VALUE (32*1024*1024)
65#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/>. */
30char *_getpty(); 30char *_getpty();
31#endif 31#endif
32 32
33/* Ulimit(UL_GMEMLIM) is busted... */
34#define ULIMIT_BREAK_VALUE 0x14000000
35
36#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */ 33#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */
37 34
38#undef TIOCSIGSEND /* defined in usg5-4-common.h */ 35#undef TIOCSIGSEND /* defined in usg5-4-common.h */