3 ?RCS: Copyright (c) 2000, Jarkko Hietaniemi
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 3.0.
11 ?MAKE:d_socklen_t: Inhdr cat rm_try Setvar Compile d_socket sizetype
12 ?MAKE: -pick add $@ %<
14 ?S: This symbol will be defined if the C compiler supports socklen_t.
17 ?C: This symbol will defined if the C compiler supports socklen_t.
18 ?C: Usually the <sys/socket.h> needs to be included.
20 ?H:#$d_socklen_t HAS_SOCKLEN_T /**/
25 echo "Checking to see if you have socklen_t..." >&4
27 #include <sys/types.h>
30 #include <sys/socket.h>
32 int main() { socklen_t x = 16; }
35 if eval $compile; then
37 echo "You have socklen_t."
40 echo "You do not have socklen_t."
42 size_t) echo "(You do have size_t, that might work. Some people are happy with just an int.)" ;;