This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Old hosts like NeXT Classic don't have sort -k,
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 23 Feb 2002 03:32:32 +0000 (03:32 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 23 Feb 2002 03:32:32 +0000 (03:32 +0000)
from Paul Eggert.

p4raw-id: //depot/perl@14839

Configure

index 55182bd..e6903fd 100755 (executable)
--- 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$$ <<EOF
@@ -15692,7 +15692,7 @@ $cat >>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