summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-28 02:38:44 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-28 02:38:44 +0000
commit6764938d2d6f3ec10fa11fdf44e5fa19314373a4 (patch)
treea173783e50bea02f13f8e465406718e4ca329ae8 /Configure
parent7599c0b3a5551e3249bec4cfca2a97eefbcd917f (diff)
downloadperl-6764938d2d6f3ec10fa11fdf44e5fa19314373a4.tar.gz
better variant of change#4644 (from Andy Dougherty)
p4raw-link: @4644 on //depot/perl: 53d4e464026d47e82a58aab9b922fdc92a91a7f3 p4raw-id: //depot/perl@4715
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure19
1 files changed, 10 insertions, 9 deletions
diff --git a/Configure b/Configure
index f20ba17cdb..e71aefc538 100755
--- a/Configure
+++ b/Configure
@@ -12857,13 +12857,12 @@ esac
: Remove SIGSTKSIZE used by Linux.
: Remove SIGSTKSZ used by Posix.
: Remove SIGTYP void lines used by OS2.
+: Some cpps, like os390, dont give the file name anywhere
if [ "X$fieldn" = X ]; then
- xxx=`echo '#include <signal.h>' |
- $cppstdin $cppminus $cppflags 2>/dev/null |
- $grep '^[ ]*#.*include' |
- $sed 's!"!!g' | $sort | $uniq`
+ : Just make some guesses. We check them later.
+ xxx='/usr/include/signal.h /usr/include/sys/signal.h'
else
- xxx=`echo '#include <signal.h>' |
+ xxx=`echo '#include <signal.h>' |
$cppstdin $cppminus $cppflags 2>/dev/null |
$grep '^[ ]*#.*include' |
$awk "{print \\$$fieldn}" | $sed 's!"!!g' | $sort | $uniq`
@@ -12887,10 +12886,12 @@ $1 == "#" && $2 ~ /^define$/ && $3 ~ /^SIG[A-Z0-9]*$/ && $3 !~ /SIGARRAYSIZE/ &&
print substr($3, 4, 20)
}' $xxxfiles`
: Append some common names just in case the awk scan failed.
-xxx="$xxx ABRT ALRM BUS CHLD CLD CONT DIL EMT FPE HUP ILL INT IO IOT KILL"
-xxx="$xxx LOST PHONE PIPE POLL PROF PWR QUIT SEGV STKFLT STOP SYS TERM TRAP"
-xxx="$xxx TSTP TTIN TTOU URG USR1 USR2 USR3 USR4 VTALRM"
-xxx="$xxx WINCH WIND WINDOW XCPU XFSZ"
+xxx="$xxx ABRT ALRM BUS CANCEL CHLD CLD CONT DIL EMT FPE"
+xxx="$xxx FREEZE HUP ILL INT IO IOT KILL LOST LWP PHONE"
+xxx="$xxx PIPE POLL PROF PWR QUIT RTMAX RTMIN SEGV STKFLT STOP"
+xxx="$xxx SYS TERM THAW TRAP TSTP TTIN TTOU URG USR1 USR2"
+xxx="$xxx USR3 USR4 VTALRM WAITING WINCH WIND WINDOW XCPU XFSZ"
+
: generate a few handy files for later
$cat > signal.c <<'EOCP'
#include <sys/types.h>