blob: ec9c85acb6da66a74d01cd1c429b6d386838d0f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# -*- autoconf -*-
#########################################
##
# Checks for types
##
#########################################
##
# Standard checks:
##
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_HEADER_TIME
##
# More complex checks:
##
# Check for 'socklen_t' (HP-UX)
#
AC_CHECK_TYPES([socklen_t],,,[
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif])
# Check for 'in_addr_t'
# May be in <netinet/in.h> (AIX)
#
AC_CHECK_TYPES([in_addr_t],,,[
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif])
# Check for 'ssize_t'
# Not necessarily in <sys/types.h> (older MinGW)
#
AC_CHECK_TYPES([ssize_t],,,[
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif])
|