From 6e88ede6a4db017cd3574c7206a09fe176b0ea78 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 18 Sep 2005 04:02:29 +0000 Subject: [PATCH] Remove libsupc++ stuff, since it doesn't work on OSX 10.4 or with other (broken) GCC installs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- configure.in | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/configure.in b/configure.in index a5b604514..40d8cea65 100644 --- a/configure.in +++ b/configure.in @@ -743,38 +743,6 @@ dnl Add warnings to compiler switches: dnl do this last so messing with switches does not break tests if test -n "$GCC"; then - # Starting with GCC 3.0, you must link C++ programs against either - # libstdc++ (shared by default), or libsupc++ (always static). If - # you care about binary portability between Linux distributions, - # you need to either 1) build your own GCC with static C++ libraries - # or 2) link using gcc and libsupc++. We choose the latter since - # CUPS doesn't (currently) use any of the stdc++ library. - # - # Also, GCC 3.0.x still has problems compiling some code. You may - # or may not have success with it. USE 3.0.x WITH EXTREME CAUTION! - # - # Previous versions of GCC do not have the reliance on the stdc++ - # or g++ libraries, so the extra supc++ library is not needed. - - AC_MSG_CHECKING(if libsupc++ is required) - - SUPC="`$CXX -print-file-name=libsupc++.a 2>/dev/null`" - 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) - ;; - esac - - if test x$uname != xDarwin; then - CXX="$CC" - fi - # Show all standard warnings + unused variables, conversion errors, # and inlining problems when compiling... OPTIM="-Wall -Wunused -Wno-format-y2k $OPTIM"