1 ?RCS: $Id: ipc.U 1 2006-08-24 12:32:52Z rmanfredi $
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
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 4.0.
12 ?RCS: Revision 3.0 1993/08/18 12:08:53 ram
13 ?RCS: Baseline for dist 3.0 netwide release.
15 ?MAKE:ipc serve_shm serve_msg serve_inet_udp serve_inet_tcp serve_unix_udp \
16 serve_unix_tcp: test Myread Oldconfig d_socket d_msg d_shm d_sem
17 ?MAKE: -pick add $@ %<
20 ?S: This variable holds the type of IPC service we'll be using. Values
21 ?S: include "ip", "shm", "msg", "cms" and "os9". We don't worry about
22 ?S: cms or os9 here, because Configure doesn't run in those places--HMS.
25 ?S: This variable controls the definition of SERVE_SHM, which tells the
26 ?S: C program to use USG shared memory for IPC.
29 ?S: This variable controls the definition of SERVE_MSG, which tells the
30 ?S: C program to use USG message queues for IPC.
33 ?S: This variable controls the definition of SERVE_INET_UDP, which tells
34 ?S: the C program to enable InterNet-domain UDP support for IPC.
37 ?S: This variable controls the definition of SERVE_INET_TCP, which tells
38 ?S: the C program to enable InterNet-domain TCP support for IPC.
41 ?S: This variable controls the definition of SERVE_UNIX_UDP, which tells
42 ?S: the C program to enable Unix-domain UDP support for IPC.
45 ?S: This variable controls the definition of SERVE_UNIX_TCP, which tells
46 ?S: the C program to enable Unix-domain TCP support for IPC.
49 ?C: If defined, tells the C program to use USG shared memory for IPC.
52 ?C: If defined, tells the C program to use USG message queues for IPC.
55 ?C: If defined, tells the C program to enable InterNet-domain UDP
59 ?C: If defined, tells the C program to enable InterNet-domain TCP
63 ?C: If defined, tells the C program to enable Unix-domain UDP
67 ?C: If defined, tells the C program to enable Unix-domain TCP
70 ?H:#$serve_shm SERVE_SHM /**/
71 ?H:#$serve_msg SERVE_MSG /**/
72 ?H:#$serve_inet_udp SERVE_INET_UDP /**/
73 ?H:#$serve_inet_tcp SERVE_INET_TCP /**/
74 ?H:#$serve_unix_udp SERVE_UNIX_UDP /**/
75 ?H:#$serve_unix_tcp SERVE_UNIX_TCP /**/
79 ?INIT:serve_msg="$undef"
80 ?INIT:serve_inet_udp=''
81 ?INIT:serve_inet_tcp=''
82 ?INIT:serve_unix_udp=''
83 ?INIT:serve_unix_tcp=''
89 if $test "$ipc" != "shm" -a "$d_socket" = "$define"; then
91 if $test "$serve_inet_udp" = "$undef"; then
96 rp='Provide InterNet-domain UDP service?'
100 n*) serve_inet_udp="$undef";;
102 serve_inet_udp="$define"
107 if $test "$serve_inet_tcp" = "$define"; then
112 rp='Provide InterNet-domain TCP service?'
116 n*) serve_inet_tcp="$undef";;
118 serve_inet_tcp="$define"
123 if $test "$serve_unix_udp" = "$define"; then
128 rp='Provide Unix-domain UDP service?'
132 n*) serve_unix_udp="$undef";;
134 serve_unix_udp="$define"
139 if $test "$serve_unix_tcp" = "$define"; then
144 rp='Provide Unix-domain TCP service?'
148 n*) serve_unix_tcp="$undef";;
150 serve_unix_tcp="$define"
155 serve_inet_udp="$undef"
156 serve_inet_tcp="$undef"
157 serve_unix_udp="$undef"
158 serve_unix_tcp="$undef"
160 if $test "$ipc" != "ip" -a "$d_shm" = "$define"; then
161 echo "Providing USG shared memory IPC support." >&4
167 if $test -z "$ipc"; then
168 echo "You must select an IPC mechanism." >&4