add the 'y' and 'Y' options to ps, and add the 'iac' keyword. The 'y'
[dragonfly.git] / contrib / ntp / acconfig.h
1 /* debugging code */
2 #undef DEBUG
3
4 /* Minutes per DST adjustment */
5 #undef DSTMINUTES
6
7 /* MD5 authentication */
8 #undef MD5
9
10 /* DES authentication (COCOM only) */
11 #undef DES
12
13 /* time_t */
14 #undef time_t
15
16 /* reference clock interface */
17 #undef REFCLOCK
18
19 /* Audio CHU? */
20 #undef AUDIO_CHU
21
22 /* PARSE kernel PLL PPS support */
23 #undef PPS_SYNC
24
25 /* ACTS modem service */
26 #undef CLOCK_ACTS
27
28 /* Arbiter 1088A/B GPS receiver */
29 #undef CLOCK_ARBITER
30
31 /* DHD19970505: ARCRON support. */
32 #undef CLOCK_ARCRON_MSF
33
34 /* Austron 2200A/2201A GPS receiver */
35 #undef CLOCK_AS2201
36
37 /* PPS interface */
38 #undef CLOCK_ATOM
39
40 /* PPS auxiliary interface for ATOM */
41 #undef PPS_SAMPLE
42
43 /* Datum/Bancomm bc635/VME interface */
44 #undef CLOCK_BANC
45
46 /* Diems Computime Radio Clock */
47 #undef CLOCK_COMPUTIME
48
49 /* Chronolog K-series WWVB receiver */
50 #undef CLOCK_CHRONOLOG
51
52 /* Datum Programmable Time System */
53 #undef CLOCK_DATUM
54
55 /* ELV/DCF7000 clock */
56 #undef CLOCK_DCF7000
57
58 /* Dumb generic hh:mm:ss local clock */
59 #undef CLOCK_DUMBCLOCK
60
61 /* Forum Graphic GPS datating station driver */
62 #undef CLOCK_FG
63
64 /* TrueTime GPS receiver/VME interface */
65 #undef CLOCK_GPSVME
66
67 /* Heath GC-1000 WWV/WWVH receiver */
68 #undef CLOCK_HEATH
69
70 /* HOPF 6021 clock */
71 #undef CLOCK_HOPF6021
72
73 /* HOPF PCI clock device */
74 #undef CLOCK_HOPF_PCI
75
76 /* HOPF serial clock device*/
77 #undef CLOCK_HOPF_SERIAL
78
79 /* HP 58503A GPS receiver */
80 #undef CLOCK_HPGPS
81
82 /* Sun IRIG audio decoder */
83 #undef CLOCK_IRIG
84
85 /* Rockwell Jupiter GPS clock */
86 #undef CLOCK_JUPITER
87
88 /* Leitch CSD 5300 Master Clock System Driver */
89 #undef CLOCK_LEITCH
90
91 /* local clock reference */
92 #undef CLOCK_LOCAL
93
94 /* Meinberg clocks */
95 #undef CLOCK_MEINBERG
96
97 /* EES M201 MSF receiver */
98 #undef CLOCK_MSFEES
99
100 /* Magnavox MX4200 GPS receiver */
101 #undef CLOCK_MX4200
102
103 /* NMEA GPS receiver */
104 #undef CLOCK_NMEA
105
106 /* Motorola UT Oncore GPS */
107 #undef CLOCK_ONCORE
108
109 /* Palisade clock */
110 #undef CLOCK_PALISADE
111
112 /* PARSE driver interface */
113 #undef CLOCK_PARSE
114
115 /* Conrad parallel port radio clock */
116 #undef CLOCK_PCF
117
118 /* PCL 720 clock support */
119 #undef CLOCK_PPS720
120
121 /* PST/Traconex 1020 WWV/WWVH receiver */
122 #undef CLOCK_PST
123
124 /* PTB modem service */
125 #undef CLOCK_PTBACTS
126
127 /* DCF77 raw time code */
128 #undef CLOCK_RAWDCF
129
130 /* RCC 8000 clock */
131 #undef CLOCK_RCC8000
132
133 /* Schmid DCF77 clock */
134 #undef CLOCK_SCHMID
135
136 /* clock thru shared memory */
137 #undef CLOCK_SHM
138
139 /* Spectracom 8170/Netclock/2 WWVB receiver */
140 #undef CLOCK_SPECTRACOM
141
142 /* KSI/Odetics TPRO/S GPS receiver/IRIG interface */
143 #undef CLOCK_TPRO
144
145 /* TRAK 8810 GPS receiver */
146 #undef CLOCK_TRAK
147
148 /* Trimble GPS receiver/TAIP protocol */
149 #undef CLOCK_TRIMTAIP
150
151 /* Trimble GPS receiver/TSIP protocol */
152 #undef CLOCK_TRIMTSIP
153
154 /* Kinemetrics/TrueTime receivers */
155 #undef CLOCK_TRUETIME
156
157 /* Ultralink M320 WWVB receiver */
158 #undef CLOCK_ULINK
159
160 /* USNO modem service */
161 #undef CLOCK_USNO
162
163 /* WHARTON 400A Series protocol */
164 #undef CLOCK_WHARTON_400A
165
166 /* WWV audio driver */
167 #undef CLOCK_WWV
168
169 /* VARITEXT protocol */
170 #undef CLOCK_VARITEXT
171
172 /* define if we need to declare int errno; */
173 #undef DECL_ERRNO
174
175 /* define if we may declare int h_errno; */
176 #undef DECL_H_ERRNO
177
178 /* define if it's OK to declare char *sys_errlist[]; */
179 #undef CHAR_SYS_ERRLIST
180
181 /* define if it's OK to declare int syscall P((int, struct timeval *, struct timeval *)); */
182 #undef DECL_SYSCALL
183
184 /* define if we have syscall is buggy (Solaris 2.4) */
185 #undef SYSCALL_BUG
186
187 /* Do we need extra room for SO_RCVBUF? (HPUX <8) */
188 #undef NEED_RCVBUF_SLOP
189
190 /* Should we open the broadcast socket? */
191 #undef OPEN_BCAST_SOCKET
192
193 /* Do we want the HPUX FindConfig()? */
194 #undef NEED_HPUX_FINDCONFIG
195
196 /* canonical system (cpu-vendor-os) string */
197 #undef STR_SYSTEM
198
199 /* define if NetInfo support is available */
200 #undef HAVE_NETINFO
201
202 /* define if [gs]ettimeofday() only takes 1 argument */
203 #undef SYSV_TIMEOFDAY
204
205 /* define if struct sockaddr has sa_len */
206 #undef HAVE_SA_LEN_IN_STRUCT_SOCKADDR
207
208 /* define if struct clockinfo has hz */
209 #undef HAVE_HZ_IN_STRUCT_CLOCKINFO
210
211 /* define if struct sigaction has sa_sigaction */
212 #undef HAVE_SA_SIGACTION_IN_STRUCT_SIGACTION
213
214 /* define if struct clockinfo has tickadj */
215 #undef HAVE_TICKADJ_IN_STRUCT_CLOCKINFO
216
217 /* define if struct ntptimeval uses time.tv_nsec instead of time.tv_usec */ 
218 #undef HAVE_TV_NSEC_IN_NTPTIMEVAL 
219
220 /* Does a system header defind struct ppsclockev? */
221 #undef HAVE_STRUCT_PPSCLOCKEV
222
223 /* define if function prototypes are OK */
224 #undef HAVE_PROTOTYPES
225
226 /* define if setpgrp takes 0 arguments */
227 #undef HAVE_SETPGRP_0
228
229 /* hardwire a value for tick? */
230 #undef PRESET_TICK
231
232 /* hardwire a value for tickadj? */
233 #undef PRESET_TICKADJ
234
235 /* is adjtime() accurate? */
236 #undef ADJTIME_IS_ACCURATE
237
238 /* should we NOT read /dev/kmem? */
239 #undef NOKMEM
240
241 /* use UDP Wildcard Delivery? */
242 #undef UDP_WILDCARD_DELIVERY
243
244 /* always slew the clock? */
245 #undef SLEWALWAYS
246
247 /* step, then slew the clock? */
248 #undef STEP_SLEW
249
250 /* force ntpdate to step the clock if !defined(STEP_SLEW) ? */
251 #undef FORCE_NTPDATE_STEP
252
253 /* synch TODR hourly? */
254 #undef DOSYNCTODR
255
256 /* do we set process groups with -pid? */
257 #undef UDP_BACKWARDS_SETOWN
258
259 /* must we have a CTTY for fsetown? */
260 #undef USE_FSETOWNCTTY
261
262 /* can we use SIGIO for tcp and udp IO? */
263 #undef HAVE_SIGNALED_IO
264
265 /* can we use SIGPOLL for UDP? */
266 #undef USE_UDP_SIGPOLL
267
268 /* can we use SIGPOLL for tty IO? */
269 #undef USE_TTY_SIGPOLL
270
271 /* should we use clock_settime()? */
272 #undef USE_CLOCK_SETTIME
273
274 /* do we want the CHU driver? */
275 #undef CLOCK_CHU
276
277 /* do we have the ppsclock streams module? */
278 #undef PPS
279
280 /* do we have the tty_clk line discipline/streams module? */
281 #undef TTYCLK
282
283 /* does the kernel support precision time discipline? */
284 #undef KERNEL_PLL
285
286 /* does the kernel support multicasting IP? */
287 #undef MCAST
288
289 /* do we have ntp_{adj,get}time in libc? */
290 #undef NTP_SYSCALLS_LIBC
291
292 /* do we have ntp_{adj,get}time in the kernel? */
293 #undef NTP_SYSCALLS_STD
294
295 /* do we have STREAMS/TLI? (Can we replace this with HAVE_SYS_STROPTS_H? */
296 #undef STREAMS_TLI
297
298 /* do we need an s_char typedef? */
299 #undef NEED_S_CHAR_TYPEDEF
300
301 /* include the GDT Surveying code? */
302 #undef GDT_SURVEYING
303
304 /* does SIOCGIFCONF return size in the buffer? */
305 #undef SIZE_RETURNED_IN_BUFFER
306
307 /* what is the name of TICK in the kernel? */
308 #undef K_TICK_NAME
309
310 /* Is K_TICK_NAME (nsec_per_tick, for example) in nanoseconds? */
311 #undef TICK_NANO
312
313 /* what is the name of TICKADJ in the kernel? */
314 #undef K_TICKADJ_NAME
315
316 /* Is K_TICKADJ_NAME (hrestime_adj, for example) in nanoseconds? */
317 #undef TICKADJ_NANO
318
319 /* what is (probably) the name of DOSYNCTODR in the kernel? */
320 #undef K_DOSYNCTODR_NAME
321
322 /* what is (probably) the name of NOPRINTF in the kernel? */
323 #undef K_NOPRINTF_NAME
324
325 /* do we need HPUX adjtime() library support? */
326 #undef NEED_HPUX_ADJTIME
327
328 /* Might nlist() values require an extra level of indirection (AIX)? */
329 #undef NLIST_EXTRA_INDIRECTION
330
331 /* Other needed NLIST stuff */
332 #undef NLIST_STRUCT
333 #undef NLIST_NAME_UNION
334
335 /* Should we recommend a minimum value for tickadj? */
336 #undef MIN_REC_TICKADJ
337
338 /* Is there a problem using PARENB and IGNPAR (IRIX)? */
339 #undef NO_PARENB_IGNPAR
340
341 /* Should we not IGNPAR (Linux)? */
342 #undef RAWDCF_NO_IGNPAR
343
344 /* Does the compiler like "volatile"? */
345 #undef volatile
346
347 /* Does qsort expect to work on "void *" stuff? */
348 #undef QSORT_USES_VOID_P
349
350 /* What is the fallback value for HZ? */
351 #undef DEFAULT_HZ
352
353 /* Do we need to override the system's idea of HZ? */
354 #undef OVERRIDE_HZ
355
356 /* Do we want the SCO clock hacks? */
357 #undef SCO5_CLOCK
358
359 /* Do we want the ReliantUNIX clock hacks? */
360 #undef RELIANTUNIX_CLOCK
361
362 /* Does the kernel have an FLL bug? */
363 #undef KERNEL_FLL_BUG
364
365 /* Define if you have the TIOCGPPSEV ioctl (Solaris) */
366 #undef HAVE_TIOCGPPSEV
367
368 /* Define if you have the TIOCSPPS ioctl (Solaris) */
369 #undef HAVE_TIOCSPPS
370
371 /* Define if you have the CIOGETEV ioctl (SunOS, Linux) */
372 #undef HAVE_CIOGETEV
373
374 /* Define if you have the TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, and ASYNC_PPS_CD_NEG ioctls (linux) */
375 #undef HAVE_TIO_SERIAL_STUFF
376
377 /* Define if you have the interface in the Draft RFC */
378 #undef HAVE_PPSAPI
379
380 /* Do we need to #define _SVID3 when we #include <termios.h>? */
381 #undef TERMIOS_NEEDS__SVID3
382
383 /* Do we have support for SHMEM_STATUS? */
384 #undef ONCORE_SHMEM_STATUS
385
386 /***/
387
388 /* Which way should we declare... */
389
390 /* adjtime()? */
391 #undef DECL_ADJTIME_0
392
393 /* bcopy()? */
394 #undef DECL_BCOPY_0
395
396 /* bzero()? */
397 #undef DECL_BZERO_0
398
399 /* cfset[io]speed()? */
400 #undef DECL_CFSETISPEED_0
401
402 /* hstrerror()? */
403 #undef DECL_HSTRERROR_0
404
405 /* ioctl()? */
406 #undef DECL_IOCTL_0
407
408 /* IPC? (bind, connect, recvfrom, sendto, setsockopt, socket) */
409 #undef DECL_IPC_0
410
411 /* memmove()? */
412 #undef DECL_MEMMOVE_0
413
414 /* memset()? */
415 #undef DECL_MEMSET_0
416
417 /* mkstemp()? */
418 #undef DECL_MKSTEMP_0
419
420 /* mktemp()? */
421 #undef DECL_MKTEMP_0
422
423 /* mrand48()? */
424 #undef DECL_MRAND48_0
425
426 /* nlist()? */
427 #undef DECL_NLIST_0
428
429 /* plock()? */
430 #undef DECL_PLOCK_0
431
432 /* rename()? */
433 #undef DECL_RENAME_0
434
435 /* select()? */
436 #undef DECL_SELECT_0
437
438 /* setitimer()? */
439 #undef DECL_SETITIMER_0
440
441 /* setpriority()? */
442 #undef DECL_SETPRIORITY_0
443 #undef DECL_SETPRIORITY_1
444
445 /* sigvec()? */
446 #undef DECL_SIGVEC_0
447
448 /* srand48()? */
449 #undef DECL_SRAND48_0
450
451 /* stdio stuff? */
452 #undef DECL_STDIO_0
453
454 /* stime()? */
455 #undef DECL_STIME_0
456 #undef DECL_STIME_1
457
458 /* strtol()? */
459 #undef DECL_STRTOL_0
460
461 /* syslog() stuff? */
462 #undef DECL_SYSLOG_0
463
464 /* time()? */
465 #undef DECL_TIME_0
466
467 /* [gs]ettimeofday()? */
468 #undef DECL_TIMEOFDAY_0
469
470 /* tolower()? */
471 #undef DECL_TOLOWER_0
472
473 /* toupper()? */
474 #undef DECL_TOUPPER_0
475
476 /* strerror()? */
477 #undef DECL_STRERROR_0
478
479 #undef ULONG_CONST