summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-17 17:05:08 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-17 17:05:08 +0000
commit458b4ef2d0d59e47a088c9eae9e087d31d461a14 (patch)
tree3584ff5c3dfac638910dcf520937694dbe5d74d4
parent629f32738284d715f29f3786b3268a821823945d (diff)
Try different check for libstdc++ that might work better with Cygwin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--configure.in16
1 files changed, 10 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index bc152f520..07b628aa5 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.79 2002/07/14 17:03:30 easysw Exp $"
+dnl "$Id: configure.in,v 1.33.2.31.2.80 2002/07/17 17:05:08 easysw Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
@@ -600,13 +600,17 @@ if test -n "$GCC"; then
AC_MSG_CHECKING(if libsupc++ is required)
SUPC="`$CXX -print-file-name=libsupc++.a 2>/dev/null`"
- if test -n "$SUPC" -a "$SUPC" != "libsupc++.a"; then
+ case "$SUPC" in
+ libsupc++.a*)
+ # Library not found, so this is and older GCC...
+ AC_MSG_RESULT(no)
+ ;;
+ *)
# This is gcc 3.x, and it knows of libsupc++, so we need it
LIBS="$LIBS -lsupc++"
AC_MSG_RESULT(yes)
- else
- AC_MSG_RESULT(no)
- fi
+ ;;
+ esac
CXX="$CC"
@@ -778,5 +782,5 @@ dnl Make sure the fltk-config script is executable...
chmod +x fltk-config
dnl
-dnl End of "$Id: configure.in,v 1.33.2.31.2.79 2002/07/14 17:03:30 easysw Exp $".
+dnl End of "$Id: configure.in,v 1.33.2.31.2.80 2002/07/17 17:05:08 easysw Exp $".
dnl