From: Jarkko Hietaniemi Date: Sat, 23 Feb 2002 03:32:32 +0000 (+0000) Subject: Old hosts like NeXT Classic don't have sort -k, X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1eb9ad5b3e9e76b4d6c6224bb224c1dc5b30c70e;p=p5sagit%2Fp5-mst-13.2.git Old hosts like NeXT Classic don't have sort -k, from Paul Eggert. p4raw-id: //depot/perl@14839 --- diff --git a/Configure b/Configure index 55182bd..e6903fd 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Fri Feb 22 23:32:31 EET 2002 [metaconfig 3.0 PL70] +# Generated on Sat Feb 23 06:28:54 EET 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <>signal_cmd <<'EOS' set signal if eval $compile_ok; then - $run ./signal$_exe | $sort -n -k 2 | $uniq | $awk -f signal.awk >signal.lst + $run ./signal$_exe | ($sort -n -k 2 2>/dev/null || $sort -n +1) | $uniq | $awk -f signal.awk >signal.lst else echo "(I can't seem be able to compile the whole test program)" >&4 echo "(I'll try it in little pieces.)" >&4