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