Commit | Line | Data |
---|---|---|
3ebb1980 JH |
1 | /* |
2 | * This file was produced by running the config_h.SH script, which | |
3 | * gets its values from uconfig.sh, which is generally produced by | |
4 | * running Configure. | |
5 | * | |
6 | * Feel free to modify any of this as the need arises. Note, however, | |
7 | * that running config_h.SH again will wipe out any changes you've made. | |
8 | * For a more permanent change edit uconfig.sh and rerun config_h.SH. | |
9 | * | |
10 | * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ | |
11 | */ | |
12 | ||
13 | /* | |
14 | * Package name : | |
15 | * Source directory : | |
16 | * Configuration time: | |
17 | * Configured by : | |
18 | * Target system : unknown | |
19 | */ | |
20 | ||
21 | #ifndef _config_h_ | |
22 | #define _config_h_ | |
23 | ||
24 | /* LOC_SED: | |
25 | * This symbol holds the complete pathname to the sed program. | |
26 | */ | |
27 | #define LOC_SED "" /**/ | |
28 | ||
29 | /* HAS_ALARM: | |
30 | * This symbol, if defined, indicates that the alarm routine is | |
31 | * available. | |
32 | */ | |
33 | /*#define HAS_ALARM / **/ | |
34 | ||
35 | /* HASATTRIBUTE: | |
36 | * This symbol indicates the C compiler can check for function attributes, | |
37 | * such as printf formats. This is normally only supported by GNU cc. | |
38 | */ | |
39 | /*#define HASATTRIBUTE / **/ | |
40 | #ifndef HASATTRIBUTE | |
41 | #define __attribute__(_arg_) | |
42 | #endif | |
43 | ||
44 | /* HAS_BCMP: | |
45 | * This symbol is defined if the bcmp() routine is available to | |
46 | * compare blocks of memory. | |
47 | */ | |
48 | /*#define HAS_BCMP / **/ | |
49 | ||
50 | /* HAS_BCOPY: | |
51 | * This symbol is defined if the bcopy() routine is available to | |
52 | * copy blocks of memory. | |
53 | */ | |
54 | /*#define HAS_BCOPY / **/ | |
55 | ||
56 | /* HAS_BZERO: | |
57 | * This symbol is defined if the bzero() routine is available to | |
58 | * set a memory block to 0. | |
59 | */ | |
60 | /*#define HAS_BZERO / **/ | |
61 | ||
62 | /* HAS_CHOWN: | |
63 | * This symbol, if defined, indicates that the chown routine is | |
64 | * available. | |
65 | */ | |
66 | /*#define HAS_CHOWN / **/ | |
67 | ||
68 | /* HAS_CHROOT: | |
69 | * This symbol, if defined, indicates that the chroot routine is | |
70 | * available. | |
71 | */ | |
72 | /*#define HAS_CHROOT / **/ | |
73 | ||
74 | /* HAS_CHSIZE: | |
75 | * This symbol, if defined, indicates that the chsize routine is available | |
76 | * to truncate files. You might need a -lx to get this routine. | |
77 | */ | |
78 | /*#define HAS_CHSIZE / **/ | |
79 | ||
80 | /* HASCONST: | |
81 | * This symbol, if defined, indicates that this C compiler knows about | |
82 | * the const type. There is no need to actually test for that symbol | |
83 | * within your programs. The mere use of the "const" keyword will | |
84 | * trigger the necessary tests. | |
85 | */ | |
86 | /*#define HASCONST / **/ | |
87 | #ifndef HASCONST | |
88 | #define const | |
89 | #endif | |
90 | ||
3ebb1980 JH |
91 | /* HAS_CUSERID: |
92 | * This symbol, if defined, indicates that the cuserid routine is | |
93 | * available to get character login names. | |
94 | */ | |
95 | /*#define HAS_CUSERID / **/ | |
96 | ||
97 | /* HAS_DBL_DIG: | |
98 | * This symbol, if defined, indicates that this system's <float.h> | |
99 | * or <limits.h> defines the symbol DBL_DIG, which is the number | |
100 | * of significant digits in a double precision number. If this | |
101 | * symbol is not defined, a guess of 15 is usually pretty good. | |
102 | */ | |
103 | /*#define HAS_DBL_DIG / * */ | |
104 | ||
105 | /* HAS_DIFFTIME: | |
106 | * This symbol, if defined, indicates that the difftime routine is | |
107 | * available. | |
108 | */ | |
109 | /*#define HAS_DIFFTIME / **/ | |
110 | ||
111 | /* HAS_DLERROR: | |
112 | * This symbol, if defined, indicates that the dlerror routine is | |
113 | * available to return a string describing the last error that | |
114 | * occurred from a call to dlopen(), dlclose() or dlsym(). | |
115 | */ | |
116 | /*#define HAS_DLERROR / **/ | |
117 | ||
3ebb1980 JH |
118 | /* HAS_DUP2: |
119 | * This symbol, if defined, indicates that the dup2 routine is | |
120 | * available to duplicate file descriptors. | |
121 | */ | |
122 | /*#define HAS_DUP2 / **/ | |
123 | ||
124 | /* HAS_FCHMOD: | |
125 | * This symbol, if defined, indicates that the fchmod routine is available | |
126 | * to change mode of opened files. If unavailable, use chmod(). | |
127 | */ | |
128 | /*#define HAS_FCHMOD / **/ | |
129 | ||
130 | /* HAS_FCHOWN: | |
131 | * This symbol, if defined, indicates that the fchown routine is available | |
132 | * to change ownership of opened files. If unavailable, use chown(). | |
133 | */ | |
134 | /*#define HAS_FCHOWN / **/ | |
135 | ||
136 | /* HAS_FCNTL: | |
137 | * This symbol, if defined, indicates to the C program that | |
138 | * the fcntl() function exists. | |
139 | */ | |
140 | /*#define HAS_FCNTL / **/ | |
141 | ||
142 | /* HAS_FGETPOS: | |
143 | * This symbol, if defined, indicates that the fgetpos routine is | |
144 | * available to get the file position indicator, similar to ftell(). | |
145 | */ | |
146 | /*#define HAS_FGETPOS / **/ | |
147 | ||
148 | /* HAS_FLOCK: | |
149 | * This symbol, if defined, indicates that the flock routine is | |
150 | * available to do file locking. | |
151 | */ | |
152 | /*#define HAS_FLOCK / **/ | |
153 | ||
154 | /* HAS_FORK: | |
155 | * This symbol, if defined, indicates that the fork routine is | |
156 | * available. | |
157 | */ | |
158 | #define HAS_FORK /**/ | |
159 | ||
160 | /* HAS_FSETPOS: | |
161 | * This symbol, if defined, indicates that the fsetpos routine is | |
162 | * available to set the file position indicator, similar to fseek(). | |
163 | */ | |
164 | /*#define HAS_FSETPOS / **/ | |
165 | ||
166 | /* HAS_GETTIMEOFDAY: | |
167 | * This symbol, if defined, indicates that the gettimeofday() system | |
168 | * call is available for a sub-second accuracy clock. Usually, the file | |
169 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). | |
170 | * The type "Timeval" should be used to refer to "struct timeval". | |
171 | */ | |
172 | /*#define HAS_GETTIMEOFDAY / **/ | |
173 | #ifdef HAS_GETTIMEOFDAY | |
174 | #define Timeval struct timeval /* Structure used by gettimeofday() */ | |
175 | #endif | |
176 | ||
177 | /* HAS_GETGROUPS: | |
178 | * This symbol, if defined, indicates that the getgroups() routine is | |
179 | * available to get the list of process groups. If unavailable, multiple | |
180 | * groups are probably not supported. | |
181 | */ | |
182 | /*#define HAS_GETGROUPS / **/ | |
183 | ||
184 | /* HAS_GETLOGIN: | |
185 | * This symbol, if defined, indicates that the getlogin routine is | |
186 | * available to get the login name. | |
187 | */ | |
188 | /*#define HAS_GETLOGIN / **/ | |
189 | ||
190 | /* HAS_GETPGID: | |
191 | * This symbol, if defined, indicates to the C program that | |
192 | * the getpgid(pid) function is available to get the | |
193 | * process group id. | |
194 | */ | |
195 | /*#define HAS_GETPGID / **/ | |
196 | ||
3ebb1980 JH |
197 | /* HAS_GETPGRP2: |
198 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) | |
199 | * routine is available to get the current process group. | |
200 | */ | |
201 | /*#define HAS_GETPGRP2 / **/ | |
202 | ||
203 | /* HAS_GETPPID: | |
204 | * This symbol, if defined, indicates that the getppid routine is | |
205 | * available to get the parent process ID. | |
206 | */ | |
207 | /*#define HAS_GETPPID / **/ | |
208 | ||
209 | /* HAS_GETPRIORITY: | |
210 | * This symbol, if defined, indicates that the getpriority routine is | |
211 | * available to get a process's priority. | |
212 | */ | |
213 | /*#define HAS_GETPRIORITY / **/ | |
214 | ||
215 | /* HAS_INET_ATON: | |
216 | * This symbol, if defined, indicates to the C program that the | |
217 | * inet_aton() function is available to parse IP address "dotted-quad" | |
218 | * strings. | |
219 | */ | |
220 | /*#define HAS_INET_ATON / **/ | |
221 | ||
222 | /* HAS_KILLPG: | |
223 | * This symbol, if defined, indicates that the killpg routine is available | |
224 | * to kill process groups. If unavailable, you probably should use kill | |
225 | * with a negative process number. | |
226 | */ | |
227 | /*#define HAS_KILLPG / **/ | |
228 | ||
229 | /* HAS_LINK: | |
230 | * This symbol, if defined, indicates that the link routine is | |
231 | * available to create hard links. | |
232 | */ | |
233 | /*#define HAS_LINK / **/ | |
234 | ||
235 | /* HAS_LOCALECONV: | |
236 | * This symbol, if defined, indicates that the localeconv routine is | |
237 | * available for numeric and monetary formatting conventions. | |
238 | */ | |
239 | /*#define HAS_LOCALECONV / **/ | |
240 | ||
241 | /* HAS_LOCKF: | |
242 | * This symbol, if defined, indicates that the lockf routine is | |
243 | * available to do file locking. | |
244 | */ | |
245 | /*#define HAS_LOCKF / **/ | |
246 | ||
247 | /* HAS_LSTAT: | |
248 | * This symbol, if defined, indicates that the lstat routine is | |
249 | * available to do file stats on symbolic links. | |
250 | */ | |
251 | /*#define HAS_LSTAT / **/ | |
252 | ||
253 | /* HAS_MBLEN: | |
254 | * This symbol, if defined, indicates that the mblen routine is available | |
255 | * to find the number of bytes in a multibye character. | |
256 | */ | |
257 | /*#define HAS_MBLEN / **/ | |
258 | ||
259 | /* HAS_MBSTOWCS: | |
260 | * This symbol, if defined, indicates that the mbstowcs routine is | |
261 | * available to covert a multibyte string into a wide character string. | |
262 | */ | |
263 | /*#define HAS_MBSTOWCS / **/ | |
264 | ||
265 | /* HAS_MBTOWC: | |
266 | * This symbol, if defined, indicates that the mbtowc routine is available | |
267 | * to covert a multibyte to a wide character. | |
268 | */ | |
269 | /*#define HAS_MBTOWC / **/ | |
270 | ||
271 | /* HAS_MEMCMP: | |
272 | * This symbol, if defined, indicates that the memcmp routine is available | |
273 | * to compare blocks of memory. | |
274 | */ | |
275 | /*#define HAS_MEMCMP / **/ | |
276 | ||
277 | /* HAS_MEMCPY: | |
278 | * This symbol, if defined, indicates that the memcpy routine is available | |
279 | * to copy blocks of memory. | |
280 | */ | |
281 | /*#define HAS_MEMCPY / **/ | |
282 | ||
283 | /* HAS_MEMMOVE: | |
284 | * This symbol, if defined, indicates that the memmove routine is available | |
285 | * to copy potentially overlapping blocks of memory. This should be used | |
286 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your | |
287 | * own version. | |
288 | */ | |
289 | /*#define HAS_MEMMOVE / **/ | |
290 | ||
291 | /* HAS_MEMSET: | |
292 | * This symbol, if defined, indicates that the memset routine is available | |
293 | * to set blocks of memory. | |
294 | */ | |
295 | /*#define HAS_MEMSET / **/ | |
296 | ||
297 | /* HAS_MKDIR: | |
298 | * This symbol, if defined, indicates that the mkdir routine is available | |
299 | * to create directories. Otherwise you should fork off a new process to | |
300 | * exec /bin/mkdir. | |
301 | */ | |
302 | /*#define HAS_MKDIR / **/ | |
303 | ||
304 | /* HAS_MKFIFO: | |
305 | * This symbol, if defined, indicates that the mkfifo routine is | |
306 | * available to create FIFOs. Otherwise, mknod should be able to | |
307 | * do it for you. However, if mkfifo is there, mknod might require | |
308 | * super-user privileges which mkfifo will not. | |
309 | */ | |
310 | /*#define HAS_MKFIFO / **/ | |
311 | ||
312 | /* HAS_MKTIME: | |
313 | * This symbol, if defined, indicates that the mktime routine is | |
314 | * available. | |
315 | */ | |
316 | /*#define HAS_MKTIME / **/ | |
317 | ||
318 | /* HAS_MSYNC: | |
319 | * This symbol, if defined, indicates that the msync system call is | |
320 | * available to synchronize a mapped file. | |
321 | */ | |
322 | /*#define HAS_MSYNC / **/ | |
323 | ||
324 | /* HAS_MUNMAP: | |
325 | * This symbol, if defined, indicates that the munmap system call is | |
326 | * available to unmap a region, usually mapped by mmap(). | |
327 | */ | |
328 | /*#define HAS_MUNMAP / **/ | |
329 | ||
330 | /* HAS_NICE: | |
331 | * This symbol, if defined, indicates that the nice routine is | |
332 | * available. | |
333 | */ | |
334 | /*#define HAS_NICE / **/ | |
335 | ||
336 | /* HAS_PATHCONF: | |
337 | * This symbol, if defined, indicates that pathconf() is available | |
338 | * to determine file-system related limits and options associated | |
339 | * with a given filename. | |
340 | */ | |
341 | /* HAS_FPATHCONF: | |
342 | * This symbol, if defined, indicates that pathconf() is available | |
343 | * to determine file-system related limits and options associated | |
344 | * with a given open file descriptor. | |
345 | */ | |
346 | /*#define HAS_PATHCONF / **/ | |
347 | /*#define HAS_FPATHCONF / **/ | |
348 | ||
349 | /* HAS_PAUSE: | |
350 | * This symbol, if defined, indicates that the pause routine is | |
351 | * available to suspend a process until a signal is received. | |
352 | */ | |
353 | /*#define HAS_PAUSE / **/ | |
354 | ||
355 | /* HAS_PIPE: | |
356 | * This symbol, if defined, indicates that the pipe routine is | |
357 | * available to create an inter-process channel. | |
358 | */ | |
359 | /*#define HAS_PIPE / **/ | |
360 | ||
361 | /* HAS_POLL: | |
362 | * This symbol, if defined, indicates that the poll routine is | |
363 | * available to poll active file descriptors. You may safely | |
364 | * include <poll.h> when this symbol is defined. | |
365 | */ | |
366 | /*#define HAS_POLL / **/ | |
367 | ||
368 | /* HAS_READDIR: | |
369 | * This symbol, if defined, indicates that the readdir routine is | |
370 | * available to read directory entries. You may have to include | |
371 | * <dirent.h>. See I_DIRENT. | |
372 | */ | |
373 | /*#define HAS_READDIR / **/ | |
374 | ||
375 | /* HAS_SEEKDIR: | |
376 | * This symbol, if defined, indicates that the seekdir routine is | |
377 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
378 | */ | |
379 | /*#define HAS_SEEKDIR / **/ | |
380 | ||
381 | /* HAS_TELLDIR: | |
382 | * This symbol, if defined, indicates that the telldir routine is | |
383 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
384 | */ | |
385 | /*#define HAS_TELLDIR / **/ | |
386 | ||
387 | /* HAS_REWINDDIR: | |
388 | * This symbol, if defined, indicates that the rewinddir routine is | |
389 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
390 | */ | |
391 | /*#define HAS_REWINDDIR / **/ | |
392 | ||
393 | /* HAS_READLINK: | |
394 | * This symbol, if defined, indicates that the readlink routine is | |
395 | * available to read the value of a symbolic link. | |
396 | */ | |
397 | /*#define HAS_READLINK / **/ | |
398 | ||
399 | /* HAS_RENAME: | |
400 | * This symbol, if defined, indicates that the rename routine is available | |
401 | * to rename files. Otherwise you should do the unlink(), link(), unlink() | |
402 | * trick. | |
403 | */ | |
404 | /*#define HAS_RENAME / **/ | |
405 | ||
406 | /* HAS_RMDIR: | |
407 | * This symbol, if defined, indicates that the rmdir routine is | |
408 | * available to remove directories. Otherwise you should fork off a | |
409 | * new process to exec /bin/rmdir. | |
410 | */ | |
411 | /*#define HAS_RMDIR / **/ | |
412 | ||
413 | /* HAS_SELECT: | |
414 | * This symbol, if defined, indicates that the select routine is | |
415 | * available to select active file descriptors. If the timeout field | |
416 | * is used, <sys/time.h> may need to be included. | |
417 | */ | |
418 | /*#define HAS_SELECT / **/ | |
419 | ||
420 | /* HAS_SETEGID: | |
421 | * This symbol, if defined, indicates that the setegid routine is available | |
422 | * to change the effective gid of the current program. | |
423 | */ | |
424 | /*#define HAS_SETEGID / **/ | |
425 | ||
426 | /* HAS_SETEUID: | |
427 | * This symbol, if defined, indicates that the seteuid routine is available | |
428 | * to change the effective uid of the current program. | |
429 | */ | |
430 | /*#define HAS_SETEUID / **/ | |
431 | ||
432 | /* HAS_SETLINEBUF: | |
433 | * This symbol, if defined, indicates that the setlinebuf routine is | |
434 | * available to change stderr or stdout from block-buffered or unbuffered | |
435 | * to a line-buffered mode. | |
436 | */ | |
437 | /*#define HAS_SETLINEBUF / **/ | |
438 | ||
439 | /* HAS_SETLOCALE: | |
440 | * This symbol, if defined, indicates that the setlocale routine is | |
441 | * available to handle locale-specific ctype implementations. | |
442 | */ | |
443 | /*#define HAS_SETLOCALE / **/ | |
444 | ||
445 | /* HAS_SETPGID: | |
446 | * This symbol, if defined, indicates that the setpgid(pid, gpid) | |
447 | * routine is available to set process group ID. | |
448 | */ | |
449 | /*#define HAS_SETPGID / **/ | |
450 | ||
3ebb1980 JH |
451 | /* HAS_SETPGRP2: |
452 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) | |
453 | * routine is available to set the current process group. | |
454 | */ | |
455 | /*#define HAS_SETPGRP2 / **/ | |
456 | ||
457 | /* HAS_SETPRIORITY: | |
458 | * This symbol, if defined, indicates that the setpriority routine is | |
459 | * available to set a process's priority. | |
460 | */ | |
461 | /*#define HAS_SETPRIORITY / **/ | |
462 | ||
463 | /* HAS_SETREGID: | |
464 | * This symbol, if defined, indicates that the setregid routine is | |
465 | * available to change the real and effective gid of the current | |
466 | * process. | |
467 | */ | |
468 | /* HAS_SETRESGID: | |
469 | * This symbol, if defined, indicates that the setresgid routine is | |
470 | * available to change the real, effective and saved gid of the current | |
471 | * process. | |
472 | */ | |
473 | /*#define HAS_SETREGID / **/ | |
474 | /*#define HAS_SETRESGID / **/ | |
475 | ||
476 | /* HAS_SETREUID: | |
477 | * This symbol, if defined, indicates that the setreuid routine is | |
478 | * available to change the real and effective uid of the current | |
479 | * process. | |
480 | */ | |
481 | /* HAS_SETRESUID: | |
482 | * This symbol, if defined, indicates that the setresuid routine is | |
483 | * available to change the real, effective and saved uid of the current | |
484 | * process. | |
485 | */ | |
486 | /*#define HAS_SETREUID / **/ | |
487 | /*#define HAS_SETRESUID / **/ | |
488 | ||
489 | /* HAS_SETRGID: | |
490 | * This symbol, if defined, indicates that the setrgid routine is available | |
491 | * to change the real gid of the current program. | |
492 | */ | |
493 | /*#define HAS_SETRGID / **/ | |
494 | ||
495 | /* HAS_SETRUID: | |
496 | * This symbol, if defined, indicates that the setruid routine is available | |
497 | * to change the real uid of the current program. | |
498 | */ | |
499 | /*#define HAS_SETRUID / **/ | |
500 | ||
501 | /* HAS_SETSID: | |
502 | * This symbol, if defined, indicates that the setsid routine is | |
503 | * available to set the process group ID. | |
504 | */ | |
505 | /*#define HAS_SETSID / **/ | |
506 | ||
3ebb1980 JH |
507 | /* HAS_STRCHR: |
508 | * This symbol is defined to indicate that the strchr()/strrchr() | |
509 | * functions are available for string searching. If not, try the | |
510 | * index()/rindex() pair. | |
511 | */ | |
512 | /* HAS_INDEX: | |
513 | * This symbol is defined to indicate that the index()/rindex() | |
514 | * functions are available for string searching. | |
515 | */ | |
516 | /*#define HAS_STRCHR / **/ | |
517 | /*#define HAS_INDEX / **/ | |
518 | ||
519 | /* HAS_STRCOLL: | |
520 | * This symbol, if defined, indicates that the strcoll routine is | |
521 | * available to compare strings using collating information. | |
522 | */ | |
523 | /*#define HAS_STRCOLL / **/ | |
524 | ||
525 | /* USE_STRUCT_COPY: | |
526 | * This symbol, if defined, indicates that this C compiler knows how | |
527 | * to copy structures. If undefined, you'll need to use a block copy | |
528 | * routine of some sort instead. | |
529 | */ | |
530 | /*#define USE_STRUCT_COPY / **/ | |
531 | ||
532 | /* HAS_STRTOD: | |
533 | * This symbol, if defined, indicates that the strtod routine is | |
534 | * available to provide better numeric string conversion than atof(). | |
535 | */ | |
536 | /*#define HAS_STRTOD / **/ | |
537 | ||
538 | /* HAS_STRTOL: | |
539 | * This symbol, if defined, indicates that the strtol routine is available | |
540 | * to provide better numeric string conversion than atoi() and friends. | |
541 | */ | |
542 | /*#define HAS_STRTOL / **/ | |
543 | ||
3ebb1980 JH |
544 | /* HAS_STRXFRM: |
545 | * This symbol, if defined, indicates that the strxfrm() routine is | |
546 | * available to transform strings. | |
547 | */ | |
548 | /*#define HAS_STRXFRM / **/ | |
549 | ||
550 | /* HAS_SYMLINK: | |
551 | * This symbol, if defined, indicates that the symlink routine is available | |
552 | * to create symbolic links. | |
553 | */ | |
554 | /*#define HAS_SYMLINK / **/ | |
555 | ||
556 | /* HAS_SYSCALL: | |
557 | * This symbol, if defined, indicates that the syscall routine is | |
558 | * available to call arbitrary system calls. If undefined, that's tough. | |
559 | */ | |
560 | /*#define HAS_SYSCALL / **/ | |
561 | ||
562 | /* HAS_SYSCONF: | |
563 | * This symbol, if defined, indicates that sysconf() is available | |
564 | * to determine system related limits and options. | |
565 | */ | |
566 | /*#define HAS_SYSCONF / **/ | |
567 | ||
568 | /* HAS_SYSTEM: | |
569 | * This symbol, if defined, indicates that the system routine is | |
570 | * available to issue a shell command. | |
571 | */ | |
572 | /*#define HAS_SYSTEM / **/ | |
573 | ||
574 | /* HAS_TCGETPGRP: | |
575 | * This symbol, if defined, indicates that the tcgetpgrp routine is | |
576 | * available to get foreground process group ID. | |
577 | */ | |
578 | /*#define HAS_TCGETPGRP / **/ | |
579 | ||
580 | /* HAS_TCSETPGRP: | |
581 | * This symbol, if defined, indicates that the tcsetpgrp routine is | |
582 | * available to set foreground process group ID. | |
583 | */ | |
584 | /*#define HAS_TCSETPGRP / **/ | |
585 | ||
586 | /* HAS_TRUNCATE: | |
587 | * This symbol, if defined, indicates that the truncate routine is | |
588 | * available to truncate files. | |
589 | */ | |
590 | /*#define HAS_TRUNCATE / **/ | |
591 | ||
592 | /* HAS_TZNAME: | |
593 | * This symbol, if defined, indicates that the tzname[] array is | |
594 | * available to access timezone names. | |
595 | */ | |
596 | /*#define HAS_TZNAME / **/ | |
597 | ||
598 | /* HAS_UMASK: | |
599 | * This symbol, if defined, indicates that the umask routine is | |
600 | * available to set and get the value of the file creation mask. | |
601 | */ | |
602 | /*#define HAS_UMASK / **/ | |
603 | ||
4e0554ec JH |
604 | /* HAS_USLEEP: |
605 | * This symbol, if defined, indicates that the usleep routine is | |
606 | * available to let the process sleep on a sub-second accuracy. | |
607 | */ | |
608 | /*#define HAS_USLEEP / **/ | |
609 | ||
3ebb1980 JH |
610 | /* HASVOLATILE: |
611 | * This symbol, if defined, indicates that this C compiler knows about | |
612 | * the volatile declaration. | |
613 | */ | |
614 | /*#define HASVOLATILE / **/ | |
615 | #ifndef HASVOLATILE | |
616 | #define volatile | |
617 | #endif | |
618 | ||
619 | /* HAS_WAIT4: | |
620 | * This symbol, if defined, indicates that wait4() exists. | |
621 | */ | |
622 | /*#define HAS_WAIT4 / **/ | |
623 | ||
624 | /* HAS_WAITPID: | |
625 | * This symbol, if defined, indicates that the waitpid routine is | |
626 | * available to wait for child process. | |
627 | */ | |
628 | /*#define HAS_WAITPID / **/ | |
629 | ||
630 | /* HAS_WCSTOMBS: | |
631 | * This symbol, if defined, indicates that the wcstombs routine is | |
632 | * available to convert wide character strings to multibyte strings. | |
633 | */ | |
634 | /*#define HAS_WCSTOMBS / **/ | |
635 | ||
636 | /* HAS_WCTOMB: | |
637 | * This symbol, if defined, indicates that the wctomb routine is available | |
638 | * to covert a wide character to a multibyte. | |
639 | */ | |
640 | /*#define HAS_WCTOMB / **/ | |
641 | ||
642 | /* I_ARPA_INET: | |
643 | * This symbol, if defined, indicates to the C program that it should | |
644 | * include <arpa/inet.h> to get inet_addr and friends declarations. | |
645 | */ | |
646 | /*#define I_ARPA_INET / **/ | |
647 | ||
648 | /* I_DBM: | |
649 | * This symbol, if defined, indicates that <dbm.h> exists and should | |
650 | * be included. | |
651 | */ | |
652 | /* I_RPCSVC_DBM: | |
653 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and | |
654 | * should be included. | |
655 | */ | |
656 | /*#define I_DBM / **/ | |
657 | /*#define I_RPCSVC_DBM / **/ | |
658 | ||
659 | /* I_DIRENT: | |
660 | * This symbol, if defined, indicates to the C program that it should | |
661 | * include <dirent.h>. Using this symbol also triggers the definition | |
662 | * of the Direntry_t define which ends up being 'struct dirent' or | |
663 | * 'struct direct' depending on the availability of <dirent.h>. | |
664 | */ | |
665 | /* DIRNAMLEN: | |
666 | * This symbol, if defined, indicates to the C program that the length | |
667 | * of directory entry names is provided by a d_namlen field. Otherwise | |
668 | * you need to do strlen() on the d_name field. | |
669 | */ | |
670 | /* Direntry_t: | |
671 | * This symbol is set to 'struct direct' or 'struct dirent' depending on | |
672 | * whether dirent is available or not. You should use this pseudo type to | |
673 | * portably declare your directory entries. | |
674 | */ | |
675 | /*#define I_DIRENT / **/ | |
676 | /*#define DIRNAMLEN / **/ | |
677 | #define Direntry_t struct dirent | |
678 | ||
679 | /* I_DLFCN: | |
680 | * This symbol, if defined, indicates that <dlfcn.h> exists and should | |
681 | * be included. | |
682 | */ | |
683 | /*#define I_DLFCN / **/ | |
684 | ||
685 | /* I_FCNTL: | |
686 | * This manifest constant tells the C program to include <fcntl.h>. | |
687 | */ | |
688 | /*#define I_FCNTL / **/ | |
689 | ||
690 | /* I_FLOAT: | |
691 | * This symbol, if defined, indicates to the C program that it should | |
692 | * include <float.h> to get definition of symbols like DBL_MAX or | |
693 | * DBL_MIN, i.e. machine dependent floating point values. | |
694 | */ | |
695 | /*#define I_FLOAT / **/ | |
696 | ||
697 | /* I_LIMITS: | |
698 | * This symbol, if defined, indicates to the C program that it should | |
699 | * include <limits.h> to get definition of symbols like WORD_BIT or | |
700 | * LONG_MAX, i.e. machine dependant limitations. | |
701 | */ | |
702 | /*#define I_LIMITS / **/ | |
703 | ||
704 | /* I_LOCALE: | |
705 | * This symbol, if defined, indicates to the C program that it should | |
706 | * include <locale.h>. | |
707 | */ | |
708 | /*#define I_LOCALE / **/ | |
709 | ||
710 | /* I_MATH: | |
711 | * This symbol, if defined, indicates to the C program that it should | |
712 | * include <math.h>. | |
713 | */ | |
251f6efd | 714 | #define I_MATH /**/ |
3ebb1980 JH |
715 | |
716 | /* I_MEMORY: | |
717 | * This symbol, if defined, indicates to the C program that it should | |
718 | * include <memory.h>. | |
719 | */ | |
720 | /*#define I_MEMORY / **/ | |
721 | ||
3ebb1980 JH |
722 | /* I_NET_ERRNO: |
723 | * This symbol, if defined, indicates that <net/errno.h> exists and | |
724 | * should be included. | |
725 | */ | |
726 | /*#define I_NET_ERRNO / **/ | |
727 | ||
728 | /* I_NETINET_IN: | |
729 | * This symbol, if defined, indicates to the C program that it should | |
730 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. | |
731 | */ | |
732 | /*#define I_NETINET_IN / **/ | |
733 | ||
734 | /* I_SFIO: | |
735 | * This symbol, if defined, indicates to the C program that it should | |
736 | * include <sfio.h>. | |
737 | */ | |
738 | /*#define I_SFIO / **/ | |
739 | ||
740 | /* I_STDDEF: | |
741 | * This symbol, if defined, indicates that <stddef.h> exists and should | |
742 | * be included. | |
743 | */ | |
744 | /*#define I_STDDEF / **/ | |
745 | ||
746 | /* I_STDLIB: | |
747 | * This symbol, if defined, indicates that <stdlib.h> exists and should | |
748 | * be included. | |
749 | */ | |
750 | /*#define I_STDLIB / **/ | |
751 | ||
752 | /* I_STRING: | |
753 | * This symbol, if defined, indicates to the C program that it should | |
754 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). | |
755 | */ | |
756 | #define I_STRING /**/ | |
757 | ||
758 | /* I_SYS_DIR: | |
759 | * This symbol, if defined, indicates to the C program that it should | |
760 | * include <sys/dir.h>. | |
761 | */ | |
762 | /*#define I_SYS_DIR / **/ | |
763 | ||
764 | /* I_SYS_FILE: | |
765 | * This symbol, if defined, indicates to the C program that it should | |
766 | * include <sys/file.h> to get definition of R_OK and friends. | |
767 | */ | |
768 | /*#define I_SYS_FILE / **/ | |
769 | ||
770 | /* I_SYS_IOCTL: | |
771 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should | |
772 | * be included. Otherwise, include <sgtty.h> or <termio.h>. | |
773 | */ | |
49a78c82 JH |
774 | /* I_SYS_SOCKIO: |
775 | * This symbol, if defined, indicates the <sys/sockio.h> should be included | |
776 | * to get socket ioctl options, like SIOCATMARK. | |
777 | */ | |
3ebb1980 | 778 | /*#define I_SYS_IOCTL / **/ |
49a78c82 | 779 | /*#define I_SYS_SOCKIO / **/ |
3ebb1980 JH |
780 | |
781 | /* I_SYS_NDIR: | |
782 | * This symbol, if defined, indicates to the C program that it should | |
783 | * include <sys/ndir.h>. | |
784 | */ | |
785 | /*#define I_SYS_NDIR / **/ | |
786 | ||
787 | /* I_SYS_PARAM: | |
788 | * This symbol, if defined, indicates to the C program that it should | |
789 | * include <sys/param.h>. | |
790 | */ | |
791 | /*#define I_SYS_PARAM / **/ | |
792 | ||
793 | /* I_SYS_RESOURCE: | |
794 | * This symbol, if defined, indicates to the C program that it should | |
795 | * include <sys/resource.h>. | |
796 | */ | |
797 | /*#define I_SYS_RESOURCE / **/ | |
798 | ||
799 | /* I_SYS_SELECT: | |
800 | * This symbol, if defined, indicates to the C program that it should | |
801 | * include <sys/select.h> in order to get definition of struct timeval. | |
802 | */ | |
803 | /*#define I_SYS_SELECT / **/ | |
804 | ||
805 | /* I_SYS_STAT: | |
806 | * This symbol, if defined, indicates to the C program that it should | |
807 | * include <sys/stat.h>. | |
808 | */ | |
809 | #define I_SYS_STAT /**/ | |
810 | ||
811 | /* I_SYS_TIMES: | |
812 | * This symbol, if defined, indicates to the C program that it should | |
813 | * include <sys/times.h>. | |
814 | */ | |
815 | /*#define I_SYS_TIMES / **/ | |
816 | ||
817 | /* I_SYS_TYPES: | |
818 | * This symbol, if defined, indicates to the C program that it should | |
819 | * include <sys/types.h>. | |
820 | */ | |
821 | /*#define I_SYS_TYPES / **/ | |
822 | ||
823 | /* I_SYS_UN: | |
824 | * This symbol, if defined, indicates to the C program that it should | |
825 | * include <sys/un.h> to get UNIX domain socket definitions. | |
826 | */ | |
827 | /*#define I_SYS_UN / **/ | |
828 | ||
829 | /* I_SYS_WAIT: | |
830 | * This symbol, if defined, indicates to the C program that it should | |
831 | * include <sys/wait.h>. | |
832 | */ | |
833 | /*#define I_SYS_WAIT / **/ | |
834 | ||
835 | /* I_TERMIO: | |
836 | * This symbol, if defined, indicates that the program should include | |
837 | * <termio.h> rather than <sgtty.h>. There are also differences in | |
838 | * the ioctl() calls that depend on the value of this symbol. | |
839 | */ | |
840 | /* I_TERMIOS: | |
841 | * This symbol, if defined, indicates that the program should include | |
842 | * the POSIX termios.h rather than sgtty.h or termio.h. | |
843 | * There are also differences in the ioctl() calls that depend on the | |
844 | * value of this symbol. | |
845 | */ | |
846 | /* I_SGTTY: | |
847 | * This symbol, if defined, indicates that the program should include | |
848 | * <sgtty.h> rather than <termio.h>. There are also differences in | |
849 | * the ioctl() calls that depend on the value of this symbol. | |
850 | */ | |
851 | /*#define I_TERMIO / **/ | |
852 | /*#define I_TERMIOS / **/ | |
853 | /*#define I_SGTTY / **/ | |
854 | ||
855 | /* I_UNISTD: | |
856 | * This symbol, if defined, indicates to the C program that it should | |
857 | * include <unistd.h>. | |
858 | */ | |
859 | /*#define I_UNISTD / **/ | |
860 | ||
861 | /* I_UTIME: | |
862 | * This symbol, if defined, indicates to the C program that it should | |
863 | * include <utime.h>. | |
864 | */ | |
865 | /*#define I_UTIME / **/ | |
866 | ||
867 | /* I_VALUES: | |
868 | * This symbol, if defined, indicates to the C program that it should | |
869 | * include <values.h> to get definition of symbols like MINFLOAT or | |
870 | * MAXLONG, i.e. machine dependant limitations. Probably, you | |
871 | * should use <limits.h> instead, if it is available. | |
872 | */ | |
873 | /*#define I_VALUES / **/ | |
874 | ||
3ebb1980 JH |
875 | /* I_VFORK: |
876 | * This symbol, if defined, indicates to the C program that it should | |
877 | * include vfork.h. | |
878 | */ | |
879 | /*#define I_VFORK / **/ | |
880 | ||
3ebb1980 JH |
881 | /* INTSIZE: |
882 | * This symbol contains the value of sizeof(int) so that the C | |
883 | * preprocessor can make decisions based on it. | |
884 | */ | |
885 | /* LONGSIZE: | |
886 | * This symbol contains the value of sizeof(long) so that the C | |
887 | * preprocessor can make decisions based on it. | |
888 | */ | |
889 | /* SHORTSIZE: | |
890 | * This symbol contains the value of sizeof(short) so that the C | |
891 | * preprocessor can make decisions based on it. | |
892 | */ | |
e67aeab1 | 893 | #define INTSIZE 4 /**/ |
a24ffc0b | 894 | #define LONGSIZE 4 /**/ |
e67aeab1 | 895 | #define SHORTSIZE 2 /**/ |
3ebb1980 JH |
896 | |
897 | /* MULTIARCH: | |
898 | * This symbol, if defined, signifies that the build | |
899 | * process will produce some binary files that are going to be | |
900 | * used in a cross-platform environment. This is the case for | |
901 | * example with the NeXT "fat" binaries that contain executables | |
902 | * for several CPUs. | |
903 | */ | |
904 | /*#define MULTIARCH / **/ | |
905 | ||
906 | /* HAS_QUAD: | |
907 | * This symbol, if defined, tells that there's a 64-bit integer type, | |
908 | * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one | |
909 | * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. | |
910 | */ | |
911 | /*#define HAS_QUAD / **/ | |
912 | #ifdef HAS_QUAD | |
913 | # define Quad_t int64_t /**/ | |
914 | # define Uquad_t uint64_t /**/ | |
915 | # define QUADKIND 4 /**/ | |
916 | # define QUAD_IS_INT 1 | |
917 | # define QUAD_IS_LONG 2 | |
918 | # define QUAD_IS_LONG_LONG 3 | |
919 | # define QUAD_IS_INT64_T 4 | |
920 | #endif | |
921 | ||
922 | /* HAS_ACCESSX: | |
923 | * This symbol, if defined, indicates that the accessx routine is | |
924 | * available to do extended access checks. | |
925 | */ | |
926 | /*#define HAS_ACCESSX / **/ | |
927 | ||
928 | /* HAS_EACCESS: | |
929 | * This symbol, if defined, indicates that the eaccess routine is | |
930 | * available to do extended access checks. | |
931 | */ | |
932 | /*#define HAS_EACCESS / **/ | |
933 | ||
934 | /* I_SYS_ACCESS: | |
935 | * This symbol, if defined, indicates to the C program that it should | |
936 | * include <sys/access.h>. | |
937 | */ | |
938 | /*#define I_SYS_ACCESS / **/ | |
939 | ||
940 | /* I_SYS_SECURITY: | |
941 | * This symbol, if defined, indicates to the C program that it should | |
942 | * include <sys/security.h>. | |
943 | */ | |
944 | /*#define I_SYS_SECURITY / **/ | |
945 | ||
a838cfe5 JH |
946 | /* OSNAME: |
947 | * This symbol contains the name of the operating system, as determined | |
948 | * by Configure. You shouldn't rely on it too much; the specific | |
949 | * feature tests from Configure are generally more reliable. | |
950 | */ | |
951 | /* OSVERS: | |
952 | * This symbol contains the version of the operating system, as determined | |
953 | * by Configure. You shouldn't rely on it too much; the specific | |
954 | * feature tests from Configure are generally more reliable. | |
955 | */ | |
956 | #define OSNAME "unknown" /**/ | |
957 | #define OSVERS "" /**/ | |
958 | ||
3ebb1980 JH |
959 | /* MEM_ALIGNBYTES: |
960 | * This symbol contains the number of bytes required to align a | |
961 | * double, or a long double when applicable. Usual values are 2, | |
962 | * 4 and 8. The default is eight, for safety. | |
963 | */ | |
5440bc8e | 964 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) |
cb5953d6 | 965 | # define MEM_ALIGNBYTES 8 |
3ebb1980 JH |
966 | #else |
967 | #define MEM_ALIGNBYTES 4 | |
968 | #endif | |
969 | ||
a838cfe5 JH |
970 | /* ARCHLIB: |
971 | * This variable, if defined, holds the name of the directory in | |
972 | * which the user wants to put architecture-dependent public | |
973 | * library files for . It is most often a local directory | |
974 | * such as /usr/local/lib. Programs using this variable must be | |
975 | * prepared to deal with filename expansion. If ARCHLIB is the | |
976 | * same as PRIVLIB, it is not defined, since presumably the | |
977 | * program already searches PRIVLIB. | |
978 | */ | |
979 | /* ARCHLIB_EXP: | |
980 | * This symbol contains the ~name expanded version of ARCHLIB, to be used | |
981 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
982 | */ | |
983 | /*#define ARCHLIB "/usr/local/lib/perl5/5.7/unknown" / **/ | |
984 | /*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.7/unknown" / **/ | |
985 | ||
986 | /* ARCHNAME: | |
987 | * This symbol holds a string representing the architecture name. | |
988 | * It may be used to construct an architecture-dependant pathname | |
989 | * where library files may be held under a private library, for | |
990 | * instance. | |
991 | */ | |
992 | #define ARCHNAME "unknown" /**/ | |
993 | ||
994 | /* HAS_ATOLF: | |
995 | * This symbol, if defined, indicates that the atolf routine is | |
996 | * available to convert strings into long doubles. | |
997 | */ | |
998 | /*#define HAS_ATOLF / **/ | |
999 | ||
1000 | /* HAS_ATOLL: | |
1001 | * This symbol, if defined, indicates that the atoll routine is | |
1002 | * available to convert strings into long longs. | |
1003 | */ | |
1004 | /*#define HAS_ATOLL / **/ | |
1005 | ||
1006 | /* BIN: | |
1007 | * This symbol holds the path of the bin directory where the package will | |
1008 | * be installed. Program must be prepared to deal with ~name substitution. | |
1009 | */ | |
1010 | /* BIN_EXP: | |
1011 | * This symbol is the filename expanded version of the BIN symbol, for | |
1012 | * programs that do not want to deal with that at run-time. | |
1013 | */ | |
1014 | #define BIN "/usr/local/bin" /**/ | |
1015 | #define BIN_EXP "" /**/ | |
1016 | ||
3ebb1980 JH |
1017 | /* BYTEORDER: |
1018 | * This symbol holds the hexadecimal constant defined in byteorder, | |
089ffa16 | 1019 | * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... |
3ebb1980 JH |
1020 | * If the compiler supports cross-compiling or multiple-architecture |
1021 | * binaries (eg. on NeXT systems), use compiler-defined macros to | |
1022 | * determine the byte order. | |
1023 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture | |
1024 | * Binaries (MAB) on either big endian or little endian machines. | |
1025 | * The endian-ness is available at compile-time. This only matters | |
1026 | * for perl, where the config.h can be generated and installed on | |
1027 | * one system, and used by a different architecture to build an | |
1028 | * extension. Older versions of NeXT that might not have | |
1029 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, | |
1030 | * so the default case (for NeXT) is big endian to catch them. | |
1031 | * This might matter for NeXT 3.0. | |
1032 | */ | |
5440bc8e | 1033 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) |
3ebb1980 JH |
1034 | # ifdef __LITTLE_ENDIAN__ |
1035 | # if LONGSIZE == 4 | |
1036 | # define BYTEORDER 0x1234 | |
1037 | # else | |
1038 | # if LONGSIZE == 8 | |
1039 | # define BYTEORDER 0x12345678 | |
1040 | # endif | |
1041 | # endif | |
1042 | # else | |
1043 | # ifdef __BIG_ENDIAN__ | |
1044 | # if LONGSIZE == 4 | |
1045 | # define BYTEORDER 0x4321 | |
1046 | # else | |
1047 | # if LONGSIZE == 8 | |
1048 | # define BYTEORDER 0x87654321 | |
1049 | # endif | |
1050 | # endif | |
1051 | # endif | |
1052 | # endif | |
1053 | # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) | |
1054 | # define BYTEORDER 0x4321 | |
1055 | # endif | |
1056 | #else | |
a24ffc0b | 1057 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
3ebb1980 JH |
1058 | #endif /* NeXT */ |
1059 | ||
a838cfe5 JH |
1060 | /* CAT2: |
1061 | * This macro catenates 2 tokens together. | |
1062 | */ | |
1063 | /* STRINGIFY: | |
1064 | * This macro surrounds its token with double quotes. | |
1065 | */ | |
1066 | #if 42 == 1 | |
1067 | #define CAT2(a,b) a/**/b | |
1068 | #define STRINGIFY(a) "a" | |
1069 | /* If you can get stringification with catify, tell me how! */ | |
1070 | #endif | |
1071 | #if 42 == 42 | |
1072 | #define PeRl_CaTiFy(a, b) a ## b | |
1073 | #define PeRl_StGiFy(a) #a | |
1074 | /* the additional level of indirection enables these macros to be | |
1075 | * used as arguments to other macros. See K&R 2nd ed., page 231. */ | |
1076 | #define CAT2(a,b) PeRl_CaTiFy(a,b) | |
1077 | #define StGiFy(a) PeRl_StGiFy(a) | |
1078 | #define STRINGIFY(a) PeRl_StGiFy(a) | |
1079 | #endif | |
1080 | #if 42 != 1 && 42 != 42 | |
1081 | # include "Bletch: How does this C preprocessor catenate tokens?" | |
1082 | #endif | |
1083 | ||
1084 | /* CPPSTDIN: | |
1085 | * This symbol contains the first part of the string which will invoke | |
1086 | * the C preprocessor on the standard input and produce to standard | |
1087 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also | |
1088 | * call a wrapper. See CPPRUN. | |
1089 | */ | |
1090 | /* CPPMINUS: | |
1091 | * This symbol contains the second part of the string which will invoke | |
1092 | * the C preprocessor on the standard input and produce to standard | |
1093 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus | |
1094 | * to specify standard input, otherwise the value is "". | |
1095 | */ | |
1096 | /* CPPRUN: | |
1097 | * This symbol contains the string which will invoke a C preprocessor on | |
1098 | * the standard input and produce to standard output. It needs to end | |
1099 | * with CPPLAST, after all other preprocessor flags have been specified. | |
1100 | * The main difference with CPPSTDIN is that this program will never be a | |
1101 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is | |
1102 | * available directly to the user. Note that it may well be different from | |
1103 | * the preprocessor used to compile the C program. | |
1104 | */ | |
1105 | /* CPPLAST: | |
1106 | * This symbol is intended to be used along with CPPRUN in the same manner | |
1107 | * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". | |
1108 | */ | |
1109 | #define CPPSTDIN "" | |
1110 | #define CPPMINUS "" | |
1111 | #define CPPRUN "" | |
1112 | #define CPPLAST "" | |
1113 | ||
1114 | /* HAS__FWALK: | |
1115 | * This symbol, if defined, indicates that the _fwalk system call is | |
1116 | * available to apply a function to all the file handles. | |
1117 | */ | |
1118 | /*#define HAS__FWALK / **/ | |
1119 | ||
1120 | /* HAS_ACCESS: | |
1121 | * This manifest constant lets the C program know that the access() | |
1122 | * system call is available to check for accessibility using real UID/GID. | |
1123 | * (always present on UNIX.) | |
1124 | */ | |
1125 | /*#define HAS_ACCESS / **/ | |
1126 | ||
10bc17b6 JH |
1127 | /* HAS_ASCTIME_R: |
1128 | * This symbol, if defined, indicates that the asctime_r routine | |
1129 | * is available to asctime re-entrantly. | |
1130 | */ | |
1131 | /* ASCTIME_R_PROTO: | |
1132 | * This symbol encodes the prototype of asctime_r. | |
298695c9 JH |
1133 | * It is zero if d_asctime_r is undef, and one of the |
1134 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r | |
1135 | * is defined. | |
10bc17b6 JH |
1136 | */ |
1137 | /*#define HAS_ASCTIME_R / **/ | |
1138 | #define ASCTIME_R_PROTO 0 /**/ | |
1139 | ||
3ebb1980 JH |
1140 | /* CASTI32: |
1141 | * This symbol is defined if the C compiler can cast negative | |
1142 | * or large floating point numbers to 32-bit ints. | |
1143 | */ | |
1144 | /*#define CASTI32 / **/ | |
1145 | ||
1146 | /* CASTNEGFLOAT: | |
1147 | * This symbol is defined if the C compiler can cast negative | |
1148 | * numbers to unsigned longs, ints and shorts. | |
1149 | */ | |
1150 | /* CASTFLAGS: | |
1151 | * This symbol contains flags that say what difficulties the compiler | |
1152 | * has casting odd floating values to unsigned long: | |
1153 | * 0 = ok | |
1154 | * 1 = couldn't cast < 0 | |
1155 | * 2 = couldn't cast >= 0x80000000 | |
1156 | * 4 = couldn't cast in argument expression list | |
1157 | */ | |
1158 | /*#define CASTNEGFLOAT / **/ | |
1159 | #define CASTFLAGS 0 /**/ | |
1160 | ||
a838cfe5 JH |
1161 | /* HAS_CLASS: |
1162 | * This symbol, if defined, indicates that the class routine is | |
1163 | * available to classify doubles. Available for example in AIX. | |
1164 | * The returned values are defined in <float.h> and are: | |
1165 | * | |
1166 | * FP_PLUS_NORM Positive normalized, nonzero | |
1167 | * FP_MINUS_NORM Negative normalized, nonzero | |
1168 | * FP_PLUS_DENORM Positive denormalized, nonzero | |
1169 | * FP_MINUS_DENORM Negative denormalized, nonzero | |
1170 | * FP_PLUS_ZERO +0.0 | |
1171 | * FP_MINUS_ZERO -0.0 | |
1172 | * FP_PLUS_INF +INF | |
1173 | * FP_MINUS_INF -INF | |
1174 | * FP_NANS Signaling Not a Number (NaNS) | |
1175 | * FP_NANQ Quiet Not a Number (NaNQ) | |
1176 | */ | |
1177 | /*#define HAS_CLASS / **/ | |
1178 | ||
3ebb1980 JH |
1179 | /* VOID_CLOSEDIR: |
1180 | * This symbol, if defined, indicates that the closedir() routine | |
1181 | * does not return a value. | |
1182 | */ | |
1183 | /*#define VOID_CLOSEDIR / **/ | |
1184 | ||
a838cfe5 JH |
1185 | /* HAS_STRUCT_CMSGHDR: |
1186 | * This symbol, if defined, indicates that the struct cmsghdr | |
1187 | * is supported. | |
3ebb1980 | 1188 | */ |
a838cfe5 | 1189 | /*#define HAS_STRUCT_CMSGHDR / **/ |
3ebb1980 | 1190 | |
10bc17b6 JH |
1191 | /* HAS_CRYPT_R: |
1192 | * This symbol, if defined, indicates that the crypt_r routine | |
1193 | * is available to crypt re-entrantly. | |
1194 | */ | |
1195 | /* CRYPT_R_PROTO: | |
1196 | * This symbol encodes the prototype of crypt_r. | |
298695c9 JH |
1197 | * It is zero if d_crypt_r is undef, and one of the |
1198 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r | |
1199 | * is defined. | |
10bc17b6 JH |
1200 | */ |
1201 | /*#define HAS_CRYPT_R / **/ | |
1202 | #define CRYPT_R_PROTO 0 /**/ | |
1203 | ||
a838cfe5 JH |
1204 | /* HAS_CSH: |
1205 | * This symbol, if defined, indicates that the C-shell exists. | |
3ebb1980 | 1206 | */ |
a838cfe5 JH |
1207 | /* CSH: |
1208 | * This symbol, if defined, contains the full pathname of csh. | |
3ebb1980 | 1209 | */ |
a838cfe5 JH |
1210 | /*#define HAS_CSH / **/ |
1211 | #ifdef HAS_CSH | |
1212 | #define CSH "" /**/ | |
e9a8643a | 1213 | #endif |
a838cfe5 | 1214 | |
10bc17b6 JH |
1215 | /* HAS_CTIME_R: |
1216 | * This symbol, if defined, indicates that the ctime_r routine | |
1217 | * is available to ctime re-entrantly. | |
1218 | */ | |
1219 | /* CTIME_R_PROTO: | |
1220 | * This symbol encodes the prototype of ctime_r. | |
298695c9 JH |
1221 | * It is zero if d_ctime_r is undef, and one of the |
1222 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r | |
1223 | * is defined. | |
10bc17b6 JH |
1224 | */ |
1225 | /*#define HAS_CTIME_R / **/ | |
1226 | #define CTIME_R_PROTO 0 /**/ | |
1227 | ||
a838cfe5 JH |
1228 | /* DLSYM_NEEDS_UNDERSCORE: |
1229 | * This symbol, if defined, indicates that we need to prepend an | |
1230 | * underscore to the symbol name before calling dlsym(). This only | |
1231 | * makes sense if you *have* dlsym, which we will presume is the | |
1232 | * case if you're using dl_dlopen.xs. | |
3ebb1980 | 1233 | */ |
a838cfe5 | 1234 | /*#define DLSYM_NEEDS_UNDERSCORE / **/ |
3ebb1980 | 1235 | |
10bc17b6 JH |
1236 | /* HAS_DRAND48_R: |
1237 | * This symbol, if defined, indicates that the drand48_r routine | |
1238 | * is available to drand48 re-entrantly. | |
1239 | */ | |
1240 | /* DRAND48_R_PROTO: | |
1241 | * This symbol encodes the prototype of drand48_r. | |
298695c9 JH |
1242 | * It is zero if d_drand48_r is undef, and one of the |
1243 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r | |
1244 | * is defined. | |
10bc17b6 JH |
1245 | */ |
1246 | /*#define HAS_DRAND48_R / **/ | |
1247 | #define DRAND48_R_PROTO 0 /**/ | |
1248 | ||
a838cfe5 JH |
1249 | /* HAS_DRAND48_PROTO: |
1250 | * This symbol, if defined, indicates that the system provides | |
1251 | * a prototype for the drand48() function. Otherwise, it is up | |
1252 | * to the program to supply one. A good guess is | |
c68a00c0 | 1253 | * extern double drand48(void); |
3ebb1980 | 1254 | */ |
a838cfe5 | 1255 | /*#define HAS_DRAND48_PROTO / **/ |
e9a8643a | 1256 | |
a838cfe5 JH |
1257 | /* HAS_ENDGRENT: |
1258 | * This symbol, if defined, indicates that the getgrent routine is | |
1259 | * available for finalizing sequential access of the group database. | |
e9a8643a | 1260 | */ |
a838cfe5 | 1261 | /*#define HAS_ENDGRENT / **/ |
e9a8643a | 1262 | |
10bc17b6 JH |
1263 | /* HAS_ENDGRENT_R: |
1264 | * This symbol, if defined, indicates that the endgrent_r routine | |
1265 | * is available to endgrent re-entrantly. | |
1266 | */ | |
1267 | /* ENDGRENT_R_PROTO: | |
1268 | * This symbol encodes the prototype of endgrent_r. | |
298695c9 JH |
1269 | * It is zero if d_endgrent_r is undef, and one of the |
1270 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r | |
1271 | * is defined. | |
10bc17b6 JH |
1272 | */ |
1273 | /*#define HAS_ENDGRENT_R / **/ | |
1274 | #define ENDGRENT_R_PROTO 0 /**/ | |
1275 | ||
a838cfe5 JH |
1276 | /* HAS_ENDHOSTENT: |
1277 | * This symbol, if defined, indicates that the endhostent() routine is | |
1278 | * available to close whatever was being used for host queries. | |
e9a8643a | 1279 | */ |
a838cfe5 | 1280 | /*#define HAS_ENDHOSTENT / **/ |
e9a8643a | 1281 | |
a838cfe5 JH |
1282 | /* HAS_ENDNETENT: |
1283 | * This symbol, if defined, indicates that the endnetent() routine is | |
1284 | * available to close whatever was being used for network queries. | |
e9a8643a | 1285 | */ |
a838cfe5 | 1286 | /*#define HAS_ENDNETENT / **/ |
e9a8643a | 1287 | |
a838cfe5 JH |
1288 | /* HAS_ENDPROTOENT: |
1289 | * This symbol, if defined, indicates that the endprotoent() routine is | |
1290 | * available to close whatever was being used for protocol queries. | |
e9a8643a | 1291 | */ |
a838cfe5 | 1292 | /*#define HAS_ENDPROTOENT / **/ |
e9a8643a | 1293 | |
a838cfe5 JH |
1294 | /* HAS_ENDPWENT: |
1295 | * This symbol, if defined, indicates that the getgrent routine is | |
1296 | * available for finalizing sequential access of the passwd database. | |
e9a8643a | 1297 | */ |
a838cfe5 | 1298 | /*#define HAS_ENDPWENT / **/ |
e9a8643a | 1299 | |
10bc17b6 JH |
1300 | /* HAS_ENDPWENT_R: |
1301 | * This symbol, if defined, indicates that the endpwent_r routine | |
1302 | * is available to endpwent re-entrantly. | |
1303 | */ | |
1304 | /* ENDPWENT_R_PROTO: | |
1305 | * This symbol encodes the prototype of endpwent_r. | |
298695c9 JH |
1306 | * It is zero if d_endpwent_r is undef, and one of the |
1307 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r | |
1308 | * is defined. | |
10bc17b6 JH |
1309 | */ |
1310 | /*#define HAS_ENDPWENT_R / **/ | |
1311 | #define ENDPWENT_R_PROTO 0 /**/ | |
1312 | ||
a838cfe5 JH |
1313 | /* HAS_ENDSERVENT: |
1314 | * This symbol, if defined, indicates that the endservent() routine is | |
1315 | * available to close whatever was being used for service queries. | |
e9a8643a | 1316 | */ |
a838cfe5 | 1317 | /*#define HAS_ENDSERVENT / **/ |
3ebb1980 | 1318 | |
b363b713 JH |
1319 | /* HAS_FCHDIR: |
1320 | * This symbol, if defined, indicates that the fchdir routine is | |
1321 | * available to change directory using a file descriptor. | |
1322 | */ | |
1323 | /*#define HAS_FCHDIR / **/ | |
1324 | ||
a7fea17f JH |
1325 | /* FCNTL_CAN_LOCK: |
1326 | * This symbol, if defined, indicates that fcntl() can be used | |
1327 | * for file locking. Normally on Unix systems this is defined. | |
1328 | * It may be undefined on VMS. | |
1329 | */ | |
1330 | /*#define FCNTL_CAN_LOCK / **/ | |
1331 | ||
a838cfe5 JH |
1332 | /* HAS_FD_SET: |
1333 | * This symbol, when defined, indicates presence of the fd_set typedef | |
1334 | * in <sys/types.h> | |
1335 | */ | |
1336 | /*#define HAS_FD_SET / **/ | |
1337 | ||
758a5d79 JH |
1338 | /* HAS_FINITE: |
1339 | * This symbol, if defined, indicates that the finite routine is | |
1340 | * available to check whether a double is finite (non-infinity non-NaN). | |
1341 | */ | |
1342 | /*#define HAS_FINITE / **/ | |
1343 | ||
1344 | /* HAS_FINITEL: | |
1345 | * This symbol, if defined, indicates that the finitel routine is | |
1346 | * available to check whether a long double is finite | |
1347 | * (non-infinity non-NaN). | |
1348 | */ | |
1349 | /*#define HAS_FINITEL / **/ | |
1350 | ||
a838cfe5 JH |
1351 | /* FLEXFILENAMES: |
1352 | * This symbol, if defined, indicates that the system supports filenames | |
1353 | * longer than 14 characters. | |
3ebb1980 | 1354 | */ |
a838cfe5 | 1355 | /*#define FLEXFILENAMES / **/ |
3ebb1980 | 1356 | |
758a5d79 JH |
1357 | /* HAS_FP_CLASS: |
1358 | * This symbol, if defined, indicates that the fp_class routine is | |
1359 | * available to classify doubles. Available for example in Digital UNIX. | |
1360 | * The returned values are defined in <math.h> and are: | |
1361 | * | |
1362 | * FP_SNAN Signaling NaN (Not-a-Number) | |
1363 | * FP_QNAN Quiet NaN (Not-a-Number) | |
1364 | * FP_POS_INF +infinity | |
1365 | * FP_NEG_INF -infinity | |
1366 | * FP_POS_NORM Positive normalized | |
1367 | * FP_NEG_NORM Negative normalized | |
1368 | * FP_POS_DENORM Positive denormalized | |
1369 | * FP_NEG_DENORM Negative denormalized | |
1370 | * FP_POS_ZERO +0.0 (positive zero) | |
1371 | * FP_NEG_ZERO -0.0 (negative zero) | |
1372 | */ | |
1373 | /*#define HAS_FP_CLASS / **/ | |
1374 | ||
1375 | /* HAS_FPCLASS: | |
1376 | * This symbol, if defined, indicates that the fpclass routine is | |
1377 | * available to classify doubles. Available for example in Solaris/SVR4. | |
1378 | * The returned values are defined in <ieeefp.h> and are: | |
1379 | * | |
1380 | * FP_SNAN signaling NaN | |
1381 | * FP_QNAN quiet NaN | |
1382 | * FP_NINF negative infinity | |
1383 | * FP_PINF positive infinity | |
1384 | * FP_NDENORM negative denormalized non-zero | |
1385 | * FP_PDENORM positive denormalized non-zero | |
1386 | * FP_NZERO negative zero | |
1387 | * FP_PZERO positive zero | |
1388 | * FP_NNORM negative normalized non-zero | |
1389 | * FP_PNORM positive normalized non-zero | |
1390 | */ | |
1391 | /*#define HAS_FPCLASS / **/ | |
1392 | ||
1393 | /* HAS_FPCLASSIFY: | |
1394 | * This symbol, if defined, indicates that the fpclassify routine is | |
1395 | * available to classify doubles. Available for example in HP-UX. | |
1396 | * The returned values are defined in <math.h> and are | |
1397 | * | |
1398 | * FP_NORMAL Normalized | |
1399 | * FP_ZERO Zero | |
1400 | * FP_INFINITE Infinity | |
1401 | * FP_SUBNORMAL Denormalized | |
1402 | * FP_NAN NaN | |
1403 | * | |
1404 | */ | |
a838cfe5 | 1405 | /*#define HAS_FPCLASSIFY / **/ |
e9a8643a | 1406 | |
3ebb1980 JH |
1407 | /* HAS_FPOS64_T: |
1408 | * This symbol will be defined if the C compiler supports fpos64_t. | |
1409 | */ | |
1410 | /*#define HAS_FPOS64_T / **/ | |
1411 | ||
1412 | /* HAS_FREXPL: | |
1413 | * This symbol, if defined, indicates that the frexpl routine is | |
1414 | * available to break a long double floating-point number into | |
1415 | * a normalized fraction and an integral power of 2. | |
1416 | */ | |
1417 | /*#define HAS_FREXPL / **/ | |
1418 | ||
1419 | /* HAS_STRUCT_FS_DATA: | |
1420 | * This symbol, if defined, indicates that the struct fs_data | |
1421 | * to do statfs() is supported. | |
1422 | */ | |
1423 | /*#define HAS_STRUCT_FS_DATA / **/ | |
1424 | ||
1425 | /* HAS_FSEEKO: | |
1426 | * This symbol, if defined, indicates that the fseeko routine is | |
1427 | * available to fseek beyond 32 bits (useful for ILP32 hosts). | |
1428 | */ | |
1429 | /*#define HAS_FSEEKO / **/ | |
1430 | ||
1431 | /* HAS_FSTATFS: | |
1432 | * This symbol, if defined, indicates that the fstatfs routine is | |
1433 | * available to stat filesystems by file descriptors. | |
1434 | */ | |
1435 | /*#define HAS_FSTATFS / **/ | |
e9a8643a JH |
1436 | |
1437 | /* HAS_FSYNC: | |
1438 | * This symbol, if defined, indicates that the fsync routine is | |
1439 | * available to write a file's modified data and attributes to | |
1440 | * permanent storage. | |
3ebb1980 | 1441 | */ |
e9a8643a JH |
1442 | /*#define HAS_FSYNC / **/ |
1443 | ||
1444 | /* HAS_FTELLO: | |
1445 | * This symbol, if defined, indicates that the ftello routine is | |
1446 | * available to ftell beyond 32 bits (useful for ILP32 hosts). | |
1447 | */ | |
1448 | /*#define HAS_FTELLO / **/ | |
3ebb1980 | 1449 | |
a838cfe5 JH |
1450 | /* Gconvert: |
1451 | * This preprocessor macro is defined to convert a floating point | |
1452 | * number to a string without a trailing decimal point. This | |
1453 | * emulates the behavior of sprintf("%g"), but is sometimes much more | |
1454 | * efficient. If gconvert() is not available, but gcvt() drops the | |
1455 | * trailing decimal point, then gcvt() is used. If all else fails, | |
1456 | * a macro using sprintf("%g") is used. Arguments for the Gconvert | |
1457 | * macro are: value, number of digits, whether trailing zeros should | |
1458 | * be retained, and the output buffer. | |
a3c02183 | 1459 | * The usual values are: |
a838cfe5 JH |
1460 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1461 | * d_Gconvert='gcvt((x),(n),(b))' | |
1462 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' | |
1463 | * The last two assume trailing zeros should not be kept. | |
1464 | */ | |
1465 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) | |
1466 | ||
3ebb1980 JH |
1467 | /* HAS_GETCWD: |
1468 | * This symbol, if defined, indicates that the getcwd routine is | |
1469 | * available to get the current working directory. | |
1470 | */ | |
1471 | /*#define HAS_GETCWD / **/ | |
1472 | ||
1473 | /* HAS_GETESPWNAM: | |
1474 | * This symbol, if defined, indicates that the getespwnam system call is | |
1475 | * available to retrieve enchanced (shadow) password entries by name. | |
1476 | */ | |
1477 | /*#define HAS_GETESPWNAM / **/ | |
1478 | ||
1479 | /* HAS_GETFSSTAT: | |
1480 | * This symbol, if defined, indicates that the getfsstat routine is | |
1481 | * available to stat filesystems in bulk. | |
1482 | */ | |
1483 | /*#define HAS_GETFSSTAT / **/ | |
1484 | ||
a838cfe5 JH |
1485 | /* HAS_GETGRENT: |
1486 | * This symbol, if defined, indicates that the getgrent routine is | |
1487 | * available for sequential access of the group database. | |
1488 | */ | |
1489 | /*#define HAS_GETGRENT / **/ | |
1490 | ||
10bc17b6 JH |
1491 | /* HAS_GETGRENT_R: |
1492 | * This symbol, if defined, indicates that the getgrent_r routine | |
1493 | * is available to getgrent re-entrantly. | |
1494 | */ | |
1495 | /* GETGRENT_R_PROTO: | |
1496 | * This symbol encodes the prototype of getgrent_r. | |
298695c9 JH |
1497 | * It is zero if d_getgrent_r is undef, and one of the |
1498 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r | |
1499 | * is defined. | |
10bc17b6 JH |
1500 | */ |
1501 | /*#define HAS_GETGRENT_R / **/ | |
1502 | #define GETGRENT_R_PROTO 0 /**/ | |
1503 | ||
1504 | /* HAS_GETGRGID_R: | |
1505 | * This symbol, if defined, indicates that the getgrgid_r routine | |
1506 | * is available to getgrgid re-entrantly. | |
1507 | */ | |
1508 | /* GETGRGID_R_PROTO: | |
1509 | * This symbol encodes the prototype of getgrgid_r. | |
298695c9 JH |
1510 | * It is zero if d_getgrgid_r is undef, and one of the |
1511 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r | |
1512 | * is defined. | |
10bc17b6 JH |
1513 | */ |
1514 | /*#define HAS_GETGRGID_R / **/ | |
1515 | #define GETGRGID_R_PROTO 0 /**/ | |
1516 | ||
1517 | /* HAS_GETGRNAM_R: | |
1518 | * This symbol, if defined, indicates that the getgrnam_r routine | |
1519 | * is available to getgrnam re-entrantly. | |
1520 | */ | |
1521 | /* GETGRNAM_R_PROTO: | |
1522 | * This symbol encodes the prototype of getgrnam_r. | |
298695c9 JH |
1523 | * It is zero if d_getgrnam_r is undef, and one of the |
1524 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r | |
1525 | * is defined. | |
10bc17b6 JH |
1526 | */ |
1527 | /*#define HAS_GETGRNAM_R / **/ | |
1528 | #define GETGRNAM_R_PROTO 0 /**/ | |
1529 | ||
a838cfe5 JH |
1530 | /* HAS_GETHOSTBYADDR: |
1531 | * This symbol, if defined, indicates that the gethostbyaddr() routine is | |
1532 | * available to look up hosts by their IP addresses. | |
1533 | */ | |
1534 | /*#define HAS_GETHOSTBYADDR / **/ | |
1535 | ||
1536 | /* HAS_GETHOSTBYNAME: | |
1537 | * This symbol, if defined, indicates that the gethostbyname() routine is | |
1538 | * available to look up host names in some data base or other. | |
1539 | */ | |
1540 | /*#define HAS_GETHOSTBYNAME / **/ | |
1541 | ||
1542 | /* HAS_GETHOSTENT: | |
1543 | * This symbol, if defined, indicates that the gethostent() routine is | |
1544 | * available to look up host names in some data base or another. | |
1545 | */ | |
1546 | /*#define HAS_GETHOSTENT / **/ | |
1547 | ||
1548 | /* HAS_GETHOSTNAME: | |
1549 | * This symbol, if defined, indicates that the C program may use the | |
1550 | * gethostname() routine to derive the host name. See also HAS_UNAME | |
1551 | * and PHOSTNAME. | |
1552 | */ | |
1553 | /* HAS_UNAME: | |
1554 | * This symbol, if defined, indicates that the C program may use the | |
1555 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME | |
1556 | * and PHOSTNAME. | |
1557 | */ | |
1558 | /* PHOSTNAME: | |
1559 | * This symbol, if defined, indicates the command to feed to the | |
1560 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME | |
1561 | * and HAS_UNAME. Note that the command uses a fully qualified path, | |
1562 | * so that it is safe even if used by a process with super-user | |
1563 | * privileges. | |
1564 | */ | |
1565 | /* HAS_PHOSTNAME: | |
1566 | * This symbol, if defined, indicates that the C program may use the | |
1567 | * contents of PHOSTNAME as a command to feed to the popen() routine | |
1568 | * to derive the host name. | |
1569 | */ | |
1570 | /*#define HAS_GETHOSTNAME / **/ | |
1571 | /*#define HAS_UNAME / **/ | |
1572 | /*#define HAS_PHOSTNAME / **/ | |
1573 | #ifdef HAS_PHOSTNAME | |
1574 | #define PHOSTNAME "" /* How to get the host name */ | |
1575 | #endif | |
1576 | ||
1577 | /* HAS_GETHOST_PROTOS: | |
1578 | * This symbol, if defined, indicates that <netdb.h> includes | |
1579 | * prototypes for gethostent(), gethostbyname(), and | |
1580 | * gethostbyaddr(). Otherwise, it is up to the program to guess | |
1581 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1582 | */ | |
1583 | /*#define HAS_GETHOST_PROTOS / **/ | |
1584 | ||
4e0554ec JH |
1585 | /* HAS_GETITIMER: |
1586 | * This symbol, if defined, indicates that the getitimer routine is | |
1587 | * available to return interval timers. | |
1588 | */ | |
1589 | /*#define HAS_GETITIMER / **/ | |
1590 | ||
10bc17b6 JH |
1591 | /* HAS_GETLOGIN_R: |
1592 | * This symbol, if defined, indicates that the getlogin_r routine | |
1593 | * is available to getlogin re-entrantly. | |
1594 | */ | |
1595 | /* GETLOGIN_R_PROTO: | |
1596 | * This symbol encodes the prototype of getlogin_r. | |
298695c9 JH |
1597 | * It is zero if d_getlogin_r is undef, and one of the |
1598 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r | |
1599 | * is defined. | |
10bc17b6 JH |
1600 | */ |
1601 | /*#define HAS_GETLOGIN_R / **/ | |
1602 | #define GETLOGIN_R_PROTO 0 /**/ | |
1603 | ||
3ebb1980 JH |
1604 | /* HAS_GETMNT: |
1605 | * This symbol, if defined, indicates that the getmnt routine is | |
1606 | * available to get filesystem mount info by filename. | |
1607 | */ | |
1608 | /*#define HAS_GETMNT / **/ | |
1609 | ||
1610 | /* HAS_GETMNTENT: | |
1611 | * This symbol, if defined, indicates that the getmntent routine is | |
1612 | * available to iterate through mounted file systems to get their info. | |
1613 | */ | |
1614 | /*#define HAS_GETMNTENT / **/ | |
1615 | ||
a838cfe5 JH |
1616 | /* HAS_GETNETBYADDR: |
1617 | * This symbol, if defined, indicates that the getnetbyaddr() routine is | |
1618 | * available to look up networks by their IP addresses. | |
1619 | */ | |
1620 | /*#define HAS_GETNETBYADDR / **/ | |
1621 | ||
1622 | /* HAS_GETNETBYNAME: | |
1623 | * This symbol, if defined, indicates that the getnetbyname() routine is | |
1624 | * available to look up networks by their names. | |
1625 | */ | |
1626 | /*#define HAS_GETNETBYNAME / **/ | |
1627 | ||
1628 | /* HAS_GETNETENT: | |
1629 | * This symbol, if defined, indicates that the getnetent() routine is | |
1630 | * available to look up network names in some data base or another. | |
1631 | */ | |
1632 | /*#define HAS_GETNETENT / **/ | |
1633 | ||
1634 | /* HAS_GETNET_PROTOS: | |
1635 | * This symbol, if defined, indicates that <netdb.h> includes | |
1636 | * prototypes for getnetent(), getnetbyname(), and | |
1637 | * getnetbyaddr(). Otherwise, it is up to the program to guess | |
1638 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1639 | */ | |
1640 | /*#define HAS_GETNET_PROTOS / **/ | |
1641 | ||
1642 | /* HAS_GETPAGESIZE: | |
1643 | * This symbol, if defined, indicates that the getpagesize system call | |
1644 | * is available to get system page size, which is the granularity of | |
1645 | * many memory management calls. | |
1646 | */ | |
1647 | /*#define HAS_GETPAGESIZE / **/ | |
1648 | ||
1649 | /* HAS_GETPROTOENT: | |
1650 | * This symbol, if defined, indicates that the getprotoent() routine is | |
1651 | * available to look up protocols in some data base or another. | |
1652 | */ | |
1653 | /*#define HAS_GETPROTOENT / **/ | |
1654 | ||
1655 | /* HAS_GETPGRP: | |
1656 | * This symbol, if defined, indicates that the getpgrp routine is | |
1657 | * available to get the current process group. | |
1658 | */ | |
1659 | /* USE_BSD_GETPGRP: | |
1660 | * This symbol, if defined, indicates that getpgrp needs one | |
1661 | * arguments whereas USG one needs none. | |
1662 | */ | |
1663 | /*#define HAS_GETPGRP / **/ | |
1664 | /*#define USE_BSD_GETPGRP / **/ | |
1665 | ||
1666 | /* HAS_GETPROTOBYNAME: | |
1667 | * This symbol, if defined, indicates that the getprotobyname() | |
1668 | * routine is available to look up protocols by their name. | |
1669 | */ | |
1670 | /* HAS_GETPROTOBYNUMBER: | |
1671 | * This symbol, if defined, indicates that the getprotobynumber() | |
1672 | * routine is available to look up protocols by their number. | |
1673 | */ | |
1674 | /*#define HAS_GETPROTOBYNAME / **/ | |
1675 | /*#define HAS_GETPROTOBYNUMBER / **/ | |
1676 | ||
1677 | /* HAS_GETPROTO_PROTOS: | |
1678 | * This symbol, if defined, indicates that <netdb.h> includes | |
1679 | * prototypes for getprotoent(), getprotobyname(), and | |
1680 | * getprotobyaddr(). Otherwise, it is up to the program to guess | |
1681 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1682 | */ | |
1683 | /*#define HAS_GETPROTO_PROTOS / **/ | |
1684 | ||
3ebb1980 JH |
1685 | /* HAS_GETPRPWNAM: |
1686 | * This symbol, if defined, indicates that the getprpwnam system call is | |
1687 | * available to retrieve protected (shadow) password entries by name. | |
1688 | */ | |
1689 | /*#define HAS_GETPRPWNAM / **/ | |
1690 | ||
a838cfe5 JH |
1691 | /* HAS_GETPWENT: |
1692 | * This symbol, if defined, indicates that the getpwent routine is | |
1693 | * available for sequential access of the passwd database. | |
1694 | * If this is not available, the older getpw() function may be available. | |
1695 | */ | |
1696 | /*#define HAS_GETPWENT / **/ | |
1697 | ||
10bc17b6 JH |
1698 | /* HAS_GETPWENT_R: |
1699 | * This symbol, if defined, indicates that the getpwent_r routine | |
1700 | * is available to getpwent re-entrantly. | |
1701 | */ | |
1702 | /* GETPWENT_R_PROTO: | |
1703 | * This symbol encodes the prototype of getpwent_r. | |
298695c9 JH |
1704 | * It is zero if d_getpwent_r is undef, and one of the |
1705 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r | |
1706 | * is defined. | |
10bc17b6 JH |
1707 | */ |
1708 | /*#define HAS_GETPWENT_R / **/ | |
1709 | #define GETPWENT_R_PROTO 0 /**/ | |
1710 | ||
1711 | /* HAS_GETPWNAM_R: | |
1712 | * This symbol, if defined, indicates that the getpwnam_r routine | |
1713 | * is available to getpwnam re-entrantly. | |
1714 | */ | |
1715 | /* GETPWNAM_R_PROTO: | |
1716 | * This symbol encodes the prototype of getpwnam_r. | |
298695c9 JH |
1717 | * It is zero if d_getpwnam_r is undef, and one of the |
1718 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r | |
1719 | * is defined. | |
10bc17b6 JH |
1720 | */ |
1721 | /*#define HAS_GETPWNAM_R / **/ | |
1722 | #define GETPWNAM_R_PROTO 0 /**/ | |
1723 | ||
1724 | /* HAS_GETPWUID_R: | |
1725 | * This symbol, if defined, indicates that the getpwuid_r routine | |
1726 | * is available to getpwuid re-entrantly. | |
1727 | */ | |
1728 | /* GETPWUID_R_PROTO: | |
1729 | * This symbol encodes the prototype of getpwuid_r. | |
298695c9 JH |
1730 | * It is zero if d_getpwuid_r is undef, and one of the |
1731 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r | |
1732 | * is defined. | |
10bc17b6 JH |
1733 | */ |
1734 | /*#define HAS_GETPWUID_R / **/ | |
1735 | #define GETPWUID_R_PROTO 0 /**/ | |
1736 | ||
a838cfe5 JH |
1737 | /* HAS_GETSERVENT: |
1738 | * This symbol, if defined, indicates that the getservent() routine is | |
1739 | * available to look up network services in some data base or another. | |
1740 | */ | |
1741 | /*#define HAS_GETSERVENT / **/ | |
1742 | ||
1743 | /* HAS_GETSERV_PROTOS: | |
1744 | * This symbol, if defined, indicates that <netdb.h> includes | |
1745 | * prototypes for getservent(), getservbyname(), and | |
1746 | * getservbyaddr(). Otherwise, it is up to the program to guess | |
1747 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1748 | */ | |
1749 | /*#define HAS_GETSERV_PROTOS / **/ | |
1750 | ||
3ebb1980 JH |
1751 | /* HAS_GETSPNAM: |
1752 | * This symbol, if defined, indicates that the getspnam system call is | |
1753 | * available to retrieve SysV shadow password entries by name. | |
1754 | */ | |
1755 | /*#define HAS_GETSPNAM / **/ | |
1756 | ||
10bc17b6 JH |
1757 | /* HAS_GETSPNAM_R: |
1758 | * This symbol, if defined, indicates that the getspnam_r routine | |
1759 | * is available to getspnam re-entrantly. | |
1760 | */ | |
1761 | /* GETSPNAM_R_PROTO: | |
1762 | * This symbol encodes the prototype of getspnam_r. | |
298695c9 JH |
1763 | * It is zero if d_getspnam_r is undef, and one of the |
1764 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r | |
1765 | * is defined. | |
10bc17b6 JH |
1766 | */ |
1767 | /*#define HAS_GETSPNAM_R / **/ | |
1768 | #define GETSPNAM_R_PROTO 0 /**/ | |
1769 | ||
a838cfe5 JH |
1770 | /* HAS_GETSERVBYNAME: |
1771 | * This symbol, if defined, indicates that the getservbyname() | |
1772 | * routine is available to look up services by their name. | |
1773 | */ | |
1774 | /* HAS_GETSERVBYPORT: | |
1775 | * This symbol, if defined, indicates that the getservbyport() | |
1776 | * routine is available to look up services by their port. | |
1777 | */ | |
1778 | /*#define HAS_GETSERVBYNAME / **/ | |
1779 | /*#define HAS_GETSERVBYPORT / **/ | |
1780 | ||
10bc17b6 JH |
1781 | /* HAS_GMTIME_R: |
1782 | * This symbol, if defined, indicates that the gmtime_r routine | |
1783 | * is available to gmtime re-entrantly. | |
1784 | */ | |
1785 | /* GMTIME_R_PROTO: | |
1786 | * This symbol encodes the prototype of gmtime_r. | |
298695c9 JH |
1787 | * It is zero if d_gmtime_r is undef, and one of the |
1788 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r | |
1789 | * is defined. | |
10bc17b6 JH |
1790 | */ |
1791 | /*#define HAS_GMTIME_R / **/ | |
1792 | #define GMTIME_R_PROTO 0 /**/ | |
1793 | ||
a838cfe5 JH |
1794 | /* HAS_GNULIBC: |
1795 | * This symbol, if defined, indicates to the C program that | |
033348ab JH |
1796 | * the GNU C library is being used. A better check is to use |
1797 | * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. | |
a838cfe5 JH |
1798 | */ |
1799 | /*#define HAS_GNULIBC / **/ | |
1800 | #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) | |
1801 | # define _GNU_SOURCE | |
1802 | #endif | |
3ebb1980 JH |
1803 | /* HAS_HASMNTOPT: |
1804 | * This symbol, if defined, indicates that the hasmntopt routine is | |
1805 | * available to query the mount options of file systems. | |
1806 | */ | |
1807 | /*#define HAS_HASMNTOPT / **/ | |
1808 | ||
a838cfe5 JH |
1809 | /* HAS_HTONL: |
1810 | * This symbol, if defined, indicates that the htonl() routine (and | |
1811 | * friends htons() ntohl() ntohs()) are available to do network | |
1812 | * order byte swapping. | |
1813 | */ | |
1814 | /* HAS_HTONS: | |
1815 | * This symbol, if defined, indicates that the htons() routine (and | |
1816 | * friends htonl() ntohl() ntohs()) are available to do network | |
1817 | * order byte swapping. | |
1818 | */ | |
1819 | /* HAS_NTOHL: | |
1820 | * This symbol, if defined, indicates that the ntohl() routine (and | |
1821 | * friends htonl() htons() ntohs()) are available to do network | |
1822 | * order byte swapping. | |
1823 | */ | |
1824 | /* HAS_NTOHS: | |
1825 | * This symbol, if defined, indicates that the ntohs() routine (and | |
1826 | * friends htonl() htons() ntohl()) are available to do network | |
1827 | * order byte swapping. | |
1828 | */ | |
1829 | /*#define HAS_HTONL / **/ | |
1830 | /*#define HAS_HTONS / **/ | |
1831 | /*#define HAS_NTOHL / **/ | |
1832 | /*#define HAS_NTOHS / **/ | |
1833 | ||
3ebb1980 JH |
1834 | /* HAS_INT64_T: |
1835 | * This symbol will defined if the C compiler supports int64_t. | |
1836 | * Usually the <inttypes.h> needs to be included, but sometimes | |
1837 | * <sys/types.h> is enough. | |
1838 | */ | |
1839 | /*#define HAS_INT64_T / **/ | |
1840 | ||
a838cfe5 JH |
1841 | /* HAS_ISASCII: |
1842 | * This manifest constant lets the C program know that isascii | |
1843 | * is available. | |
1844 | */ | |
1845 | /*#define HAS_ISASCII / **/ | |
1846 | ||
758a5d79 JH |
1847 | /* HAS_ISFINITE: |
1848 | * This symbol, if defined, indicates that the isfinite routine is | |
1849 | * available to check whether a double is finite (non-infinity non-NaN). | |
1850 | */ | |
1851 | /*#define HAS_ISFINITE / **/ | |
1852 | ||
1853 | /* HAS_ISINF: | |
1854 | * This symbol, if defined, indicates that the isinf routine is | |
1855 | * available to check whether a double is an infinity. | |
1856 | */ | |
1857 | /*#define HAS_ISINF / **/ | |
1858 | ||
3ebb1980 JH |
1859 | /* HAS_ISNAN: |
1860 | * This symbol, if defined, indicates that the isnan routine is | |
1861 | * available to check whether a double is a NaN. | |
1862 | */ | |
1863 | /*#define HAS_ISNAN / **/ | |
1864 | ||
e9a8643a JH |
1865 | /* HAS_ISNANL: |
1866 | * This symbol, if defined, indicates that the isnanl routine is | |
1867 | * available to check whether a long double is a NaN. | |
3ebb1980 | 1868 | */ |
a838cfe5 JH |
1869 | /*#define HAS_ISNANL / **/ |
1870 | ||
1871 | /* HAS_LCHOWN: | |
1872 | * This symbol, if defined, indicates that the lchown routine is | |
1873 | * available to operate on a symbolic link (instead of following the | |
1874 | * link). | |
1875 | */ | |
1876 | /*#define HAS_LCHOWN / **/ | |
1877 | ||
1878 | /* HAS_LDBL_DIG: | |
1879 | * This symbol, if defined, indicates that this system's <float.h> | |
1880 | * or <limits.h> defines the symbol LDBL_DIG, which is the number | |
1881 | * of significant digits in a long double precision number. Unlike | |
1882 | * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. | |
1883 | */ | |
1884 | /*#define HAS_LDBL_DIG / * */ | |
1885 | ||
10bc17b6 JH |
1886 | /* HAS_LOCALTIME_R: |
1887 | * This symbol, if defined, indicates that the localtime_r routine | |
1888 | * is available to localtime re-entrantly. | |
1889 | */ | |
1890 | /* LOCALTIME_R_PROTO: | |
1891 | * This symbol encodes the prototype of localtime_r. | |
298695c9 JH |
1892 | * It is zero if d_localtime_r is undef, and one of the |
1893 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r | |
1894 | * is defined. | |
10bc17b6 JH |
1895 | */ |
1896 | /*#define HAS_LOCALTIME_R / **/ | |
1897 | #define LOCALTIME_R_PROTO 0 /**/ | |
1898 | ||
a838cfe5 JH |
1899 | /* HAS_LONG_DOUBLE: |
1900 | * This symbol will be defined if the C compiler supports long | |
1901 | * doubles. | |
1902 | */ | |
1903 | /* LONG_DOUBLESIZE: | |
1904 | * This symbol contains the size of a long double, so that the | |
1905 | * C preprocessor can make decisions based on it. It is only | |
1906 | * defined if the system supports long doubles. | |
1907 | */ | |
1908 | /*#define HAS_LONG_DOUBLE / **/ | |
1909 | #ifdef HAS_LONG_DOUBLE | |
1910 | #define LONG_DOUBLESIZE 8 /**/ | |
1911 | #endif | |
1912 | ||
1913 | /* HAS_LONG_LONG: | |
1914 | * This symbol will be defined if the C compiler supports long long. | |
1915 | */ | |
1916 | /* LONGLONGSIZE: | |
1917 | * This symbol contains the size of a long long, so that the | |
1918 | * C preprocessor can make decisions based on it. It is only | |
1919 | * defined if the system supports long long. | |
1920 | */ | |
1921 | /*#define HAS_LONG_LONG / **/ | |
1922 | #ifdef HAS_LONG_LONG | |
1923 | #define LONGLONGSIZE 8 /**/ | |
1924 | #endif | |
3ebb1980 | 1925 | |
a838cfe5 JH |
1926 | /* HAS_LSEEK_PROTO: |
1927 | * This symbol, if defined, indicates that the system provides | |
1928 | * a prototype for the lseek() function. Otherwise, it is up | |
1929 | * to the program to supply one. A good guess is | |
1930 | * extern off_t lseek(int, off_t, int); | |
3ebb1980 | 1931 | */ |
a838cfe5 | 1932 | /*#define HAS_LSEEK_PROTO / **/ |
3ebb1980 JH |
1933 | |
1934 | /* HAS_MADVISE: | |
1935 | * This symbol, if defined, indicates that the madvise system call is | |
1936 | * available to map a file into memory. | |
1937 | */ | |
1938 | /*#define HAS_MADVISE / **/ | |
1939 | ||
a838cfe5 JH |
1940 | /* HAS_MEMCHR: |
1941 | * This symbol, if defined, indicates that the memchr routine is available | |
1942 | * to locate characters within a C string. | |
1943 | */ | |
1944 | /*#define HAS_MEMCHR / **/ | |
1945 | ||
3ebb1980 JH |
1946 | /* HAS_MKDTEMP: |
1947 | * This symbol, if defined, indicates that the mkdtemp routine is | |
1948 | * available to exclusively create a uniquely named temporary directory. | |
1949 | */ | |
1950 | /*#define HAS_MKDTEMP / **/ | |
1951 | ||
a838cfe5 JH |
1952 | /* HAS_MKSTEMP: |
1953 | * This symbol, if defined, indicates that the mkstemp routine is | |
1954 | * available to exclusively create and open a uniquely named | |
1955 | * temporary file. | |
1956 | */ | |
1957 | /*#define HAS_MKSTEMP / **/ | |
1958 | ||
3ebb1980 JH |
1959 | /* HAS_MKSTEMPS: |
1960 | * This symbol, if defined, indicates that the mkstemps routine is | |
1961 | * available to excluslvely create and open a uniquely named | |
1962 | * (with a suffix) temporary file. | |
1963 | */ | |
1964 | /*#define HAS_MKSTEMPS / **/ | |
1965 | ||
a838cfe5 JH |
1966 | /* HAS_MMAP: |
1967 | * This symbol, if defined, indicates that the mmap system call is | |
1968 | * available to map a file into memory. | |
1969 | */ | |
1970 | /* Mmap_t: | |
1971 | * This symbol holds the return type of the mmap() system call | |
1972 | * (and simultaneously the type of the first argument). | |
1973 | * Usually set to 'void *' or 'cadd_t'. | |
1974 | */ | |
1975 | /*#define HAS_MMAP / **/ | |
1976 | #define Mmap_t /**/ | |
1977 | ||
3ebb1980 JH |
1978 | /* HAS_MODFL: |
1979 | * This symbol, if defined, indicates that the modfl routine is | |
1980 | * available to split a long double x into a fractional part f and | |
1981 | * an integer part i such that |f| < 1.0 and (f + i) = x. | |
1982 | */ | |
e67aeab1 JH |
1983 | /* HAS_MODFL_POW32_BUG: |
1984 | * This symbol, if defined, indicates that the modfl routine is | |
1985 | * broken for long doubles >= pow(2, 32). | |
1986 | * For example from 4294967303.150000 one would get 4294967302.000000 | |
1987 | * and 1.150000. The bug has been seen in certain versions of glibc, | |
1988 | * release 2.2.2 is known to be okay. | |
1989 | */ | |
3ebb1980 | 1990 | /*#define HAS_MODFL / **/ |
e67aeab1 | 1991 | /*#define HAS_MODFL_POW32_BUG / **/ |
3ebb1980 JH |
1992 | |
1993 | /* HAS_MPROTECT: | |
1994 | * This symbol, if defined, indicates that the mprotect system call is | |
1995 | * available to modify the access protection of a memory mapped file. | |
1996 | */ | |
1997 | /*#define HAS_MPROTECT / **/ | |
1998 | ||
a838cfe5 JH |
1999 | /* HAS_MSG: |
2000 | * This symbol, if defined, indicates that the entire msg*(2) library is | |
2001 | * supported (IPC mechanism based on message queues). | |
2002 | */ | |
2003 | /*#define HAS_MSG / **/ | |
2004 | ||
4e0554ec JH |
2005 | /* HAS_STRUCT_MSGHDR: |
2006 | * This symbol, if defined, indicates that the struct msghdr | |
2007 | * is supported. | |
2008 | */ | |
2009 | /*#define HAS_STRUCT_MSGHDR / **/ | |
2010 | ||
3ebb1980 JH |
2011 | /* HAS_OFF64_T: |
2012 | * This symbol will be defined if the C compiler supports off64_t. | |
2013 | */ | |
2014 | /*#define HAS_OFF64_T / **/ | |
2015 | ||
a838cfe5 JH |
2016 | /* HAS_OPEN3: |
2017 | * This manifest constant lets the C program know that the three | |
2018 | * argument form of open(2) is available. | |
2019 | */ | |
2020 | /*#define HAS_OPEN3 / **/ | |
2021 | ||
2022 | /* OLD_PTHREAD_CREATE_JOINABLE: | |
2023 | * This symbol, if defined, indicates how to create pthread | |
2024 | * in joinable (aka undetached) state. NOTE: not defined | |
2025 | * if pthread.h already has defined PTHREAD_CREATE_JOINABLE | |
2026 | * (the new version of the constant). | |
2027 | * If defined, known values are PTHREAD_CREATE_UNDETACHED | |
2028 | * and __UNDETACHED. | |
2029 | */ | |
2030 | /*#define OLD_PTHREAD_CREATE_JOINABLE / **/ | |
2031 | ||
2032 | /* HAS_PTHREAD_YIELD: | |
2033 | * This symbol, if defined, indicates that the pthread_yield | |
2034 | * routine is available to yield the execution of the current | |
2035 | * thread. sched_yield is preferable to pthread_yield. | |
2036 | */ | |
2037 | /* SCHED_YIELD: | |
2038 | * This symbol defines the way to yield the execution of | |
2039 | * the current thread. Known ways are sched_yield, | |
2040 | * pthread_yield, and pthread_yield with NULL. | |
2041 | */ | |
2042 | /* HAS_SCHED_YIELD: | |
2043 | * This symbol, if defined, indicates that the sched_yield | |
2044 | * routine is available to yield the execution of the current | |
2045 | * thread. sched_yield is preferable to pthread_yield. | |
2046 | */ | |
2047 | /*#define HAS_PTHREAD_YIELD / **/ | |
2048 | #define SCHED_YIELD sched_yield() /**/ | |
2049 | /*#define HAS_SCHED_YIELD / **/ | |
2050 | ||
10bc17b6 JH |
2051 | /* HAS_RANDOM_R: |
2052 | * This symbol, if defined, indicates that the random_r routine | |
2053 | * is available to random re-entrantly. | |
2054 | */ | |
2055 | /* RANDOM_R_PROTO: | |
2056 | * This symbol encodes the prototype of random_r. | |
298695c9 JH |
2057 | * It is zero if d_random_r is undef, and one of the |
2058 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r | |
2059 | * is defined. | |
10bc17b6 JH |
2060 | */ |
2061 | /*#define HAS_RANDOM_R / **/ | |
2062 | #define RANDOM_R_PROTO 0 /**/ | |
2063 | ||
2064 | /* HAS_READDIR_R: | |
2065 | * This symbol, if defined, indicates that the readdir_r routine | |
2066 | * is available to readdir re-entrantly. | |
2067 | */ | |
2068 | /* READDIR_R_PROTO: | |
2069 | * This symbol encodes the prototype of readdir_r. | |
298695c9 JH |
2070 | * It is zero if d_readdir_r is undef, and one of the |
2071 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r | |
2072 | * is defined. | |
10bc17b6 JH |
2073 | */ |
2074 | /*#define HAS_READDIR_R / **/ | |
2075 | #define READDIR_R_PROTO 0 /**/ | |
2076 | ||
4e0554ec JH |
2077 | /* HAS_READV: |
2078 | * This symbol, if defined, indicates that the readv routine is | |
2079 | * available to do gather reads. You will also need <sys/uio.h> | |
2080 | * and there I_SYSUIO. | |
2081 | */ | |
2082 | /*#define HAS_READV / **/ | |
2083 | ||
2084 | /* HAS_RECVMSG: | |
2085 | * This symbol, if defined, indicates that the recvmsg routine is | |
2086 | * available to send structured socket messages. | |
2087 | */ | |
2088 | /*#define HAS_RECVMSG / **/ | |
2089 | ||
a838cfe5 JH |
2090 | /* HAS_SAFE_BCOPY: |
2091 | * This symbol, if defined, indicates that the bcopy routine is available | |
2092 | * to copy potentially overlapping memory blocks. Normally, you should | |
2093 | * probably use memmove() or memcpy(). If neither is defined, roll your | |
2094 | * own version. | |
2095 | */ | |
2096 | /*#define HAS_SAFE_BCOPY / **/ | |
2097 | ||
2098 | /* HAS_SAFE_MEMCPY: | |
2099 | * This symbol, if defined, indicates that the memcpy routine is available | |
2100 | * to copy potentially overlapping memory blocks. If you need to | |
2101 | * copy overlapping memory blocks, you should check HAS_MEMMOVE and | |
2102 | * use memmove() instead, if available. | |
2103 | */ | |
2104 | /*#define HAS_SAFE_MEMCPY / **/ | |
2105 | ||
2106 | /* HAS_SANE_MEMCMP: | |
2107 | * This symbol, if defined, indicates that the memcmp routine is available | |
2108 | * and can be used to compare relative magnitudes of chars with their high | |
2109 | * bits set. If it is not defined, roll your own version. | |
2110 | */ | |
2111 | /*#define HAS_SANE_MEMCMP / **/ | |
2112 | ||
a7fea17f JH |
2113 | /* HAS_SBRK_PROTO: |
2114 | * This symbol, if defined, indicates that the system provides | |
2115 | * a prototype for the sbrk() function. Otherwise, it is up | |
2116 | * to the program to supply one. Good guesses are | |
c68a00c0 JH |
2117 | * extern void* sbrk(int); |
2118 | * extern void* sbrk(size_t); | |
a7fea17f | 2119 | */ |
a838cfe5 JH |
2120 | /*#define HAS_SBRK_PROTO / **/ |
2121 | ||
2122 | /* HAS_SEM: | |
2123 | * This symbol, if defined, indicates that the entire sem*(2) library is | |
2124 | * supported. | |
2125 | */ | |
2126 | /*#define HAS_SEM / **/ | |
2127 | ||
2128 | /* HAS_SENDMSG: | |
2129 | * This symbol, if defined, indicates that the sendmsg routine is | |
2130 | * available to send structured socket messages. | |
2131 | */ | |
2132 | /*#define HAS_SENDMSG / **/ | |
2133 | ||
2134 | /* HAS_SETGRENT: | |
2135 | * This symbol, if defined, indicates that the setgrent routine is | |
2136 | * available for initializing sequential access of the group database. | |
2137 | */ | |
2138 | /*#define HAS_SETGRENT / **/ | |
2139 | ||
10bc17b6 JH |
2140 | /* HAS_SETGRENT_R: |
2141 | * This symbol, if defined, indicates that the setgrent_r routine | |
2142 | * is available to setgrent re-entrantly. | |
2143 | */ | |
2144 | /* SETGRENT_R_PROTO: | |
2145 | * This symbol encodes the prototype of setgrent_r. | |
298695c9 JH |
2146 | * It is zero if d_setgrent_r is undef, and one of the |
2147 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r | |
2148 | * is defined. | |
10bc17b6 JH |
2149 | */ |
2150 | /*#define HAS_SETGRENT_R / **/ | |
2151 | #define SETGRENT_R_PROTO 0 /**/ | |
2152 | ||
a838cfe5 JH |
2153 | /* HAS_SETGROUPS: |
2154 | * This symbol, if defined, indicates that the setgroups() routine is | |
2155 | * available to set the list of process groups. If unavailable, multiple | |
2156 | * groups are probably not supported. | |
2157 | */ | |
2158 | /*#define HAS_SETGROUPS / **/ | |
2159 | ||
2160 | /* HAS_SETHOSTENT: | |
2161 | * This symbol, if defined, indicates that the sethostent() routine is | |
2162 | * available. | |
2163 | */ | |
2164 | /*#define HAS_SETHOSTENT / **/ | |
2165 | ||
2166 | /* HAS_SETITIMER: | |
2167 | * This symbol, if defined, indicates that the setitimer routine is | |
2168 | * available to set interval timers. | |
2169 | */ | |
2170 | /*#define HAS_SETITIMER / **/ | |
2171 | ||
2172 | /* HAS_SETNETENT: | |
2173 | * This symbol, if defined, indicates that the setnetent() routine is | |
2174 | * available. | |
2175 | */ | |
2176 | /*#define HAS_SETNETENT / **/ | |
2177 | ||
2178 | /* HAS_SETPROTOENT: | |
2179 | * This symbol, if defined, indicates that the setprotoent() routine is | |
2180 | * available. | |
2181 | */ | |
2182 | /*#define HAS_SETPROTOENT / **/ | |
2183 | ||
2184 | /* HAS_SETPGRP: | |
2185 | * This symbol, if defined, indicates that the setpgrp routine is | |
2186 | * available to set the current process group. | |
2187 | */ | |
2188 | /* USE_BSD_SETPGRP: | |
2189 | * This symbol, if defined, indicates that setpgrp needs two | |
2190 | * arguments whereas USG one needs none. See also HAS_SETPGID | |
2191 | * for a POSIX interface. | |
2192 | */ | |
2193 | /*#define HAS_SETPGRP / **/ | |
2194 | /*#define USE_BSD_SETPGRP / **/ | |
2195 | ||
2196 | /* HAS_SETPROCTITLE: | |
2197 | * This symbol, if defined, indicates that the setproctitle routine is | |
2198 | * available to set process title. | |
2199 | */ | |
2200 | /*#define HAS_SETPROCTITLE / **/ | |
2201 | ||
2202 | /* HAS_SETPWENT: | |
2203 | * This symbol, if defined, indicates that the setpwent routine is | |
2204 | * available for initializing sequential access of the passwd database. | |
2205 | */ | |
2206 | /*#define HAS_SETPWENT / **/ | |
2207 | ||
10bc17b6 JH |
2208 | /* HAS_SETPWENT_R: |
2209 | * This symbol, if defined, indicates that the setpwent_r routine | |
2210 | * is available to setpwent re-entrantly. | |
2211 | */ | |
2212 | /* SETPWENT_R_PROTO: | |
2213 | * This symbol encodes the prototype of setpwent_r. | |
298695c9 JH |
2214 | * It is zero if d_setpwent_r is undef, and one of the |
2215 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r | |
2216 | * is defined. | |
10bc17b6 JH |
2217 | */ |
2218 | /*#define HAS_SETPWENT_R / **/ | |
2219 | #define SETPWENT_R_PROTO 0 /**/ | |
2220 | ||
a838cfe5 JH |
2221 | /* HAS_SETSERVENT: |
2222 | * This symbol, if defined, indicates that the setservent() routine is | |
2223 | * available. | |
2224 | */ | |
2225 | /*#define HAS_SETSERVENT / **/ | |
2226 | ||
2227 | /* HAS_SETVBUF: | |
2228 | * This symbol, if defined, indicates that the setvbuf routine is | |
2229 | * available to change buffering on an open stdio stream. | |
2230 | * to a line-buffered mode. | |
2231 | */ | |
2232 | /*#define HAS_SETVBUF / **/ | |
2233 | ||
2234 | /* USE_SFIO: | |
2235 | * This symbol, if defined, indicates that sfio should | |
2236 | * be used. | |
2237 | */ | |
2238 | /*#define USE_SFIO / **/ | |
2239 | ||
2240 | /* HAS_SHM: | |
2241 | * This symbol, if defined, indicates that the entire shm*(2) library is | |
2242 | * supported. | |
2243 | */ | |
2244 | /*#define HAS_SHM / **/ | |
2245 | ||
2246 | /* HAS_SIGACTION: | |
2247 | * This symbol, if defined, indicates that Vr4's sigaction() routine | |
2248 | * is available. | |
2249 | */ | |
2250 | /*#define HAS_SIGACTION / **/ | |
2251 | ||
2252 | /* HAS_SIGSETJMP: | |
2253 | * This variable indicates to the C program that the sigsetjmp() | |
2254 | * routine is available to save the calling process's registers | |
2255 | * and stack environment for later use by siglongjmp(), and | |
2256 | * to optionally save the process's signal mask. See | |
2257 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. | |
2258 | */ | |
2259 | /* Sigjmp_buf: | |
2260 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. | |
2261 | */ | |
2262 | /* Sigsetjmp: | |
2263 | * This macro is used in the same way as sigsetjmp(), but will invoke | |
2264 | * traditional setjmp() if sigsetjmp isn't available. | |
2265 | * See HAS_SIGSETJMP. | |
2266 | */ | |
2267 | /* Siglongjmp: | |
2268 | * This macro is used in the same way as siglongjmp(), but will invoke | |
2269 | * traditional longjmp() if siglongjmp isn't available. | |
2270 | * See HAS_SIGSETJMP. | |
2271 | */ | |
2272 | /*#define HAS_SIGSETJMP / **/ | |
2273 | #ifdef HAS_SIGSETJMP | |
2274 | #define Sigjmp_buf sigjmp_buf | |
2275 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) | |
2276 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) | |
2277 | #else | |
2278 | #define Sigjmp_buf jmp_buf | |
2279 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) | |
2280 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) | |
2281 | #endif | |
2282 | ||
2283 | /* HAS_SOCKET: | |
2284 | * This symbol, if defined, indicates that the BSD socket interface is | |
2285 | * supported. | |
2286 | */ | |
2287 | /* HAS_SOCKETPAIR: | |
2288 | * This symbol, if defined, indicates that the BSD socketpair() call is | |
2289 | * supported. | |
3ebb1980 | 2290 | */ |
a838cfe5 JH |
2291 | /* HAS_MSG_CTRUNC: |
2292 | * This symbol, if defined, indicates that the MSG_CTRUNC is supported. | |
2293 | * Checking just with #ifdef might not be enough because this symbol | |
2294 | * has been known to be an enum. | |
3ebb1980 | 2295 | */ |
a838cfe5 JH |
2296 | /* HAS_MSG_DONTROUTE: |
2297 | * This symbol, if defined, indicates that the MSG_DONTROUTE is supported. | |
2298 | * Checking just with #ifdef might not be enough because this symbol | |
2299 | * has been known to be an enum. | |
3ebb1980 | 2300 | */ |
a838cfe5 JH |
2301 | /* HAS_MSG_OOB: |
2302 | * This symbol, if defined, indicates that the MSG_OOB is supported. | |
2303 | * Checking just with #ifdef might not be enough because this symbol | |
2304 | * has been known to be an enum. | |
3ebb1980 | 2305 | */ |
a838cfe5 JH |
2306 | /* HAS_MSG_PEEK: |
2307 | * This symbol, if defined, indicates that the MSG_PEEK is supported. | |
2308 | * Checking just with #ifdef might not be enough because this symbol | |
2309 | * has been known to be an enum. | |
3ebb1980 | 2310 | */ |
a838cfe5 JH |
2311 | /* HAS_MSG_PROXY: |
2312 | * This symbol, if defined, indicates that the MSG_PROXY is supported. | |
2313 | * Checking just with #ifdef might not be enough because this symbol | |
2314 | * has been known to be an enum. | |
3ebb1980 | 2315 | */ |
a838cfe5 JH |
2316 | /* HAS_SCM_RIGHTS: |
2317 | * This symbol, if defined, indicates that the SCM_RIGHTS is supported. | |
2318 | * Checking just with #ifdef might not be enough because this symbol | |
2319 | * has been known to be an enum. | |
3ebb1980 | 2320 | */ |
a838cfe5 JH |
2321 | /*#define HAS_SOCKET / **/ |
2322 | /*#define HAS_SOCKETPAIR / **/ | |
2323 | /*#define HAS_MSG_CTRUNC / **/ | |
2324 | /*#define HAS_MSG_DONTROUTE / **/ | |
2325 | /*#define HAS_MSG_OOB / **/ | |
2326 | /*#define HAS_MSG_PEEK / **/ | |
2327 | /*#define HAS_MSG_PROXY / **/ | |
2328 | /*#define HAS_SCM_RIGHTS / **/ | |
3ebb1980 | 2329 | |
1b9c9cf5 DH |
2330 | /* HAS_SOCKS5_INIT: |
2331 | * This symbol, if defined, indicates that the socks5_init routine is | |
2332 | * available to initialize SOCKS 5. | |
2333 | */ | |
2334 | /*#define HAS_SOCKS5_INIT / **/ | |
2335 | ||
3ebb1980 JH |
2336 | /* HAS_SQRTL: |
2337 | * This symbol, if defined, indicates that the sqrtl routine is | |
2338 | * available to do long double square roots. | |
2339 | */ | |
2340 | /*#define HAS_SQRTL / **/ | |
2341 | ||
10bc17b6 JH |
2342 | /* HAS_SRAND48_R: |
2343 | * This symbol, if defined, indicates that the srand48_r routine | |
2344 | * is available to srand48 re-entrantly. | |
2345 | */ | |
2346 | /* SRAND48_R_PROTO: | |
2347 | * This symbol encodes the prototype of srand48_r. | |
298695c9 JH |
2348 | * It is zero if d_srand48_r is undef, and one of the |
2349 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r | |
2350 | * is defined. | |
10bc17b6 JH |
2351 | */ |
2352 | /*#define HAS_SRAND48_R / **/ | |
2353 | #define SRAND48_R_PROTO 0 /**/ | |
2354 | ||
2355 | /* HAS_SRANDOM_R: | |
2356 | * This symbol, if defined, indicates that the srandom_r routine | |
2357 | * is available to srandom re-entrantly. | |
2358 | */ | |
2359 | /* SRANDOM_R_PROTO: | |
2360 | * This symbol encodes the prototype of srandom_r. | |
298695c9 JH |
2361 | * It is zero if d_srandom_r is undef, and one of the |
2362 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r | |
2363 | * is defined. | |
10bc17b6 JH |
2364 | */ |
2365 | /*#define HAS_SRANDOM_R / **/ | |
2366 | #define SRANDOM_R_PROTO 0 /**/ | |
2367 | ||
a838cfe5 JH |
2368 | /* USE_STAT_BLOCKS: |
2369 | * This symbol is defined if this system has a stat structure declaring | |
2370 | * st_blksize and st_blocks. | |
e9a8643a | 2371 | */ |
a838cfe5 JH |
2372 | #ifndef USE_STAT_BLOCKS |
2373 | /*#define USE_STAT_BLOCKS / **/ | |
2374 | #endif | |
3ebb1980 JH |
2375 | |
2376 | /* HAS_STRUCT_STATFS_F_FLAGS: | |
2377 | * This symbol, if defined, indicates that the struct statfs | |
2378 | * does have the f_flags member containing the mount flags of | |
2379 | * the filesystem containing the file. | |
2380 | * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), | |
2381 | * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not | |
2382 | * have statfs() and struct statfs, they have ustat() and getmnt() | |
2383 | * with struct ustat and struct fs_data. | |
2384 | */ | |
2385 | /*#define HAS_STRUCT_STATFS_F_FLAGS / **/ | |
2386 | ||
2387 | /* HAS_STRUCT_STATFS: | |
2388 | * This symbol, if defined, indicates that the struct statfs | |
2389 | * to do statfs() is supported. | |
2390 | */ | |
2391 | /*#define HAS_STRUCT_STATFS / **/ | |
2392 | ||
2393 | /* HAS_FSTATVFS: | |
2394 | * This symbol, if defined, indicates that the fstatvfs routine is | |
2395 | * available to stat filesystems by file descriptors. | |
2396 | */ | |
2397 | /*#define HAS_FSTATVFS / **/ | |
2398 | ||
a838cfe5 JH |
2399 | /* USE_STDIO_PTR: |
2400 | * This symbol is defined if the _ptr and _cnt fields (or similar) | |
2401 | * of the stdio FILE structure can be used to access the stdio buffer | |
2402 | * for a file handle. If this is defined, then the FILE_ptr(fp) | |
2403 | * and FILE_cnt(fp) macros will also be defined and should be used | |
2404 | * to access these fields. | |
3ebb1980 | 2405 | */ |
a838cfe5 JH |
2406 | /* FILE_ptr: |
2407 | * This macro is used to access the _ptr field (or equivalent) of the | |
2408 | * FILE structure pointed to by its argument. This macro will always be | |
2409 | * defined if USE_STDIO_PTR is defined. | |
2410 | */ | |
2411 | /* STDIO_PTR_LVALUE: | |
2412 | * This symbol is defined if the FILE_ptr macro can be used as an | |
2413 | * lvalue. | |
2414 | */ | |
2415 | /* FILE_cnt: | |
2416 | * This macro is used to access the _cnt field (or equivalent) of the | |
2417 | * FILE structure pointed to by its argument. This macro will always be | |
2418 | * defined if USE_STDIO_PTR is defined. | |
2419 | */ | |
2420 | /* STDIO_CNT_LVALUE: | |
2421 | * This symbol is defined if the FILE_cnt macro can be used as an | |
2422 | * lvalue. | |
2423 | */ | |
2424 | /* STDIO_PTR_LVAL_SETS_CNT: | |
2425 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
2426 | * to increase the pointer by n has the side effect of decreasing the | |
2427 | * value of File_cnt(fp) by n. | |
2428 | */ | |
2429 | /* STDIO_PTR_LVAL_NOCHANGE_CNT: | |
2430 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
2431 | * to increase the pointer by n leaves File_cnt(fp) unchanged. | |
2432 | */ | |
2433 | /*#define USE_STDIO_PTR / **/ | |
2434 | #ifdef USE_STDIO_PTR | |
2435 | #define FILE_ptr(fp) ((fp)->_IO_read_ptr) | |
2436 | /*#define STDIO_PTR_LVALUE / **/ | |
2437 | #define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr) | |
2438 | /*#define STDIO_CNT_LVALUE / **/ | |
2439 | /*#define STDIO_PTR_LVAL_SETS_CNT / **/ | |
2440 | /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/ | |
2441 | #endif | |
2442 | ||
2443 | /* USE_STDIO_BASE: | |
2444 | * This symbol is defined if the _base field (or similar) of the | |
2445 | * stdio FILE structure can be used to access the stdio buffer for | |
2446 | * a file handle. If this is defined, then the FILE_base(fp) macro | |
2447 | * will also be defined and should be used to access this field. | |
2448 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used | |
2449 | * to determine the number of bytes in the buffer. USE_STDIO_BASE | |
2450 | * will never be defined unless USE_STDIO_PTR is. | |
2451 | */ | |
2452 | /* FILE_base: | |
2453 | * This macro is used to access the _base field (or equivalent) of the | |
2454 | * FILE structure pointed to by its argument. This macro will always be | |
2455 | * defined if USE_STDIO_BASE is defined. | |
2456 | */ | |
2457 | /* FILE_bufsiz: | |
2458 | * This macro is used to determine the number of bytes in the I/O | |
2459 | * buffer pointed to by _base field (or equivalent) of the FILE | |
2460 | * structure pointed to its argument. This macro will always be defined | |
2461 | * if USE_STDIO_BASE is defined. | |
2462 | */ | |
2463 | /*#define USE_STDIO_BASE / **/ | |
2464 | #ifdef USE_STDIO_BASE | |
2465 | #define FILE_base(fp) ((fp)->_IO_read_base) | |
2466 | #define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base) | |
2467 | #endif | |
2468 | ||
2469 | /* HAS_STRERROR: | |
2470 | * This symbol, if defined, indicates that the strerror routine is | |
2471 | * available to translate error numbers to strings. See the writeup | |
2472 | * of Strerror() in this file before you try to define your own. | |
2473 | */ | |
2474 | /* HAS_SYS_ERRLIST: | |
2475 | * This symbol, if defined, indicates that the sys_errlist array is | |
2476 | * available to translate error numbers to strings. The extern int | |
2477 | * sys_nerr gives the size of that table. | |
2478 | */ | |
2479 | /* Strerror: | |
2480 | * This preprocessor symbol is defined as a macro if strerror() is | |
2481 | * not available to translate error numbers to strings but sys_errlist[] | |
2482 | * array is there. | |
2483 | */ | |
2484 | /*#define HAS_STRERROR / **/ | |
2485 | /*#define HAS_SYS_ERRLIST / **/ | |
2486 | #define Strerror(e) strerror(e) | |
3ebb1980 | 2487 | |
10bc17b6 JH |
2488 | /* HAS_STRERROR_R: |
2489 | * This symbol, if defined, indicates that the strerror_r routine | |
2490 | * is available to strerror re-entrantly. | |
2491 | */ | |
2492 | /* STRERROR_R_PROTO: | |
2493 | * This symbol encodes the prototype of strerror_r. | |
298695c9 JH |
2494 | * It is zero if d_strerror_r is undef, and one of the |
2495 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r | |
2496 | * is defined. | |
10bc17b6 JH |
2497 | */ |
2498 | /*#define HAS_STRERROR_R / **/ | |
2499 | #define STRERROR_R_PROTO 0 /**/ | |
2500 | ||
3ebb1980 JH |
2501 | /* HAS_STRTOLD: |
2502 | * This symbol, if defined, indicates that the strtold routine is | |
2503 | * available to convert strings to long doubles. | |
2504 | */ | |
2505 | /*#define HAS_STRTOLD / **/ | |
2506 | ||
2507 | /* HAS_STRTOLL: | |
2508 | * This symbol, if defined, indicates that the strtoll routine is | |
2509 | * available to convert strings to long longs. | |
2510 | */ | |
2511 | /*#define HAS_STRTOLL / **/ | |
2512 | ||
d0e6d399 NC |
2513 | /* HAS_STRTOQ: |
2514 | * This symbol, if defined, indicates that the strtoq routine is | |
2515 | * available to convert strings to long longs (quads). | |
2516 | */ | |
ef71a6f5 | 2517 | /*#define HAS_STRTOQ / **/ |
28e5dec8 | 2518 | |
a838cfe5 JH |
2519 | /* HAS_STRTOUL: |
2520 | * This symbol, if defined, indicates that the strtoul routine is | |
2521 | * available to provide conversion of strings to unsigned long. | |
2522 | */ | |
2523 | /*#define HAS_STRTOUL / **/ | |
2524 | ||
3ebb1980 JH |
2525 | /* HAS_STRTOULL: |
2526 | * This symbol, if defined, indicates that the strtoull routine is | |
2527 | * available to convert strings to unsigned long longs. | |
2528 | */ | |
2529 | /*#define HAS_STRTOULL / **/ | |
2530 | ||
2531 | /* HAS_STRTOUQ: | |
2532 | * This symbol, if defined, indicates that the strtouq routine is | |
2533 | * available to convert strings to unsigned long longs (quads). | |
2534 | */ | |
2535 | /*#define HAS_STRTOUQ / **/ | |
2536 | ||
2537 | /* HAS_TELLDIR_PROTO: | |
2538 | * This symbol, if defined, indicates that the system provides | |
2539 | * a prototype for the telldir() function. Otherwise, it is up | |
2540 | * to the program to supply one. A good guess is | |
c68a00c0 | 2541 | * extern long telldir(DIR*); |
3ebb1980 JH |
2542 | */ |
2543 | /*#define HAS_TELLDIR_PROTO / **/ | |
2544 | ||
089ffa16 JH |
2545 | /* HAS_TIME: |
2546 | * This symbol, if defined, indicates that the time() routine exists. | |
2547 | */ | |
a838cfe5 JH |
2548 | /* Time_t: |
2549 | * This symbol holds the type returned by time(). It can be long, | |
2550 | * or time_t on BSD sites (in which case <sys/types.h> should be | |
2551 | * included). | |
3ebb1980 | 2552 | */ |
089ffa16 JH |
2553 | #define HAS_TIME /**/ |
2554 | #define Time_t time_t /* Time type */ | |
a838cfe5 JH |
2555 | |
2556 | /* HAS_TIMES: | |
2557 | * This symbol, if defined, indicates that the times() routine exists. | |
2558 | * Note that this became obsolete on some systems (SUNOS), which now | |
2559 | * use getrusage(). It may be necessary to include <sys/times.h>. | |
2560 | */ | |
2561 | /*#define HAS_TIMES / **/ | |
3ebb1980 | 2562 | |
10bc17b6 JH |
2563 | /* HAS_TMPNAM_R: |
2564 | * This symbol, if defined, indicates that the tmpnam_r routine | |
2565 | * is available to tmpnam re-entrantly. | |
2566 | */ | |
2567 | /* TMPNAM_R_PROTO: | |
2568 | * This symbol encodes the prototype of tmpnam_r. | |
298695c9 JH |
2569 | * It is zero if d_tmpnam_r is undef, and one of the |
2570 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r | |
2571 | * is defined. | |
10bc17b6 JH |
2572 | */ |
2573 | /*#define HAS_TMPNAM_R / **/ | |
2574 | #define TMPNAM_R_PROTO 0 /**/ | |
2575 | ||
4e0554ec JH |
2576 | /* HAS_UALARM: |
2577 | * This symbol, if defined, indicates that the ualarm routine is | |
2578 | * available to do alarms with microsecond granularity. | |
2579 | */ | |
2580 | /*#define HAS_UALARM / **/ | |
2581 | ||
a838cfe5 JH |
2582 | /* HAS_UNION_SEMUN: |
2583 | * This symbol, if defined, indicates that the union semun is | |
2584 | * defined by including <sys/sem.h>. If not, the user code | |
2585 | * probably needs to define it as: | |
2586 | * union semun { | |
2587 | * int val; | |
2588 | * struct semid_ds *buf; | |
2589 | * unsigned short *array; | |
2590 | * } | |
2591 | */ | |
2592 | /* USE_SEMCTL_SEMUN: | |
2593 | * This symbol, if defined, indicates that union semun is | |
2594 | * used for semctl IPC_STAT. | |
2595 | */ | |
2596 | /* USE_SEMCTL_SEMID_DS: | |
2597 | * This symbol, if defined, indicates that struct semid_ds * is | |
2598 | * used for semctl IPC_STAT. | |
2599 | */ | |
2600 | /*#define HAS_UNION_SEMUN / **/ | |
2601 | /*#define USE_SEMCTL_SEMUN / **/ | |
2602 | /*#define USE_SEMCTL_SEMID_DS / **/ | |
2603 | ||
758a5d79 JH |
2604 | /* HAS_UNORDERED: |
2605 | * This symbol, if defined, indicates that the unordered routine is | |
2606 | * available to check whether two doubles are unordered | |
2607 | * (effectively: whether either of them is NaN) | |
2608 | */ | |
2609 | /*#define HAS_UNORDERED / **/ | |
2610 | ||
a838cfe5 JH |
2611 | /* HAS_USTAT: |
2612 | * This symbol, if defined, indicates that the ustat system call is | |
2613 | * available to query file system statistics by dev_t. | |
2614 | */ | |
2615 | /*#define HAS_USTAT / **/ | |
2616 | ||
2617 | /* HAS_VFORK: | |
2618 | * This symbol, if defined, indicates that vfork() exists. | |
2619 | */ | |
2620 | /*#define HAS_VFORK / **/ | |
2621 | ||
2622 | /* Signal_t: | |
2623 | * This symbol's value is either "void" or "int", corresponding to the | |
2624 | * appropriate return type of a signal handler. Thus, you can declare | |
2625 | * a signal handler using "Signal_t (*handler)()", and define the | |
2626 | * handler using "Signal_t handler(sig)". | |
3ebb1980 | 2627 | */ |
a838cfe5 | 2628 | #define Signal_t int /* Signal handler's return type */ |
e9a8643a | 2629 | |
a838cfe5 JH |
2630 | /* HAS_VPRINTF: |
2631 | * This symbol, if defined, indicates that the vprintf routine is available | |
2632 | * to printf with a pointer to an argument list. If unavailable, you | |
2633 | * may need to write your own, probably in terms of _doprnt(). | |
3ebb1980 | 2634 | */ |
a838cfe5 JH |
2635 | /* USE_CHAR_VSPRINTF: |
2636 | * This symbol is defined if this system has vsprintf() returning type | |
2637 | * (char*). The trend seems to be to declare it as "int vsprintf()". It | |
2638 | * is up to the package author to declare vsprintf correctly based on the | |
2639 | * symbol. | |
2640 | */ | |
2641 | #define HAS_VPRINTF /**/ | |
2642 | /*#define USE_CHAR_VSPRINTF / **/ | |
3ebb1980 | 2643 | |
4e0554ec JH |
2644 | /* HAS_WRITEV: |
2645 | * This symbol, if defined, indicates that the writev routine is | |
2646 | * available to do scatter writes. | |
2647 | */ | |
2648 | /*#define HAS_WRITEV / **/ | |
2649 | ||
3ebb1980 JH |
2650 | /* USE_DYNAMIC_LOADING: |
2651 | * This symbol, if defined, indicates that dynamic loading of | |
2652 | * some sort is available. | |
2653 | */ | |
2654 | /*#define USE_DYNAMIC_LOADING / **/ | |
2655 | ||
a838cfe5 JH |
2656 | /* DOUBLESIZE: |
2657 | * This symbol contains the size of a double, so that the C preprocessor | |
2658 | * can make decisions based on it. | |
2659 | */ | |
2660 | #define DOUBLESIZE 8 /**/ | |
2661 | ||
2662 | /* EBCDIC: | |
2663 | * This symbol, if defined, indicates that this system uses | |
2664 | * EBCDIC encoding. | |
2665 | */ | |
2666 | /*#define EBCDIC / **/ | |
2667 | ||
3ebb1980 JH |
2668 | /* FFLUSH_NULL: |
2669 | * This symbol, if defined, tells that fflush(NULL) does flush | |
2670 | * all pending stdio output. | |
2671 | */ | |
2672 | /* FFLUSH_ALL: | |
2673 | * This symbol, if defined, tells that to flush | |
2674 | * all pending stdio output one must loop through all | |
2675 | * the stdio file handles stored in an array and fflush them. | |
2676 | * Note that if fflushNULL is defined, fflushall will not | |
2677 | * even be probed for and will be left undefined. | |
2678 | */ | |
2679 | /*#define FFLUSH_NULL / **/ | |
2680 | /*#define FFLUSH_ALL / **/ | |
2681 | ||
a838cfe5 JH |
2682 | /* Fpos_t: |
2683 | * This symbol holds the type used to declare file positions in libc. | |
2684 | * It can be fpos_t, long, uint, etc... It may be necessary to include | |
2685 | * <sys/types.h> to get any typedef'ed information. | |
2686 | */ | |
2687 | #define Fpos_t int /* File position type */ | |
2688 | ||
2689 | /* Gid_t_f: | |
2690 | * This symbol defines the format string used for printing a Gid_t. | |
2691 | */ | |
2692 | #define Gid_t_f "lu" /**/ | |
2693 | ||
2694 | /* Gid_t_sign: | |
2695 | * This symbol holds the signedess of a Gid_t. | |
2696 | * 1 for unsigned, -1 for signed. | |
2697 | */ | |
2698 | #define Gid_t_sign 1 /* GID sign */ | |
2699 | ||
2700 | /* Gid_t_size: | |
2701 | * This symbol holds the size of a Gid_t in bytes. | |
2702 | */ | |
2703 | #define Gid_t_size 4 /* GID size */ | |
2704 | ||
2705 | /* Gid_t: | |
2706 | * This symbol holds the return type of getgid() and the type of | |
2707 | * argument to setrgid() and related functions. Typically, | |
2708 | * it is the type of group ids in the kernel. It can be int, ushort, | |
2709 | * gid_t, etc... It may be necessary to include <sys/types.h> to get | |
2710 | * any typedef'ed information. | |
2711 | */ | |
2712 | #define Gid_t int /* Type for getgid(), etc... */ | |
2713 | ||
2714 | /* Groups_t: | |
2715 | * This symbol holds the type used for the second argument to | |
2716 | * getgroups() and setgroups(). Usually, this is the same as | |
2717 | * gidtype (gid_t) , but sometimes it isn't. | |
2718 | * It can be int, ushort, gid_t, etc... | |
2719 | * It may be necessary to include <sys/types.h> to get any | |
2720 | * typedef'ed information. This is only required if you have | |
2721 | * getgroups() or setgroups().. | |
2722 | */ | |
2723 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) | |
2724 | #define Groups_t int /* Type for 2nd arg to [sg]etgroups() */ | |
2725 | #endif | |
2726 | ||
3ebb1980 JH |
2727 | /* DB_Prefix_t: |
2728 | * This symbol contains the type of the prefix structure element | |
2729 | * in the <db.h> header file. In older versions of DB, it was | |
2730 | * int, while in newer ones it is u_int32_t. | |
2731 | */ | |
2732 | /* DB_Hash_t: | |
2733 | * This symbol contains the type of the prefix structure element | |
2734 | * in the <db.h> header file. In older versions of DB, it was | |
2735 | * int, while in newer ones it is size_t. | |
2736 | */ | |
640374d0 JH |
2737 | /* DB_VERSION_MAJOR_CFG: |
2738 | * This symbol, if defined, defines the major version number of | |
2739 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
2740 | */ | |
2741 | /* DB_VERSION_MINOR_CFG: | |
2742 | * This symbol, if defined, defines the minor version number of | |
2743 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
2744 | * For DB version 1 this is always 0. | |
2745 | */ | |
2746 | /* DB_VERSION_PATCH_CFG: | |
2747 | * This symbol, if defined, defines the patch version number of | |
2748 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
2749 | * For DB version 1 this is always 0. | |
2750 | */ | |
3ebb1980 JH |
2751 | #define DB_Hash_t u_int32_t /**/ |
2752 | #define DB_Prefix_t size_t /**/ | |
640374d0 JH |
2753 | #define DB_VERSION_MAJOR_CFG /**/ |
2754 | #define DB_VERSION_MINOR_CFG /**/ | |
2755 | #define DB_VERSION_PATCH_CFG /**/ | |
3ebb1980 | 2756 | |
758a5d79 JH |
2757 | /* I_FP_CLASS: |
2758 | * This symbol, if defined, indicates that <fp_class.h> exists and | |
2759 | * should be included. | |
2760 | */ | |
2761 | /*#define I_FP_CLASS / **/ | |
2762 | ||
a838cfe5 JH |
2763 | /* I_GRP: |
2764 | * This symbol, if defined, indicates to the C program that it should | |
2765 | * include <grp.h>. | |
2766 | */ | |
2767 | /* GRPASSWD: | |
2768 | * This symbol, if defined, indicates to the C program that struct group | |
2769 | * in <grp.h> contains gr_passwd. | |
2770 | */ | |
2771 | /*#define I_GRP / **/ | |
2772 | /*#define GRPASSWD / **/ | |
2773 | ||
3ebb1980 JH |
2774 | /* I_IEEEFP: |
2775 | * This symbol, if defined, indicates that <ieeefp.h> exists and | |
2776 | * should be included. | |
2777 | */ | |
2778 | /*#define I_IEEEFP / **/ | |
2779 | ||
2780 | /* I_INTTYPES: | |
2781 | * This symbol, if defined, indicates to the C program that it should | |
2782 | * include <inttypes.h>. | |
2783 | */ | |
2784 | /*#define I_INTTYPES / **/ | |
2785 | ||
1b9c9cf5 DH |
2786 | /* I_LIBUTIL: |
2787 | * This symbol, if defined, indicates that <libutil.h> exists and | |
2788 | * should be included. | |
2789 | */ | |
2790 | /*#define I_LIBUTIL / **/ | |
2791 | ||
a838cfe5 JH |
2792 | /* I_MACH_CTHREADS: |
2793 | * This symbol, if defined, indicates to the C program that it should | |
2794 | * include <mach/cthreads.h>. | |
2795 | */ | |
2796 | /*#define I_MACH_CTHREADS / **/ | |
2797 | ||
3ebb1980 JH |
2798 | /* I_MNTENT: |
2799 | * This symbol, if defined, indicates that <mntent.h> exists and | |
2800 | * should be included. | |
2801 | */ | |
2802 | /*#define I_MNTENT / **/ | |
2803 | ||
a838cfe5 JH |
2804 | /* I_NETDB: |
2805 | * This symbol, if defined, indicates that <netdb.h> exists and | |
2806 | * should be included. | |
2807 | */ | |
2808 | /*#define I_NETDB / **/ | |
2809 | ||
3ebb1980 JH |
2810 | /* I_NETINET_TCP: |
2811 | * This symbol, if defined, indicates to the C program that it should | |
2812 | * include <netinet/tcp.h>. | |
2813 | */ | |
2814 | /*#define I_NETINET_TCP / **/ | |
2815 | ||
2816 | /* I_POLL: | |
2817 | * This symbol, if defined, indicates that <poll.h> exists and | |
2818 | * should be included. | |
2819 | */ | |
2820 | /*#define I_POLL / **/ | |
2821 | ||
2822 | /* I_PROT: | |
2823 | * This symbol, if defined, indicates that <prot.h> exists and | |
2824 | * should be included. | |
2825 | */ | |
2826 | /*#define I_PROT / **/ | |
2827 | ||
a838cfe5 JH |
2828 | /* I_PTHREAD: |
2829 | * This symbol, if defined, indicates to the C program that it should | |
2830 | * include <pthread.h>. | |
2831 | */ | |
2832 | /*#define I_PTHREAD / **/ | |
2833 | ||
2834 | /* I_PWD: | |
2835 | * This symbol, if defined, indicates to the C program that it should | |
2836 | * include <pwd.h>. | |
2837 | */ | |
2838 | /* PWQUOTA: | |
2839 | * This symbol, if defined, indicates to the C program that struct passwd | |
2840 | * contains pw_quota. | |
2841 | */ | |
2842 | /* PWAGE: | |
2843 | * This symbol, if defined, indicates to the C program that struct passwd | |
2844 | * contains pw_age. | |
2845 | */ | |
2846 | /* PWCHANGE: | |
2847 | * This symbol, if defined, indicates to the C program that struct passwd | |
2848 | * contains pw_change. | |
2849 | */ | |
2850 | /* PWCLASS: | |
2851 | * This symbol, if defined, indicates to the C program that struct passwd | |
2852 | * contains pw_class. | |
2853 | */ | |
2854 | /* PWEXPIRE: | |
2855 | * This symbol, if defined, indicates to the C program that struct passwd | |
2856 | * contains pw_expire. | |
2857 | */ | |
2858 | /* PWCOMMENT: | |
2859 | * This symbol, if defined, indicates to the C program that struct passwd | |
2860 | * contains pw_comment. | |
2861 | */ | |
2862 | /* PWGECOS: | |
2863 | * This symbol, if defined, indicates to the C program that struct passwd | |
2864 | * contains pw_gecos. | |
2865 | */ | |
2866 | /* PWPASSWD: | |
2867 | * This symbol, if defined, indicates to the C program that struct passwd | |
2868 | * contains pw_passwd. | |
2869 | */ | |
2870 | /*#define I_PWD / **/ | |
2871 | /*#define PWQUOTA / **/ | |
2872 | /*#define PWAGE / **/ | |
2873 | /*#define PWCHANGE / **/ | |
2874 | /*#define PWCLASS / **/ | |
2875 | /*#define PWEXPIRE / **/ | |
2876 | /*#define PWCOMMENT / **/ | |
2877 | /*#define PWGECOS / **/ | |
2878 | /*#define PWPASSWD / **/ | |
2879 | ||
3ebb1980 JH |
2880 | /* I_SHADOW: |
2881 | * This symbol, if defined, indicates that <shadow.h> exists and | |
2882 | * should be included. | |
2883 | */ | |
2884 | /*#define I_SHADOW / **/ | |
2885 | ||
2886 | /* I_SOCKS: | |
2887 | * This symbol, if defined, indicates that <socks.h> exists and | |
2888 | * should be included. | |
2889 | */ | |
2890 | /*#define I_SOCKS / **/ | |
2891 | ||
2892 | /* I_SUNMATH: | |
2893 | * This symbol, if defined, indicates that <sunmath.h> exists and | |
2894 | * should be included. | |
2895 | */ | |
2896 | /*#define I_SUNMATH / **/ | |
2897 | ||
2898 | /* I_SYSLOG: | |
2899 | * This symbol, if defined, indicates that <syslog.h> exists and | |
2900 | * should be included. | |
2901 | */ | |
2902 | /*#define I_SYSLOG / **/ | |
2903 | ||
2904 | /* I_SYSMODE: | |
2905 | * This symbol, if defined, indicates that <sys/mode.h> exists and | |
2906 | * should be included. | |
2907 | */ | |
2908 | /*#define I_SYSMODE / **/ | |
2909 | ||
2910 | /* I_SYS_MOUNT: | |
2911 | * This symbol, if defined, indicates that <sys/mount.h> exists and | |
2912 | * should be included. | |
2913 | */ | |
2914 | /*#define I_SYS_MOUNT / **/ | |
2915 | ||
2916 | /* I_SYS_STATFS: | |
2917 | * This symbol, if defined, indicates that <sys/statfs.h> exists. | |
2918 | */ | |
2919 | /*#define I_SYS_STATFS / **/ | |
2920 | ||
2921 | /* I_SYS_STATVFS: | |
2922 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and | |
2923 | * should be included. | |
2924 | */ | |
2925 | /*#define I_SYS_STATVFS / **/ | |
2926 | ||
a838cfe5 JH |
2927 | /* I_SYSUIO: |
2928 | * This symbol, if defined, indicates that <sys/uio.h> exists and | |
2929 | * should be included. | |
2930 | */ | |
2931 | /*#define I_SYSUIO / **/ | |
2932 | ||
3ebb1980 | 2933 | /* I_SYSUTSNAME: |
e9a8643a JH |
2934 | * This symbol, if defined, indicates that <sys/utsname.h> exists and |
2935 | * should be included. | |
3ebb1980 | 2936 | */ |
a838cfe5 JH |
2937 | /*#define I_SYSUTSNAME / **/ |
2938 | ||
2939 | /* I_SYS_VFS: | |
2940 | * This symbol, if defined, indicates that <sys/vfs.h> exists and | |
2941 | * should be included. | |
2942 | */ | |
2943 | /*#define I_SYS_VFS / **/ | |
2944 | ||
2945 | /* I_TIME: | |
2946 | * This symbol, if defined, indicates to the C program that it should | |
2947 | * include <time.h>. | |
2948 | */ | |
2949 | /* I_SYS_TIME: | |
2950 | * This symbol, if defined, indicates to the C program that it should | |
2951 | * include <sys/time.h>. | |
2952 | */ | |
2953 | /* I_SYS_TIME_KERNEL: | |
2954 | * This symbol, if defined, indicates to the C program that it should | |
2955 | * include <sys/time.h> with KERNEL defined. | |
2956 | */ | |
10bc17b6 JH |
2957 | /* HAS_TM_TM_ZONE: |
2958 | * This symbol, if defined, indicates to the C program that | |
2959 | * the struct tm has a tm_zone field. | |
2960 | */ | |
a838cfe5 JH |
2961 | #define I_TIME /**/ |
2962 | /*#define I_SYS_TIME / **/ | |
2963 | /*#define I_SYS_TIME_KERNEL / **/ | |
10bc17b6 | 2964 | /*#define HAS_TM_TM_ZONE / **/ |
a838cfe5 JH |
2965 | |
2966 | /* I_USTAT: | |
2967 | * This symbol, if defined, indicates that <ustat.h> exists and | |
2968 | * should be included. | |
2969 | */ | |
2970 | /*#define I_USTAT / **/ | |
2971 | ||
2972 | /* PERL_INC_VERSION_LIST: | |
2973 | * This variable specifies the list of subdirectories in over | |
2974 | * which perl.c:incpush() and lib/lib.pm will automatically | |
2975 | * search when adding directories to @INC, in a format suitable | |
2976 | * for a C initialization string. See the inc_version_list entry | |
2977 | * in Porting/Glossary for more details. | |
2978 | */ | |
2979 | #define PERL_INC_VERSION_LIST NULL /**/ | |
2980 | ||
2981 | /* INSTALL_USR_BIN_PERL: | |
2982 | * This symbol, if defined, indicates that Perl is to be installed | |
2983 | * also as /usr/bin/perl. | |
2984 | */ | |
2985 | /*#define INSTALL_USR_BIN_PERL / **/ | |
2986 | ||
2987 | /* PERL_PRIfldbl: | |
2988 | * This symbol, if defined, contains the string used by stdio to | |
2989 | * format long doubles (format 'f') for output. | |
2990 | */ | |
2991 | /* PERL_PRIgldbl: | |
2992 | * This symbol, if defined, contains the string used by stdio to | |
2993 | * format long doubles (format 'g') for output. | |
2994 | */ | |
2995 | /* PERL_PRIeldbl: | |
2996 | * This symbol, if defined, contains the string used by stdio to | |
2997 | * format long doubles (format 'e') for output. | |
2998 | */ | |
2999 | /* PERL_SCNfldbl: | |
3000 | * This symbol, if defined, contains the string used by stdio to | |
3001 | * format long doubles (format 'f') for input. | |
3002 | */ | |
3003 | /*#define PERL_PRIfldbl "llf" / **/ | |
3004 | /*#define PERL_PRIgldbl "llg" / **/ | |
3005 | /*#define PERL_PRIeldbl "lle" / **/ | |
3006 | /*#define PERL_SCNfldbl "llf" / **/ | |
3007 | ||
3008 | /* Off_t: | |
3009 | * This symbol holds the type used to declare offsets in the kernel. | |
3010 | * It can be int, long, off_t, etc... It may be necessary to include | |
3011 | * <sys/types.h> to get any typedef'ed information. | |
3012 | */ | |
3013 | /* LSEEKSIZE: | |
3014 | * This symbol holds the number of bytes used by the Off_t. | |
3015 | */ | |
3016 | /* Off_t_size: | |
3017 | * This symbol holds the number of bytes used by the Off_t. | |
3018 | */ | |
3019 | #define Off_t int /* <offset> type */ | |
3020 | #define LSEEKSIZE 4 /* <offset> size */ | |
3021 | #define Off_t_size 4 /* <offset> size */ | |
3022 | ||
3023 | /* Free_t: | |
3024 | * This variable contains the return type of free(). It is usually | |
3025 | * void, but occasionally int. | |
3026 | */ | |
3027 | /* Malloc_t: | |
3028 | * This symbol is the type of pointer returned by malloc and realloc. | |
3029 | */ | |
3030 | #define Malloc_t void * /**/ | |
3031 | #define Free_t int /**/ | |
3ebb1980 | 3032 | |
a838cfe5 JH |
3033 | /* MYMALLOC: |
3034 | * This symbol, if defined, indicates that we're using our own malloc. | |
3ebb1980 | 3035 | */ |
a838cfe5 | 3036 | /*#define MYMALLOC / **/ |
3ebb1980 | 3037 | |
a838cfe5 JH |
3038 | /* Mode_t: |
3039 | * This symbol holds the type used to declare file modes | |
3040 | * for systems calls. It is usually mode_t, but may be | |
3041 | * int or unsigned short. It may be necessary to include <sys/types.h> | |
3042 | * to get any typedef'ed information. | |
3ebb1980 | 3043 | */ |
a838cfe5 | 3044 | #define Mode_t int /* file mode parameter for system calls */ |
3ebb1980 | 3045 | |
a838cfe5 JH |
3046 | /* VAL_O_NONBLOCK: |
3047 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on | |
3048 | * non-blocking I/O for the file descriptor. Note that there is no way | |
3049 | * back, i.e. you cannot turn it blocking again this way. If you wish to | |
3050 | * alternatively switch between blocking and non-blocking, use the | |
3051 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. | |
3ebb1980 | 3052 | */ |
a838cfe5 JH |
3053 | /* VAL_EAGAIN: |
3054 | * This symbol holds the errno error code set by read() when no data was | |
3055 | * present on the non-blocking file descriptor. | |
3ebb1980 | 3056 | */ |
a838cfe5 JH |
3057 | /* RD_NODATA: |
3058 | * This symbol holds the return code from read() when no data is present | |
3059 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is | |
3060 | * not defined, then you can't distinguish between no data and EOF by | |
3061 | * issuing a read(). You'll have to find another way to tell for sure! | |
3ebb1980 | 3062 | */ |
a838cfe5 JH |
3063 | /* EOF_NONBLOCK: |
3064 | * This symbol, if defined, indicates to the C program that a read() on | |
3065 | * a non-blocking file descriptor will return 0 on EOF, and not the value | |
3066 | * held in RD_NODATA (-1 usually, in that case!). | |
3ebb1980 | 3067 | */ |
a838cfe5 JH |
3068 | #define VAL_O_NONBLOCK O_NONBLOCK |
3069 | #define VAL_EAGAIN EAGAIN | |
3070 | #define RD_NODATA -1 | |
3071 | #undef EOF_NONBLOCK | |
3ebb1980 | 3072 | |
a7fea17f JH |
3073 | /* NEED_VA_COPY: |
3074 | * This symbol, if defined, indicates that the system stores | |
3075 | * the variable argument list datatype, va_list, in a format | |
3076 | * that cannot be copied by simple assignment, so that some | |
3077 | * other means must be used when copying is required. | |
3078 | * As such systems vary in their provision (or non-provision) | |
3079 | * of copying mechanisms, handy.h defines a platform- | |
3080 | * independent macro, Perl_va_copy(src, dst), to do the job. | |
3081 | */ | |
3082 | /*#define NEED_VA_COPY / **/ | |
3083 | ||
a838cfe5 JH |
3084 | /* Netdb_host_t: |
3085 | * This symbol holds the type used for the 1st argument | |
3086 | * to gethostbyaddr(). | |
3087 | */ | |
3088 | /* Netdb_hlen_t: | |
3089 | * This symbol holds the type used for the 2nd argument | |
3090 | * to gethostbyaddr(). | |
3091 | */ | |
3092 | /* Netdb_name_t: | |
3093 | * This symbol holds the type used for the argument to | |
3094 | * gethostbyname(). | |
3095 | */ | |
3096 | /* Netdb_net_t: | |
3097 | * This symbol holds the type used for the 1st argument to | |
3098 | * getnetbyaddr(). | |
3099 | */ | |
3100 | #define Netdb_host_t const char * /**/ | |
3101 | #define Netdb_hlen_t int /**/ | |
3102 | #define Netdb_name_t const char * /**/ | |
3103 | #define Netdb_net_t unsigned long /**/ | |
3104 | ||
3105 | /* PERL_OTHERLIBDIRS: | |
3106 | * This variable contains a colon-separated set of paths for the perl | |
3107 | * binary to search for additional library files or modules. | |
3108 | * These directories will be tacked to the end of @INC. | |
3109 | * Perl will automatically search below each path for version- | |
3110 | * and architecture-specific directories. See PERL_INC_VERSION_LIST | |
3111 | * for more details. | |
3112 | */ | |
3113 | /*#define PERL_OTHERLIBDIRS "" / **/ | |
3114 | ||
3ebb1980 JH |
3115 | /* IVTYPE: |
3116 | * This symbol defines the C type used for Perl's IV. | |
3117 | */ | |
3118 | /* UVTYPE: | |
3119 | * This symbol defines the C type used for Perl's UV. | |
3120 | */ | |
3121 | /* I8TYPE: | |
3122 | * This symbol defines the C type used for Perl's I8. | |
3123 | */ | |
3124 | /* U8TYPE: | |
3125 | * This symbol defines the C type used for Perl's U8. | |
3126 | */ | |
3127 | /* I16TYPE: | |
3128 | * This symbol defines the C type used for Perl's I16. | |
3129 | */ | |
3130 | /* U16TYPE: | |
3131 | * This symbol defines the C type used for Perl's U16. | |
3132 | */ | |
3133 | /* I32TYPE: | |
3134 | * This symbol defines the C type used for Perl's I32. | |
3135 | */ | |
3136 | /* U32TYPE: | |
3137 | * This symbol defines the C type used for Perl's U32. | |
3138 | */ | |
3139 | /* I64TYPE: | |
3140 | * This symbol defines the C type used for Perl's I64. | |
3141 | */ | |
3142 | /* U64TYPE: | |
3143 | * This symbol defines the C type used for Perl's U64. | |
3144 | */ | |
3145 | /* NVTYPE: | |
3146 | * This symbol defines the C type used for Perl's NV. | |
3147 | */ | |
3148 | /* IVSIZE: | |
3149 | * This symbol contains the sizeof(IV). | |
3150 | */ | |
3151 | /* UVSIZE: | |
3152 | * This symbol contains the sizeof(UV). | |
3153 | */ | |
3154 | /* I8SIZE: | |
3155 | * This symbol contains the sizeof(I8). | |
3156 | */ | |
3157 | /* U8SIZE: | |
3158 | * This symbol contains the sizeof(U8). | |
3159 | */ | |
3160 | /* I16SIZE: | |
3161 | * This symbol contains the sizeof(I16). | |
3162 | */ | |
3163 | /* U16SIZE: | |
3164 | * This symbol contains the sizeof(U16). | |
3165 | */ | |
3166 | /* I32SIZE: | |
3167 | * This symbol contains the sizeof(I32). | |
3168 | */ | |
3169 | /* U32SIZE: | |
3170 | * This symbol contains the sizeof(U32). | |
3171 | */ | |
3172 | /* I64SIZE: | |
3173 | * This symbol contains the sizeof(I64). | |
3174 | */ | |
3175 | /* U64SIZE: | |
3176 | * This symbol contains the sizeof(U64). | |
3177 | */ | |
3178 | /* NVSIZE: | |
3179 | * This symbol contains the sizeof(NV). | |
3180 | */ | |
3181 | /* NV_PRESERVES_UV: | |
3182 | * This symbol, if defined, indicates that a variable of type NVTYPE | |
3183 | * can preserve all the bits of a variable of type UVTYPE. | |
3184 | */ | |
3185 | /* NV_PRESERVES_UV_BITS: | |
3186 | * This symbol contains the number of bits a variable of type NVTYPE | |
3187 | * can preserve of a variable of type UVTYPE. | |
3188 | */ | |
3189 | #define IVTYPE long /**/ | |
3190 | #define UVTYPE unsigned long /**/ | |
3191 | #define I8TYPE char /**/ | |
3192 | #define U8TYPE unsigned char /**/ | |
3193 | #define I16TYPE short /**/ | |
3194 | #define U16TYPE unsigned short /**/ | |
3195 | #define I32TYPE long /**/ | |
3196 | #define U32TYPE unsigned long /**/ | |
3197 | #ifdef HAS_QUAD | |
3198 | #define I64TYPE int64_t /**/ | |
3199 | #define U64TYPE uint64_t /**/ | |
3200 | #endif | |
3201 | #define NVTYPE double /**/ | |
3202 | #define IVSIZE 4 /**/ | |
3203 | #define UVSIZE 4 /**/ | |
3204 | #define I8SIZE 1 /**/ | |
3205 | #define U8SIZE 1 /**/ | |
3206 | #define I16SIZE 2 /**/ | |
3207 | #define U16SIZE 2 /**/ | |
3208 | #define I32SIZE 4 /**/ | |
3209 | #define U32SIZE 4 /**/ | |
3210 | #ifdef HAS_QUAD | |
3211 | #define I64SIZE 8 /**/ | |
3212 | #define U64SIZE 8 /**/ | |
3213 | #endif | |
3214 | #define NVSIZE 8 /**/ | |
3215 | #undef NV_PRESERVES_UV | |
3096c11e | 3216 | #define NV_PRESERVES_UV_BITS 0 |
3ebb1980 JH |
3217 | |
3218 | /* IVdf: | |
3219 | * This symbol defines the format string used for printing a Perl IV | |
3220 | * as a signed decimal integer. | |
3221 | */ | |
3222 | /* UVuf: | |
3223 | * This symbol defines the format string used for printing a Perl UV | |
3224 | * as an unsigned decimal integer. | |
3225 | */ | |
3226 | /* UVof: | |
3227 | * This symbol defines the format string used for printing a Perl UV | |
3228 | * as an unsigned octal integer. | |
3229 | */ | |
3230 | /* UVxf: | |
3231 | * This symbol defines the format string used for printing a Perl UV | |
fd47df60 JH |
3232 | * as an unsigned hexadecimal integer in lowercase abcdef. |
3233 | */ | |
159fae86 JH |
3234 | /* UVXf: |
3235 | * This symbol defines the format string used for printing a Perl UV | |
3236 | * as an unsigned hexadecimal integer in uppercase ABCDEF. | |
3237 | */ | |
fd47df60 JH |
3238 | /* NVef: |
3239 | * This symbol defines the format string used for printing a Perl NV | |
3240 | * using %e-ish floating point format. | |
3241 | */ | |
3242 | /* NVff: | |
3243 | * This symbol defines the format string used for printing a Perl NV | |
e9a8643a | 3244 | * using %f-ish floating point format. |
3ebb1980 | 3245 | */ |
e9a8643a JH |
3246 | /* NVgf: |
3247 | * This symbol defines the format string used for printing a Perl NV | |
3248 | * using %g-ish floating point format. | |
3ebb1980 | 3249 | */ |
e9a8643a JH |
3250 | #define IVdf "ld" /**/ |
3251 | #define UVuf "lu" /**/ | |
3252 | #define UVof "lo" /**/ | |
3253 | #define UVxf "lx" /**/ | |
3254 | #define UVXf "lX" /**/ | |
3255 | #define NVef "e" /**/ | |
3256 | #define NVff "f" /**/ | |
3257 | #define NVgf "g" /**/ | |
3ebb1980 | 3258 | |
a838cfe5 JH |
3259 | /* Pid_t: |
3260 | * This symbol holds the type used to declare process ids in the kernel. | |
3261 | * It can be int, uint, pid_t, etc... It may be necessary to include | |
3262 | * <sys/types.h> to get any typedef'ed information. | |
3263 | */ | |
3264 | #define Pid_t int /* PID type */ | |
3265 | ||
3266 | /* PRIVLIB: | |
3267 | * This symbol contains the name of the private library for this package. | |
3268 | * The library is private in the sense that it needn't be in anyone's | |
3269 | * execution path, but it should be accessible by the world. The program | |
3270 | * should be prepared to do ~ expansion. | |
3271 | */ | |
3272 | /* PRIVLIB_EXP: | |
3273 | * This symbol contains the ~name expanded version of PRIVLIB, to be used | |
3274 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3275 | */ | |
3276 | #define PRIVLIB "/usr/local/lib/perl5/5.7" /**/ | |
3277 | #define PRIVLIB_EXP "/usr/local/lib/perl5/5.7" /**/ | |
3278 | ||
3279 | /* PTRSIZE: | |
3280 | * This symbol contains the size of a pointer, so that the C preprocessor | |
3281 | * can make decisions based on it. It will be sizeof(void *) if | |
3282 | * the compiler supports (void *); otherwise it will be | |
3283 | * sizeof(char *). | |
3284 | */ | |
3285 | #define PTRSIZE 4 /**/ | |
3286 | ||
3287 | /* Drand01: | |
3288 | * This macro is to be used to generate uniformly distributed | |
3289 | * random numbers over the range [0., 1.[. You may have to supply | |
3290 | * an 'extern double drand48();' in your program since SunOS 4.1.3 | |
3291 | * doesn't provide you with anything relevant in its headers. | |
3292 | * See HAS_DRAND48_PROTO. | |
3293 | */ | |
3294 | /* Rand_seed_t: | |
3295 | * This symbol defines the type of the argument of the | |
3296 | * random seed function. | |
3297 | */ | |
3298 | /* seedDrand01: | |
3299 | * This symbol defines the macro to be used in seeding the | |
3300 | * random number generator (see Drand01). | |
3301 | */ | |
3302 | /* RANDBITS: | |
3303 | * This symbol indicates how many bits are produced by the | |
3304 | * function used to generate normalized random numbers. | |
3305 | * Values include 15, 16, 31, and 48. | |
3306 | */ | |
3307 | #define Drand01() ((rand() & 0x7FFF) / (double) ((unsigned long)1 << 15)) /**/ | |
3308 | #define Rand_seed_t int /**/ | |
3309 | #define seedDrand01(x) srand((Rand_seed_t)x) /**/ | |
3310 | #define RANDBITS 48 /**/ | |
3311 | ||
3312 | /* SELECT_MIN_BITS: | |
3313 | * This symbol holds the minimum number of bits operated by select. | |
3314 | * That is, if you do select(n, ...), how many bits at least will be | |
3315 | * cleared in the masks if some activity is detected. Usually this | |
3316 | * is either n or 32*ceil(n/32), especially many little-endians do | |
3317 | * the latter. This is only useful if you have select(), naturally. | |
3318 | */ | |
3319 | #define SELECT_MIN_BITS 32 /**/ | |
3320 | ||
3321 | /* Select_fd_set_t: | |
3322 | * This symbol holds the type used for the 2nd, 3rd, and 4th | |
3323 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET | |
3324 | * is defined, and 'int *' otherwise. This is only useful if you | |
3325 | * have select(), of course. | |
3326 | */ | |
3327 | #define Select_fd_set_t int /**/ | |
3328 | ||
3329 | /* SIG_NAME: | |
3330 | * This symbol contains a list of signal names in order of | |
3331 | * signal number. This is intended | |
3332 | * to be used as a static array initialization, like this: | |
3333 | * char *sig_name[] = { SIG_NAME }; | |
3334 | * The signals in the list are separated with commas, and each signal | |
3335 | * is surrounded by double quotes. There is no leading SIG in the signal | |
3336 | * name, i.e. SIGQUIT is known as "QUIT". | |
3337 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, | |
3338 | * etc., where nn is the actual signal number (e.g. NUM37). | |
3339 | * The signal number for sig_name[i] is stored in sig_num[i]. | |
3340 | * The last element is 0 to terminate the list with a NULL. This | |
3341 | * corresponds to the 0 at the end of the sig_num list. | |
3342 | */ | |
3343 | /* SIG_NUM: | |
3344 | * This symbol contains a list of signal numbers, in the same order as the | |
3345 | * SIG_NAME list. It is suitable for static array initialization, as in: | |
3346 | * int sig_num[] = { SIG_NUM }; | |
3347 | * The signals in the list are separated with commas, and the indices | |
3348 | * within that list and the SIG_NAME list match, so it's easy to compute | |
3349 | * the signal name from a number or vice versa at the price of a small | |
3350 | * dynamic linear lookup. | |
3351 | * Duplicates are allowed, but are moved to the end of the list. | |
3352 | * The signal number corresponding to sig_name[i] is sig_number[i]. | |
3353 | * if (i < NSIG) then sig_number[i] == i. | |
3354 | * The last element is 0, corresponding to the 0 at the end of | |
3355 | * the sig_name list. | |
3356 | */ | |
3357 | /* SIG_SIZE: | |
3358 | * This variable contains the number of elements of the sig_name | |
3359 | * and sig_num arrays, excluding the final NULL entry. | |
3360 | */ | |
3361 | #define SIG_NAME 0 /**/ | |
3362 | #define SIG_NUM 0 /**/ | |
3363 | #define SIG_SIZE 1 /**/ | |
3364 | ||
3365 | /* SITEARCH: | |
3366 | * This symbol contains the name of the private library for this package. | |
3367 | * The library is private in the sense that it needn't be in anyone's | |
3368 | * execution path, but it should be accessible by the world. The program | |
3369 | * should be prepared to do ~ expansion. | |
3370 | * The standard distribution will put nothing in this directory. | |
3371 | * After perl has been installed, users may install their own local | |
3372 | * architecture-dependent modules in this directory with | |
3373 | * MakeMaker Makefile.PL | |
3374 | * or equivalent. See INSTALL for details. | |
3375 | */ | |
3376 | /* SITEARCH_EXP: | |
3377 | * This symbol contains the ~name expanded version of SITEARCH, to be used | |
3378 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3379 | */ | |
3380 | #define SITEARCH "" /**/ | |
3381 | #define SITEARCH_EXP "" /**/ | |
3382 | ||
3383 | /* SITELIB: | |
3384 | * This symbol contains the name of the private library for this package. | |
3385 | * The library is private in the sense that it needn't be in anyone's | |
3386 | * execution path, but it should be accessible by the world. The program | |
3387 | * should be prepared to do ~ expansion. | |
3388 | * The standard distribution will put nothing in this directory. | |
3389 | * After perl has been installed, users may install their own local | |
3390 | * architecture-independent modules in this directory with | |
3391 | * MakeMaker Makefile.PL | |
3392 | * or equivalent. See INSTALL for details. | |
3393 | */ | |
3394 | /* SITELIB_EXP: | |
3395 | * This symbol contains the ~name expanded version of SITELIB, to be used | |
3396 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3397 | */ | |
3398 | /* SITELIB_STEM: | |
3399 | * This define is SITELIB_EXP with any trailing version-specific component | |
3400 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
3401 | * be tacked onto this variable to generate a list of directories to search. | |
3402 | */ | |
3403 | #define SITELIB "" /**/ | |
3404 | #define SITELIB_EXP "" /**/ | |
3405 | #define SITELIB_STEM "" /**/ | |
3406 | ||
3407 | /* Size_t_size: | |
3408 | * This symbol holds the size of a Size_t in bytes. | |
3409 | */ | |
3410 | #define Size_t_size 4 /* */ | |
3411 | ||
3412 | /* Size_t: | |
3413 | * This symbol holds the type used to declare length parameters | |
3414 | * for string functions. It is usually size_t, but may be | |
3415 | * unsigned long, int, etc. It may be necessary to include | |
3416 | * <sys/types.h> to get any typedef'ed information. | |
3417 | */ | |
3418 | #define Size_t int /* length paramater for string functions */ | |
3419 | ||
3420 | /* Sock_size_t: | |
3421 | * This symbol holds the type used for the size argument of | |
3422 | * various socket calls (just the base type, not the pointer-to). | |
3ebb1980 | 3423 | */ |
a838cfe5 | 3424 | #define Sock_size_t int /**/ |
3ebb1980 | 3425 | |
a838cfe5 JH |
3426 | /* SSize_t: |
3427 | * This symbol holds the type used by functions that return | |
3428 | * a count of bytes or an error condition. It must be a signed type. | |
3429 | * It is usually ssize_t, but may be long or int, etc. | |
3430 | * It may be necessary to include <sys/types.h> or <unistd.h> | |
3431 | * to get any typedef'ed information. | |
3432 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). | |
3ebb1980 | 3433 | */ |
a838cfe5 | 3434 | #define SSize_t int /* signed count of bytes */ |
3ebb1980 JH |
3435 | |
3436 | /* STARTPERL: | |
3437 | * This variable contains the string to put in front of a perl | |
3438 | * script to make sure (one hopes) that it runs with perl and not | |
3439 | * some shell. | |
3440 | */ | |
3441 | #define STARTPERL "" /**/ | |
3442 | ||
a838cfe5 JH |
3443 | /* STDCHAR: |
3444 | * This symbol is defined to be the type of char used in stdio.h. | |
3445 | * It has the values "unsigned char" or "char". | |
3446 | */ | |
3447 | #define STDCHAR char /**/ | |
3448 | ||
3ebb1980 JH |
3449 | /* HAS_STDIO_STREAM_ARRAY: |
3450 | * This symbol, if defined, tells that there is an array | |
3451 | * holding the stdio streams. | |
3452 | */ | |
3453 | /* STDIO_STREAM_ARRAY: | |
3454 | * This symbol tells the name of the array holding the stdio streams. | |
3455 | * Usual values include _iob, __iob, and __sF. | |
3456 | */ | |
3457 | /*#define HAS_STDIO_STREAM_ARRAY / **/ | |
3458 | #define STDIO_STREAM_ARRAY | |
3459 | ||
a838cfe5 JH |
3460 | /* Uid_t_f: |
3461 | * This symbol defines the format string used for printing a Uid_t. | |
3462 | */ | |
3463 | #define Uid_t_f "lu" /**/ | |
3464 | ||
3465 | /* Uid_t_sign: | |
3466 | * This symbol holds the signedess of a Uid_t. | |
3467 | * 1 for unsigned, -1 for signed. | |
3468 | */ | |
3469 | #define Uid_t_sign 1 /* UID sign */ | |
3470 | ||
3471 | /* Uid_t_size: | |
3472 | * This symbol holds the size of a Uid_t in bytes. | |
3473 | */ | |
3474 | #define Uid_t_size 4 /* UID size */ | |
3475 | ||
3476 | /* Uid_t: | |
3477 | * This symbol holds the type used to declare user ids in the kernel. | |
3478 | * It can be int, ushort, uid_t, etc... It may be necessary to include | |
3479 | * <sys/types.h> to get any typedef'ed information. | |
3480 | */ | |
3481 | #define Uid_t int /* UID type */ | |
3482 | ||
3ebb1980 JH |
3483 | /* USE_64_BIT_INT: |
3484 | * This symbol, if defined, indicates that 64-bit integers should | |
3485 | * be used when available. If not defined, the native integers | |
3486 | * will be employed (be they 32 or 64 bits). The minimal possible | |
3487 | * 64-bitness is used, just enough to get 64-bit integers into Perl. | |
3488 | * This may mean using for example "long longs", while your memory | |
3489 | * may still be limited to 2 gigabytes. | |
3490 | */ | |
3491 | /* USE_64_BIT_ALL: | |
3492 | * This symbol, if defined, indicates that 64-bit integers should | |
3493 | * be used when available. If not defined, the native integers | |
3494 | * will be used (be they 32 or 64 bits). The maximal possible | |
3495 | * 64-bitness is employed: LP64 or ILP64, meaning that you will | |
3496 | * be able to use more than 2 gigabytes of memory. This mode is | |
3497 | * even more binary incompatible than USE_64_BIT_INT. You may not | |
3498 | * be able to run the resulting executable in a 32-bit CPU at all or | |
3499 | * you may need at least to reboot your OS to 64-bit mode. | |
3500 | */ | |
3501 | #ifndef USE_64_BIT_INT | |
3502 | /*#define USE_64_BIT_INT / **/ | |
3503 | #endif | |
3504 | ||
3505 | #ifndef USE_64_BIT_ALL | |
3506 | /*#define USE_64_BIT_ALL / **/ | |
3507 | #endif | |
3508 | ||
3509 | /* USE_LARGE_FILES: | |
3510 | * This symbol, if defined, indicates that large file support | |
3511 | * should be used when available. | |
3512 | */ | |
3513 | #ifndef USE_LARGE_FILES | |
3514 | /*#define USE_LARGE_FILES / **/ | |
3515 | #endif | |
3516 | ||
3517 | /* USE_LONG_DOUBLE: | |
3518 | * This symbol, if defined, indicates that long doubles should | |
3519 | * be used when available. | |
3520 | */ | |
3521 | #ifndef USE_LONG_DOUBLE | |
3522 | /*#define USE_LONG_DOUBLE / **/ | |
3523 | #endif | |
3524 | ||
3525 | /* USE_MORE_BITS: | |
3526 | * This symbol, if defined, indicates that 64-bit interfaces and | |
3527 | * long doubles should be used when available. | |
3528 | */ | |
3529 | #ifndef USE_MORE_BITS | |
3530 | /*#define USE_MORE_BITS / **/ | |
3531 | #endif | |
3532 | ||
3533 | /* MULTIPLICITY: | |
3534 | * This symbol, if defined, indicates that Perl should | |
3535 | * be built to use multiplicity. | |
3536 | */ | |
3537 | #ifndef MULTIPLICITY | |
3538 | /*#define MULTIPLICITY / **/ | |
3539 | #endif | |
3540 | ||
3541 | /* USE_PERLIO: | |
3542 | * This symbol, if defined, indicates that the PerlIO abstraction should | |
3543 | * be used throughout. If not defined, stdio should be | |
3544 | * used in a fully backward compatible manner. | |
3545 | */ | |
3546 | #ifndef USE_PERLIO | |
3547 | /*#define USE_PERLIO / **/ | |
3548 | #endif | |
3549 | ||
3550 | /* USE_SOCKS: | |
3551 | * This symbol, if defined, indicates that Perl should | |
3552 | * be built to use socks. | |
3553 | */ | |
3554 | #ifndef USE_SOCKS | |
3555 | /*#define USE_SOCKS / **/ | |
3556 | #endif | |
3557 | ||
a838cfe5 JH |
3558 | /* USE_ITHREADS: |
3559 | * This symbol, if defined, indicates that Perl should be built to | |
3560 | * use the interpreter-based threading implementation. | |
3561 | */ | |
a838cfe5 JH |
3562 | /* OLD_PTHREADS_API: |
3563 | * This symbol, if defined, indicates that Perl should | |
3564 | * be built to use the old draft POSIX threads API. | |
3565 | */ | |
3566 | /* USE_REENTRANT_API: | |
3567 | * This symbol, if defined, indicates that Perl should | |
3568 | * try to use the various _r versions of library functions. | |
3569 | * This is extremely experimental. | |
3570 | */ | |
a838cfe5 | 3571 | /*#define USE_ITHREADS / **/ |
a838cfe5 JH |
3572 | /*#define OLD_PTHREADS_API / **/ |
3573 | /*#define USE_REENTRANT_API / **/ | |
3574 | ||
3575 | /* PERL_VENDORARCH: | |
3576 | * If defined, this symbol contains the name of a private library. | |
3577 | * The library is private in the sense that it needn't be in anyone's | |
3578 | * execution path, but it should be accessible by the world. | |
3579 | * It may have a ~ on the front. | |
3580 | * The standard distribution will put nothing in this directory. | |
3581 | * Vendors who distribute perl may wish to place their own | |
3582 | * architecture-dependent modules and extensions in this directory with | |
3583 | * MakeMaker Makefile.PL INSTALLDIRS=vendor | |
3584 | * or equivalent. See INSTALL for details. | |
3585 | */ | |
3586 | /* PERL_VENDORARCH_EXP: | |
3587 | * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used | |
3588 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3589 | */ | |
3590 | /*#define PERL_VENDORARCH "" / **/ | |
3591 | /*#define PERL_VENDORARCH_EXP "" / **/ | |
3592 | ||
3593 | /* PERL_VENDORLIB_EXP: | |
3594 | * This symbol contains the ~name expanded version of VENDORLIB, to be used | |
3595 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3596 | */ | |
3597 | /* PERL_VENDORLIB_STEM: | |
3598 | * This define is PERL_VENDORLIB_EXP with any trailing version-specific component | |
3599 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
3600 | * be tacked onto this variable to generate a list of directories to search. | |
3601 | */ | |
3602 | /*#define PERL_VENDORLIB_EXP "" / **/ | |
3603 | /*#define PERL_VENDORLIB_STEM "" / **/ | |
3604 | ||
3605 | /* VOIDFLAGS: | |
3606 | * This symbol indicates how much support of the void type is given by this | |
3607 | * compiler. What various bits mean: | |
3608 | * | |
3609 | * 1 = supports declaration of void | |
3610 | * 2 = supports arrays of pointers to functions returning void | |
3611 | * 4 = supports comparisons between pointers to void functions and | |
3612 | * addresses of void functions | |
3613 | * 8 = suports declaration of generic void pointers | |
3614 | * | |
3615 | * The package designer should define VOIDUSED to indicate the requirements | |
3616 | * of the package. This can be done either by #defining VOIDUSED before | |
3617 | * including config.h, or by defining defvoidused in Myinit.U. If the | |
3618 | * latter approach is taken, only those flags will be tested. If the | |
3619 | * level of void support necessary is not present, defines void to int. | |
3620 | */ | |
3621 | #ifndef VOIDUSED | |
3622 | #define VOIDUSED 1 | |
3623 | #endif | |
3624 | #define VOIDFLAGS 1 | |
3625 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED | |
3626 | #define void int /* is void to be avoided? */ | |
3627 | #define M_VOID /* Xenix strikes again */ | |
3628 | #endif | |
3629 | ||
3ebb1980 JH |
3630 | /* PERL_XS_APIVERSION: |
3631 | * This variable contains the version of the oldest perl binary | |
3632 | * compatible with the present perl. perl.c:incpush() and | |
3633 | * lib/lib.pm will automatically search in for older | |
3634 | * directories across major versions back to xs_apiversion. | |
3635 | * This is only useful if you have a perl library directory tree | |
3636 | * structured like the default one. | |
3637 | * See INSTALL for how this works. | |
3638 | * The versioned site_perl directory was introduced in 5.005, | |
3639 | * so that is the lowest possible value. | |
d953f698 JH |
3640 | * Since this can depend on compile time options |
3641 | * it is set by Configure. Other non-default sources | |
3ebb1980 JH |
3642 | * of potential incompatibility, such as multiplicity, threads, |
3643 | * debugging, 64bits, sfio, etc., are not checked for currently, | |
3644 | * though in principle we could go snooping around in old | |
3645 | * Config.pm files. | |
3646 | */ | |
3647 | /* PERL_PM_APIVERSION: | |
3648 | * This variable contains the version of the oldest perl | |
3649 | * compatible with the present perl. (That is, pure perl modules | |
3650 | * written for pm_apiversion will still work for the current | |
3651 | * version). perl.c:incpush() and lib/lib.pm will automatically | |
3652 | * search in for older directories across major versions | |
3653 | * back to pm_apiversion. This is only useful if you have a perl | |
3654 | * library directory tree structured like the default one. The | |
3655 | * versioned site_perl library was introduced in 5.005, so that's | |
3656 | * the default setting for this variable. It's hard to imagine | |
3657 | * it changing before Perl6. It is included here for symmetry | |
a838cfe5 JH |
3658 | * with xs_apiveprsion -- the searching algorithms will |
3659 | * (presumably) be similar. | |
3660 | * See the INSTALL file for how this works. | |
e9a8643a | 3661 | */ |
4282de36 | 3662 | #define PERL_XS_APIVERSION "5.008" |
a838cfe5 | 3663 | #define PERL_PM_APIVERSION "5.005" |
5440bc8e | 3664 | |
8b4ac5a4 JH |
3665 | /* HAS_CRYPT: |
3666 | * This symbol, if defined, indicates that the crypt routine is available | |
3667 | * to encrypt passwords and the like. | |
3668 | */ | |
3669 | /*#define HAS_CRYPT / **/ | |
3670 | ||
a838cfe5 JH |
3671 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
3672 | * This symbol, if defined, indicates that the bug that prevents | |
3673 | * setuid scripts from being secure is not present in this kernel. | |
b99a9337 | 3674 | */ |
a838cfe5 JH |
3675 | /* DOSUID: |
3676 | * This symbol, if defined, indicates that the C program should | |
3677 | * check the script that it is executing for setuid/setgid bits, and | |
3678 | * attempt to emulate setuid/setgid on systems that have disabled | |
3679 | * setuid #! scripts because the kernel can't do it securely. | |
3680 | * It is up to the package designer to make sure that this emulation | |
3681 | * is done securely. Among other things, it should do an fstat on | |
3682 | * the script it just opened to make sure it really is a setuid/setgid | |
3683 | * script, it should make sure the arguments passed correspond exactly | |
3684 | * to the argument on the #! line, and it should not trust any | |
3685 | * subprocesses to which it must pass the filename rather than the | |
3686 | * file descriptor of the script to be executed. | |
5440bc8e | 3687 | */ |
a838cfe5 JH |
3688 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ |
3689 | /*#define DOSUID / **/ | |
e9a8643a | 3690 | |
c68a00c0 JH |
3691 | /* Shmat_t: |
3692 | * This symbol holds the return type of the shmat() system call. | |
3693 | * Usually set to 'void *' or 'char *'. | |
3694 | */ | |
3695 | /* HAS_SHMAT_PROTOTYPE: | |
3696 | * This symbol, if defined, indicates that the sys/shm.h includes | |
3697 | * a prototype for shmat(). Otherwise, it is up to the program to | |
3698 | * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, | |
3699 | * but not always right so it should be emitted by the program only | |
3700 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. | |
3701 | */ | |
3702 | #define Shmat_t void * /**/ | |
3703 | /*#define HAS_SHMAT_PROTOTYPE / **/ | |
3704 | ||
3705 | /* I_NDBM: | |
3706 | * This symbol, if defined, indicates that <ndbm.h> exists and should | |
3707 | * be included. | |
3708 | */ | |
3709 | /*#define I_NDBM / **/ | |
3710 | ||
a838cfe5 JH |
3711 | /* I_STDARG: |
3712 | * This symbol, if defined, indicates that <stdarg.h> exists and should | |
3713 | * be included. | |
5440bc8e | 3714 | */ |
a838cfe5 JH |
3715 | /* I_VARARGS: |
3716 | * This symbol, if defined, indicates to the C program that it should | |
3717 | * include <varargs.h>. | |
e9a8643a | 3718 | */ |
a838cfe5 JH |
3719 | #define I_STDARG /**/ |
3720 | /*#define I_VARARGS / **/ | |
3721 | ||
c68a00c0 JH |
3722 | /* CAN_PROTOTYPE: |
3723 | * If defined, this macro indicates that the C compiler can handle | |
3724 | * function prototypes. | |
3725 | */ | |
a3c02183 | 3726 | /* _: |
c68a00c0 JH |
3727 | * This macro is used to declare function parameters for folks who want |
3728 | * to make declarations with prototypes using a different style than | |
3729 | * the above macros. Use double parentheses. For example: | |
3730 | * | |
a3c02183 | 3731 | * int main _((int argc, char *argv[])); |
c68a00c0 JH |
3732 | */ |
3733 | /*#define CAN_PROTOTYPE / **/ | |
3734 | #ifdef CAN_PROTOTYPE | |
a3c02183 | 3735 | #define _(args) args |
c68a00c0 | 3736 | #else |
a3c02183 | 3737 | #define _(args) () |
c68a00c0 JH |
3738 | #endif |
3739 | ||
a838cfe5 JH |
3740 | /* SH_PATH: |
3741 | * This symbol contains the full pathname to the shell used on this | |
3742 | * on this system to execute Bourne shell scripts. Usually, this will be | |
3743 | * /bin/sh, though it's possible that some systems will have /bin/ksh, | |
3744 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as | |
3745 | * D:/bin/sh.exe. | |
e9a8643a | 3746 | */ |
a838cfe5 JH |
3747 | #define SH_PATH "" /**/ |
3748 | ||
3749 | /* USE_CROSS_COMPILE: | |
3750 | * This symbol, if defined, indicates that Perl is being cross-compiled. | |
e9a8643a | 3751 | */ |
a838cfe5 JH |
3752 | /* PERL_TARGETARCH: |
3753 | * This symbol, if defined, indicates the target architecture | |
3754 | * Perl has been cross-compiled to. Undefined if not a cross-compile. | |
3755 | */ | |
3756 | #ifndef USE_CROSS_COMPILE | |
3757 | /*#define USE_CROSS_COMPILE / **/ | |
3758 | #define PERL_TARGETARCH "" /**/ | |
5440bc8e JH |
3759 | #endif |
3760 | ||
a838cfe5 JH |
3761 | /* HAS_DBMINIT_PROTO: |
3762 | * This symbol, if defined, indicates that the system provides | |
3763 | * a prototype for the dbminit() function. Otherwise, it is up | |
3764 | * to the program to supply one. A good guess is | |
3765 | * extern int dbminit(char *); | |
2ef53570 | 3766 | */ |
a838cfe5 | 3767 | /*#define HAS_DBMINIT_PROTO / **/ |
2ef53570 | 3768 | |
a838cfe5 JH |
3769 | /* HAS_DIRFD: |
3770 | * This manifest constant lets the C program know that dirfd | |
3771 | * is available. | |
2ef53570 | 3772 | */ |
a838cfe5 | 3773 | /*#define HAS_DIRFD / **/ |
2ef53570 | 3774 | |
a838cfe5 JH |
3775 | /* HAS_FLOCK_PROTO: |
3776 | * This symbol, if defined, indicates that the system provides | |
3777 | * a prototype for the flock() function. Otherwise, it is up | |
3778 | * to the program to supply one. A good guess is | |
3779 | * extern int flock(int, int); | |
b99a9337 | 3780 | */ |
a838cfe5 | 3781 | /*#define HAS_FLOCK_PROTO / **/ |
b99a9337 | 3782 | |
a838cfe5 JH |
3783 | /* HAS_FPCLASSL: |
3784 | * This symbol, if defined, indicates that the fpclassl routine is | |
3785 | * available to classify long doubles. Available for example in IRIX. | |
3786 | * The returned values are defined in <ieeefp.h> and are: | |
3787 | * | |
3788 | * FP_SNAN signaling NaN | |
3789 | * FP_QNAN quiet NaN | |
3790 | * FP_NINF negative infinity | |
3791 | * FP_PINF positive infinity | |
3792 | * FP_NDENORM negative denormalized non-zero | |
3793 | * FP_PDENORM positive denormalized non-zero | |
3794 | * FP_NZERO negative zero | |
3795 | * FP_PZERO positive zero | |
3796 | * FP_NNORM negative normalized non-zero | |
3797 | * FP_PNORM positive normalized non-zero | |
2765b840 | 3798 | */ |
a838cfe5 | 3799 | /*#define HAS_FPCLASSL / **/ |
2765b840 | 3800 | |
a838cfe5 JH |
3801 | /* HAS_NL_LANGINFO: |
3802 | * This symbol, if defined, indicates that the nl_langinfo routine is | |
3803 | * available to return local data. You will also need <langinfo.h> | |
3804 | * and therefore I_LANGINFO. | |
e561a5ff | 3805 | */ |
a838cfe5 | 3806 | /*#define HAS_NL_LANGINFO / **/ |
e561a5ff | 3807 | |
a838cfe5 JH |
3808 | /* HAS_PROCSELFEXE: |
3809 | * This symbol is defined if PROCSELFEXE_PATH is a symlink | |
3810 | * to the absolute pathname of the executing program. | |
49a78c82 | 3811 | */ |
10b31d5d JH |
3812 | /* PROCSELFEXE_PATH: |
3813 | * If HAS_PROCSELFEXE is defined this symbol is the filename | |
3814 | * of the symbolic link pointing to the absolute pathname of | |
3815 | * the executing program. | |
3816 | */ | |
a838cfe5 JH |
3817 | /*#define HAS_PROCSELFEXE / **/ |
3818 | #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH) | |
3819 | #define PROCSELFEXE_PATH /**/ | |
3820 | #endif | |
49a78c82 | 3821 | |
a838cfe5 JH |
3822 | /* HAS_SIGPROCMASK: |
3823 | * This symbol, if defined, indicates that the sigprocmask | |
3824 | * system call is available to examine or change the signal mask | |
3825 | * of the calling process. | |
2ef53570 | 3826 | */ |
a838cfe5 | 3827 | /*#define HAS_SIGPROCMASK / **/ |
2ef53570 | 3828 | |
a838cfe5 JH |
3829 | /* HAS_SOCKATMARK: |
3830 | * This symbol, if defined, indicates that the sockatmark routine is | |
3831 | * available to test whether a socket is at the out-of-band mark. | |
eef837ea | 3832 | */ |
a838cfe5 JH |
3833 | /*#define HAS_SOCKATMARK / **/ |
3834 | ||
3835 | /* HAS_SOCKATMARK_PROTO: | |
3836 | * This symbol, if defined, indicates that the system provides | |
3837 | * a prototype for the sockatmark() function. Otherwise, it is up | |
3838 | * to the program to supply one. A good guess is | |
c68a00c0 | 3839 | * extern int sockatmark(int); |
e9a8643a | 3840 | */ |
a838cfe5 JH |
3841 | /*#define HAS_SOCKATMARK_PROTO / **/ |
3842 | ||
3843 | /* HAS_SETRESGID_PROTO: | |
3844 | * This symbol, if defined, indicates that the system provides | |
3845 | * a prototype for the setresgid() function. Otherwise, it is up | |
3846 | * to the program to supply one. Good guesses are | |
3847 | * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); | |
e9a8643a | 3848 | */ |
a838cfe5 | 3849 | /*#define HAS_SETRESGID_PROTO / **/ |
eef837ea | 3850 | |
a838cfe5 JH |
3851 | /* HAS_SETRESUID_PROTO: |
3852 | * This symbol, if defined, indicates that the system provides | |
3853 | * a prototype for the setresuid() function. Otherwise, it is up | |
3854 | * to the program to supply one. Good guesses are | |
3855 | * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); | |
640374d0 | 3856 | */ |
a838cfe5 | 3857 | /*#define HAS_SETRESUID_PROTO / **/ |
640374d0 | 3858 | |
a838cfe5 JH |
3859 | /* HAS_STRFTIME: |
3860 | * This symbol, if defined, indicates that the strftime routine is | |
3861 | * available to do time formatting. | |
b3c85772 | 3862 | */ |
a838cfe5 | 3863 | /*#define HAS_STRFTIME / **/ |
b3c85772 | 3864 | |
a838cfe5 JH |
3865 | /* HAS_SYSCALL_PROTO: |
3866 | * This symbol, if defined, indicates that the system provides | |
3867 | * a prototype for the syscall() function. Otherwise, it is up | |
3868 | * to the program to supply one. Good guesses are | |
3869 | * extern int syscall(int, ...); | |
3870 | * extern int syscall(long, ...); | |
2ef53570 | 3871 | */ |
a838cfe5 | 3872 | /*#define HAS_SYSCALL_PROTO / **/ |
2ef53570 | 3873 | |
a838cfe5 JH |
3874 | /* U32_ALIGNMENT_REQUIRED: |
3875 | * This symbol, if defined, indicates that you must access | |
3876 | * character data through U32-aligned pointers. | |
4e0554ec | 3877 | */ |
2c74c289 | 3878 | #ifndef U32_ALIGNMENT_REQUIRED |
a838cfe5 | 3879 | #define U32_ALIGNMENT_REQUIRED /**/ |
2c74c289 | 3880 | #endif |
4e0554ec | 3881 | |
a838cfe5 JH |
3882 | /* HAS_USLEEP_PROTO: |
3883 | * This symbol, if defined, indicates that the system provides | |
3884 | * a prototype for the usleep() function. Otherwise, it is up | |
3885 | * to the program to supply one. A good guess is | |
3886 | * extern int usleep(useconds_t); | |
2ef53570 | 3887 | */ |
a838cfe5 | 3888 | /*#define HAS_USLEEP_PROTO / **/ |
2ef53570 | 3889 | |
10bc17b6 JH |
3890 | /* I_CRYPT: |
3891 | * This symbol, if defined, indicates that <crypt.h> exists and | |
3892 | * should be included. | |
3893 | */ | |
3894 | /*#define I_CRYPT / **/ | |
3895 | ||
a838cfe5 JH |
3896 | /* I_FP: |
3897 | * This symbol, if defined, indicates that <fp.h> exists and | |
3898 | * should be included. | |
758a5d79 | 3899 | */ |
a838cfe5 | 3900 | /*#define I_FP / **/ |
758a5d79 | 3901 | |
a838cfe5 JH |
3902 | /* I_LANGINFO: |
3903 | * This symbol, if defined, indicates that <langinfo.h> exists and | |
3904 | * should be included. | |
404cab08 | 3905 | */ |
a838cfe5 | 3906 | /*#define I_LANGINFO / **/ |
404cab08 | 3907 | |
10bc17b6 JH |
3908 | /* HAS_CTERMID_R: |
3909 | * This symbol, if defined, indicates that the ctermid_r routine | |
3910 | * is available to ctermid re-entrantly. | |
3911 | */ | |
3912 | /* CTERMID_R_PROTO: | |
3913 | * This symbol encodes the prototype of ctermid_r. | |
298695c9 JH |
3914 | * It is zero if d_ctermid_r is undef, and one of the |
3915 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r | |
3916 | * is defined. | |
10bc17b6 JH |
3917 | */ |
3918 | /*#define HAS_CTERMID_R / **/ | |
3919 | #define CTERMID_R_PROTO 0 /**/ | |
3920 | ||
3921 | /* HAS_ENDHOSTENT_R: | |
3922 | * This symbol, if defined, indicates that the endhostent_r routine | |
3923 | * is available to endhostent re-entrantly. | |
3924 | */ | |
3925 | /* ENDHOSTENT_R_PROTO: | |
3926 | * This symbol encodes the prototype of endhostent_r. | |
298695c9 JH |
3927 | * It is zero if d_endhostent_r is undef, and one of the |
3928 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r | |
3929 | * is defined. | |
10bc17b6 JH |
3930 | */ |
3931 | /*#define HAS_ENDHOSTENT_R / **/ | |
3932 | #define ENDHOSTENT_R_PROTO 0 /**/ | |
3933 | ||
3934 | /* HAS_ENDNETENT_R: | |
3935 | * This symbol, if defined, indicates that the endnetent_r routine | |
3936 | * is available to endnetent re-entrantly. | |
3937 | */ | |
3938 | /* ENDNETENT_R_PROTO: | |
3939 | * This symbol encodes the prototype of endnetent_r. | |
298695c9 JH |
3940 | * It is zero if d_endnetent_r is undef, and one of the |
3941 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r | |
3942 | * is defined. | |
10bc17b6 JH |
3943 | */ |
3944 | /*#define HAS_ENDNETENT_R / **/ | |
3945 | #define ENDNETENT_R_PROTO 0 /**/ | |
3946 | ||
3947 | /* HAS_ENDPROTOENT_R: | |
3948 | * This symbol, if defined, indicates that the endprotoent_r routine | |
3949 | * is available to endprotoent re-entrantly. | |
3950 | */ | |
3951 | /* ENDPROTOENT_R_PROTO: | |
3952 | * This symbol encodes the prototype of endprotoent_r. | |
298695c9 JH |
3953 | * It is zero if d_endprotoent_r is undef, and one of the |
3954 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r | |
3955 | * is defined. | |
10bc17b6 JH |
3956 | */ |
3957 | /*#define HAS_ENDPROTOENT_R / **/ | |
3958 | #define ENDPROTOENT_R_PROTO 0 /**/ | |
3959 | ||
3960 | /* HAS_ENDSERVENT_R: | |
3961 | * This symbol, if defined, indicates that the endservent_r routine | |
3962 | * is available to endservent re-entrantly. | |
3963 | */ | |
3964 | /* ENDSERVENT_R_PROTO: | |
3965 | * This symbol encodes the prototype of endservent_r. | |
298695c9 JH |
3966 | * It is zero if d_endservent_r is undef, and one of the |
3967 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r | |
3968 | * is defined. | |
10bc17b6 JH |
3969 | */ |
3970 | /*#define HAS_ENDSERVENT_R / **/ | |
3971 | #define ENDSERVENT_R_PROTO 0 /**/ | |
3972 | ||
3973 | /* HAS_GETHOSTBYADDR_R: | |
3974 | * This symbol, if defined, indicates that the gethostbyaddr_r routine | |
3975 | * is available to gethostbyaddr re-entrantly. | |
3976 | */ | |
3977 | /* GETHOSTBYADDR_R_PROTO: | |
3978 | * This symbol encodes the prototype of gethostbyaddr_r. | |
298695c9 JH |
3979 | * It is zero if d_gethostbyaddr_r is undef, and one of the |
3980 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r | |
3981 | * is defined. | |
10bc17b6 JH |
3982 | */ |
3983 | /*#define HAS_GETHOSTBYADDR_R / **/ | |
3984 | #define GETHOSTBYADDR_R_PROTO 0 /**/ | |
3985 | ||
3986 | /* HAS_GETHOSTBYNAME_R: | |
3987 | * This symbol, if defined, indicates that the gethostbyname_r routine | |
3988 | * is available to gethostbyname re-entrantly. | |
3989 | */ | |
3990 | /* GETHOSTBYNAME_R_PROTO: | |
3991 | * This symbol encodes the prototype of gethostbyname_r. | |
298695c9 JH |
3992 | * It is zero if d_gethostbyname_r is undef, and one of the |
3993 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r | |
3994 | * is defined. | |
10bc17b6 JH |
3995 | */ |
3996 | /*#define HAS_GETHOSTBYNAME_R / **/ | |
3997 | #define GETHOSTBYNAME_R_PROTO 0 /**/ | |
3998 | ||
3999 | /* HAS_GETHOSTENT_R: | |
4000 | * This symbol, if defined, indicates that the gethostent_r routine | |
4001 | * is available to gethostent re-entrantly. | |
4002 | */ | |
4003 | /* GETHOSTENT_R_PROTO: | |
4004 | * This symbol encodes the prototype of gethostent_r. | |
298695c9 JH |
4005 | * It is zero if d_gethostent_r is undef, and one of the |
4006 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r | |
4007 | * is defined. | |
10bc17b6 JH |
4008 | */ |
4009 | /*#define HAS_GETHOSTENT_R / **/ | |
4010 | #define GETHOSTENT_R_PROTO 0 /**/ | |
4011 | ||
4012 | /* HAS_GETNETBYADDR_R: | |
4013 | * This symbol, if defined, indicates that the getnetbyaddr_r routine | |
4014 | * is available to getnetbyaddr re-entrantly. | |
4015 | */ | |
4016 | /* GETNETBYADDR_R_PROTO: | |
4017 | * This symbol encodes the prototype of getnetbyaddr_r. | |
298695c9 JH |
4018 | * It is zero if d_getnetbyaddr_r is undef, and one of the |
4019 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r | |
4020 | * is defined. | |
10bc17b6 JH |
4021 | */ |
4022 | /*#define HAS_GETNETBYADDR_R / **/ | |
4023 | #define GETNETBYADDR_R_PROTO 0 /**/ | |
4024 | ||
4025 | /* HAS_GETNETBYNAME_R: | |
4026 | * This symbol, if defined, indicates that the getnetbyname_r routine | |
4027 | * is available to getnetbyname re-entrantly. | |
4028 | */ | |
4029 | /* GETNETBYNAME_R_PROTO: | |
4030 | * This symbol encodes the prototype of getnetbyname_r. | |
298695c9 JH |
4031 | * It is zero if d_getnetbyname_r is undef, and one of the |
4032 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r | |
4033 | * is defined. | |
10bc17b6 JH |
4034 | */ |
4035 | /*#define HAS_GETNETBYNAME_R / **/ | |
4036 | #define GETNETBYNAME_R_PROTO 0 /**/ | |
4037 | ||
4038 | /* HAS_GETNETENT_R: | |
4039 | * This symbol, if defined, indicates that the getnetent_r routine | |
4040 | * is available to getnetent re-entrantly. | |
4041 | */ | |
4042 | /* GETNETENT_R_PROTO: | |
4043 | * This symbol encodes the prototype of getnetent_r. | |
298695c9 JH |
4044 | * It is zero if d_getnetent_r is undef, and one of the |
4045 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r | |
4046 | * is defined. | |
10bc17b6 JH |
4047 | */ |
4048 | /*#define HAS_GETNETENT_R / **/ | |
4049 | #define GETNETENT_R_PROTO 0 /**/ | |
4050 | ||
4051 | /* HAS_GETPROTOBYNAME_R: | |
4052 | * This symbol, if defined, indicates that the getprotobyname_r routine | |
4053 | * is available to getprotobyname re-entrantly. | |
4054 | */ | |
4055 | /* GETPROTOBYNAME_R_PROTO: | |
4056 | * This symbol encodes the prototype of getprotobyname_r. | |
298695c9 JH |
4057 | * It is zero if d_getprotobyname_r is undef, and one of the |
4058 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r | |
4059 | * is defined. | |
10bc17b6 JH |
4060 | */ |
4061 | /*#define HAS_GETPROTOBYNAME_R / **/ | |
4062 | #define GETPROTOBYNAME_R_PROTO 0 /**/ | |
4063 | ||
4064 | /* HAS_GETPROTOBYNUMBER_R: | |
4065 | * This symbol, if defined, indicates that the getprotobynumber_r routine | |
4066 | * is available to getprotobynumber re-entrantly. | |
4067 | */ | |
4068 | /* GETPROTOBYNUMBER_R_PROTO: | |
4069 | * This symbol encodes the prototype of getprotobynumber_r. | |
298695c9 JH |
4070 | * It is zero if d_getprotobynumber_r is undef, and one of the |
4071 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r | |
4072 | * is defined. | |
10bc17b6 JH |
4073 | */ |
4074 | /*#define HAS_GETPROTOBYNUMBER_R / **/ | |
4075 | #define GETPROTOBYNUMBER_R_PROTO 0 /**/ | |
4076 | ||
4077 | /* HAS_GETPROTOENT_R: | |
4078 | * This symbol, if defined, indicates that the getprotoent_r routine | |
4079 | * is available to getprotoent re-entrantly. | |
4080 | */ | |
4081 | /* GETPROTOENT_R_PROTO: | |
4082 | * This symbol encodes the prototype of getprotoent_r. | |
298695c9 JH |
4083 | * It is zero if d_getprotoent_r is undef, and one of the |
4084 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r | |
4085 | * is defined. | |
10bc17b6 JH |
4086 | */ |
4087 | /*#define HAS_GETPROTOENT_R / **/ | |
4088 | #define GETPROTOENT_R_PROTO 0 /**/ | |
4089 | ||
4090 | /* HAS_GETSERVBYNAME_R: | |
4091 | * This symbol, if defined, indicates that the getservbyname_r routine | |
4092 | * is available to getservbyname re-entrantly. | |
4093 | */ | |
4094 | /* GETSERVBYNAME_R_PROTO: | |
4095 | * This symbol encodes the prototype of getservbyname_r. | |
298695c9 JH |
4096 | * It is zero if d_getservbyname_r is undef, and one of the |
4097 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r | |
4098 | * is defined. | |
10bc17b6 JH |
4099 | */ |
4100 | /*#define HAS_GETSERVBYNAME_R / **/ | |
4101 | #define GETSERVBYNAME_R_PROTO 0 /**/ | |
4102 | ||
4103 | /* HAS_GETSERVBYPORT_R: | |
4104 | * This symbol, if defined, indicates that the getservbyport_r routine | |
4105 | * is available to getservbyport re-entrantly. | |
4106 | */ | |
4107 | /* GETSERVBYPORT_R_PROTO: | |
4108 | * This symbol encodes the prototype of getservbyport_r. | |
298695c9 JH |
4109 | * It is zero if d_getservbyport_r is undef, and one of the |
4110 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r | |
4111 | * is defined. | |
10bc17b6 JH |
4112 | */ |
4113 | /*#define HAS_GETSERVBYPORT_R / **/ | |
4114 | #define GETSERVBYPORT_R_PROTO 0 /**/ | |
4115 | ||
4116 | /* HAS_GETSERVENT_R: | |
4117 | * This symbol, if defined, indicates that the getservent_r routine | |
4118 | * is available to getservent re-entrantly. | |
4119 | */ | |
4120 | /* GETSERVENT_R_PROTO: | |
4121 | * This symbol encodes the prototype of getservent_r. | |
298695c9 JH |
4122 | * It is zero if d_getservent_r is undef, and one of the |
4123 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r | |
4124 | * is defined. | |
10bc17b6 JH |
4125 | */ |
4126 | /*#define HAS_GETSERVENT_R / **/ | |
4127 | #define GETSERVENT_R_PROTO 0 /**/ | |
4128 | ||
a838cfe5 JH |
4129 | /* HAS_PTHREAD_ATFORK: |
4130 | * This symbol, if defined, indicates that the pthread_atfork routine | |
4131 | * is available setup fork handlers. | |
d6483fcc | 4132 | */ |
a838cfe5 | 4133 | /*#define HAS_PTHREAD_ATFORK / **/ |
d6483fcc | 4134 | |
10bc17b6 JH |
4135 | /* HAS_READDIR64_R: |
4136 | * This symbol, if defined, indicates that the readdir64_r routine | |
4137 | * is available to readdir64 re-entrantly. | |
4138 | */ | |
4139 | /* READDIR64_R_PROTO: | |
4140 | * This symbol encodes the prototype of readdir64_r. | |
298695c9 JH |
4141 | * It is zero if d_readdir64_r is undef, and one of the |
4142 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r | |
4143 | * is defined. | |
10bc17b6 JH |
4144 | */ |
4145 | /*#define HAS_READDIR64_R / **/ | |
4146 | #define READDIR64_R_PROTO 0 /**/ | |
4147 | ||
4148 | /* HAS_SETHOSTENT_R: | |
4149 | * This symbol, if defined, indicates that the sethostent_r routine | |
4150 | * is available to sethostent re-entrantly. | |
4151 | */ | |
4152 | /* SETHOSTENT_R_PROTO: | |
4153 | * This symbol encodes the prototype of sethostent_r. | |
298695c9 JH |
4154 | * It is zero if d_sethostent_r is undef, and one of the |
4155 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r | |
4156 | * is defined. | |
10bc17b6 JH |
4157 | */ |
4158 | /*#define HAS_SETHOSTENT_R / **/ | |
4159 | #define SETHOSTENT_R_PROTO 0 /**/ | |
4160 | ||
4161 | /* HAS_SETLOCALE_R: | |
4162 | * This symbol, if defined, indicates that the setlocale_r routine | |
4163 | * is available to setlocale re-entrantly. | |
4164 | */ | |
4165 | /* SETLOCALE_R_PROTO: | |
4166 | * This symbol encodes the prototype of setlocale_r. | |
298695c9 JH |
4167 | * It is zero if d_setlocale_r is undef, and one of the |
4168 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r | |
4169 | * is defined. | |
10bc17b6 JH |
4170 | */ |
4171 | /*#define HAS_SETLOCALE_R / **/ | |
4172 | #define SETLOCALE_R_PROTO 0 /**/ | |
4173 | ||
4174 | /* HAS_SETNETENT_R: | |
4175 | * This symbol, if defined, indicates that the setnetent_r routine | |
4176 | * is available to setnetent re-entrantly. | |
4177 | */ | |
4178 | /* SETNETENT_R_PROTO: | |
4179 | * This symbol encodes the prototype of setnetent_r. | |
298695c9 JH |
4180 | * It is zero if d_setnetent_r is undef, and one of the |
4181 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r | |
4182 | * is defined. | |
10bc17b6 JH |
4183 | */ |
4184 | /*#define HAS_SETNETENT_R / **/ | |
4185 | #define SETNETENT_R_PROTO 0 /**/ | |
4186 | ||
4187 | /* HAS_SETPROTOENT_R: | |
4188 | * This symbol, if defined, indicates that the setprotoent_r routine | |
4189 | * is available to setprotoent re-entrantly. | |
4190 | */ | |
4191 | /* SETPROTOENT_R_PROTO: | |
4192 | * This symbol encodes the prototype of setprotoent_r. | |
298695c9 JH |
4193 | * It is zero if d_setprotoent_r is undef, and one of the |
4194 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r | |
4195 | * is defined. | |
10bc17b6 JH |
4196 | */ |
4197 | /*#define HAS_SETPROTOENT_R / **/ | |
4198 | #define SETPROTOENT_R_PROTO 0 /**/ | |
4199 | ||
4200 | /* HAS_SETSERVENT_R: | |
4201 | * This symbol, if defined, indicates that the setservent_r routine | |
4202 | * is available to setservent re-entrantly. | |
4203 | */ | |
4204 | /* SETSERVENT_R_PROTO: | |
4205 | * This symbol encodes the prototype of setservent_r. | |
298695c9 JH |
4206 | * It is zero if d_setservent_r is undef, and one of the |
4207 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r | |
4208 | * is defined. | |
10bc17b6 JH |
4209 | */ |
4210 | /*#define HAS_SETSERVENT_R / **/ | |
4211 | #define SETSERVENT_R_PROTO 0 /**/ | |
4212 | ||
4213 | /* HAS_TTYNAME_R: | |
4214 | * This symbol, if defined, indicates that the ttyname_r routine | |
4215 | * is available to ttyname re-entrantly. | |
4216 | */ | |
4217 | /* TTYNAME_R_PROTO: | |
4218 | * This symbol encodes the prototype of ttyname_r. | |
298695c9 JH |
4219 | * It is zero if d_ttyname_r is undef, and one of the |
4220 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r | |
4221 | * is defined. | |
10bc17b6 JH |
4222 | */ |
4223 | /*#define HAS_TTYNAME_R / **/ | |
4224 | #define TTYNAME_R_PROTO 0 /**/ | |
4225 | ||
3ebb1980 | 4226 | #endif |