X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fsvr5.sh;h=87118f45503ca76117b9460332a4d3d6e63b0463;hb=e853d2264b77e2bdc0758f8ab38e819629763e81;hp=ff08fcc18589431bf66ac41da64826737ca16c2e;hpb=c2ca7025d8b61ba9f9fac6a70376cc8b17026176;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/svr5.sh b/hints/svr5.sh index ff08fcc..87118f4 100644 --- a/hints/svr5.sh +++ b/hints/svr5.sh @@ -12,7 +12,7 @@ case "$cc" in # "$gccversion" not set yet if [ "X$gccversion" = "X" ]; then # Done too late in Configure if hinted - gccversion=`$cc --version | sed 's/.*(GCC) *//'` + gccversion=`$cc -dumpversion` fi case $gccversion in *2.95*) @@ -48,14 +48,15 @@ esac want_dbm='yes' # use dbm if can find library in /usr/local/lib want_gdbm='yes' # use gdbm if can find library in /usr/local/lib want_udk70='' # link with old static libc pieces - # link with udk70 if building on 7.1 abd want resulting binary + # link with udk70 if building on 7.1 and want resulting binary # to run on uw7.0* - it will link in referenced static symbols # of libc that are (now) in the shared libc.so on 7.1 but were # not there in 7.0. # There are still scenarios where this is still insufficient so # overall it is preferable to get ptf7051e # ftp://ftp.sco.com/SLS/ptf7051e.Z - # installed on any/all 7.0 systems and leave the above unset. + # installed on any/all 7.0 systems and leave the above unset + # (sadly this is unavailable as of 2009-08-03) if [ "$want_ucb" ] ; then ldflags= '-L/usr/ucblib'