From 7dee9e3f042d926af033bc3d398ff67ce23a3844 Mon Sep 17 00:00:00 2001 From: "tor%cs.brown.edu" Date: Fri, 26 May 2000 21:54:54 +0000 Subject: [PATCH] SUNWspro5.1+ bustage fix: classic iostream test needs to check for compilers >=5.0 (actually for anything other than 4.2). git-svn-id: svn://10.0.0.236/trunk@70941 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/configure.in b/mozilla/configure.in index be685372b25..51f39b15c2f 100644 --- a/mozilla/configure.in +++ b/mozilla/configure.in @@ -1801,14 +1801,14 @@ AC_CHECK_LIB(m, atan) AC_CHECK_LIB(dl, dlopen) if test ! "$GNU_CXX"; then - dnl The C++ compiler in Workshop 5.0 uses standard iostreams by + dnl The C++ compiler in Workshop 5.0+ uses standard iostreams by dnl default. -library=iostream will force use of classic iostreams. dnl The test is here because we need -liostream to be inserted before dnl the standard C++ library (which isn't -lC on Workshop5+, but is dnl a set of libraries). Aurgh. case $target in *-solaris*) - if test ! -z "`${CC} -V 2>&1 | head -1 | grep '5.0'`" && test "$SUNWSPRO5_VTABLE"; then + if test ! -z "`${CC} -V 2>&1 | head -1 | grep -v '4.2'`" && test "$SUNWSPRO5_VTABLE"; then CXX="$CXX -library=iostream" LIBS="-liostream -lCrun $LIBS" else