3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic License,
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 License; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
11 ?RCS: $Log: d_sigaction.U,v $
12 ?RCS: Revision 3.0.1.1 1997/02/28 15:44:29 ram
13 ?RCS: patch61: created
16 ?MAKE:d_sigaction: Csym Setvar cat cc ccflags ldflags libs rm _o
17 ?MAKE: -pick add $@ %<
19 ?S: This variable conditionally defines the HAS_SIGACTION symbol, which
20 ?S: indicates that the Vr4 sigaction() routine is available.
23 ?C: This symbol, if defined, indicates that Vr4's sigaction() routine
26 ?H:#$d_sigaction HAS_SIGACTION /**/
30 : see if we have sigaction
32 if set sigaction val -f d_sigaction; eval $csym; $val; then
33 echo 'sigaction() found.' >&4
36 echo 'sigaction NOT found.' >&4
40 ?X: Solaris 2.5_x86 with SunWorks Pro C 3.0.1 doesn't have a complete
41 ?X: sigaction structure if compiled with cc -Xc. This compile test
42 ?X: will fail then. <doughera@lafcol.lafayette.edu>
46 #include <sys/types.h>
50 struct sigaction act, oact;
53 if $cc $ccflags $ldflags -o set set.c $libs >/dev/null 2>&1; then
56 echo "But you don't seem to have a useable struct sigaction." >&4
59 set d_sigaction; eval $setvar
60 $rm -f set set$_o set.c