changeset 3159:b8e7c71f4fcb

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".
author jkeil
date Tue, 27 Nov 2001 16:50:34 +0000
parents 411ba8287a8f
children 80df2986ca42
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
     '')