From 5ccc68d0100e482611fdcb2c4d8ad6df62024442 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Tue, 15 Dec 1998 21:16:24 +0000 Subject: [PATCH] -fstack-check generates non-working code for at least a few compilers -fstack-check generates non-working code for at least a few compilers (egcs 1.1 included) and the benefits are dubious (your program is going to crash anyways if you run out of stack) so comment that out for now. --- configure.in | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/configure.in b/configure.in index 71b671c..d2ad3e5 100644 --- a/configure.in +++ b/configure.in @@ -660,17 +660,17 @@ if test x"$have_threads" != xnone; then AC_MSG_WARN($FLAG_DOES_NOT_WORK)) CPPFLAGS=$old_CPPFLAGS - if test x"$GCC" = xyes; then - # older gcc's do not know the -fstack-check option and will - # stop compiling, so just check this here - old_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS -fstack-check" - AC_TRY_COMPILE(,, - G_THREAD_CFLAGS="$G_THREAD_CFLAGS -fstack-check") - CPPFLAGS=$old_CPPFLAGS - else - AC_MSG_WARN($THREAD_UNKNOWN_COMPILER) - fi +# if test x"$GCC" = xyes; then +# # older gcc's do not know the -fstack-check option and will +# # stop compiling, so just check this here +# old_CPPFLAGS="$CPPFLAGS" +# CPPFLAGS="$CPPFLAGS -fstack-check" +# AC_TRY_COMPILE(,, +# G_THREAD_CFLAGS="$G_THREAD_CFLAGS -fstack-check") +# CPPFLAGS=$old_CPPFLAGS +# else +# AC_MSG_WARN($THREAD_UNKNOWN_COMPILER) +# fi AC_MSG_CHECKING(necessary compiler options) -- 2.7.4