X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fvos.sh;h=62510ee0d12fa81d0bab3eb2300c82a7a098837f;hb=53df3d8cb98cbfbef669eddaaa174212d27bd68c;hp=9860a6faacaba52c774e056bee871ee0215cfe00;hpb=c50b6f56db28b9899ebe08201288c8d0707ffb6d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/vos.sh b/hints/vos.sh index 9860a6f..62510ee 100644 --- a/hints/vos.sh +++ b/hints/vos.sh @@ -108,9 +108,12 @@ echo "Testing whether bug gnu_g++-220 is fixed in your compiler..." # Try compiling the test case. if $cc -o t001 -O $ccflags $ldflags ../hints/t001.c; then gccbug=`$run ./t001` + if [ "X$gccversion" = "X" ]; then + # Done too late in Configure if hinted + gccversion=`$cc --version | sed 's/.*(GCC) *//'` + fi case "$gccbug" in - *fails*) gccversion=`$cc --version` - cat >&4 <&4 <