Branch: Tag:

2007-06-09

2007-06-09 17:32:01 by Martin Stjernholm <mast@lysator.liu.se>

Avoid the inevitable core dump during the initial stack size test - takes a
lot of time and space to dump a 2 Gb core.

Rev: src/configure.in:1.1015

1: - AC_REVISION("$Id: configure.in,v 1.1014 2007/05/20 14:54:41 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.1015 2007/06/09 17:32:01 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2308:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1014 2007/05/20 14:54:41 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1015 2007/06/09 17:32:01 mast Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2346:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1014 2007/05/20 14:54:41 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1015 2007/06/09 17:32:01 mast Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2355:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1014 2007/05/20 14:54:41 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1015 2007/06/09 17:32:01 mast Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
3965:   if test "x$pike_cv_sys_os" = "xWindows_NT" -o "x$pike_cv_sys_os" = "xAmigaOS"; then :; else    AC_MSG_CHECKING(initial stack limit)    AC_CACHE_VAL(pike_cv_initial_stack_size,[ +  old_core_limit=`ulimit -c` +  ulimit -Sc 0    AC_TRY_RUN([   #include <stdio.h>   
4001:    pike_cv_initial_stack_size=$x ;    done <confdefs.out.2    ], [pike_cv_initial_stack_size='']) +  ulimit -c $old_core_limit +  unset old_core_limit    rm -f confdefs.out.2 >/dev/null 2>/dev/null || :    ])    if test x$pike_cv_initial_stack_size = x ; then