summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-12-19 19:23:32 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-12-19 19:23:32 +0000
commita2e149d132ff949db2282c9ae0e1d65bd9c16a35 (patch)
treeab9945b73918eb0b9c20cc6b0bd682bc23ea74a3 /configure.in
parentda5a6c383b0ffce8b096dc92f8fdd3d3c30a1d3a (diff)
"make clean" should not delete makedepend, since we now track this
in CVS (makedepend contains local dependencies, not <stdio.h> and so forth)... The configure script didn't add -fpermissive or -fno-exceptions to the CFLAGS and CXXFLAGS variables. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 6c258dd87..66b49fa82 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.31.2.42 2001/12/17 15:36:28 easysw Exp $"
+dnl "$Id: configure.in,v 1.33.2.31.2.43 2001/12/19 19:23:30 easysw Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
@@ -526,8 +526,9 @@ if test -n "$GXX"; then
OLDCFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-exceptions"
AC_TRY_COMPILE(,,
- OPTIM="$OPTIM -fno-exceptions"
+ CXXFLAGS="$CXXFLAGS -fno-exceptions"
AC_MSG_RESULT(yes),
+ CFLAGS="$OLDCFLAGS"
AC_MSG_RESULT(no))
CFLAGS="$OLDCFLAGS"
@@ -538,10 +539,10 @@ if test -n "$GXX"; then
OLDCFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fpermissive"
AC_TRY_COMPILE(,,
- OPTIM="$OPTIM -fpermissive"
+ CXXFLAGS="$CXXFLAGS -fpermissive"
AC_MSG_RESULT(yes),
+ CFLAGS="$OLDCFLAGS"
AC_MSG_RESULT(no))
- CFLAGS="$OLDCFLAGS"
fi
else
case `(uname) 2>/dev/null` in
@@ -632,5 +633,5 @@ AC_OUTPUT(makeinclude fltk.list fltk-config FL/Makefile)
chmod +x fltk-config
dnl
-dnl End of "$Id: configure.in,v 1.33.2.31.2.42 2001/12/17 15:36:28 easysw Exp $".
+dnl End of "$Id: configure.in,v 1.33.2.31.2.43 2001/12/19 19:23:30 easysw Exp $".
dnl