diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2003-05-23 09:15:34 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2003-05-23 09:15:34 +0000 |
commit | 927396a33d07bdd6b1853b9c89a7debe1d4c1f7a (patch) | |
tree | 23857a894942b91ee1efae2a4899f40d0590c397 | |
parent | e444680a34164e0fa51090d12ca8f33cef01cd2f (diff) |
Le test stackov.c n'est pas fiable (PR#1602)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5572 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rwxr-xr-x | configure | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -995,20 +995,10 @@ fi # Determine if system stack overflows can be detected -case "$arch,$model,$system" in - i386,*,*) - case "$host" in # Check for FreeBSD 4.5 bug - *-*-freebsd*|*-*-openbsd*) check_pthread=yes ;; - *) check_pthread=no ;; - esac - if ./runtest -DTARGET_$arch -DSYS_$system stackov.c \ - && test $check_pthread = no || cclibs="-pthread $cclibs" \ - ./runtest -DTARGET_$arch -DSYS_$system stackov.c; then +case "$arch,$system" in + i386,linux_elf|i386,bsd_elf) echo "System stack overflow can be detected." - echo "#define HAS_STACK_OVERFLOW_DETECTION" >> s.h - else - echo "Cannot detect system stack overflow." - fi;; + echo "#define HAS_STACK_OVERFLOW_DETECTION" >> s.h;; *) echo "Cannot detect system stack overflow.";; esac |