From 1b529efa42d4953ba77892eb76d730aba706817e Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Wed, 26 Apr 2000 07:59:53 +0000 Subject: Fixed the -fno_exceptions test so it does not always fail. I had a hard time figuring this out. Autoconf will produce useless files without producing an error message, and it does not like commas in any of the fields. I had to look at the generated script to get something working. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- configure.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 09d389da9..3538e645d 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl# -*- sh -*- dnl# the "configure" script is made from this by running GNU "autoconf" dnl# -dnl# "$Id: configure.in,v 1.33.2.8 2000/04/26 06:55:08 bill Exp $" +dnl# "$Id: configure.in,v 1.33.2.9 2000/04/26 07:59:53 bill Exp $" dnl# dnl# Configuration script for the Fast Light Tool Kit (FLTK). dnl# @@ -185,17 +185,17 @@ if test -n "$GXX"; then CXXFLAGS="-fPIC $CXXFLAGS" fi CFLAGS="-fno-rtti -fomit-frame-pointer $CFLAGS" - CXXFLAGS="-fno-rtti -fomit-frame-pointer $CXXFLAGS" + CXXFLAGS="-fno-rtti -fomit-stack-frame $CXXFLAGS" # See if GCC supports -fno-exceptions... OLDCFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fno-exceptions" - AC_TRY_COMPILE(#include ,void func(void) { puts("Hello, World!"); }, + AC_TRY_COMPILE(,, CXXFLAGS="$CXXFLAGS -fno-exceptions" - echo Congratulations, your GCC supports exceptions; disabling them..., + echo "Congratulations your GCC supports exceptions; disabling them...", CFLAGS="$OLDCFLAGS" - echo I see that your GCC does not support exceptions.) + echo "I see that your GCC does not support exceptions." ) else case `(uname) 2>/dev/null` in IRIX*) @@ -263,5 +263,5 @@ AC_CONFIG_HEADER(config.h:configh.in) AC_OUTPUT(makeinclude) dnl# -dnl# End of "$Id: configure.in,v 1.33.2.8 2000/04/26 06:55:08 bill Exp $". +dnl# End of "$Id: configure.in,v 1.33.2.9 2000/04/26 07:59:53 bill Exp $". dnl# -- cgit v1.2.3