case `$cc -v 2>&1`"" in
*gcc*) ccisgcc="$define" ;;
*) ccisgcc=''
- ccversion=`which cc | xargs what | grep Compiler | awk '{print $2}'`
+ ccversion=`which cc | xargs what | awk '/Compiler/{print $2}'`
;;
esac
ccflags="$ccflags +DD64"
ldflags="$ldflags +DD64"
test -d /lib/pa20_64 && loclibpth="$loclibpth /lib/pa20_64"
+ libswanted="$libswanted pthread"
libscheck='case "`/usr/bin/file $xxx`" in
*LP64*|*PA-RISC2.0*) ;;
*) xxx=/no/64-bit$xxx ;;