# HG changeset patch # User jkeil # Date 1006879834 0 # Node ID b8e7c71f4fcb0ba523a66462415bf828dbb18dae # Parent 411ba8287a8fef739c8944e0519829a0c494e735 Use "tail -1" instead of "tail -n 1" to print the last line, the "-n" option seems to be a gnu extension and is not available with the solaris "tail". diff -r 411ba8287a8f -r b8e7c71f4fcb configure --- a/configure Tue Nov 27 16:38:48 2001 +0000 +++ b/configure Tue Nov 27 16:50:34 2001 +0000 @@ -311,7 +311,7 @@ echocheck "$_cc version" # also check for name (the version checking is only for _gcc_ up for now) # FIXME implement this in ver. check. - cc_name=`$_cc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1` + cc_name=`$_cc -v 2>&1 | tail -1 | cut -d ' ' -f 1` cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'` case $cc_version in '')