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