paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | /* 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. */ |
hasso | d2de348 | 2003-05-25 20:03:48 +0000 | [diff] [blame] | 35 | #undef HAVE_RTADV |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 36 | |
| 37 | /* whether system has GNU regex */ |
| 38 | #undef HAVE_GNU_REGEX |
| 39 | |
| 40 | /* whether system has SNMP library */ |
| 41 | #undef HAVE_SNMP |
| 42 | |
hasso | d2de348 | 2003-05-25 20:03:48 +0000 | [diff] [blame] | 43 | /* whether systme has a ifra_lifetime field */ |
| 44 | #undef HAVE_IFRA_LIFETIME |
| 45 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 46 | /* whether sockaddr has a sa_len field */ |
| 47 | #undef HAVE_SA_LEN |
| 48 | |
| 49 | /* whether sockaddr_in has a sin_len field */ |
| 50 | #undef HAVE_SIN_LEN |
| 51 | |
| 52 | /* whether sockaddr_un has a sun_len field */ |
| 53 | #undef HAVE_SUN_LEN |
| 54 | |
| 55 | /* whether sockaddr_in6 has a sin6_scope_id field */ |
| 56 | #undef HAVE_SIN6_SCOPE_ID |
| 57 | |
| 58 | /* Define if there is socklen_t. */ |
| 59 | #undef HAVE_SOCKLEN_T |
| 60 | |
| 61 | /* Define if there is sockaddr_dl structure. */ |
| 62 | #undef HAVE_SOCKADDR_DL |
| 63 | |
| 64 | /* Define if there is ifaliasreq structure. */ |
| 65 | #undef HAVE_IFALIASREQ |
| 66 | |
| 67 | /* Define if there is in6_aliasreq structure. */ |
| 68 | #undef HAVE_IN6_ALIASREQ |
| 69 | |
| 70 | /* Define if there is rt_addrinfo structure. */ |
| 71 | #undef HAVE_RT_ADDRINFO |
| 72 | |
| 73 | /* Define if there is in_pktinfo structure. */ |
| 74 | #undef HAVE_INPKTINFO |
| 75 | |
| 76 | /* Define if you have the getrusage function. */ |
| 77 | #undef HAVE_RUSAGE |
| 78 | |
| 79 | /* Define if /proc/net/dev exists. */ |
| 80 | #undef HAVE_PROC_NET_DEV |
| 81 | |
| 82 | /* Define if /proc/net/if_inet6 exists. */ |
| 83 | #undef HAVE_PROC_NET_IF_INET6 |
| 84 | |
| 85 | /* Define if NET_RT_IFLIST exists in sys/socket.h. */ |
| 86 | #undef HAVE_NET_RT_IFLIST |
| 87 | |
| 88 | /* Define if you have INRIA ipv6 stack. */ |
| 89 | #undef INRIA_IPV6 |
| 90 | |
| 91 | /* Define if you have KAME project ipv6 stack. */ |
| 92 | #undef KAME |
| 93 | |
hasso | d2de348 | 2003-05-25 20:03:48 +0000 | [diff] [blame] | 94 | /* Define if you have 6WIND MUSICA IPv6 stack. */ |
| 95 | #undef MUSICA |
| 96 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 97 | /* Define if you have Linux ipv6 stack. */ |
| 98 | #undef LINUX_IPV6 |
| 99 | |
| 100 | /* Define if you have NRL ipv6 stack. */ |
| 101 | #undef NRL |
| 102 | |
| 103 | /* Define if you have BSDI NRL IPv6 stack. */ |
| 104 | #undef BSDI_NRL |
| 105 | |
| 106 | /* Define if one-vty option is specified. */ |
| 107 | #undef VTYSH |
| 108 | |
| 109 | /* Define if interface aliases don't have distinct indeces */ |
| 110 | #undef HAVE_BROKEN_ALIASES |
| 111 | |
| 112 | /* Define if disable-bgp-announce option is specified. */ |
| 113 | #undef DISABLE_BGP_ANNOUNCE |
| 114 | |
| 115 | /* PAM support */ |
| 116 | #undef USE_PAM |
| 117 | |
| 118 | /* TCP/IP communication between zebra and protocol daemon. */ |
| 119 | #undef HAVE_TCP_ZEBRA |
| 120 | |
| 121 | /* The OSPF NSSA option (RFC1587). */ |
| 122 | #undef HAVE_NSSA |
| 123 | |
| 124 | /* The OSPF Opaque LSA option (RFC2370). */ |
| 125 | #undef HAVE_OPAQUE_LSA |
| 126 | |
| 127 | /* Traffic Engineering Extension to OSPF |
| 128 | (draft-katz-yeung-ospf-traffic-06.txt). */ |
| 129 | #undef HAVE_OSPF_TE |
| 130 | |
| 131 | /* Linux netlink. */ |
| 132 | #undef HAVE_NETLINK |
| 133 | |
| 134 | /* PATHS */ |
| 135 | #undef PATH_ZEBRA_PID |
| 136 | #undef PATH_RIPD_PID |
| 137 | #undef PATH_RIPNGD_PID |
| 138 | #undef PATH_BGPD_PID |
| 139 | #undef PATH_OSPFD_PID |
| 140 | #undef PATH_OSPF6D_PID |
| 141 | |
| 142 | /* Define if Solaris */ |
| 143 | #undef SUNOS_5 |
| 144 | |
| 145 | /* Define if FreeBSD 3.2 */ |
| 146 | #undef FREEBSD_32 |
| 147 | |
hasso | d2de348 | 2003-05-25 20:03:48 +0000 | [diff] [blame] | 148 | /* Define if FreeBSD */ |
| 149 | #undef FREEBSD |
| 150 | |
| 151 | /* Define if SIXOS */ |
| 152 | #undef SIXOS |
| 153 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 154 | /* Define if OpenBSD */ |
| 155 | #undef OPEN_BSD |
| 156 | |
| 157 | #ifdef HAVE_IPV6 |
| 158 | #ifdef KAME |
| 159 | #ifndef INET6 |
| 160 | #define INET6 |
| 161 | #endif /* INET6 */ |
| 162 | #endif /* KAME */ |
| 163 | #endif /* HAVE_IPV6 */ |
| 164 | |
| 165 | #ifdef SUNOS_5 |
| 166 | typedef unsigned int u_int32_t; |
| 167 | typedef unsigned short u_int16_t; |
| 168 | typedef unsigned short u_int8_t; |
| 169 | #endif /* SUNOS_5 */ |
| 170 | |
| 171 | #ifndef HAVE_SOCKLEN_T |
| 172 | typedef int socklen_t; |
| 173 | #endif /* HAVE_SOCKLEN_T */ |