diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-09-18 04:02:29 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-09-18 04:02:29 +0000 |
| commit | 6e88ede6a4db017cd3574c7206a09fe176b0ea78 (patch) | |
| tree | 7de89d3c121a3a514a2d2bb7dfbeef71f767a4c3 | |
| parent | eefa09e6323bda4ac466ae00ef581a9b77200645 (diff) | |
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
| -rw-r--r-- | configure.in | 32 |
1 files changed, 0 insertions, 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" |
