diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-21 05:33:07 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-21 05:33:07 +0000 |
commit | 65197d9353c381a2c9b77780fe37feba9ff535ab (patch) | |
tree | 9a90a103d8ac2f84ad48db970d34096ca2baef09 /Configure | |
parent | 80a33da17f057e4c56dc820d47ea60e55fe45f3e (diff) | |
download | perl-65197d9353c381a2c9b77780fe37feba9ff535ab.tar.gz |
Revert #14805, didn't quite work.
p4raw-id: //depot/perl@14807
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Thu Feb 21 08:11:57 EET 2002 [metaconfig 3.0 PL70] +# Generated on Thu Feb 21 08:33:08 EET 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -15638,7 +15638,7 @@ EOCP echo $xxx | $tr ' ' $trnl | $sort | $uniq | $awk ' { printf "#ifdef SIG"; printf $1; printf "\n" - printf "printf(\"%%d "; printf $1; printf "\\n\",SIG"; + printf "printf(\""; printf $1; printf " %%d\\n\",SIG"; printf $1; printf ");\n" printf "#endif\n" } @@ -15649,17 +15649,17 @@ END { ' >>signal.c $cat >signal.awk <<'EOP' BEGIN { ndups = 0 } -$2 ~ /^NSIG$/ { nsig = $1 } -($2 !~ /^NSIG$/) && (NF == 2) { - if ($1 > maxsig) { maxsig = $1 } - if (sig_name[$1]) { - dup_name[ndups] = $2 - dup_num[ndups] = $1 +$1 ~ /^NSIG$/ { nsig = $2 } +($1 !~ /^NSIG$/) && (NF == 2) { + if ($2 > maxsig) { maxsig = $2 } + if (sig_name[$2]) { + dup_name[ndups] = $1 + dup_num[ndups] = $2 ndups++ } else { - sig_name[$1] = $2 - sig_num[$1] = $1 + sig_name[$2] = $1 + sig_num[$2] = $2 } } END { @@ -15692,7 +15692,7 @@ $cat >>signal_cmd <<'EOS' set signal if eval $compile_ok; then - $run ./signal$_exe | $sort -n | $uniq | $awk -f signal.awk >signal.lst + $run ./signal$_exe | $sort -n -k 2 | $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 @@ -15726,7 +15726,7 @@ EOCP done if $test -s signal.ls1; then $cat signal.nsg signal.ls1 | - $sort -n -k 2 | $uniq | $awk -f signal.awk >signal.lst + $sort -n | $uniq | $awk -f signal.awk >signal.lst fi fi |