1 /* include/apcconfig.h.  Generated from config.h.in by configure.  */
2 /* autoconf/config.h.in.  Generated from autoconf/configure.in by autoheader.  */
3 
4 /* Define to the type of elements in the array set by `getgroups'. Usually
5    this is either `int' or `gid_t'. */
6 #define GETGROUPS_T gid_t
7 
8 /* Define to 1 if you have the `abort' function. */
9 #define HAVE_ABORT 1
10 
11 /* Define to 1 if you have the `accept4' function. */
12 #define HAVE_ACCEPT4 1
13 
14 /* Define if building for AIX */
15 /* #undef HAVE_AIX_OS */
16 
17 /* Define if building apcsmart driver */
18 #define HAVE_APCSMART_DRIVER 1
19 
20 /* Define to 1 if you have the <arpa/inet.h> header file. */
21 #define HAVE_ARPA_INET_H 1
22 
23 /* Define to 1 if you have the <arpa/nameser.h> header file. */
24 #define HAVE_ARPA_NAMESER_H 1
25 
26 /* Define if building APC-Microsol Brazil driver */
27 #define HAVE_BRAZIL_DRIVER 1
28 
29 /* Define if building for BSDi */
30 /* #undef HAVE_BSDI_OS */
31 
32 /* Define to 1 if you have the `calloc' function. */
33 #define HAVE_CALLOC 1
34 
35 /* Define to 1 if you have the <ctype.h> header file. */
36 #define HAVE_CTYPE_H 1
37 
38 /* Define if building for Darwin */
39 /* #undef HAVE_DARWIN_OS */
40 
41 /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
42    */
43 /* #undef HAVE_DECL_TZNAME */
44 
45 /* Define if building simple signaling driver */
46 #define HAVE_DUMB_DRIVER 1
47 
48 /* Define to 1 if you have the <errno.h> header file. */
49 #define HAVE_ERRNO_H 1
50 
51 /* Define to 1 if you have the <fcntl.h> header file. */
52 #define HAVE_FCNTL_H 1
53 
54 /* Define to 1 if you have the `fork' function. */
55 #define HAVE_FORK 1
56 
57 /* Define if building for FreeBSD */
58 /* #undef HAVE_FREEBSD_OS */
59 
60 /* Define if system does not have gethostbyname_r */
61 /* #undef HAVE_FUNC_GETHOSTBYNAME_R_0 */
62 
63 /* Define for 3 argument version of gethostbyname_r */
64 /* #undef HAVE_FUNC_GETHOSTBYNAME_R_3 */
65 
66 /* Define for 5 argument version of gethostbyname_r */
67 /* #undef HAVE_FUNC_GETHOSTBYNAME_R_5 */
68 
69 /* Define for 6 argument version of gethostbyname_r */
70 #define HAVE_FUNC_GETHOSTBYNAME_R_6 /**/
71 
72 /* Define if you have getoptlong */
73 #define HAVE_GETOPTLONG /**/
74 
75 /* Define to 1 if you have the `getpid' function. */
76 #define HAVE_GETPID 1
77 
78 /* Define if building for HPUX */
79 /* #undef HAVE_HPUX_OS */
80 
81 /* Define if you have inetpton */
82 #define HAVE_INETPTON /**/
83 
84 /* Define to 1 if you have the <inttypes.h> header file. */
85 #define HAVE_INTTYPES_H 1
86 
87 /* Define to 1 if you have the `ioctl' function. */
88 #define HAVE_IOCTL 1
89 
90 /* Define to 1 if you have the `kill' function. */
91 #define HAVE_KILL 1
92 
93 /* Math lib */
94 #define HAVE_LIBM 1
95 
96 /* Define to 1 if you have the `socket' library (-lsocket). */
97 /* #undef HAVE_LIBSOCKET */
98 
99 /* Define if you have libwrap */
100 /* #undef HAVE_LIBWRAP */
101 
102 /* Define to 1 if you have the <limits.h> header file. */
103 #define HAVE_LIMITS_H 1
104 
105 /* Define if building for Linux */
106 #define HAVE_LINUX_OS /**/
107 
108 /* Define if you have localtime_r */
109 #define HAVE_LOCALTIME_R /**/
110 
111 /* Define if you have memmove */
112 #define HAVE_MEMMOVE /**/
113 
114 /* Define to 1 if you have the <memory.h> header file. */
115 #define HAVE_MEMORY_H 1
116 
117 /* Define if building for MINGW */
118 /* #undef HAVE_MINGW */
119 
120 /* Define if building MODBUS driver */
121 /* #undef HAVE_MODBUS_DRIVER */
122 
123 /* Define if building MODBUS/USB driver */
124 /* #undef HAVE_MODBUS_USB_DRIVER */
125 
126 /* Define if you have nameser.h */
127 #define HAVE_NAMESER_H /**/
128 
129 /* Define if you have the nanosleep function. */
130 #define HAVE_NANOSLEEP 1
131 
132 /* Define if building for NetBSD */
133 /* #undef HAVE_NETBSD_OS */
134 
135 /* Define to 1 if you have the <netdb.h> header file. */
136 #define HAVE_NETDB_H 1
137 
138 /* Define to 1 if you have the <netinet/in.h> header file. */
139 #define HAVE_NETINET_IN_H 1
140 
141 /* Define if building net driver */
142 #define HAVE_NET_DRIVER 1
143 
144 /* Define if apcctrl NIS library is being built */
145 #define HAVE_NISLIB /**/
146 
147 /* Define if apcctrl NIS server is being built */
148 #define HAVE_NISSERVER /**/
149 
150 /* Define if building for OpenBSD */
151 /* #undef HAVE_OPENBSD_OS */
152 
153 /* Define if building for OSF1 */
154 /* #undef HAVE_OSF1_OS */
155 
156 /* Define if building PCNET driver */
157 #define HAVE_PCNET_DRIVER 1
158 
159 /* Define if you have pthreads */
160 #define HAVE_PTHREADS 1
161 
162 /* Define if building for QNX */
163 /* #undef HAVE_QNX_OS */
164 
165 /* Define to 1 if you have the `rewind' function. */
166 #define HAVE_REWIND 1
167 
168 /* Define to 1 if you have the `select' function. */
169 #define HAVE_SELECT 1
170 
171 /* Define to 1 if you have the `setsid' function. */
172 #define HAVE_SETSID 1
173 
174 /* Define if building for IRIX */
175 /* #undef HAVE_SGI_OS */
176 
177 /* Define to 1 if you have the `signal' function. */
178 #define HAVE_SIGNAL 1
179 
180 /* Define to 1 if you have the <signal.h> header file. */
181 #define HAVE_SIGNAL_H 1
182 
183 /* Define if building snmplite driver */
184 #define HAVE_SNMPLITE_DRIVER 1
185 
186 /* Define to 1 if you have the `snprintf' function. */
187 #define HAVE_SNPRINTF 1
188 
189 /* Define to 1 if you have the <stdarg.h> header file. */
190 #define HAVE_STDARG_H 1
191 
192 /* Define to 1 if you have the <stdint.h> header file. */
193 #define HAVE_STDINT_H 1
194 
195 /* Define to 1 if you have the <stdio.h> header file. */
196 #define HAVE_STDIO_H 1
197 
198 /* Define to 1 if you have the <stdlib.h> header file. */
199 #define HAVE_STDLIB_H 1
200 
201 /* Define if you have strcasecmp */
202 #define HAVE_STRCASECMP /**/
203 
204 /* Define to 1 if you have the `strerror' function. */
205 #define HAVE_STRERROR 1
206 
207 /* Define to 1 if you have the `strftime' function. */
208 #define HAVE_STRFTIME 1
209 
210 /* Define to 1 if you have the <strings.h> header file. */
211 #define HAVE_STRINGS_H 1
212 
213 /* Define to 1 if you have the <string.h> header file. */
214 #define HAVE_STRING_H 1
215 
216 /* Define to 1 if you have the `strlcat' function. */
217 /* #undef HAVE_STRLCAT */
218 
219 /* Define to 1 if you have the `strlcpy' function. */
220 /* #undef HAVE_STRLCPY */
221 
222 /* Define to 1 if you have the `strncmp' function. */
223 #define HAVE_STRNCMP 1
224 
225 /* Define to 1 if you have the `strncpy' function. */
226 #define HAVE_STRNCPY 1
227 
228 /* Define if you have strstr */
229 #define HAVE_STRSTR /**/
230 
231 /* Define to 1 if `tm_zone' is a member of `struct tm'. */
232 #define HAVE_STRUCT_TM_TM_ZONE 1
233 
234 /* Define if building for SunOS */
235 /* #undef HAVE_SUN_OS */
236 
237 /* Define to 1 if you have the <syslog.h> header file. */
238 #define HAVE_SYSLOG_H 1
239 
240 /* Define to 1 if you have the <sys/ioctl.h> header file. */
241 #define HAVE_SYS_IOCTL_H 1
242 
243 /* Define to 1 if you have the <sys/socket.h> header file. */
244 #define HAVE_SYS_SOCKET_H 1
245 
246 /* Define to 1 if you have the <sys/stat.h> header file. */
247 #define HAVE_SYS_STAT_H 1
248 
249 /* Define to 1 if you have the <sys/types.h> header file. */
250 #define HAVE_SYS_TYPES_H 1
251 
252 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
253 #define HAVE_SYS_WAIT_H 1
254 
255 /* Define to 1 if you have the `tcgetattr' function. */
256 #define HAVE_TCGETATTR 1
257 
258 /* Define to 1 if you have the <termios.h> header file. */
259 #define HAVE_TERMIOS_H 1
260 
261 /* Define if building test driver */
262 /* #undef HAVE_TEST_DRIVER */
263 
264 /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
265    `HAVE_STRUCT_TM_TM_ZONE' instead. */
266 #define HAVE_TM_ZONE 1
267 
268 /* Define to 1 if you don't have `tm_zone' but do have the external array
269    `tzname'. */
270 /* #undef HAVE_TZNAME */
271 
272 /* Define to 1 if you have the <unistd.h> header file. */
273 #define HAVE_UNISTD_H 1
274 
275 /* Define if building USB driver */
276 #define HAVE_USB_DRIVER /**/
277 
278 /* Define to 1 if you have the `vfprintf' function. */
279 #define HAVE_VFPRINTF 1
280 
281 /* Define to 1 if you have the `vsnprintf' function. */
282 #define HAVE_VSNPRINTF 1
283 
284 /* Define to 1 if you have the `wait' function. */
285 #define HAVE_WAIT 1
286 
287 /* Define to 1 if you have the `wait3' function. */
288 #define HAVE_WAIT3 1
289 
290 /* Define to 1 if you have the `waitpid' function. */
291 #define HAVE_WAITPID 1
292 
293 /* Name of system on which apcctrl will run */
294 #define HOST "debian"
295 
296 /* Default directory in which log is written */
297 #define LOGDIR "/var/log"
298 
299 /* Default port number for NIS server */
300 #define NISPORT 3551
301 
302 /* Default directory in which nologin file is written */
303 #define NOLOGDIR "/etc"
304 
305 /* Define to the address where bug reports for this package should be sent. */
306 #define PACKAGE_BUGREPORT ""
307 
308 /* Define to the full name of this package. */
309 #define PACKAGE_NAME ""
310 
311 /* Define to the full name and version of this package. */
312 #define PACKAGE_STRING ""
313 
314 /* Define to the one symbol short name of this package. */
315 #define PACKAGE_TARNAME ""
316 
317 /* Define to the home page for this package. */
318 #define PACKAGE_URL ""
319 
320 /* Define to the version of this package. */
321 #define PACKAGE_VERSION ""
322 
323 /* Default directory in which pid file is written */
324 #define PIDDIR "/var/run"
325 
326 /* Default directory in which powerfail flag file is written */
327 #define PWRFAILDIR "/etc/apcctrl"
328 
329 /* Define as the return type of signal handlers (`int' or `void'). */
330 #define RETSIGTYPE void
331 
332 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
333 /* #undef STAT_MACROS_BROKEN */
334 
335 /* Define to 1 if you have the ANSI C header files. */
336 #define STDC_HEADERS 1
337 
338 /* Default directory in which apcctrl config files are stored */
339 #define SYSCONFDIR "/etc/apcctrl"
340 
341 /* Define if you have gdImageGif in libgd */
342 /* #undef SYS_IMGFMT_GIF */
343 
344 /* Define if you have gdImagePng in libgd */
345 /* #undef SYS_IMGFMT_PNG */
346 
347 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
348 #define TIME_WITH_SYS_TIME 1
349 
350 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
351 /* #undef TM_IN_SYS_TIME */
352 
353 /* Define to 1 if the X Window System is missing or not being used. */
354 /* #undef X_DISPLAY_MISSING */
355 
356 /* Define to `int' if <sys/types.h> doesn't define. */
357 /* #undef gid_t */
358 
359 /* Define to `int' if <sys/types.h> does not define. */
360 /* #undef mode_t */
361 
362 /* Define to `long int' if <sys/types.h> does not define. */
363 /* #undef off_t */
364 
365 /* Define to `int' if <sys/types.h> does not define. */
366 /* #undef pid_t */
367 
368 /* Define to `unsigned int' if <sys/types.h> does not define. */
369 /* #undef size_t */
370 
371 /* Define to `int' if <sys/types.h> doesn't define. */
372 /* #undef uid_t */
373