blob: 002666ba42c9979971f1aae6885d78f7f369f204 [file] [log] [blame]
jardineb5d44e2003-12-23 08:09:43 +00001/* accconfig.h -- `autoheader' will generate config.h.in for zebra.
2 Copyright (C) 1998, 1999 Kunihiro Ishiguro <kunihiro@zebra.org> */
3
4/* Version of GNU Zebra */
5#undef VERSION
6
7/* Solaris on x86. */
8#undef SOLARIS_X86
9
10/* Package name of GNU Zebra */
11#undef PACKAGE
12
13/* Define if host is GNU/Linux */
14#undef GNU_LINUX
15
16/* Define if you have the AF_ROUTE socket. */
17#undef HAVE_AF_ROUTE
18
19/* Define if you have the inet_aton function. */
20#undef HAVE_INET_ATON
21
22/* Define if you have the inet_ntop function. */
23#undef HAVE_INET_NTOP
24
25/* Define if you have the inet_pton function. */
26#undef HAVE_INET_PTON
27
28/* Define if you have the setproctitle function. */
29#undef HAVE_SETPROCTITLE
30
31/* Define if you have ipv6 stack. */
32#undef HAVE_IPV6
33
34/* Define if you wish to support ipv6 router advertisment. */
35/* #undef HAVE_RTADV */
36
37/* whether system has GNU regex */
38#undef HAVE_GNU_REGEX
39
40/* whether system has SNMP library */
41#undef HAVE_SNMP
42
43/* whether sockaddr has a sa_len field */
44#undef HAVE_SA_LEN
45
46/* whether sockaddr_in has a sin_len field */
47#undef HAVE_SIN_LEN
48
49/* whether sockaddr_un has a sun_len field */
50#undef HAVE_SUN_LEN
51
52/* whether sockaddr_in6 has a sin6_scope_id field */
53#undef HAVE_SIN6_SCOPE_ID
54
55/* Define if there is socklen_t. */
56#undef HAVE_SOCKLEN_T
57
58/* Define if there is sockaddr_dl structure. */
59#undef HAVE_SOCKADDR_DL
60
61/* Define if there is ifaliasreq structure. */
62#undef HAVE_IFALIASREQ
63
64/* Define if there is in6_aliasreq structure. */
65#undef HAVE_IN6_ALIASREQ
66
67/* Define if there is rt_addrinfo structure. */
68#undef HAVE_RT_ADDRINFO
69
70/* Define if there is in_pktinfo structure. */
71#undef HAVE_INPKTINFO
72
73/* Define if you have the getrusage function. */
74#undef HAVE_RUSAGE
75
76/* Define if /proc/net/dev exists. */
77#undef HAVE_PROC_NET_DEV
78
79/* Define if /proc/net/if_inet6 exists. */
80#undef HAVE_PROC_NET_IF_INET6
81
82/* Define if NET_RT_IFLIST exists in sys/socket.h. */
83#undef HAVE_NET_RT_IFLIST
84
85/* Define if you have INRIA ipv6 stack. */
86#undef INRIA_IPV6
87
88/* Define if you have KAME project ipv6 stack. */
89#undef KAME
90
91/* Define if you have Linux ipv6 stack. */
92#undef LINUX_IPV6
93
94/* Define if you have NRL ipv6 stack. */
95#undef NRL
96
97/* Define if you have BSDI NRL IPv6 stack. */
98#undef BSDI_NRL
99
100/* Define if one-vty option is specified. */
101#undef VTYSH
102
103/* Define if interface aliases don't have distinct indeces */
104#undef HAVE_BROKEN_ALIASES
105
106/* Define if disable-bgp-announce option is specified. */
107#undef DISABLE_BGP_ANNOUNCE
108
109/* PAM support */
110#undef USE_PAM
111
112/* TCP/IP communication between zebra and protocol daemon. */
113#undef HAVE_TCP_ZEBRA
114
115/* The OSPF NSSA option (RFC1587). */
116#undef HAVE_NSSA
117
118/* The OSPF Opaque LSA option (RFC2370). */
119#undef HAVE_OPAQUE_LSA
120
121/* Traffic Engineering Extension to OSPF
122 (draft-katz-yeung-ospf-traffic-06.txt). */
123#undef HAVE_OSPF_TE
124
125/* Linux netlink. */
126#undef HAVE_NETLINK
127
128/* PATHS */
129#undef PATH_ZEBRA_PID
130#undef PATH_RIPD_PID
131#undef PATH_RIPNGD_PID
132#undef PATH_BGPD_PID
133#undef PATH_OSPFD_PID
134#undef PATH_OSPF6D_PID
135#undef PATH_ISISD_PID
136
137/* Define if Solaris */
138#undef SUNOS_5
139
140/* Define if FreeBSD 3.2 */
141#undef FREEBSD_32
142
143/* Define if OpenBSD */
144#undef OPEN_BSD
145
146#ifdef HAVE_IPV6
147#ifdef KAME
148#ifndef INET6
149#define INET6
150#endif /* INET6 */
151#endif /* KAME */
152#endif /* HAVE_IPV6 */
153
154#ifdef SUNOS_5
155typedef unsigned int u_int32_t;
156typedef unsigned short u_int16_t;
157typedef unsigned short u_int8_t;
158#endif /* SUNOS_5 */
159
160#ifndef HAVE_SOCKLEN_T
161typedef int socklen_t;
162#endif /* HAVE_SOCKLEN_T */