Commit | Line | Data |
---|---|---|
959f3c4c JH |
1 | ?RCS: $Id: d_normsig.U,v 3.0.1.2 1997/02/28 15:37:03 ram Exp $ |
2 | ?RCS: | |
3 | ?RCS: Copyright (c) 1991-1993, Raphael Manfredi | |
4 | ?RCS: | |
5 | ?RCS: You may redistribute only under the terms of the Artistic Licence, | |
6 | ?RCS: as specified in the README file that comes with the distribution. | |
7 | ?RCS: You may reuse parts of this distribution only within the terms of | |
8 | ?RCS: that same Artistic Licence; a copy of which may be found at the root | |
9 | ?RCS: of the source tree for dist 3.0. | |
10 | ?RCS: | |
11 | ?RCS: $Log: d_normsig.U,v $ | |
12 | ?RCS: Revision 3.0.1.2 1997/02/28 15:37:03 ram | |
13 | ?RCS: patch61: replaced .a with $_a all over the place | |
14 | ?RCS: | |
15 | ?RCS: Revision 3.0.1.1 1994/10/29 16:14:48 ram | |
16 | ?RCS: patch36: call ./bsd explicitely instead of relying on PATH | |
17 | ?RCS: | |
18 | ?RCS: Revision 3.0 1993/08/18 12:06:44 ram | |
19 | ?RCS: Baseline for dist 3.0 netwide release. | |
20 | ?RCS: | |
21 | ?MAKE:d_normsig jobslib: test Setvar Guess _a | |
22 | ?MAKE: -pick add $@ %< | |
23 | ?S:d_normsig: | |
24 | ?S: This variable conditionally defines the NORMSIG symbol, which | |
25 | ?S: indicates to the C program that the normal signal handling routines | |
26 | ?S: should be used, as opposed to the ones in 4.1bsd (sigset, etc.). | |
27 | ?S:. | |
28 | ?S:jobslib: | |
29 | ?S: This variable holds the argument to be passed to the loader to include | |
30 | ?S: the strange signal handling routines from 4.1bsd. On systems that | |
31 | ?S: have NORMSIG defined this variable is null. | |
32 | ?S:. | |
33 | ?C:NORMSIG: | |
34 | ?C: This symbol, if defined, indicates that normal signal handling routines | |
35 | ?C: should be used, as opposed to the ones in 4.1bsd (sigset, etc.). | |
36 | ?C:. | |
37 | ?H:#$d_normsig NORMSIG /**/ | |
38 | ?H:. | |
39 | ?LINT:set d_normsig | |
40 | : see if we need -ljobs and if we have sigset, etc. | |
41 | echo " " | |
42 | if $test -r /usr/lib/libjobs$_a || $test -r /usr/local/lib/libjobs$_a ; then | |
43 | echo "Jobs library found." >&4 | |
44 | val="$undef" | |
45 | jobslib='-ljobs' | |
46 | else | |
47 | if ./bsd; then | |
48 | echo "No jobs library found. (I suppose this is at least 4.2...)" >&4 | |
49 | else | |
50 | echo "No jobs library found. (That's okay, we all have our faults.)" >&4 | |
51 | fi | |
52 | val="$define" | |
53 | jobslib='' | |
54 | fi | |
55 | set d_normsig | |
56 | eval $setvar | |
57 |