summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.com5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.com b/configure.com
index 249f6e7052..d7d0479fa7 100644
--- a/configure.com
+++ b/configure.com
@@ -4948,15 +4948,16 @@ $ kill_by_sigprc = "undef"
$ OS
$ WS "#include <stdio.h>"
$ WS "#include <signal.h>"
+$ WS "#include <unistd.h>"
$ WS "void handler(int s) { printf(""%d\n"",s); } "
$ WS "main(){"
$ WS " printf(""0"");"
-$ WS " signal(1,handler); kill(0,1);"
+$ WS " signal(1,handler); kill(getpid(),1);"
$ WS "}"
$ CS
$ ON ERROR THEN CONTINUE
$ GOSUB compile
-$ IF tmp .NES. "0"
+$ IF tmp .NES. "01"
$ THEN
$ echo4 "Yes, it does."
$ echo4 "Checking whether we can use SYS$SIGPRC instead"