pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2008-04-26
2008-04-26 21:04:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>
57c0cf0364905f16f076454307437e83aeae3689 (
16
lines) (+
11
/-
5
)
[
Show
|
Annotate
]
Branch:
7.9
Increased paranoia in initial stack limit check.
Rev: src/configure.in:1.1052
1:
-
AC_REVISION("$Id: configure.in,v 1.
1051
2008/
03
/
29
11
:
50
:
55
mast
Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
1052
2008/
04
/
26
21
:
04
:
52
grubba
Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
2361:
# MinGW system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
1051
2008/
03
/
29
11
:
50
:
55
mast
Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
1052
2008/
04
/
26
21
:
04
:
52
grubba
Exp $.
# MinGW-version. Do NOT edit. posix_name="`cat`" posix_prefix="/"
2399:
# Native POSIX system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
1051
2008/
03
/
29
11
:
50
:
55
mast
Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
1052
2008/
04
/
26
21
:
04
:
52
grubba
Exp $.
# POSIX-version. Do NOT edit. cat EOF
2408:
# rntcl-style cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
1051
2008/
03
/
29
11
:
50
:
55
mast
Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
1052
2008/
04
/
26
21
:
04
:
52
grubba
Exp $.
# RNTCL-version. Do NOT edit. sed -e "$PIKE_PATH_TRANSLATE" EOF
4101:
AC_CACHE_VAL(pike_cv_initial_stack_size,[ old_core_limit=`ulimit -c` ulimit -Sc 0
+
rm -f confdefs.out.2 >/dev/null 2>&1 || :
AC_TRY_RUN([ #include <stdio.h>
4133:
use_stack(0); } ], [pike_cv_initial_stack_size=''], [
+
pike_cv_initial_stack_size=32768
while read x; do
-
pike_cv_initial_stack_size=$x
;
+
# Some paranoia in case fprintf outputs junk at and of stack...
+
if test "$x" -gt "$pike_cv_initial_stack_size"; then
+
pike_cv_initial_stack_size=
"
$x
";
+
fi
done <confdefs.out.2 ], [pike_cv_initial_stack_size='']) ulimit -c $old_core_limit