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 : |
16 |
* Configuration time: Thu Jun 21 17:44:02 2001 |
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 |
|
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 |
|
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 |
47 |
#ifdef __attribute__ |
48 |
#undef __attribute__ |
49 |
#endif |
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 |
|
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 |
|
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 |
|
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 |
|
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 |
541 |
* guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, |
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 |
|
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 |
|
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 /**/ |
832 |
#define I_SYS_SOCKIO /**/ |
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 |
|
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 |
*/ |
938 |
#define CAN_PROTOTYPE /**/ |
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 |
|
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 counterpart, 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 |
*/ |
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 |
*/ |
1024 |
#define OSNAME "NetWare" /**/ |
1025 |
#define OSVERS "5.x" /**/ |
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 |
*/ |
1032 |
#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) |
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 |
*/ |
1051 |
#define ARCHLIB "c:\\perl\\5.18.1\\lib\\NetWare-x86-multi-thread" /**/ |
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 |
*/ |
1082 |
#define BIN "c:\\perl\\5.18.1\\bin\\NetWare-x86-multi-thread" /**/ |
1083 |
#define BIN_EXP "c:\\perl\\5.18.1\\bin\\NetWare-x86-multi-thread" /**/ |
1084 |
|
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 |
*/ |
1101 |
#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) |
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 |
1149 |
# include "Bletch: How does this C preprocessor concatenate tokens?" |
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 |
1251 |
* extern double drand48(void); |
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 |
*/ |
1374 |
#define HAS_GETCWD /**/ |
1375 |
|
1376 |
/* HAS_GETESPWNAM: |
1377 |
* This symbol, if defined, indicates that the getespwnam system call is |
1378 |
* available to retrieve enhanced (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 |
1582 |
* the GNU C library is being used. A better check is to use |
1583 |
* the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. |
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 |
|
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 |
|
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 exclusively 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 |
*/ |
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 |
*/ |
1757 |
/*#define HAS_MODFL /**/ |
1758 |
/*#define HAS_MODFL_POW32_BUG /**/ |
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 |
|
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 |
|
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 |
1865 |
* extern void* sbrk(int); |
1866 |
* extern void* sbrk(size_t); |
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 |
|
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 |
|
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_STATIC_INLINE: |
2012 |
* This symbol, if defined, indicates that the C compiler supports |
2013 |
* C99-style static inline. That is, the function can't be called |
2014 |
* from another translation unit. |
2015 |
*/ |
2016 |
/* PERL_STATIC_INLINE: |
2017 |
* This symbol gives the best-guess incantation to use for static |
2018 |
* inline functions. If HAS_STATIC_INLINE is defined, this will |
2019 |
* give C99-style inline. If HAS_STATIC_INLINE is not defined, |
2020 |
* this will give a plain 'static'. It will always be defined |
2021 |
* to something that gives static linkage. |
2022 |
* Possibilities include |
2023 |
* static inline (c99) |
2024 |
* static __inline__ (gcc -ansi) |
2025 |
* static __inline (MSVC) |
2026 |
* static _inline (older MSVC) |
2027 |
* static (c89 compilers) |
2028 |
*/ |
2029 |
/*#define HAS_STATIC_INLINE / **/ |
2030 |
#define PERL_STATIC_INLINE static /**/ |
2031 |
|
2032 |
/* HAS_SOCKET: |
2033 |
* This symbol, if defined, indicates that the BSD socket interface is |
2034 |
* supported. |
2035 |
*/ |
2036 |
/* HAS_SOCKETPAIR: |
2037 |
* This symbol, if defined, indicates that the BSD socketpair() call is |
2038 |
* supported. |
2039 |
*/ |
2040 |
/* HAS_MSG_CTRUNC: |
2041 |
* This symbol, if defined, indicates that the MSG_CTRUNC is supported. |
2042 |
* Checking just with #ifdef might not be enough because this symbol |
2043 |
* has been known to be an enum. |
2044 |
*/ |
2045 |
/* HAS_MSG_DONTROUTE: |
2046 |
* This symbol, if defined, indicates that the MSG_DONTROUTE is supported. |
2047 |
* Checking just with #ifdef might not be enough because this symbol |
2048 |
* has been known to be an enum. |
2049 |
*/ |
2050 |
/* HAS_MSG_OOB: |
2051 |
* This symbol, if defined, indicates that the MSG_OOB is supported. |
2052 |
* Checking just with #ifdef might not be enough because this symbol |
2053 |
* has been known to be an enum. |
2054 |
*/ |
2055 |
/* HAS_MSG_PEEK: |
2056 |
* This symbol, if defined, indicates that the MSG_PEEK is supported. |
2057 |
* Checking just with #ifdef might not be enough because this symbol |
2058 |
* has been known to be an enum. |
2059 |
*/ |
2060 |
/* HAS_MSG_PROXY: |
2061 |
* This symbol, if defined, indicates that the MSG_PROXY is supported. |
2062 |
* Checking just with #ifdef might not be enough because this symbol |
2063 |
* has been known to be an enum. |
2064 |
*/ |
2065 |
/* HAS_SCM_RIGHTS: |
2066 |
* This symbol, if defined, indicates that the SCM_RIGHTS is supported. |
2067 |
* Checking just with #ifdef might not be enough because this symbol |
2068 |
* has been known to be an enum. |
2069 |
*/ |
2070 |
#define HAS_SOCKET /**/ |
2071 |
/*#define HAS_SOCKETPAIR /**/ |
2072 |
/*#define HAS_MSG_CTRUNC /**/ |
2073 |
/*#define HAS_MSG_DONTROUTE /**/ |
2074 |
/*#define HAS_MSG_OOB /**/ |
2075 |
/*#define HAS_MSG_PEEK /**/ |
2076 |
/*#define HAS_MSG_PROXY /**/ |
2077 |
/*#define HAS_SCM_RIGHTS /**/ |
2078 |
|
2079 |
/* HAS_SOCKS5_INIT: |
2080 |
* This symbol, if defined, indicates that the socks5_init routine is |
2081 |
* available to initialize SOCKS 5. |
2082 |
*/ |
2083 |
/*#define HAS_SOCKS5_INIT /**/ |
2084 |
|
2085 |
/* HAS_SQRTL: |
2086 |
* This symbol, if defined, indicates that the sqrtl routine is |
2087 |
* available to do long double square roots. |
2088 |
*/ |
2089 |
/*#define HAS_SQRTL /**/ |
2090 |
|
2091 |
/* USE_STAT_BLOCKS: |
2092 |
* This symbol is defined if this system has a stat structure declaring |
2093 |
* st_blksize and st_blocks. |
2094 |
*/ |
2095 |
#ifndef USE_STAT_BLOCKS |
2096 |
/*#define USE_STAT_BLOCKS /**/ |
2097 |
#endif |
2098 |
|
2099 |
/* HAS_STRUCT_STATFS_F_FLAGS: |
2100 |
* This symbol, if defined, indicates that the struct statfs |
2101 |
* does have the f_flags member containing the mount flags of |
2102 |
* the filesystem containing the file. |
2103 |
* This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), |
2104 |
* not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not |
2105 |
* have statfs() and struct statfs, they have ustat() and getmnt() |
2106 |
* with struct ustat and struct fs_data. |
2107 |
*/ |
2108 |
/*#define HAS_STRUCT_STATFS_F_FLAGS /**/ |
2109 |
|
2110 |
/* HAS_STRUCT_STATFS: |
2111 |
* This symbol, if defined, indicates that the struct statfs |
2112 |
* to do statfs() is supported. |
2113 |
*/ |
2114 |
/*#define HAS_STRUCT_STATFS /**/ |
2115 |
|
2116 |
/* HAS_FSTATVFS: |
2117 |
* This symbol, if defined, indicates that the fstatvfs routine is |
2118 |
* available to stat filesystems by file descriptors. |
2119 |
*/ |
2120 |
/*#define HAS_FSTATVFS /**/ |
2121 |
|
2122 |
/* USE_STDIO_PTR: |
2123 |
* This symbol is defined if the _ptr and _cnt fields (or similar) |
2124 |
* of the stdio FILE structure can be used to access the stdio buffer |
2125 |
* for a file handle. If this is defined, then the FILE_ptr(fp) |
2126 |
* and FILE_cnt(fp) macros will also be defined and should be used |
2127 |
* to access these fields. |
2128 |
*/ |
2129 |
/* FILE_ptr: |
2130 |
* This macro is used to access the _ptr field (or equivalent) of the |
2131 |
* FILE structure pointed to by its argument. This macro will always be |
2132 |
* defined if USE_STDIO_PTR is defined. |
2133 |
*/ |
2134 |
/* STDIO_PTR_LVALUE: |
2135 |
* This symbol is defined if the FILE_ptr macro can be used as an |
2136 |
* lvalue. |
2137 |
*/ |
2138 |
/* FILE_cnt: |
2139 |
* This macro is used to access the _cnt field (or equivalent) of the |
2140 |
* FILE structure pointed to by its argument. This macro will always be |
2141 |
* defined if USE_STDIO_PTR is defined. |
2142 |
*/ |
2143 |
/* STDIO_CNT_LVALUE: |
2144 |
* This symbol is defined if the FILE_cnt macro can be used as an |
2145 |
* lvalue. |
2146 |
*/ |
2147 |
/* STDIO_PTR_LVAL_SETS_CNT: |
2148 |
* This symbol is defined if using the FILE_ptr macro as an lvalue |
2149 |
* to increase the pointer by n has the side effect of decreasing the |
2150 |
* value of File_cnt(fp) by n. |
2151 |
*/ |
2152 |
/* STDIO_PTR_LVAL_NOCHANGE_CNT: |
2153 |
* This symbol is defined if using the FILE_ptr macro as an lvalue |
2154 |
* to increase the pointer by n leaves File_cnt(fp) unchanged. |
2155 |
*/ |
2156 |
/*#define USE_STDIO_PTR /**/ |
2157 |
#ifdef USE_STDIO_PTR |
2158 |
#define FILE_ptr(fp) ((fp)->_ptr) |
2159 |
/*#define STDIO_PTR_LVALUE /**/ |
2160 |
#define FILE_cnt(fp) ((fp)->_cnt) |
2161 |
/*#define STDIO_CNT_LVALUE /**/ |
2162 |
/*#define STDIO_PTR_LVAL_SETS_CNT /**/ |
2163 |
/*#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/ |
2164 |
#endif |
2165 |
|
2166 |
/* USE_STDIO_BASE: |
2167 |
* This symbol is defined if the _base field (or similar) of the |
2168 |
* stdio FILE structure can be used to access the stdio buffer for |
2169 |
* a file handle. If this is defined, then the FILE_base(fp) macro |
2170 |
* will also be defined and should be used to access this field. |
2171 |
* Also, the FILE_bufsiz(fp) macro will be defined and should be used |
2172 |
* to determine the number of bytes in the buffer. USE_STDIO_BASE |
2173 |
* will never be defined unless USE_STDIO_PTR is. |
2174 |
*/ |
2175 |
/* FILE_base: |
2176 |
* This macro is used to access the _base field (or equivalent) of the |
2177 |
* FILE structure pointed to by its argument. This macro will always be |
2178 |
* defined if USE_STDIO_BASE is defined. |
2179 |
*/ |
2180 |
/* FILE_bufsiz: |
2181 |
* This macro is used to determine the number of bytes in the I/O |
2182 |
* buffer pointed to by _base field (or equivalent) of the FILE |
2183 |
* structure pointed to its argument. This macro will always be defined |
2184 |
* if USE_STDIO_BASE is defined. |
2185 |
*/ |
2186 |
/*#define USE_STDIO_BASE /**/ |
2187 |
#ifdef USE_STDIO_BASE |
2188 |
#define FILE_base(fp) ((fp)->_base) |
2189 |
#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) |
2190 |
#endif |
2191 |
|
2192 |
/* HAS_STRERROR: |
2193 |
* This symbol, if defined, indicates that the strerror routine is |
2194 |
* available to translate error numbers to strings. See the writeup |
2195 |
* of Strerror() in this file before you try to define your own. |
2196 |
*/ |
2197 |
/* HAS_SYS_ERRLIST: |
2198 |
* This symbol, if defined, indicates that the sys_errlist array is |
2199 |
* available to translate error numbers to strings. The extern int |
2200 |
* sys_nerr gives the size of that table. |
2201 |
*/ |
2202 |
/* Strerror: |
2203 |
* This preprocessor symbol is defined as a macro if strerror() is |
2204 |
* not available to translate error numbers to strings but sys_errlist[] |
2205 |
* array is there. |
2206 |
*/ |
2207 |
#define HAS_STRERROR /**/ |
2208 |
#define HAS_SYS_ERRLIST /**/ |
2209 |
#define Strerror(e) strerror(e) |
2210 |
|
2211 |
/* HAS_STRTOLD: |
2212 |
* This symbol, if defined, indicates that the strtold routine is |
2213 |
* available to convert strings to long doubles. |
2214 |
*/ |
2215 |
/*#define HAS_STRTOLD /**/ |
2216 |
|
2217 |
/* HAS_STRTOLL: |
2218 |
* This symbol, if defined, indicates that the strtoll routine is |
2219 |
* available to convert strings to long longs. |
2220 |
*/ |
2221 |
/*#define HAS_STRTOLL /**/ |
2222 |
|
2223 |
/* HAS_STRTOQ: |
2224 |
* This symbol, if defined, indicates that the strtoq routine is |
2225 |
* available to convert strings to long longs (quads). |
2226 |
*/ |
2227 |
/*#define HAS_STRTOQ /**/ |
2228 |
|
2229 |
/* HAS_STRTOUL: |
2230 |
* This symbol, if defined, indicates that the strtoul routine is |
2231 |
* available to provide conversion of strings to unsigned long. |
2232 |
*/ |
2233 |
#define HAS_STRTOUL /**/ |
2234 |
|
2235 |
/* HAS_STRTOULL: |
2236 |
* This symbol, if defined, indicates that the strtoull routine is |
2237 |
* available to convert strings to unsigned long longs. |
2238 |
*/ |
2239 |
/*#define HAS_STRTOULL /**/ |
2240 |
|
2241 |
/* HAS_STRTOUQ: |
2242 |
* This symbol, if defined, indicates that the strtouq routine is |
2243 |
* available to convert strings to unsigned long longs (quads). |
2244 |
*/ |
2245 |
/*#define HAS_STRTOUQ /**/ |
2246 |
|
2247 |
/* HAS_TELLDIR_PROTO: |
2248 |
* This symbol, if defined, indicates that the system provides |
2249 |
* a prototype for the telldir() function. Otherwise, it is up |
2250 |
* to the program to supply one. A good guess is |
2251 |
* extern long telldir(DIR*); |
2252 |
*/ |
2253 |
#define HAS_TELLDIR_PROTO /**/ |
2254 |
|
2255 |
/* Time_t: |
2256 |
* This symbol holds the type returned by time(). It can be long, |
2257 |
* or time_t on BSD sites (in which case <sys/types.h> should be |
2258 |
* included). |
2259 |
*/ |
2260 |
#define Time_t time_t /* Time type */ |
2261 |
|
2262 |
/* HAS_TIMES: |
2263 |
* This symbol, if defined, indicates that the times() routine exists. |
2264 |
* Note that this became obsolete on some systems (SUNOS), which now |
2265 |
* use getrusage(). It may be necessary to include <sys/times.h>. |
2266 |
*/ |
2267 |
/*#define HAS_TIMES /**/ |
2268 |
|
2269 |
/* HAS_UALARM: |
2270 |
* This symbol, if defined, indicates that the ualarm routine is |
2271 |
* available to do alarms with microsecond granularity. |
2272 |
*/ |
2273 |
/*#define HAS_UALARM /**/ |
2274 |
|
2275 |
/* HAS_UNION_SEMUN: |
2276 |
* This symbol, if defined, indicates that the union semun is |
2277 |
* defined by including <sys/sem.h>. If not, the user code |
2278 |
* probably needs to define it as: |
2279 |
* union semun { |
2280 |
* int val; |
2281 |
* struct semid_ds *buf; |
2282 |
* unsigned short *array; |
2283 |
* } |
2284 |
*/ |
2285 |
/* USE_SEMCTL_SEMUN: |
2286 |
* This symbol, if defined, indicates that union semun is |
2287 |
* used for semctl IPC_STAT. |
2288 |
*/ |
2289 |
/* USE_SEMCTL_SEMID_DS: |
2290 |
* This symbol, if defined, indicates that struct semid_ds * is |
2291 |
* used for semctl IPC_STAT. |
2292 |
*/ |
2293 |
#define HAS_UNION_SEMUN /**/ |
2294 |
/*#define USE_SEMCTL_SEMUN /**/ |
2295 |
/*#define USE_SEMCTL_SEMID_DS /**/ |
2296 |
|
2297 |
/* HAS_USTAT: |
2298 |
* This symbol, if defined, indicates that the ustat system call is |
2299 |
* available to query file system statistics by dev_t. |
2300 |
*/ |
2301 |
/*#define HAS_USTAT /**/ |
2302 |
|
2303 |
/* HAS_VFORK: |
2304 |
* This symbol, if defined, indicates that vfork() exists. |
2305 |
*/ |
2306 |
/*#define HAS_VFORK /**/ |
2307 |
|
2308 |
/* Signal_t: |
2309 |
* This symbol's value is either "void" or "int", corresponding to the |
2310 |
* appropriate return type of a signal handler. Thus, you can declare |
2311 |
* a signal handler using "Signal_t (*handler)()", and define the |
2312 |
* handler using "Signal_t handler(sig)". |
2313 |
*/ |
2314 |
#define Signal_t void /* Signal handler's return type */ |
2315 |
|
2316 |
/* HAS_VPRINTF: |
2317 |
* This symbol, if defined, indicates that the vprintf routine is available |
2318 |
* to printf with a pointer to an argument list. If unavailable, you |
2319 |
* may need to write your own, probably in terms of _doprnt(). |
2320 |
*/ |
2321 |
/* USE_CHAR_VSPRINTF: |
2322 |
* This symbol is defined if this system has vsprintf() returning type |
2323 |
* (char*). The trend seems to be to declare it as "int vsprintf()". It |
2324 |
* is up to the package author to declare vsprintf correctly based on the |
2325 |
* symbol. |
2326 |
*/ |
2327 |
#define HAS_VPRINTF /**/ |
2328 |
/*#define USE_CHAR_VSPRINTF /**/ |
2329 |
|
2330 |
/* HAS_WRITEV: |
2331 |
* This symbol, if defined, indicates that the writev routine is |
2332 |
* available to do scatter writes. |
2333 |
*/ |
2334 |
/*#define HAS_WRITEV /**/ |
2335 |
|
2336 |
/* USE_DYNAMIC_LOADING: |
2337 |
* This symbol, if defined, indicates that dynamic loading of |
2338 |
* some sort is available. |
2339 |
*/ |
2340 |
#define USE_DYNAMIC_LOADING /**/ |
2341 |
|
2342 |
/* DOUBLESIZE: |
2343 |
* This symbol contains the size of a double, so that the C preprocessor |
2344 |
* can make decisions based on it. |
2345 |
*/ |
2346 |
#define DOUBLESIZE 8 /**/ |
2347 |
|
2348 |
/* EBCDIC: |
2349 |
* This symbol, if defined, indicates that this system uses |
2350 |
* EBCDIC encoding. |
2351 |
*/ |
2352 |
/*#define EBCDIC /**/ |
2353 |
|
2354 |
/* FFLUSH_NULL: |
2355 |
* This symbol, if defined, tells that fflush(NULL) does flush |
2356 |
* all pending stdio output. |
2357 |
*/ |
2358 |
/* FFLUSH_ALL: |
2359 |
* This symbol, if defined, tells that to flush |
2360 |
* all pending stdio output one must loop through all |
2361 |
* the stdio file handles stored in an array and fflush them. |
2362 |
* Note that if fflushNULL is defined, fflushall will not |
2363 |
* even be probed for and will be left undefined. |
2364 |
*/ |
2365 |
#define FFLUSH_NULL /**/ |
2366 |
/*#define FFLUSH_ALL /**/ |
2367 |
|
2368 |
/* Fpos_t: |
2369 |
* This symbol holds the type used to declare file positions in libc. |
2370 |
* It can be fpos_t, long, uint, etc... It may be necessary to include |
2371 |
* <sys/types.h> to get any typedef'ed information. |
2372 |
*/ |
2373 |
#define Fpos_t fpos_t /* File position type */ |
2374 |
|
2375 |
/* Gid_t_f: |
2376 |
* This symbol defines the format string used for printing a Gid_t. |
2377 |
*/ |
2378 |
#define Gid_t_f "ld" /**/ |
2379 |
|
2380 |
/* Gid_t_sign: |
2381 |
* This symbol holds the signedess of a Gid_t. |
2382 |
* 1 for unsigned, -1 for signed. |
2383 |
*/ |
2384 |
#define Gid_t_sign -1 /* GID sign */ |
2385 |
|
2386 |
/* Gid_t_size: |
2387 |
* This symbol holds the size of a Gid_t in bytes. |
2388 |
*/ |
2389 |
#define Gid_t_size 4 /* GID size */ |
2390 |
|
2391 |
/* Gid_t: |
2392 |
* This symbol holds the return type of getgid() and the type of |
2393 |
* argument to setrgid() and related functions. Typically, |
2394 |
* it is the type of group ids in the kernel. It can be int, ushort, |
2395 |
* gid_t, etc... It may be necessary to include <sys/types.h> to get |
2396 |
* any typedef'ed information. |
2397 |
*/ |
2398 |
#define Gid_t gid_t /* Type for getgid(), etc... */ |
2399 |
|
2400 |
/* Groups_t: |
2401 |
* This symbol holds the type used for the second argument to |
2402 |
* getgroups() and setgroups(). Usually, this is the same as |
2403 |
* gidtype (gid_t) , but sometimes it isn't. |
2404 |
* It can be int, ushort, gid_t, etc... |
2405 |
* It may be necessary to include <sys/types.h> to get any |
2406 |
* typedef'ed information. This is only required if you have |
2407 |
* getgroups() or setgroups().. |
2408 |
*/ |
2409 |
#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) |
2410 |
#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ |
2411 |
#endif |
2412 |
|
2413 |
/* DB_Prefix_t: |
2414 |
* This symbol contains the type of the prefix structure element |
2415 |
* in the <db.h> header file. In older versions of DB, it was |
2416 |
* int, while in newer ones it is u_int32_t. |
2417 |
*/ |
2418 |
/* DB_Hash_t: |
2419 |
* This symbol contains the type of the prefix structure element |
2420 |
* in the <db.h> header file. In older versions of DB, it was |
2421 |
* int, while in newer ones it is size_t. |
2422 |
*/ |
2423 |
/* DB_VERSION_MAJOR_CFG: |
2424 |
* This symbol, if defined, defines the major version number of |
2425 |
* Berkeley DB found in the <db.h> header when Perl was configured. |
2426 |
*/ |
2427 |
/* DB_VERSION_MINOR_CFG: |
2428 |
* This symbol, if defined, defines the minor version number of |
2429 |
* Berkeley DB found in the <db.h> header when Perl was configured. |
2430 |
* For DB version 1 this is always 0. |
2431 |
*/ |
2432 |
/* DB_VERSION_PATCH_CFG: |
2433 |
* This symbol, if defined, defines the patch version number of |
2434 |
* Berkeley DB found in the <db.h> header when Perl was configured. |
2435 |
* For DB version 1 this is always 0. |
2436 |
*/ |
2437 |
#define DB_Hash_t int /**/ |
2438 |
#define DB_Prefix_t int /**/ |
2439 |
#define DB_VERSION_MAJOR_CFG undef /**/ |
2440 |
#define DB_VERSION_MINOR_CFG undef /**/ |
2441 |
#define DB_VERSION_PATCH_CFG undef /**/ |
2442 |
|
2443 |
/* I_GRP: |
2444 |
* This symbol, if defined, indicates to the C program that it should |
2445 |
* include <grp.h>. |
2446 |
*/ |
2447 |
/* GRPASSWD: |
2448 |
* This symbol, if defined, indicates to the C program that struct group |
2449 |
* in <grp.h> contains gr_passwd. |
2450 |
*/ |
2451 |
/*#define I_GRP /**/ |
2452 |
/*#define GRPASSWD /**/ |
2453 |
|
2454 |
/* I_IEEEFP: |
2455 |
* This symbol, if defined, indicates that <ieeefp.h> exists and |
2456 |
* should be included. |
2457 |
*/ |
2458 |
/*#define I_IEEEFP /**/ |
2459 |
|
2460 |
/* I_INTTYPES: |
2461 |
* This symbol, if defined, indicates to the C program that it should |
2462 |
* include <inttypes.h>. |
2463 |
*/ |
2464 |
/*#define I_INTTYPES /**/ |
2465 |
|
2466 |
/* I_LIBUTIL: |
2467 |
* This symbol, if defined, indicates that <libutil.h> exists and |
2468 |
* should be included. |
2469 |
*/ |
2470 |
/*#define I_LIBUTIL /**/ |
2471 |
|
2472 |
/* I_MACH_CTHREADS: |
2473 |
* This symbol, if defined, indicates to the C program that it should |
2474 |
* include <mach/cthreads.h>. |
2475 |
*/ |
2476 |
/*#define I_MACH_CTHREADS /**/ |
2477 |
|
2478 |
/* I_MNTENT: |
2479 |
* This symbol, if defined, indicates that <mntent.h> exists and |
2480 |
* should be included. |
2481 |
*/ |
2482 |
/*#define I_MNTENT /**/ |
2483 |
|
2484 |
/* I_NETDB: |
2485 |
* This symbol, if defined, indicates that <netdb.h> exists and |
2486 |
* should be included. |
2487 |
*/ |
2488 |
#define I_NETDB /**/ |
2489 |
|
2490 |
/* I_NETINET_TCP: |
2491 |
* This symbol, if defined, indicates to the C program that it should |
2492 |
* include <netinet/tcp.h>. |
2493 |
*/ |
2494 |
/*#define I_NETINET_TCP /**/ |
2495 |
|
2496 |
/* I_POLL: |
2497 |
* This symbol, if defined, indicates that <poll.h> exists and |
2498 |
* should be included. |
2499 |
*/ |
2500 |
/*#define I_POLL /**/ |
2501 |
|
2502 |
/* I_PROT: |
2503 |
* This symbol, if defined, indicates that <prot.h> exists and |
2504 |
* should be included. |
2505 |
*/ |
2506 |
/*#define I_PROT /**/ |
2507 |
|
2508 |
/* I_PTHREAD: |
2509 |
* This symbol, if defined, indicates to the C program that it should |
2510 |
* include <pthread.h>. |
2511 |
*/ |
2512 |
/*#define I_PTHREAD /**/ |
2513 |
|
2514 |
/* I_PWD: |
2515 |
* This symbol, if defined, indicates to the C program that it should |
2516 |
* include <pwd.h>. |
2517 |
*/ |
2518 |
/* PWQUOTA: |
2519 |
* This symbol, if defined, indicates to the C program that struct passwd |
2520 |
* contains pw_quota. |
2521 |
*/ |
2522 |
/* PWAGE: |
2523 |
* This symbol, if defined, indicates to the C program that struct passwd |
2524 |
* contains pw_age. |
2525 |
*/ |
2526 |
/* PWCHANGE: |
2527 |
* This symbol, if defined, indicates to the C program that struct passwd |
2528 |
* contains pw_change. |
2529 |
*/ |
2530 |
/* PWCLASS: |
2531 |
* This symbol, if defined, indicates to the C program that struct passwd |
2532 |
* contains pw_class. |
2533 |
*/ |
2534 |
/* PWEXPIRE: |
2535 |
* This symbol, if defined, indicates to the C program that struct passwd |
2536 |
* contains pw_expire. |
2537 |
*/ |
2538 |
/* PWCOMMENT: |
2539 |
* This symbol, if defined, indicates to the C program that struct passwd |
2540 |
* contains pw_comment. |
2541 |
*/ |
2542 |
/* PWGECOS: |
2543 |
* This symbol, if defined, indicates to the C program that struct passwd |
2544 |
* contains pw_gecos. |
2545 |
*/ |
2546 |
/* PWPASSWD: |
2547 |
* This symbol, if defined, indicates to the C program that struct passwd |
2548 |
* contains pw_passwd. |
2549 |
*/ |
2550 |
/*#define I_PWD /**/ |
2551 |
/*#define PWQUOTA /**/ |
2552 |
/*#define PWAGE /**/ |
2553 |
/*#define PWCHANGE /**/ |
2554 |
/*#define PWCLASS /**/ |
2555 |
/*#define PWEXPIRE /**/ |
2556 |
/*#define PWCOMMENT /**/ |
2557 |
/*#define PWGECOS /**/ |
2558 |
/*#define PWPASSWD /**/ |
2559 |
|
2560 |
/* I_SHADOW: |
2561 |
* This symbol, if defined, indicates that <shadow.h> exists and |
2562 |
* should be included. |
2563 |
*/ |
2564 |
/*#define I_SHADOW /**/ |
2565 |
|
2566 |
/* I_SOCKS: |
2567 |
* This symbol, if defined, indicates that <socks.h> exists and |
2568 |
* should be included. |
2569 |
*/ |
2570 |
/*#define I_SOCKS /**/ |
2571 |
|
2572 |
/* I_SUNMATH: |
2573 |
* This symbol, if defined, indicates that <sunmath.h> exists and |
2574 |
* should be included. |
2575 |
*/ |
2576 |
/*#define I_SUNMATH /**/ |
2577 |
|
2578 |
/* I_SYSLOG: |
2579 |
* This symbol, if defined, indicates that <syslog.h> exists and |
2580 |
* should be included. |
2581 |
*/ |
2582 |
/*#define I_SYSLOG /**/ |
2583 |
|
2584 |
/* I_SYSMODE: |
2585 |
* This symbol, if defined, indicates that <sys/mode.h> exists and |
2586 |
* should be included. |
2587 |
*/ |
2588 |
/*#define I_SYSMODE /**/ |
2589 |
|
2590 |
/* I_SYS_MOUNT: |
2591 |
* This symbol, if defined, indicates that <sys/mount.h> exists and |
2592 |
* should be included. |
2593 |
*/ |
2594 |
/*#define I_SYS_MOUNT /**/ |
2595 |
|
2596 |
/* I_SYS_STATFS: |
2597 |
* This symbol, if defined, indicates that <sys/statfs.h> exists. |
2598 |
*/ |
2599 |
/*#define I_SYS_STATFS /**/ |
2600 |
|
2601 |
/* I_SYS_STATVFS: |
2602 |
* This symbol, if defined, indicates that <sys/statvfs.h> exists and |
2603 |
* should be included. |
2604 |
*/ |
2605 |
/*#define I_SYS_STATVFS /**/ |
2606 |
|
2607 |
/* I_SYSUIO: |
2608 |
* This symbol, if defined, indicates that <sys/uio.h> exists and |
2609 |
* should be included. |
2610 |
*/ |
2611 |
/*#define I_SYSUIO /**/ |
2612 |
|
2613 |
/* I_SYSUTSNAME: |
2614 |
* This symbol, if defined, indicates that <sys/utsname.h> exists and |
2615 |
* should be included. |
2616 |
*/ |
2617 |
#define I_SYSUTSNAME /**/ |
2618 |
|
2619 |
/* I_SYS_VFS: |
2620 |
* This symbol, if defined, indicates that <sys/vfs.h> exists and |
2621 |
* should be included. |
2622 |
*/ |
2623 |
/*#define I_SYS_VFS /**/ |
2624 |
|
2625 |
/* I_TIME: |
2626 |
* This symbol, if defined, indicates to the C program that it should |
2627 |
* include <time.h>. |
2628 |
*/ |
2629 |
/* I_SYS_TIME: |
2630 |
* This symbol, if defined, indicates to the C program that it should |
2631 |
* include <sys/time.h>. |
2632 |
*/ |
2633 |
/* I_SYS_TIME_KERNEL: |
2634 |
* This symbol, if defined, indicates to the C program that it should |
2635 |
* include <sys/time.h> with KERNEL defined. |
2636 |
*/ |
2637 |
#define I_TIME /**/ |
2638 |
/*#define I_SYS_TIME /**/ |
2639 |
/*#define I_SYS_TIME_KERNEL /**/ |
2640 |
|
2641 |
/* I_USTAT: |
2642 |
* This symbol, if defined, indicates that <ustat.h> exists and |
2643 |
* should be included. |
2644 |
*/ |
2645 |
/*#define I_USTAT /**/ |
2646 |
|
2647 |
/* PERL_INC_VERSION_LIST: |
2648 |
* This variable specifies the list of subdirectories in over |
2649 |
* which perl.c:incpush() and lib/lib.pm will automatically |
2650 |
* search when adding directories to @INC, in a format suitable |
2651 |
* for a C initialization string. See the inc_version_list entry |
2652 |
* in Porting/Glossary for more details. |
2653 |
*/ |
2654 |
#define PERL_INC_VERSION_LIST 0 /**/ |
2655 |
|
2656 |
/* INSTALL_USR_BIN_PERL: |
2657 |
* This symbol, if defined, indicates that Perl is to be installed |
2658 |
* also as /usr/bin/perl. |
2659 |
*/ |
2660 |
/*#define INSTALL_USR_BIN_PERL /**/ |
2661 |
|
2662 |
/* PERL_PRIfldbl: |
2663 |
* This symbol, if defined, contains the string used by stdio to |
2664 |
* format long doubles (format 'f') for output. |
2665 |
*/ |
2666 |
/* PERL_PRIgldbl: |
2667 |
* This symbol, if defined, contains the string used by stdio to |
2668 |
* format long doubles (format 'g') for output. |
2669 |
*/ |
2670 |
/* PERL_PRIeldbl: |
2671 |
* This symbol, if defined, contains the string used by stdio to |
2672 |
* format long doubles (format 'e') for output. |
2673 |
*/ |
2674 |
/* PERL_SCNfldbl: |
2675 |
* This symbol, if defined, contains the string used by stdio to |
2676 |
* format long doubles (format 'f') for input. |
2677 |
*/ |
2678 |
/*#define PERL_PRIfldbl "f" /**/ |
2679 |
/*#define PERL_PRIgldbl "g" /**/ |
2680 |
/*#define PERL_PRIeldbl "e" /**/ |
2681 |
/*#define PERL_SCNfldbl undef /**/ |
2682 |
|
2683 |
#$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/ |
2684 |
#$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/ |
2685 |
#$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/ |
2686 |
|
2687 |
/*#$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/ |
2688 |
|
2689 |
/* Off_t: |
2690 |
* This symbol holds the type used to declare offsets in the kernel. |
2691 |
* It can be int, long, off_t, etc... It may be necessary to include |
2692 |
* <sys/types.h> to get any typedef'ed information. |
2693 |
*/ |
2694 |
/* LSEEKSIZE: |
2695 |
* This symbol holds the number of bytes used by the Off_t. |
2696 |
*/ |
2697 |
/* Off_t_size: |
2698 |
* This symbol holds the number of bytes used by the Off_t. |
2699 |
*/ |
2700 |
#define Off_t off_t /* <offset> type */ |
2701 |
#define LSEEKSIZE 4 /* <offset> size */ |
2702 |
#define Off_t_size 4 /* <offset> size */ |
2703 |
|
2704 |
/* Free_t: |
2705 |
* This variable contains the return type of free(). It is usually |
2706 |
* void, but occasionally int. |
2707 |
*/ |
2708 |
/* Malloc_t: |
2709 |
* This symbol is the type of pointer returned by malloc and realloc. |
2710 |
*/ |
2711 |
#define Malloc_t void * /**/ |
2712 |
#define Free_t void /**/ |
2713 |
|
2714 |
/* MYMALLOC: |
2715 |
* This symbol, if defined, indicates that we're using our own malloc. |
2716 |
*/ |
2717 |
/*#define MYMALLOC /**/ |
2718 |
|
2719 |
/* Mode_t: |
2720 |
* This symbol holds the type used to declare file modes |
2721 |
* for systems calls. It is usually mode_t, but may be |
2722 |
* int or unsigned short. It may be necessary to include <sys/types.h> |
2723 |
* to get any typedef'ed information. |
2724 |
*/ |
2725 |
#define Mode_t mode_t /* file mode parameter for system calls */ |
2726 |
|
2727 |
/* VAL_O_NONBLOCK: |
2728 |
* This symbol is to be used during open() or fcntl(F_SETFL) to turn on |
2729 |
* non-blocking I/O for the file descriptor. Note that there is no way |
2730 |
* back, i.e. you cannot turn it blocking again this way. If you wish to |
2731 |
* alternatively switch between blocking and non-blocking, use the |
2732 |
* ioctl(FIOSNBIO) call instead, but that is not supported by all devices. |
2733 |
*/ |
2734 |
/* VAL_EAGAIN: |
2735 |
* This symbol holds the errno error code set by read() when no data was |
2736 |
* present on the non-blocking file descriptor. |
2737 |
*/ |
2738 |
/* RD_NODATA: |
2739 |
* This symbol holds the return code from read() when no data is present |
2740 |
* on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is |
2741 |
* not defined, then you can't distinguish between no data and EOF by |
2742 |
* issuing a read(). You'll have to find another way to tell for sure! |
2743 |
*/ |
2744 |
/* EOF_NONBLOCK: |
2745 |
* This symbol, if defined, indicates to the C program that a read() on |
2746 |
* a non-blocking file descriptor will return 0 on EOF, and not the value |
2747 |
* held in RD_NODATA (-1 usually, in that case!). |
2748 |
*/ |
2749 |
#define VAL_O_NONBLOCK O_NONBLOCK |
2750 |
#define VAL_EAGAIN EAGAIN |
2751 |
#define RD_NODATA -1 |
2752 |
#define EOF_NONBLOCK |
2753 |
|
2754 |
/* NEED_VA_COPY: |
2755 |
* This symbol, if defined, indicates that the system stores |
2756 |
* the variable argument list datatype, va_list, in a format |
2757 |
* that cannot be copied by simple assignment, so that some |
2758 |
* other means must be used when copying is required. |
2759 |
* As such systems vary in their provision (or non-provision) |
2760 |
* of copying mechanisms, handy.h defines a platform- |
2761 |
* independent macro, Perl_va_copy(src, dst), to do the job. |
2762 |
*/ |
2763 |
/*#define NEED_VA_COPY /**/ |
2764 |
|
2765 |
/* Netdb_host_t: |
2766 |
* This symbol holds the type used for the 1st argument |
2767 |
* to gethostbyaddr(). |
2768 |
*/ |
2769 |
/* Netdb_hlen_t: |
2770 |
* This symbol holds the type used for the 2nd argument |
2771 |
* to gethostbyaddr(). |
2772 |
*/ |
2773 |
/* Netdb_name_t: |
2774 |
* This symbol holds the type used for the argument to |
2775 |
* gethostbyname(). |
2776 |
*/ |
2777 |
/* Netdb_net_t: |
2778 |
* This symbol holds the type used for the 1st argument to |
2779 |
* getnetbyaddr(). |
2780 |
*/ |
2781 |
#define Netdb_host_t char * /**/ |
2782 |
#define Netdb_hlen_t int /**/ |
2783 |
#define Netdb_name_t char * /**/ |
2784 |
#define Netdb_net_t long /**/ |
2785 |
|
2786 |
/* PERL_OTHERLIBDIRS: |
2787 |
* This variable contains a colon-separated set of paths for the perl |
2788 |
* binary to search for additional library files or modules. |
2789 |
* These directories will be tacked to the end of @INC. |
2790 |
* Perl will automatically search below each path for version- |
2791 |
* and architecture-specific directories. See PERL_INC_VERSION_LIST |
2792 |
* for more details. |
2793 |
*/ |
2794 |
/*#define PERL_OTHERLIBDIRS "undef" /**/ |
2795 |
|
2796 |
/* IVTYPE: |
2797 |
* This symbol defines the C type used for Perl's IV. |
2798 |
*/ |
2799 |
/* UVTYPE: |
2800 |
* This symbol defines the C type used for Perl's UV. |
2801 |
*/ |
2802 |
/* I8TYPE: |
2803 |
* This symbol defines the C type used for Perl's I8. |
2804 |
*/ |
2805 |
/* U8TYPE: |
2806 |
* This symbol defines the C type used for Perl's U8. |
2807 |
*/ |
2808 |
/* I16TYPE: |
2809 |
* This symbol defines the C type used for Perl's I16. |
2810 |
*/ |
2811 |
/* U16TYPE: |
2812 |
* This symbol defines the C type used for Perl's U16. |
2813 |
*/ |
2814 |
/* I32TYPE: |
2815 |
* This symbol defines the C type used for Perl's I32. |
2816 |
*/ |
2817 |
/* U32TYPE: |
2818 |
* This symbol defines the C type used for Perl's U32. |
2819 |
*/ |
2820 |
/* I64TYPE: |
2821 |
* This symbol defines the C type used for Perl's I64. |
2822 |
*/ |
2823 |
/* U64TYPE: |
2824 |
* This symbol defines the C type used for Perl's U64. |
2825 |
*/ |
2826 |
/* NVTYPE: |
2827 |
* This symbol defines the C type used for Perl's NV. |
2828 |
*/ |
2829 |
/* IVSIZE: |
2830 |
* This symbol contains the sizeof(IV). |
2831 |
*/ |
2832 |
/* UVSIZE: |
2833 |
* This symbol contains the sizeof(UV). |
2834 |
*/ |
2835 |
/* I8SIZE: |
2836 |
* This symbol contains the sizeof(I8). |
2837 |
*/ |
2838 |
/* U8SIZE: |
2839 |
* This symbol contains the sizeof(U8). |
2840 |
*/ |
2841 |
/* I16SIZE: |
2842 |
* This symbol contains the sizeof(I16). |
2843 |
*/ |
2844 |
/* U16SIZE: |
2845 |
* This symbol contains the sizeof(U16). |
2846 |
*/ |
2847 |
/* I32SIZE: |
2848 |
* This symbol contains the sizeof(I32). |
2849 |
*/ |
2850 |
/* U32SIZE: |
2851 |
* This symbol contains the sizeof(U32). |
2852 |
*/ |
2853 |
/* I64SIZE: |
2854 |
* This symbol contains the sizeof(I64). |
2855 |
*/ |
2856 |
/* U64SIZE: |
2857 |
* This symbol contains the sizeof(U64). |
2858 |
*/ |
2859 |
/* NVSIZE: |
2860 |
* This symbol contains the sizeof(NV). |
2861 |
*/ |
2862 |
/* NV_PRESERVES_UV: |
2863 |
* This symbol, if defined, indicates that a variable of type NVTYPE |
2864 |
* can preserve all the bits of a variable of type UVTYPE. |
2865 |
*/ |
2866 |
/* NV_PRESERVES_UV_BITS: |
2867 |
* This symbol contains the number of bits a variable of type NVTYPE |
2868 |
* can preserve of a variable of type UVTYPE. |
2869 |
*/ |
2870 |
/* NV_ZERO_IS_ALLBITS_ZERO: |
2871 |
* This symbol, if defined, indicates that a variable of type NVTYPE |
2872 |
* stores 0.0 in memory as all bits zero. |
2873 |
*/ |
2874 |
#define IVTYPE long /**/ |
2875 |
#define UVTYPE unsigned long /**/ |
2876 |
#define I8TYPE char /**/ |
2877 |
#define U8TYPE unsigned char /**/ |
2878 |
#define I16TYPE short /**/ |
2879 |
#define U16TYPE unsigned short /**/ |
2880 |
#define I32TYPE long /**/ |
2881 |
#define U32TYPE unsigned long /**/ |
2882 |
#ifdef HAS_QUAD |
2883 |
#define I64TYPE __int64 /**/ |
2884 |
#define U64TYPE unsigned __int64 /**/ |
2885 |
#endif |
2886 |
#define NVTYPE double /**/ |
2887 |
#define IVSIZE 4 /**/ |
2888 |
#define UVSIZE 4 /**/ |
2889 |
#define I8SIZE 1 /**/ |
2890 |
#define U8SIZE 1 /**/ |
2891 |
#define I16SIZE 2 /**/ |
2892 |
#define U16SIZE 2 /**/ |
2893 |
#define I32SIZE 4 /**/ |
2894 |
#define U32SIZE 4 /**/ |
2895 |
#ifdef HAS_QUAD |
2896 |
#define I64SIZE 8 /**/ |
2897 |
#define U64SIZE 8 /**/ |
2898 |
#endif |
2899 |
#define NVSIZE 8 /**/ |
2900 |
#define NV_PRESERVES_UV |
2901 |
#define NV_PRESERVES_UV_BITS undef |
2902 |
#undef NV_ZERO_IS_ALLBITS_ZERO |
2903 |
|
2904 |
/* IVdf: |
2905 |
* This symbol defines the format string used for printing a Perl IV |
2906 |
* as a signed decimal integer. |
2907 |
*/ |
2908 |
/* UVuf: |
2909 |
* This symbol defines the format string used for printing a Perl UV |
2910 |
* as an unsigned decimal integer. |
2911 |
*/ |
2912 |
/* UVof: |
2913 |
* This symbol defines the format string used for printing a Perl UV |
2914 |
* as an unsigned octal integer. |
2915 |
*/ |
2916 |
/* UVxf: |
2917 |
* This symbol defines the format string used for printing a Perl UV |
2918 |
* as an unsigned hexadecimal integer in lowercase abcdef. |
2919 |
*/ |
2920 |
/* UVXf: |
2921 |
* This symbol defines the format string used for printing a Perl UV |
2922 |
* as an unsigned hexadecimal integer in uppercase ABCDEF. |
2923 |
*/ |
2924 |
/* NVef: |
2925 |
* This symbol defines the format string used for printing a Perl NV |
2926 |
* using %e-ish floating point format. |
2927 |
*/ |
2928 |
/* NVff: |
2929 |
* This symbol defines the format string used for printing a Perl NV |
2930 |
* using %f-ish floating point format. |
2931 |
*/ |
2932 |
/* NVgf: |
2933 |
* This symbol defines the format string used for printing a Perl NV |
2934 |
* using %g-ish floating point format. |
2935 |
*/ |
2936 |
#define IVdf "ld" /**/ |
2937 |
#define UVuf "lu" /**/ |
2938 |
#define UVof "lo" /**/ |
2939 |
#define UVxf "lx" /**/ |
2940 |
#define UVXf "lX" /**/ |
2941 |
#define NVef "e" /**/ |
2942 |
#define NVff "f" /**/ |
2943 |
#define NVgf "g" /**/ |
2944 |
|
2945 |
/* Pid_t: |
2946 |
* This symbol holds the type used to declare process ids in the kernel. |
2947 |
* It can be int, uint, pid_t, etc... It may be necessary to include |
2948 |
* <sys/types.h> to get any typedef'ed information. |
2949 |
*/ |
2950 |
#define Pid_t int /* PID type */ |
2951 |
|
2952 |
/* PRIVLIB: |
2953 |
* This symbol contains the name of the private library for this package. |
2954 |
* The library is private in the sense that it needn't be in anyone's |
2955 |
* execution path, but it should be accessible by the world. The program |
2956 |
* should be prepared to do ~ expansion. |
2957 |
*/ |
2958 |
/* PRIVLIB_EXP: |
2959 |
* This symbol contains the ~name expanded version of PRIVLIB, to be used |
2960 |
* in programs that are not prepared to deal with ~ expansion at run-time. |
2961 |
*/ |
2962 |
#define PRIVLIB "sys:\\perl\\lib" /**/ |
2963 |
#define PRIVLIB_EXP (fnNwGetEnvironmentStr("PRIVLIB", PRIVLIB)) /**/ |
2964 |
|
2965 |
/* PTRSIZE: |
2966 |
* This symbol contains the size of a pointer, so that the C preprocessor |
2967 |
* can make decisions based on it. It will be sizeof(void *) if |
2968 |
* the compiler supports (void *); otherwise it will be |
2969 |
* sizeof(char *). |
2970 |
*/ |
2971 |
#define PTRSIZE 4 /**/ |
2972 |
|
2973 |
/* Drand01: |
2974 |
* This macro is to be used to generate uniformly distributed |
2975 |
* random numbers over the range [0., 1.[. You may have to supply |
2976 |
* an 'extern double drand48();' in your program since SunOS 4.1.3 |
2977 |
* doesn't provide you with anything relevant in its headers. |
2978 |
* See HAS_DRAND48_PROTO. |
2979 |
*/ |
2980 |
/* Rand_seed_t: |
2981 |
* This symbol defines the type of the argument of the |
2982 |
* random seed function. |
2983 |
*/ |
2984 |
/* seedDrand01: |
2985 |
* This symbol defines the macro to be used in seeding the |
2986 |
* random number generator (see Drand01). |
2987 |
*/ |
2988 |
/* RANDBITS: |
2989 |
* This symbol indicates how many bits are produced by the |
2990 |
* function used to generate normalized random numbers. |
2991 |
* Values include 15, 16, 31, and 48. |
2992 |
*/ |
2993 |
#define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/ |
2994 |
#define Rand_seed_t unsigned /**/ |
2995 |
#define seedDrand01(x) srand((Rand_seed_t)x) /**/ |
2996 |
#define RANDBITS 15 /**/ |
2997 |
|
2998 |
/* SELECT_MIN_BITS: |
2999 |
* This symbol holds the minimum number of bits operated by select. |
3000 |
* That is, if you do select(n, ...), how many bits at least will be |
3001 |
* cleared in the masks if some activity is detected. Usually this |
3002 |
* is either n or 32*ceil(n/32), especially many little-endians do |
3003 |
* the latter. This is only useful if you have select(), naturally. |
3004 |
*/ |
3005 |
#define SELECT_MIN_BITS 32 /**/ |
3006 |
|
3007 |
/* Select_fd_set_t: |
3008 |
* This symbol holds the type used for the 2nd, 3rd, and 4th |
3009 |
* arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET |
3010 |
* is defined, and 'int *' otherwise. This is only useful if you |
3011 |
* have select(), of course. |
3012 |
*/ |
3013 |
#define Select_fd_set_t fd_set * /**/ |
3014 |
|
3015 |
/* SIG_NAME: |
3016 |
* This symbol contains a list of signal names in order of |
3017 |
* signal number. This is intended |
3018 |
* to be used as a static array initialization, like this: |
3019 |
* char *sig_name[] = { SIG_NAME }; |
3020 |
* The signals in the list are separated with commas, and each signal |
3021 |
* is surrounded by double quotes. There is no leading SIG in the signal |
3022 |
* name, i.e. SIGQUIT is known as "QUIT". |
3023 |
* Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, |
3024 |
* etc., where nn is the actual signal number (e.g. NUM37). |
3025 |
* The signal number for sig_name[i] is stored in sig_num[i]. |
3026 |
* The last element is 0 to terminate the list with a NULL. This |
3027 |
* corresponds to the 0 at the end of the sig_num list. |
3028 |
*/ |
3029 |
/* SIG_NUM: |
3030 |
* This symbol contains a list of signal numbers, in the same order as the |
3031 |
* SIG_NAME list. It is suitable for static array initialization, as in: |
3032 |
* int sig_num[] = { SIG_NUM }; |
3033 |
* The signals in the list are separated with commas, and the indices |
3034 |
* within that list and the SIG_NAME list match, so it's easy to compute |
3035 |
* the signal name from a number or vice versa at the price of a small |
3036 |
* dynamic linear lookup. |
3037 |
* Duplicates are allowed, but are moved to the end of the list. |
3038 |
* The signal number corresponding to sig_name[i] is sig_number[i]. |
3039 |
* if (i < NSIG) then sig_number[i] == i. |
3040 |
* The last element is 0, corresponding to the 0 at the end of |
3041 |
* the sig_name list. |
3042 |
*/ |
3043 |
/* SIG_SIZE: |
3044 |
* This variable contains the number of elements of the SIG_NAME |
3045 |
* and SIG_NUM arrays, excluding the final NULL entry. |
3046 |
*/ |
3047 |
#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 /**/ |
3048 |
#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 /**/ |
3049 |
#define SIG_SIZE 27 /**/ |
3050 |
|
3051 |
/* SITEARCH: |
3052 |
* This symbol contains the name of the private library for this package. |
3053 |
* The library is private in the sense that it needn't be in anyone's |
3054 |
* execution path, but it should be accessible by the world. The program |
3055 |
* should be prepared to do ~ expansion. |
3056 |
* The standard distribution will put nothing in this directory. |
3057 |
* After perl has been installed, users may install their own local |
3058 |
* architecture-dependent modules in this directory with |
3059 |
* MakeMaker Makefile.PL |
3060 |
* or equivalent. See INSTALL for details. |
3061 |
*/ |
3062 |
/* SITEARCH_EXP: |
3063 |
* This symbol contains the ~name expanded version of SITEARCH, to be used |
3064 |
* in programs that are not prepared to deal with ~ expansion at run-time. |
3065 |
*/ |
3066 |
#define SITEARCH "c:\\perl\\site\\5.18.1\\lib\\NetWare-x86-multi-thread" /**/ |
3067 |
/*#define SITEARCH_EXP "" /**/ |
3068 |
|
3069 |
/* SITELIB: |
3070 |
* This symbol contains the name of the private library for this package. |
3071 |
* The library is private in the sense that it needn't be in anyone's |
3072 |
* execution path, but it should be accessible by the world. The program |
3073 |
* should be prepared to do ~ expansion. |
3074 |
* The standard distribution will put nothing in this directory. |
3075 |
* After perl has been installed, users may install their own local |
3076 |
* architecture-independent modules in this directory with |
3077 |
* MakeMaker Makefile.PL |
3078 |
* or equivalent. See INSTALL for details. |
3079 |
*/ |
3080 |
/* SITELIB_EXP: |
3081 |
* This symbol contains the ~name expanded version of SITELIB, to be used |
3082 |
* in programs that are not prepared to deal with ~ expansion at run-time. |
3083 |
*/ |
3084 |
/* SITELIB_STEM: |
3085 |
* This define is SITELIB_EXP with any trailing version-specific component |
3086 |
* removed. The elements in inc_version_list (inc_version_list.U) can |
3087 |
* be tacked onto this variable to generate a list of directories to search. |
3088 |
*/ |
3089 |
#define SITELIB "c:\\perl\\site\\5.18.1\\lib" /**/ |
3090 |
/*#define SITELIB_EXP "" /**/ |
3091 |
#define SITELIB_STEM "" /**/ |
3092 |
|
3093 |
/* Size_t_size: |
3094 |
* This symbol holds the size of a Size_t in bytes. |
3095 |
*/ |
3096 |
#define Size_t_size 4 /**/ |
3097 |
|
3098 |
/* Size_t: |
3099 |
* This symbol holds the type used to declare length parameters |
3100 |
* for string functions. It is usually size_t, but may be |
3101 |
* unsigned long, int, etc. It may be necessary to include |
3102 |
* <sys/types.h> to get any typedef'ed information. |
3103 |
*/ |
3104 |
#define Size_t size_t /* length parameter for string functions */ |
3105 |
|
3106 |
/* Sock_size_t: |
3107 |
* This symbol holds the type used for the size argument of |
3108 |
* various socket calls (just the base type, not the pointer-to). |
3109 |
*/ |
3110 |
#define Sock_size_t int /**/ |
3111 |
|
3112 |
/* SSize_t: |
3113 |
* This symbol holds the type used by functions that return |
3114 |
* a count of bytes or an error condition. It must be a signed type. |
3115 |
* It is usually ssize_t, but may be long or int, etc. |
3116 |
* It may be necessary to include <sys/types.h> or <unistd.h> |
3117 |
* to get any typedef'ed information. |
3118 |
* We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). |
3119 |
*/ |
3120 |
#define SSize_t int /* signed count of bytes */ |
3121 |
|
3122 |
/* STARTPERL: |
3123 |
* This variable contains the string to put in front of a perl |
3124 |
* script to make sure (one hopes) that it runs with perl and not |
3125 |
* some shell. |
3126 |
*/ |
3127 |
#define STARTPERL "#!perl" /**/ |
3128 |
|
3129 |
/* STDCHAR: |
3130 |
* This symbol is defined to be the type of char used in stdio.h. |
3131 |
* It has the values "unsigned char" or "char". |
3132 |
*/ |
3133 |
#define STDCHAR char /**/ |
3134 |
|
3135 |
/* HAS_STDIO_STREAM_ARRAY: |
3136 |
* This symbol, if defined, tells that there is an array |
3137 |
* holding the stdio streams. |
3138 |
*/ |
3139 |
/* STDIO_STREAM_ARRAY: |
3140 |
* This symbol tells the name of the array holding the stdio streams. |
3141 |
* Usual values include _iob, __iob, and __sF. |
3142 |
*/ |
3143 |
/*#define HAS_STDIO_STREAM_ARRAY /**/ |
3144 |
#define STDIO_STREAM_ARRAY |
3145 |
|
3146 |
/* Uid_t_f: |
3147 |
* This symbol defines the format string used for printing a Uid_t. |
3148 |
*/ |
3149 |
#define Uid_t_f "ld" /**/ |
3150 |
|
3151 |
/* Uid_t_sign: |
3152 |
* This symbol holds the signedess of a Uid_t. |
3153 |
* 1 for unsigned, -1 for signed. |
3154 |
*/ |
3155 |
#define Uid_t_sign -1 /* UID sign */ |
3156 |
|
3157 |
/* Uid_t_size: |
3158 |
* This symbol holds the size of a Uid_t in bytes. |
3159 |
*/ |
3160 |
#define Uid_t_size 4 /* UID size */ |
3161 |
|
3162 |
/* Uid_t: |
3163 |
* This symbol holds the type used to declare user ids in the kernel. |
3164 |
* It can be int, ushort, uid_t, etc... It may be necessary to include |
3165 |
* <sys/types.h> to get any typedef'ed information. |
3166 |
*/ |
3167 |
#define Uid_t uid_t /* UID type */ |
3168 |
|
3169 |
/* USE_64_BIT_INT: |
3170 |
* This symbol, if defined, indicates that 64-bit integers should |
3171 |
* be used when available. If not defined, the native integers |
3172 |
* will be employed (be they 32 or 64 bits). The minimal possible |
3173 |
* 64-bitness is used, just enough to get 64-bit integers into Perl. |
3174 |
* This may mean using for example "long longs", while your memory |
3175 |
* may still be limited to 2 gigabytes. |
3176 |
*/ |
3177 |
/* USE_64_BIT_ALL: |
3178 |
* This symbol, if defined, indicates that 64-bit integers should |
3179 |
* be used when available. If not defined, the native integers |
3180 |
* will be used (be they 32 or 64 bits). The maximal possible |
3181 |
* 64-bitness is employed: LP64 or ILP64, meaning that you will |
3182 |
* be able to use more than 2 gigabytes of memory. This mode is |
3183 |
* even more binary incompatible than USE_64_BIT_INT. You may not |
3184 |
* be able to run the resulting executable in a 32-bit CPU at all or |
3185 |
* you may need at least to reboot your OS to 64-bit mode. |
3186 |
*/ |
3187 |
#ifndef USE_64_BIT_INT |
3188 |
/*#define USE_64_BIT_INT /**/ |
3189 |
#endif |
3190 |
|
3191 |
#ifndef USE_64_BIT_ALL |
3192 |
/*#define USE_64_BIT_ALL /**/ |
3193 |
#endif |
3194 |
|
3195 |
/* USE_FAST_STDIO: |
3196 |
* This symbol, if defined, indicates that Perl should |
3197 |
* be built to use 'fast stdio'. |
3198 |
* Defaults to define in Perls 5.8 and earlier, to undef later. |
3199 |
*/ |
3200 |
#ifndef USE_FAST_STDIO |
3201 |
/*#define USE_FAST_STDIO / **/ |
3202 |
#endif |
3203 |
|
3204 |
/* USE_LARGE_FILES: |
3205 |
* This symbol, if defined, indicates that large file support |
3206 |
* should be used when available. |
3207 |
*/ |
3208 |
#ifndef USE_LARGE_FILES |
3209 |
/*#define USE_LARGE_FILES /**/ |
3210 |
#endif |
3211 |
|
3212 |
/* USE_LONG_DOUBLE: |
3213 |
* This symbol, if defined, indicates that long doubles should |
3214 |
* be used when available. |
3215 |
*/ |
3216 |
#ifndef USE_LONG_DOUBLE |
3217 |
/*#define USE_LONG_DOUBLE /**/ |
3218 |
#endif |
3219 |
|
3220 |
/* USE_MORE_BITS: |
3221 |
* This symbol, if defined, indicates that 64-bit interfaces and |
3222 |
* long doubles should be used when available. |
3223 |
*/ |
3224 |
#ifndef USE_MORE_BITS |
3225 |
/*#define USE_MORE_BITS /**/ |
3226 |
#endif |
3227 |
|
3228 |
/* MULTIPLICITY: |
3229 |
* This symbol, if defined, indicates that Perl should |
3230 |
* be built to use multiplicity. |
3231 |
*/ |
3232 |
#ifndef MULTIPLICITY |
3233 |
#define MULTIPLICITY /**/ |
3234 |
#endif |
3235 |
|
3236 |
/* USE_PERLIO: |
3237 |
* This symbol, if defined, indicates that the PerlIO abstraction should |
3238 |
* be used throughout. If not defined, stdio should be |
3239 |
* used in a fully backward compatible manner. |
3240 |
*/ |
3241 |
#ifndef USE_PERLIO |
3242 |
/*#define USE_PERLIO /**/ |
3243 |
#endif |
3244 |
|
3245 |
/* USE_SOCKS: |
3246 |
* This symbol, if defined, indicates that Perl should |
3247 |
* be built to use socks. |
3248 |
*/ |
3249 |
#ifndef USE_SOCKS |
3250 |
/*#define USE_SOCKS /**/ |
3251 |
#endif |
3252 |
|
3253 |
/* USE_ITHREADS: |
3254 |
* This symbol, if defined, indicates that Perl should be built to |
3255 |
* use the interpreter-based threading implementation. |
3256 |
*/ |
3257 |
/* OLD_PTHREADS_API: |
3258 |
* This symbol, if defined, indicates that Perl should |
3259 |
* be built to use the old draft POSIX threads API. |
3260 |
*/ |
3261 |
/* USE_REENTRANT_API: |
3262 |
* This symbol, if defined, indicates that Perl should |
3263 |
* try to use the various _r versions of library functions. |
3264 |
* This is extremely experimental. |
3265 |
*/ |
3266 |
#define USE_ITHREADS /**/ |
3267 |
/*#define OLD_PTHREADS_API /**/ |
3268 |
/*#define USE_REENTRANT_API /**/ |
3269 |
|
3270 |
/* PERL_VENDORARCH: |
3271 |
* If defined, this symbol contains the name of a private library. |
3272 |
* The library is private in the sense that it needn't be in anyone's |
3273 |
* execution path, but it should be accessible by the world. |
3274 |
* It may have a ~ on the front. |
3275 |
* The standard distribution will put nothing in this directory. |
3276 |
* Vendors who distribute perl may wish to place their own |
3277 |
* architecture-dependent modules and extensions in this directory with |
3278 |
* MakeMaker Makefile.PL INSTALLDIRS=vendor |
3279 |
* or equivalent. See INSTALL for details. |
3280 |
*/ |
3281 |
/* PERL_VENDORARCH_EXP: |
3282 |
* This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used |
3283 |
* in programs that are not prepared to deal with ~ expansion at run-time. |
3284 |
*/ |
3285 |
/*#define PERL_VENDORARCH "" /**/ |
3286 |
/*#define PERL_VENDORARCH_EXP "" /**/ |
3287 |
|
3288 |
/* PERL_VENDORLIB_EXP: |
3289 |
* This symbol contains the ~name expanded version of VENDORLIB, to be used |
3290 |
* in programs that are not prepared to deal with ~ expansion at run-time. |
3291 |
*/ |
3292 |
/* PERL_VENDORLIB_STEM: |
3293 |
* This define is PERL_VENDORLIB_EXP with any trailing version-specific component |
3294 |
* removed. The elements in inc_version_list (inc_version_list.U) can |
3295 |
* be tacked onto this variable to generate a list of directories to search. |
3296 |
*/ |
3297 |
/*#define PERL_VENDORLIB_EXP "" /**/ |
3298 |
/*#define PERL_VENDORLIB_STEM "" /**/ |
3299 |
|
3300 |
/* VOIDFLAGS: |
3301 |
* This symbol indicates how much support of the void type is given by this |
3302 |
* compiler. What various bits mean: |
3303 |
* |
3304 |
* 1 = supports declaration of void |
3305 |
* 2 = supports arrays of pointers to functions returning void |
3306 |
* 4 = supports comparisons between pointers to void functions and |
3307 |
* addresses of void functions |
3308 |
* 8 = supports declaration of generic void pointers |
3309 |
* |
3310 |
* The package designer should define VOIDUSED to indicate the requirements |
3311 |
* of the package. This can be done either by #defining VOIDUSED before |
3312 |
* including config.h, or by defining defvoidused in Myinit.U. If the |
3313 |
* latter approach is taken, only those flags will be tested. If the |
3314 |
* level of void support necessary is not present, defines void to int. |
3315 |
*/ |
3316 |
#ifndef VOIDUSED |
3317 |
#define VOIDUSED 15 |
3318 |
#endif |
3319 |
#define VOIDFLAGS 15 |
3320 |
#if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
3321 |
#define void int /* is void to be avoided? */ |
3322 |
#define M_VOID /* Xenix strikes again */ |
3323 |
#endif |
3324 |
|
3325 |
/* SETUID_SCRIPTS_ARE_SECURE_NOW: |
3326 |
* This symbol, if defined, indicates that the bug that prevents |
3327 |
* setuid scripts from being secure is not present in this kernel. |
3328 |
*/ |
3329 |
/* DOSUID: |
3330 |
* This symbol, if defined, indicates that the C program should |
3331 |
* check the script that it is executing for setuid/setgid bits, and |
3332 |
* attempt to emulate setuid/setgid on systems that have disabled |
3333 |
* setuid #! scripts because the kernel can't do it securely. |
3334 |
* It is up to the package designer to make sure that this emulation |
3335 |
* is done securely. Among other things, it should do an fstat on |
3336 |
* the script it just opened to make sure it really is a setuid/setgid |
3337 |
* script, it should make sure the arguments passed correspond exactly |
3338 |
* to the argument on the #! line, and it should not trust any |
3339 |
* subprocesses to which it must pass the filename rather than the |
3340 |
* file descriptor of the script to be executed. |
3341 |
*/ |
3342 |
/*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ |
3343 |
/*#define DOSUID /**/ |
3344 |
|
3345 |
/* I_STDARG: |
3346 |
* This symbol, if defined, indicates that <stdarg.h> exists and should |
3347 |
* be included. |
3348 |
*/ |
3349 |
/* I_VARARGS: |
3350 |
* This symbol, if defined, indicates to the C program that it should |
3351 |
* include <varargs.h>. |
3352 |
*/ |
3353 |
#define I_STDARG /**/ |
3354 |
/*#define I_VARARGS /**/ |
3355 |
|
3356 |
/* USE_CROSS_COMPILE: |
3357 |
* This symbol, if defined, indicates that Perl is being cross-compiled. |
3358 |
*/ |
3359 |
/* PERL_TARGETARCH: |
3360 |
* This symbol, if defined, indicates the target architecture |
3361 |
* Perl has been cross-compiled to. Undefined if not a cross-compile. |
3362 |
*/ |
3363 |
#ifndef USE_CROSS_COMPILE |
3364 |
/*#define USE_CROSS_COMPILE /**/ |
3365 |
#define PERL_TARGETARCH "undef" /**/ |
3366 |
#endif |
3367 |
|
3368 |
/* HAS_COPYSIGNL: |
3369 |
* This symbol, if defined, indicates that the copysignl routine is |
3370 |
* available. If aintl is also present we can emulate modfl. |
3371 |
*/ |
3372 |
/*#define HAS_COPYSIGNL /**/ |
3373 |
|
3374 |
/* HAS_DBMINIT_PROTO: |
3375 |
* This symbol, if defined, indicates that the system provides |
3376 |
* a prototype for the dbminit() function. Otherwise, it is up |
3377 |
* to the program to supply one. A good guess is |
3378 |
* extern int dbminit(char *); |
3379 |
*/ |
3380 |
/*#define HAS_DBMINIT_PROTO /**/ |
3381 |
|
3382 |
/* HAS_FLOCK_PROTO: |
3383 |
* This symbol, if defined, indicates that the system provides |
3384 |
* a prototype for the flock() function. Otherwise, it is up |
3385 |
* to the program to supply one. A good guess is |
3386 |
* extern int flock(int, int); |
3387 |
*/ |
3388 |
/*#define HAS_FLOCK_PROTO /**/ |
3389 |
|
3390 |
/* HAS_REALPATH: |
3391 |
* This symbol, if defined, indicates that the realpath routine is |
3392 |
* available to do resolve paths. |
3393 |
*/ |
3394 |
/*#define HAS_REALPATH /**/ |
3395 |
|
3396 |
/* HAS_SIGPROCMASK: |
3397 |
* This symbol, if defined, indicates that the sigprocmask |
3398 |
* system call is available to examine or change the signal mask |
3399 |
* of the calling process. |
3400 |
*/ |
3401 |
/*#define HAS_SIGPROCMASK /**/ |
3402 |
|
3403 |
/* HAS_SOCKATMARK: |
3404 |
* This symbol, if defined, indicates that the sockatmark routine is |
3405 |
* available to test whether a socket is at the out-of-band mark. |
3406 |
*/ |
3407 |
/*#define HAS_SOCKATMARK /**/ |
3408 |
|
3409 |
/* HAS_SOCKATMARK_PROTO: |
3410 |
* This symbol, if defined, indicates that the system provides |
3411 |
* a prototype for the sockatmark() function. Otherwise, it is up |
3412 |
* to the program to supply one. A good guess is |
3413 |
* extern int sockatmark(int); |
3414 |
*/ |
3415 |
/*#define HAS_SOCKATMARK_PROTO /**/ |
3416 |
|
3417 |
/* HAS_SETRESGID_PROTO: |
3418 |
* This symbol, if defined, indicates that the system provides |
3419 |
* a prototype for the setresgid() function. Otherwise, it is up |
3420 |
* to the program to supply one. Good guesses are |
3421 |
* extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); |
3422 |
*/ |
3423 |
/*#define HAS_SETRESGID_PROTO /**/ |
3424 |
|
3425 |
/* HAS_SETRESUID_PROTO: |
3426 |
* This symbol, if defined, indicates that the system provides |
3427 |
* a prototype for the setresuid() function. Otherwise, it is up |
3428 |
* to the program to supply one. Good guesses are |
3429 |
* extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); |
3430 |
*/ |
3431 |
/*#define HAS_SETRESUID_PROTO /**/ |
3432 |
|
3433 |
/* HAS_STRFTIME: |
3434 |
* This symbol, if defined, indicates that the strftime routine is |
3435 |
* available to do time formatting. |
3436 |
*/ |
3437 |
#define HAS_STRFTIME /**/ |
3438 |
|
3439 |
/* HAS_STRLCAT |
3440 |
* This symbol, if defined, indicates that the strlcat routine is |
3441 |
* available to do string concatenation. |
3442 |
*/ |
3443 |
/*#define HAS_STRLCAT /**/ |
3444 |
|
3445 |
/* HAS_STRLCPY: |
3446 |
* This symbol, if defined, indicates that the strlcpy routine is |
3447 |
* available to do string copying. |
3448 |
*/ |
3449 |
/*#define HAS_STRLCPY /**/ |
3450 |
|
3451 |
/* HAS_SYSCALL_PROTO: |
3452 |
* This symbol, if defined, indicates that the system provides |
3453 |
* a prototype for the syscall() function. Otherwise, it is up |
3454 |
* to the program to supply one. Good guesses are |
3455 |
* extern int syscall(int, ...); |
3456 |
* extern int syscall(long, ...); |
3457 |
*/ |
3458 |
/*#define HAS_SYSCALL_PROTO /**/ |
3459 |
|
3460 |
/* U32_ALIGNMENT_REQUIRED: |
3461 |
* This symbol, if defined, indicates that you must access |
3462 |
* character data through U32-aligned pointers. |
3463 |
*/ |
3464 |
/*#define U32_ALIGNMENT_REQUIRED /**/ |
3465 |
|
3466 |
/* HAS_USLEEP_PROTO: |
3467 |
* This symbol, if defined, indicates that the system provides |
3468 |
* a prototype for the usleep() function. Otherwise, it is up |
3469 |
* to the program to supply one. A good guess is |
3470 |
* extern int usleep(useconds_t); |
3471 |
*/ |
3472 |
/*#define HAS_USLEEP_PROTO /**/ |
3473 |
|
3474 |
/* HAS_PTHREAD_ATFORK: |
3475 |
* This symbol, if defined, indicates that the pthread_atfork routine |
3476 |
* is available to setup fork handlers. |
3477 |
*/ |
3478 |
/*#define HAS_PTHREAD_ATFORK /**/ |
3479 |
|
3480 |
#endif |