source: squid-ssl/trunk/fuentes/acinclude/init.m4 @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 1.5 KB
Line 
1## Copyright (C) 1996-2015 The Squid Software Foundation and contributors
2##
3## Squid software is distributed under GPLv2+ license and includes
4## contributions from numerous individuals and organizations.
5## Please see the COPYING and CONTRIBUTORS files for details.
6##
7
8dnl This encapsulates the nasty mess of headers we need to check when
9dnl checking types.
10AC_DEFUN([SQUID_DEFAULT_INCLUDES],[[
11/* What a mess.. many systems have added the (now standard) bit types
12 * in their own ways, so we need to scan a wide variety of headers to
13 * find them..
14 * IMPORTANT: Keep compat/types.h syncronised with this list
15 */
16#if HAVE_SYS_TYPES_H
17#include <sys/types.h>
18#endif 
19#if HAVE_LINUX_TYPES_H
20#include <linux/types.h>
21#endif 
22#if HAVE_STDLIB_H
23#include <stdlib.h>
24#endif
25#if HAVE_STDDEF_H
26#include <stddef.h>
27#endif
28#if HAVE_INTTYPES_H
29#include <inttypes.h>
30#endif
31#if HAVE_SYS_BITYPES_H
32#include <sys/bitypes.h>
33#endif
34#if HAVE_SYS_SELECT_H
35#include <sys/select.h>
36#endif
37#if HAVE_NETINET_IN_SYSTM_H
38#include <netinet/in_systm.h>
39#endif
40]])     
41
42dnl *BSD net headers
43AC_DEFUN([SQUID_BSDNET_INCLUDES],[
44SQUID_DEFAULT_INCLUDES
45#if HAVE_SYS_PARAM_H
46#include <sys/param.h>
47#endif
48#if HAVE_SYS_TIME_H
49#include <sys/time.h>
50#endif
51#if HAVE_SYS_SOCKET_H
52#include <sys/socket.h>
53#endif
54#if HAVE_NET_IF_H
55#include <net/if.h>
56#endif
57#if HAVE_NETINET_IN_H
58#include <netinet/in.h>
59#endif
60#if HAVE_NETINET_IP_H
61#include <netinet/ip.h>
62#endif
63#if HAVE_NETINET_IP_COMPAT_H
64#include <netinet/ip_compat.h>
65#endif
66#if HAVE_NETINET_IP_FIL_H
67#include <netinet/ip_fil.h>
68#endif
69])
Note: See TracBrowser for help on using the repository browser.