Commit | Line | Data |
a835ef8a |
1 | /* |
2 | * This file was produced by running the config_h.SH script, which |
3 | * gets its values from config.sh, which is generally produced by |
4 | * running Configure. |
5 | * |
6 | * Feel free to modify any of this as the need arises. Note, however, |
7 | * that running config_h.SH again will wipe out any changes you've made. |
8 | * For a more permanent change edit config.sh and rerun config_h.SH. |
9 | * |
924b3ec4 |
10 | * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ |
a835ef8a |
11 | */ |
12 | |
924b3ec4 |
13 | /* |
14 | * Package name : perl5 |
07ba5892 |
15 | * Source directory : |
924b3ec4 |
16 | * Configuration time: undef |
17 | * Configured by : gsar |
18 | * Target system : |
a835ef8a |
19 | */ |
20 | |
21 | #ifndef _config_h_ |
22 | #define _config_h_ |
23 | |
924b3ec4 |
24 | /* LOC_SED: |
25 | * This symbol holds the complete pathname to the sed program. |
a835ef8a |
26 | */ |
924b3ec4 |
27 | #define LOC_SED "" /**/ |
a835ef8a |
28 | |
29 | /* BIN: |
30 | * This symbol holds the path of the bin directory where the package will |
31 | * be installed. Program must be prepared to deal with ~name substitution. |
32 | */ |
33 | /* BIN_EXP: |
34 | * This symbol is the filename expanded version of the BIN symbol, for |
35 | * programs that do not want to deal with that at run-time. |
36 | */ |
193fb0af |
37 | #define BIN "c:\\perl\\5.00467\\bin\\MSWin32-x86" /**/ |
38 | #define BIN_EXP "c:\\perl\\5.00467\\bin\\MSWin32-x86" /**/ |
a835ef8a |
39 | |
40 | /* CPPSTDIN: |
41 | * This symbol contains the first part of the string which will invoke |
42 | * the C preprocessor on the standard input and produce to standard |
43 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also |
44 | * call a wrapper. See CPPRUN. |
45 | */ |
46 | /* CPPMINUS: |
47 | * This symbol contains the second part of the string which will invoke |
48 | * the C preprocessor on the standard input and produce to standard |
49 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus |
50 | * to specify standard input, otherwise the value is "". |
51 | */ |
924b3ec4 |
52 | #define CPPSTDIN "gcc -E" |
53 | #define CPPMINUS "-" |
a835ef8a |
54 | |
55 | /* HAS_ALARM: |
56 | * This symbol, if defined, indicates that the alarm routine is |
57 | * available. |
58 | */ |
59 | /*#define HAS_ALARM /**/ |
60 | |
61 | /* HASATTRIBUTE: |
62 | * This symbol indicates the C compiler can check for function attributes, |
63 | * such as printf formats. This is normally only supported by GNU cc. |
64 | */ |
65 | #define HASATTRIBUTE /**/ |
66 | #ifndef HASATTRIBUTE |
67 | #define __attribute__(_arg_) |
68 | #endif |
69 | |
70 | /* HAS_BCMP: |
71 | * This symbol is defined if the bcmp() routine is available to |
72 | * compare blocks of memory. |
73 | */ |
74 | /*#define HAS_BCMP /**/ |
75 | |
76 | /* HAS_BCOPY: |
77 | * This symbol is defined if the bcopy() routine is available to |
78 | * copy blocks of memory. |
79 | */ |
80 | /*#define HAS_BCOPY /**/ |
81 | |
82 | /* HAS_BZERO: |
83 | * This symbol is defined if the bzero() routine is available to |
84 | * set a memory block to 0. |
85 | */ |
86 | /*#define HAS_BZERO /**/ |
87 | |
a835ef8a |
88 | /* HAS_CHOWN: |
89 | * This symbol, if defined, indicates that the chown routine is |
90 | * available. |
91 | */ |
92 | /*#define HAS_CHOWN /**/ |
93 | |
94 | /* HAS_CHROOT: |
95 | * This symbol, if defined, indicates that the chroot routine is |
96 | * available. |
97 | */ |
98 | /*#define HAS_CHROOT /**/ |
99 | |
100 | /* HAS_CHSIZE: |
101 | * This symbol, if defined, indicates that the chsize routine is available |
102 | * to truncate files. You might need a -lx to get this routine. |
103 | */ |
104 | #define HAS_CHSIZE /**/ |
105 | |
a835ef8a |
106 | /* HASCONST: |
107 | * This symbol, if defined, indicates that this C compiler knows about |
108 | * the const type. There is no need to actually test for that symbol |
109 | * within your programs. The mere use of the "const" keyword will |
110 | * trigger the necessary tests. |
111 | */ |
112 | #define HASCONST /**/ |
113 | #ifndef HASCONST |
114 | #define const |
115 | #endif |
116 | |
117 | /* HAS_CRYPT: |
118 | * This symbol, if defined, indicates that the crypt routine is available |
119 | * to encrypt passwords and the like. |
120 | */ |
121 | /*#define HAS_CRYPT /**/ |
122 | |
123 | /* HAS_CUSERID: |
124 | * This symbol, if defined, indicates that the cuserid routine is |
125 | * available to get character login names. |
126 | */ |
127 | /*#define HAS_CUSERID /**/ |
128 | |
129 | /* HAS_DBL_DIG: |
130 | * This symbol, if defined, indicates that this system's <float.h> |
131 | * or <limits.h> defines the symbol DBL_DIG, which is the number |
132 | * of significant digits in a double precision number. If this |
133 | * symbol is not defined, a guess of 15 is usually pretty good. |
134 | */ |
135 | #define HAS_DBL_DIG /**/ |
136 | |
137 | /* HAS_DIFFTIME: |
138 | * This symbol, if defined, indicates that the difftime routine is |
139 | * available. |
140 | */ |
141 | #define HAS_DIFFTIME /**/ |
142 | |
143 | /* HAS_DLERROR: |
144 | * This symbol, if defined, indicates that the dlerror routine is |
145 | * available to return a string describing the last error that |
146 | * occurred from a call to dlopen(), dlclose() or dlsym(). |
147 | */ |
148 | #define HAS_DLERROR /**/ |
149 | |
924b3ec4 |
150 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
151 | * This symbol, if defined, indicates that the bug that prevents |
152 | * setuid scripts from being secure is not present in this kernel. |
153 | */ |
154 | /* DOSUID: |
155 | * This symbol, if defined, indicates that the C program should |
156 | * check the script that it is executing for setuid/setgid bits, and |
157 | * attempt to emulate setuid/setgid on systems that have disabled |
158 | * setuid #! scripts because the kernel can't do it securely. |
159 | * It is up to the package designer to make sure that this emulation |
160 | * is done securely. Among other things, it should do an fstat on |
161 | * the script it just opened to make sure it really is a setuid/setgid |
162 | * script, it should make sure the arguments passed correspond exactly |
163 | * to the argument on the #! line, and it should not trust any |
164 | * subprocesses to which it must pass the filename rather than the |
165 | * file descriptor of the script to be executed. |
166 | */ |
167 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ |
168 | /*#define DOSUID /**/ |
169 | |
a835ef8a |
170 | /* HAS_DUP2: |
171 | * This symbol, if defined, indicates that the dup2 routine is |
172 | * available to duplicate file descriptors. |
173 | */ |
174 | #define HAS_DUP2 /**/ |
175 | |
176 | /* HAS_FCHMOD: |
177 | * This symbol, if defined, indicates that the fchmod routine is available |
178 | * to change mode of opened files. If unavailable, use chmod(). |
179 | */ |
180 | /*#define HAS_FCHMOD /**/ |
181 | |
182 | /* HAS_FCHOWN: |
183 | * This symbol, if defined, indicates that the fchown routine is available |
184 | * to change ownership of opened files. If unavailable, use chown(). |
185 | */ |
186 | /*#define HAS_FCHOWN /**/ |
187 | |
188 | /* HAS_FCNTL: |
189 | * This symbol, if defined, indicates to the C program that |
190 | * the fcntl() function exists. |
191 | */ |
192 | /*#define HAS_FCNTL /**/ |
193 | |
194 | /* HAS_FGETPOS: |
195 | * This symbol, if defined, indicates that the fgetpos routine is |
196 | * available to get the file position indicator, similar to ftell(). |
197 | */ |
198 | #define HAS_FGETPOS /**/ |
199 | |
200 | /* FLEXFILENAMES: |
201 | * This symbol, if defined, indicates that the system supports filenames |
202 | * longer than 14 characters. |
203 | */ |
204 | #define FLEXFILENAMES /**/ |
205 | |
206 | /* HAS_FLOCK: |
207 | * This symbol, if defined, indicates that the flock routine is |
208 | * available to do file locking. |
209 | */ |
210 | #define HAS_FLOCK /**/ |
211 | |
212 | /* HAS_FORK: |
213 | * This symbol, if defined, indicates that the fork routine is |
214 | * available. |
215 | */ |
216 | /*#define HAS_FORK /**/ |
217 | |
218 | /* HAS_FSETPOS: |
219 | * This symbol, if defined, indicates that the fsetpos routine is |
220 | * available to set the file position indicator, similar to fseek(). |
221 | */ |
222 | #define HAS_FSETPOS /**/ |
223 | |
224 | /* HAS_GETTIMEOFDAY: |
225 | * This symbol, if defined, indicates that the gettimeofday() system |
226 | * call is available for a sub-second accuracy clock. Usually, the file |
227 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). |
228 | * The type "Timeval" should be used to refer to "struct timeval". |
229 | */ |
230 | /*#define HAS_GETTIMEOFDAY /**/ |
231 | #ifdef HAS_GETTIMEOFDAY |
232 | #define Timeval struct timeval /* Structure used by gettimeofday() */ |
233 | #endif |
234 | |
235 | /* HAS_GETGROUPS: |
236 | * This symbol, if defined, indicates that the getgroups() routine is |
237 | * available to get the list of process groups. If unavailable, multiple |
238 | * groups are probably not supported. |
239 | */ |
a835ef8a |
240 | /*#define HAS_GETGROUPS /**/ |
a835ef8a |
241 | |
a835ef8a |
242 | /* HAS_UNAME: |
243 | * This symbol, if defined, indicates that the C program may use the |
244 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME |
245 | * and PHOSTNAME. |
246 | */ |
247 | /*#define HAS_UNAME /**/ |
248 | |
249 | /* HAS_GETLOGIN: |
250 | * This symbol, if defined, indicates that the getlogin routine is |
251 | * available to get the login name. |
252 | */ |
e34ffe5a |
253 | #define HAS_GETLOGIN /**/ |
a835ef8a |
254 | |
924b3ec4 |
255 | /* HAS_GETPGID: |
256 | * This symbol, if defined, indicates to the C program that |
257 | * the getpgid(pid) function is available to get the |
258 | * process group id. |
259 | */ |
260 | /*#define HAS_GETPGID /**/ |
261 | |
262 | /* HAS_GETPGRP: |
263 | * This symbol, if defined, indicates that the getpgrp routine is |
264 | * available to get the current process group. |
265 | */ |
266 | /* USE_BSD_GETPGRP: |
267 | * This symbol, if defined, indicates that getpgrp needs one |
268 | * arguments whereas USG one needs none. |
269 | */ |
270 | /*#define HAS_GETPGRP /**/ |
271 | /*#define USE_BSD_GETPGRP /**/ |
272 | |
a835ef8a |
273 | /* HAS_GETPGRP2: |
274 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
275 | * routine is available to get the current process group. |
276 | */ |
277 | /*#define HAS_GETPGRP2 /**/ |
278 | |
279 | /* HAS_GETPPID: |
280 | * This symbol, if defined, indicates that the getppid routine is |
281 | * available to get the parent process ID. |
282 | */ |
283 | /*#define HAS_GETPPID /**/ |
284 | |
285 | /* HAS_GETPRIORITY: |
286 | * This symbol, if defined, indicates that the getpriority routine is |
287 | * available to get a process's priority. |
288 | */ |
289 | /*#define HAS_GETPRIORITY /**/ |
290 | |
291 | /* HAS_HTONL: |
292 | * This symbol, if defined, indicates that the htonl() routine (and |
293 | * friends htons() ntohl() ntohs()) are available to do network |
294 | * order byte swapping. |
295 | */ |
296 | /* HAS_HTONS: |
297 | * This symbol, if defined, indicates that the htons() routine (and |
298 | * friends htonl() ntohl() ntohs()) are available to do network |
299 | * order byte swapping. |
300 | */ |
301 | /* HAS_NTOHL: |
302 | * This symbol, if defined, indicates that the ntohl() routine (and |
303 | * friends htonl() htons() ntohs()) are available to do network |
304 | * order byte swapping. |
305 | */ |
306 | /* HAS_NTOHS: |
307 | * This symbol, if defined, indicates that the ntohs() routine (and |
308 | * friends htonl() htons() ntohl()) are available to do network |
309 | * order byte swapping. |
310 | */ |
311 | #define HAS_HTONL /**/ |
312 | #define HAS_HTONS /**/ |
313 | #define HAS_NTOHL /**/ |
314 | #define HAS_NTOHS /**/ |
315 | |
924b3ec4 |
316 | /* HAS_INET_ATON: |
317 | * This symbol, if defined, indicates to the C program that the |
318 | * inet_aton() function is available to parse IP address "dotted-quad" |
319 | * strings. |
a835ef8a |
320 | */ |
924b3ec4 |
321 | /*#define HAS_INET_ATON /**/ |
a835ef8a |
322 | |
323 | /* HAS_KILLPG: |
324 | * This symbol, if defined, indicates that the killpg routine is available |
325 | * to kill process groups. If unavailable, you probably should use kill |
326 | * with a negative process number. |
327 | */ |
328 | /*#define HAS_KILLPG /**/ |
329 | |
330 | /* HAS_LINK: |
331 | * This symbol, if defined, indicates that the link routine is |
332 | * available to create hard links. |
333 | */ |
334 | /*#define HAS_LINK /**/ |
335 | |
336 | /* HAS_LOCALECONV: |
337 | * This symbol, if defined, indicates that the localeconv routine is |
338 | * available for numeric and monetary formatting conventions. |
339 | */ |
340 | #define HAS_LOCALECONV /**/ |
341 | |
342 | /* HAS_LOCKF: |
343 | * This symbol, if defined, indicates that the lockf routine is |
344 | * available to do file locking. |
345 | */ |
346 | /*#define HAS_LOCKF /**/ |
347 | |
348 | /* HAS_LSTAT: |
349 | * This symbol, if defined, indicates that the lstat routine is |
350 | * available to do file stats on symbolic links. |
351 | */ |
352 | /*#define HAS_LSTAT /**/ |
353 | |
354 | /* HAS_MBLEN: |
355 | * This symbol, if defined, indicates that the mblen routine is available |
356 | * to find the number of bytes in a multibye character. |
357 | */ |
358 | #define HAS_MBLEN /**/ |
359 | |
360 | /* HAS_MBSTOWCS: |
361 | * This symbol, if defined, indicates that the mbstowcs routine is |
362 | * available to covert a multibyte string into a wide character string. |
363 | */ |
364 | #define HAS_MBSTOWCS /**/ |
365 | |
366 | /* HAS_MBTOWC: |
367 | * This symbol, if defined, indicates that the mbtowc routine is available |
368 | * to covert a multibyte to a wide character. |
369 | */ |
370 | #define HAS_MBTOWC /**/ |
371 | |
372 | /* HAS_MEMCMP: |
373 | * This symbol, if defined, indicates that the memcmp routine is available |
374 | * to compare blocks of memory. |
375 | */ |
376 | #define HAS_MEMCMP /**/ |
377 | |
378 | /* HAS_MEMCPY: |
379 | * This symbol, if defined, indicates that the memcpy routine is available |
380 | * to copy blocks of memory. |
381 | */ |
382 | #define HAS_MEMCPY /**/ |
383 | |
384 | /* HAS_MEMMOVE: |
385 | * This symbol, if defined, indicates that the memmove routine is available |
386 | * to copy potentially overlapping blocks of memory. This should be used |
387 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your |
388 | * own version. |
389 | */ |
390 | #define HAS_MEMMOVE /**/ |
391 | |
392 | /* HAS_MEMSET: |
393 | * This symbol, if defined, indicates that the memset routine is available |
394 | * to set blocks of memory. |
395 | */ |
396 | #define HAS_MEMSET /**/ |
397 | |
398 | /* HAS_MKDIR: |
399 | * This symbol, if defined, indicates that the mkdir routine is available |
400 | * to create directories. Otherwise you should fork off a new process to |
401 | * exec /bin/mkdir. |
402 | */ |
403 | #define HAS_MKDIR /**/ |
404 | |
405 | /* HAS_MKFIFO: |
406 | * This symbol, if defined, indicates that the mkfifo routine is |
407 | * available to create FIFOs. Otherwise, mknod should be able to |
408 | * do it for you. However, if mkfifo is there, mknod might require |
409 | * super-user privileges which mkfifo will not. |
410 | */ |
411 | /*#define HAS_MKFIFO /**/ |
412 | |
413 | /* HAS_MKTIME: |
414 | * This symbol, if defined, indicates that the mktime routine is |
415 | * available. |
416 | */ |
417 | #define HAS_MKTIME /**/ |
418 | |
419 | /* HAS_MSG: |
420 | * This symbol, if defined, indicates that the entire msg*(2) library is |
421 | * supported (IPC mechanism based on message queues). |
422 | */ |
423 | /*#define HAS_MSG /**/ |
424 | |
425 | /* HAS_NICE: |
426 | * This symbol, if defined, indicates that the nice routine is |
427 | * available. |
428 | */ |
429 | /*#define HAS_NICE /**/ |
430 | |
a835ef8a |
431 | /* HAS_PATHCONF: |
432 | * This symbol, if defined, indicates that pathconf() is available |
433 | * to determine file-system related limits and options associated |
434 | * with a given filename. |
435 | */ |
436 | /* HAS_FPATHCONF: |
437 | * This symbol, if defined, indicates that pathconf() is available |
438 | * to determine file-system related limits and options associated |
439 | * with a given open file descriptor. |
440 | */ |
441 | /*#define HAS_PATHCONF /**/ |
442 | /*#define HAS_FPATHCONF /**/ |
443 | |
444 | /* HAS_PAUSE: |
445 | * This symbol, if defined, indicates that the pause routine is |
446 | * available to suspend a process until a signal is received. |
447 | */ |
448 | #define HAS_PAUSE /**/ |
449 | |
450 | /* HAS_PIPE: |
451 | * This symbol, if defined, indicates that the pipe routine is |
452 | * available to create an inter-process channel. |
453 | */ |
454 | #define HAS_PIPE /**/ |
455 | |
456 | /* HAS_POLL: |
457 | * This symbol, if defined, indicates that the poll routine is |
924b3ec4 |
458 | * available to poll active file descriptors. You may safely |
459 | * include <poll.h> when this symbol is defined. |
a835ef8a |
460 | */ |
461 | /*#define HAS_POLL /**/ |
462 | |
463 | /* HAS_READDIR: |
464 | * This symbol, if defined, indicates that the readdir routine is |
465 | * available to read directory entries. You may have to include |
466 | * <dirent.h>. See I_DIRENT. |
467 | */ |
468 | #define HAS_READDIR /**/ |
469 | |
470 | /* HAS_SEEKDIR: |
471 | * This symbol, if defined, indicates that the seekdir routine is |
472 | * available. You may have to include <dirent.h>. See I_DIRENT. |
473 | */ |
474 | #define HAS_SEEKDIR /**/ |
475 | |
476 | /* HAS_TELLDIR: |
477 | * This symbol, if defined, indicates that the telldir routine is |
478 | * available. You may have to include <dirent.h>. See I_DIRENT. |
479 | */ |
480 | #define HAS_TELLDIR /**/ |
481 | |
482 | /* HAS_REWINDDIR: |
483 | * This symbol, if defined, indicates that the rewinddir routine is |
484 | * available. You may have to include <dirent.h>. See I_DIRENT. |
485 | */ |
486 | #define HAS_REWINDDIR /**/ |
487 | |
488 | /* HAS_READLINK: |
489 | * This symbol, if defined, indicates that the readlink routine is |
490 | * available to read the value of a symbolic link. |
491 | */ |
492 | /*#define HAS_READLINK /**/ |
493 | |
494 | /* HAS_RENAME: |
495 | * This symbol, if defined, indicates that the rename routine is available |
496 | * to rename files. Otherwise you should do the unlink(), link(), unlink() |
497 | * trick. |
498 | */ |
499 | #define HAS_RENAME /**/ |
500 | |
501 | /* HAS_RMDIR: |
502 | * This symbol, if defined, indicates that the rmdir routine is |
503 | * available to remove directories. Otherwise you should fork off a |
504 | * new process to exec /bin/rmdir. |
505 | */ |
506 | #define HAS_RMDIR /**/ |
507 | |
a835ef8a |
508 | /* HAS_SELECT: |
509 | * This symbol, if defined, indicates that the select routine is |
510 | * available to select active file descriptors. If the timeout field |
511 | * is used, <sys/time.h> may need to be included. |
512 | */ |
513 | #define HAS_SELECT /**/ |
514 | |
515 | /* HAS_SEM: |
516 | * This symbol, if defined, indicates that the entire sem*(2) library is |
517 | * supported. |
518 | */ |
519 | /*#define HAS_SEM /**/ |
520 | |
521 | /* HAS_SETEGID: |
522 | * This symbol, if defined, indicates that the setegid routine is available |
523 | * to change the effective gid of the current program. |
524 | */ |
525 | /*#define HAS_SETEGID /**/ |
526 | |
527 | /* HAS_SETEUID: |
528 | * This symbol, if defined, indicates that the seteuid routine is available |
529 | * to change the effective uid of the current program. |
530 | */ |
531 | /*#define HAS_SETEUID /**/ |
532 | |
533 | /* HAS_SETLINEBUF: |
534 | * This symbol, if defined, indicates that the setlinebuf routine is |
535 | * available to change stderr or stdout from block-buffered or unbuffered |
536 | * to a line-buffered mode. |
537 | */ |
538 | /*#define HAS_SETLINEBUF /**/ |
539 | |
540 | /* HAS_SETLOCALE: |
541 | * This symbol, if defined, indicates that the setlocale routine is |
542 | * available to handle locale-specific ctype implementations. |
543 | */ |
544 | #define HAS_SETLOCALE /**/ |
545 | |
924b3ec4 |
546 | /* HAS_SETPGID: |
547 | * This symbol, if defined, indicates that the setpgid(pid, gpid) |
548 | * routine is available to set process group ID. |
549 | */ |
550 | /*#define HAS_SETPGID /**/ |
551 | |
552 | /* HAS_SETPGRP: |
553 | * This symbol, if defined, indicates that the setpgrp routine is |
554 | * available to set the current process group. |
555 | */ |
556 | /* USE_BSD_SETPGRP: |
557 | * This symbol, if defined, indicates that setpgrp needs two |
558 | * arguments whereas USG one needs none. See also HAS_SETPGID |
559 | * for a POSIX interface. |
560 | */ |
561 | /*#define HAS_SETPGRP /**/ |
562 | /*#define USE_BSD_SETPGRP /**/ |
563 | |
a835ef8a |
564 | /* HAS_SETPGRP2: |
565 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
566 | * routine is available to set the current process group. |
567 | */ |
568 | /*#define HAS_SETPGRP2 /**/ |
569 | |
570 | /* HAS_SETPRIORITY: |
571 | * This symbol, if defined, indicates that the setpriority routine is |
572 | * available to set a process's priority. |
573 | */ |
574 | /*#define HAS_SETPRIORITY /**/ |
575 | |
576 | /* HAS_SETREGID: |
577 | * This symbol, if defined, indicates that the setregid routine is |
578 | * available to change the real and effective gid of the current |
579 | * process. |
580 | */ |
581 | /* HAS_SETRESGID: |
582 | * This symbol, if defined, indicates that the setresgid routine is |
583 | * available to change the real, effective and saved gid of the current |
584 | * process. |
585 | */ |
586 | /*#define HAS_SETREGID /**/ |
587 | /*#define HAS_SETRESGID /**/ |
588 | |
589 | /* HAS_SETREUID: |
590 | * This symbol, if defined, indicates that the setreuid routine is |
591 | * available to change the real and effective uid of the current |
592 | * process. |
593 | */ |
594 | /* HAS_SETRESUID: |
595 | * This symbol, if defined, indicates that the setresuid routine is |
596 | * available to change the real, effective and saved uid of the current |
597 | * process. |
598 | */ |
599 | /*#define HAS_SETREUID /**/ |
600 | /*#define HAS_SETRESUID /**/ |
601 | |
602 | /* HAS_SETRGID: |
603 | * This symbol, if defined, indicates that the setrgid routine is available |
604 | * to change the real gid of the current program. |
605 | */ |
606 | /*#define HAS_SETRGID /**/ |
607 | |
608 | /* HAS_SETRUID: |
609 | * This symbol, if defined, indicates that the setruid routine is available |
610 | * to change the real uid of the current program. |
611 | */ |
612 | /*#define HAS_SETRUID /**/ |
613 | |
614 | /* HAS_SETSID: |
615 | * This symbol, if defined, indicates that the setsid routine is |
616 | * available to set the process group ID. |
617 | */ |
618 | /*#define HAS_SETSID /**/ |
619 | |
620 | /* HAS_SHM: |
621 | * This symbol, if defined, indicates that the entire shm*(2) library is |
622 | * supported. |
623 | */ |
624 | /*#define HAS_SHM /**/ |
625 | |
626 | /* Shmat_t: |
627 | * This symbol holds the return type of the shmat() system call. |
628 | * Usually set to 'void *' or 'char *'. |
629 | */ |
630 | /* HAS_SHMAT_PROTOTYPE: |
631 | * This symbol, if defined, indicates that the sys/shm.h includes |
632 | * a prototype for shmat(). Otherwise, it is up to the program to |
633 | * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, |
634 | * but not always right so it should be emitted by the program only |
635 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. |
636 | */ |
637 | #define Shmat_t void * /**/ |
638 | /*#define HAS_SHMAT_PROTOTYPE /**/ |
639 | |
a835ef8a |
640 | /* USE_STAT_BLOCKS: |
641 | * This symbol is defined if this system has a stat structure declaring |
642 | * st_blksize and st_blocks. |
643 | */ |
644 | /*#define USE_STAT_BLOCKS /**/ |
645 | |
924b3ec4 |
646 | /* HAS_STRCHR: |
647 | * This symbol is defined to indicate that the strchr()/strrchr() |
648 | * functions are available for string searching. If not, try the |
649 | * index()/rindex() pair. |
a835ef8a |
650 | */ |
924b3ec4 |
651 | /* HAS_INDEX: |
652 | * This symbol is defined to indicate that the index()/rindex() |
653 | * functions are available for string searching. |
a835ef8a |
654 | */ |
924b3ec4 |
655 | #define HAS_STRCHR /**/ |
656 | /*#define HAS_INDEX /**/ |
657 | |
658 | /* HAS_STRCOLL: |
659 | * This symbol, if defined, indicates that the strcoll routine is |
660 | * available to compare strings using collating information. |
a835ef8a |
661 | */ |
924b3ec4 |
662 | #define HAS_STRCOLL /**/ |
663 | |
664 | /* USE_STRUCT_COPY: |
665 | * This symbol, if defined, indicates that this C compiler knows how |
666 | * to copy structures. If undefined, you'll need to use a block copy |
667 | * routine of some sort instead. |
a835ef8a |
668 | */ |
924b3ec4 |
669 | #define USE_STRUCT_COPY /**/ |
a835ef8a |
670 | |
671 | /* HAS_STRERROR: |
672 | * This symbol, if defined, indicates that the strerror routine is |
673 | * available to translate error numbers to strings. See the writeup |
674 | * of Strerror() in this file before you try to define your own. |
675 | */ |
676 | /* HAS_SYS_ERRLIST: |
677 | * This symbol, if defined, indicates that the sys_errlist array is |
678 | * available to translate error numbers to strings. The extern int |
679 | * sys_nerr gives the size of that table. |
680 | */ |
681 | /* Strerror: |
682 | * This preprocessor symbol is defined as a macro if strerror() is |
683 | * not available to translate error numbers to strings but sys_errlist[] |
684 | * array is there. |
685 | */ |
686 | #define HAS_STRERROR /**/ |
687 | #define HAS_SYS_ERRLIST /**/ |
688 | #define Strerror(e) strerror(e) |
689 | |
690 | /* HAS_STRTOD: |
691 | * This symbol, if defined, indicates that the strtod routine is |
692 | * available to provide better numeric string conversion than atof(). |
693 | */ |
694 | #define HAS_STRTOD /**/ |
695 | |
696 | /* HAS_STRTOL: |
697 | * This symbol, if defined, indicates that the strtol routine is available |
698 | * to provide better numeric string conversion than atoi() and friends. |
699 | */ |
700 | #define HAS_STRTOL /**/ |
701 | |
702 | /* HAS_STRTOUL: |
703 | * This symbol, if defined, indicates that the strtoul routine is |
704 | * available to provide conversion of strings to unsigned long. |
705 | */ |
706 | #define HAS_STRTOUL /**/ |
707 | |
708 | /* HAS_STRXFRM: |
709 | * This symbol, if defined, indicates that the strxfrm() routine is |
710 | * available to transform strings. |
711 | */ |
712 | #define HAS_STRXFRM /**/ |
713 | |
714 | /* HAS_SYMLINK: |
715 | * This symbol, if defined, indicates that the symlink routine is available |
716 | * to create symbolic links. |
717 | */ |
718 | /*#define HAS_SYMLINK /**/ |
719 | |
720 | /* HAS_SYSCALL: |
721 | * This symbol, if defined, indicates that the syscall routine is |
722 | * available to call arbitrary system calls. If undefined, that's tough. |
723 | */ |
724 | /*#define HAS_SYSCALL /**/ |
725 | |
726 | /* HAS_SYSCONF: |
727 | * This symbol, if defined, indicates that sysconf() is available |
728 | * to determine system related limits and options. |
729 | */ |
730 | /*#define HAS_SYSCONF /**/ |
731 | |
732 | /* HAS_SYSTEM: |
733 | * This symbol, if defined, indicates that the system routine is |
734 | * available to issue a shell command. |
735 | */ |
736 | #define HAS_SYSTEM /**/ |
737 | |
738 | /* HAS_TCGETPGRP: |
739 | * This symbol, if defined, indicates that the tcgetpgrp routine is |
740 | * available to get foreground process group ID. |
741 | */ |
742 | /*#define HAS_TCGETPGRP /**/ |
743 | |
744 | /* HAS_TCSETPGRP: |
745 | * This symbol, if defined, indicates that the tcsetpgrp routine is |
746 | * available to set foreground process group ID. |
747 | */ |
748 | /*#define HAS_TCSETPGRP /**/ |
749 | |
a835ef8a |
750 | /* HAS_TRUNCATE: |
751 | * This symbol, if defined, indicates that the truncate routine is |
752 | * available to truncate files. |
753 | */ |
754 | /*#define HAS_TRUNCATE /**/ |
755 | |
756 | /* HAS_TZNAME: |
757 | * This symbol, if defined, indicates that the tzname[] array is |
758 | * available to access timezone names. |
759 | */ |
62520c91 |
760 | /*#define HAS_TZNAME /**/ |
a835ef8a |
761 | |
762 | /* HAS_UMASK: |
763 | * This symbol, if defined, indicates that the umask routine is |
764 | * available to set and get the value of the file creation mask. |
765 | */ |
766 | #define HAS_UMASK /**/ |
767 | |
768 | /* HAS_VFORK: |
769 | * This symbol, if defined, indicates that vfork() exists. |
770 | */ |
771 | /*#define HAS_VFORK /**/ |
772 | |
a835ef8a |
773 | /* HASVOLATILE: |
774 | * This symbol, if defined, indicates that this C compiler knows about |
775 | * the volatile declaration. |
776 | */ |
777 | #define HASVOLATILE /**/ |
778 | #ifndef HASVOLATILE |
779 | #define volatile |
780 | #endif |
781 | |
a835ef8a |
782 | /* HAS_WAIT4: |
783 | * This symbol, if defined, indicates that wait4() exists. |
784 | */ |
785 | /*#define HAS_WAIT4 /**/ |
786 | |
787 | /* HAS_WAITPID: |
788 | * This symbol, if defined, indicates that the waitpid routine is |
789 | * available to wait for child process. |
790 | */ |
f55ee38a |
791 | #define HAS_WAITPID /**/ |
a835ef8a |
792 | |
793 | /* HAS_WCSTOMBS: |
794 | * This symbol, if defined, indicates that the wcstombs routine is |
795 | * available to convert wide character strings to multibyte strings. |
796 | */ |
797 | #define HAS_WCSTOMBS /**/ |
798 | |
799 | /* HAS_WCTOMB: |
800 | * This symbol, if defined, indicates that the wctomb routine is available |
801 | * to covert a wide character to a multibyte. |
802 | */ |
803 | #define HAS_WCTOMB /**/ |
804 | |
924b3ec4 |
805 | /* I_DBM: |
806 | * This symbol, if defined, indicates that <dbm.h> exists and should |
807 | * be included. |
a835ef8a |
808 | */ |
924b3ec4 |
809 | /* I_RPCSVC_DBM: |
810 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and |
811 | * should be included. |
a835ef8a |
812 | */ |
924b3ec4 |
813 | /*#define I_DBM /**/ |
814 | #define I_RPCSVC_DBM /**/ |
a835ef8a |
815 | |
816 | /* I_DIRENT: |
817 | * This symbol, if defined, indicates to the C program that it should |
818 | * include <dirent.h>. Using this symbol also triggers the definition |
819 | * of the Direntry_t define which ends up being 'struct dirent' or |
820 | * 'struct direct' depending on the availability of <dirent.h>. |
821 | */ |
822 | /* DIRNAMLEN: |
823 | * This symbol, if defined, indicates to the C program that the length |
824 | * of directory entry names is provided by a d_namlen field. Otherwise |
825 | * you need to do strlen() on the d_name field. |
826 | */ |
827 | /* Direntry_t: |
828 | * This symbol is set to 'struct direct' or 'struct dirent' depending on |
829 | * whether dirent is available or not. You should use this pseudo type to |
830 | * portably declare your directory entries. |
831 | */ |
832 | #define I_DIRENT /**/ |
833 | #define DIRNAMLEN /**/ |
834 | #define Direntry_t struct direct |
835 | |
836 | /* I_DLFCN: |
837 | * This symbol, if defined, indicates that <dlfcn.h> exists and should |
838 | * be included. |
839 | */ |
840 | #define I_DLFCN /**/ |
841 | |
842 | /* I_FCNTL: |
843 | * This manifest constant tells the C program to include <fcntl.h>. |
844 | */ |
845 | #define I_FCNTL /**/ |
846 | |
847 | /* I_FLOAT: |
848 | * This symbol, if defined, indicates to the C program that it should |
849 | * include <float.h> to get definition of symbols like DBL_MAX or |
850 | * DBL_MIN, i.e. machine dependent floating point values. |
851 | */ |
852 | #define I_FLOAT /**/ |
853 | |
854 | /* I_GRP: |
855 | * This symbol, if defined, indicates to the C program that it should |
856 | * include <grp.h>. |
857 | */ |
858 | #define I_GRP /**/ |
859 | |
860 | /* I_LIMITS: |
861 | * This symbol, if defined, indicates to the C program that it should |
862 | * include <limits.h> to get definition of symbols like WORD_BIT or |
863 | * LONG_MAX, i.e. machine dependant limitations. |
864 | */ |
865 | #define I_LIMITS /**/ |
866 | |
924b3ec4 |
867 | /* I_LOCALE: |
868 | * This symbol, if defined, indicates to the C program that it should |
869 | * include <locale.h>. |
870 | */ |
871 | #define I_LOCALE /**/ |
872 | |
a835ef8a |
873 | /* I_MATH: |
874 | * This symbol, if defined, indicates to the C program that it should |
875 | * include <math.h>. |
876 | */ |
877 | #define I_MATH /**/ |
878 | |
879 | /* I_MEMORY: |
880 | * This symbol, if defined, indicates to the C program that it should |
881 | * include <memory.h>. |
882 | */ |
883 | /*#define I_MEMORY /**/ |
884 | |
885 | /* I_NDBM: |
886 | * This symbol, if defined, indicates that <ndbm.h> exists and should |
887 | * be included. |
888 | */ |
889 | /*#define I_NDBM /**/ |
890 | |
891 | /* I_NET_ERRNO: |
892 | * This symbol, if defined, indicates that <net/errno.h> exists and |
893 | * should be included. |
894 | */ |
895 | /*#define I_NET_ERRNO /**/ |
896 | |
897 | /* I_NETINET_IN: |
898 | * This symbol, if defined, indicates to the C program that it should |
899 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. |
900 | */ |
901 | /*#define I_NETINET_IN /**/ |
902 | |
924b3ec4 |
903 | /* I_SFIO: |
904 | * This symbol, if defined, indicates to the C program that it should |
905 | * include <sfio.h>. |
906 | */ |
907 | /*#define I_SFIO /**/ |
908 | |
a835ef8a |
909 | /* I_STDDEF: |
910 | * This symbol, if defined, indicates that <stddef.h> exists and should |
911 | * be included. |
912 | */ |
913 | #define I_STDDEF /**/ |
914 | |
915 | /* I_STDLIB: |
916 | * This symbol, if defined, indicates that <stdlib.h> exists and should |
917 | * be included. |
918 | */ |
919 | #define I_STDLIB /**/ |
920 | |
921 | /* I_STRING: |
922 | * This symbol, if defined, indicates to the C program that it should |
923 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). |
924 | */ |
925 | #define I_STRING /**/ |
926 | |
927 | /* I_SYS_DIR: |
928 | * This symbol, if defined, indicates to the C program that it should |
929 | * include <sys/dir.h>. |
930 | */ |
931 | /*#define I_SYS_DIR /**/ |
932 | |
933 | /* I_SYS_FILE: |
934 | * This symbol, if defined, indicates to the C program that it should |
935 | * include <sys/file.h> to get definition of R_OK and friends. |
936 | */ |
937 | /*#define I_SYS_FILE /**/ |
938 | |
939 | /* I_SYS_IOCTL: |
940 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should |
941 | * be included. Otherwise, include <sgtty.h> or <termio.h>. |
942 | */ |
943 | /*#define I_SYS_IOCTL /**/ |
944 | |
945 | /* I_SYS_NDIR: |
946 | * This symbol, if defined, indicates to the C program that it should |
947 | * include <sys/ndir.h>. |
948 | */ |
949 | /*#define I_SYS_NDIR /**/ |
950 | |
951 | /* I_SYS_PARAM: |
952 | * This symbol, if defined, indicates to the C program that it should |
953 | * include <sys/param.h>. |
954 | */ |
955 | /*#define I_SYS_PARAM /**/ |
956 | |
957 | /* I_SYS_RESOURCE: |
958 | * This symbol, if defined, indicates to the C program that it should |
959 | * include <sys/resource.h>. |
960 | */ |
961 | /*#define I_SYS_RESOURCE /**/ |
962 | |
963 | /* I_SYS_SELECT: |
964 | * This symbol, if defined, indicates to the C program that it should |
965 | * include <sys/select.h> in order to get definition of struct timeval. |
966 | */ |
967 | /*#define I_SYS_SELECT /**/ |
968 | |
924b3ec4 |
969 | /* I_SYS_STAT: |
970 | * This symbol, if defined, indicates to the C program that it should |
971 | * include <sys/stat.h>. |
972 | */ |
973 | #define I_SYS_STAT /**/ |
974 | |
a835ef8a |
975 | /* I_SYS_TIMES: |
976 | * This symbol, if defined, indicates to the C program that it should |
977 | * include <sys/times.h>. |
978 | */ |
979 | /*#define I_SYS_TIMES /**/ |
980 | |
be44fb0e |
981 | /* I_SYS_TYPES: |
982 | * This symbol, if defined, indicates to the C program that it should |
983 | * include <sys/types.h>. |
984 | */ |
985 | #define I_SYS_TYPES /**/ |
986 | |
a835ef8a |
987 | /* I_SYS_UN: |
988 | * This symbol, if defined, indicates to the C program that it should |
989 | * include <sys/un.h> to get UNIX domain socket definitions. |
990 | */ |
991 | /*#define I_SYS_UN /**/ |
992 | |
993 | /* I_SYS_WAIT: |
994 | * This symbol, if defined, indicates to the C program that it should |
995 | * include <sys/wait.h>. |
996 | */ |
997 | /*#define I_SYS_WAIT /**/ |
998 | |
999 | /* I_TERMIO: |
1000 | * This symbol, if defined, indicates that the program should include |
1001 | * <termio.h> rather than <sgtty.h>. There are also differences in |
1002 | * the ioctl() calls that depend on the value of this symbol. |
1003 | */ |
1004 | /* I_TERMIOS: |
1005 | * This symbol, if defined, indicates that the program should include |
1006 | * the POSIX termios.h rather than sgtty.h or termio.h. |
1007 | * There are also differences in the ioctl() calls that depend on the |
1008 | * value of this symbol. |
1009 | */ |
1010 | /* I_SGTTY: |
1011 | * This symbol, if defined, indicates that the program should include |
1012 | * <sgtty.h> rather than <termio.h>. There are also differences in |
1013 | * the ioctl() calls that depend on the value of this symbol. |
1014 | */ |
1015 | /*#define I_TERMIO /**/ |
1016 | /*#define I_TERMIOS /**/ |
1017 | /*#define I_SGTTY /**/ |
1018 | |
a835ef8a |
1019 | /* I_UNISTD: |
1020 | * This symbol, if defined, indicates to the C program that it should |
1021 | * include <unistd.h>. |
1022 | */ |
1023 | /*#define I_UNISTD /**/ |
1024 | |
1025 | /* I_UTIME: |
1026 | * This symbol, if defined, indicates to the C program that it should |
1027 | * include <utime.h>. |
1028 | */ |
1029 | #define I_UTIME /**/ |
1030 | |
924b3ec4 |
1031 | /* I_VALUES: |
1032 | * This symbol, if defined, indicates to the C program that it should |
1033 | * include <values.h> to get definition of symbols like MINFLOAT or |
1034 | * MAXLONG, i.e. machine dependant limitations. Probably, you |
1035 | * should use <limits.h> instead, if it is available. |
1036 | */ |
1037 | /*#define I_VALUES /**/ |
1038 | |
a835ef8a |
1039 | /* I_STDARG: |
1040 | * This symbol, if defined, indicates that <stdarg.h> exists and should |
1041 | * be included. |
1042 | */ |
1043 | /* I_VARARGS: |
1044 | * This symbol, if defined, indicates to the C program that it should |
1045 | * include <varargs.h>. |
1046 | */ |
1047 | #define I_STDARG /**/ |
1048 | /*#define I_VARARGS /**/ |
1049 | |
1050 | /* I_VFORK: |
1051 | * This symbol, if defined, indicates to the C program that it should |
1052 | * include vfork.h. |
1053 | */ |
1054 | /*#define I_VFORK /**/ |
1055 | |
924b3ec4 |
1056 | /* Free_t: |
1057 | * This variable contains the return type of free(). It is usually |
1058 | * void, but occasionally int. |
1059 | */ |
1060 | /* Malloc_t: |
1061 | * This symbol is the type of pointer returned by malloc and realloc. |
1062 | */ |
1063 | #define Malloc_t void * /**/ |
1064 | #define Free_t void /**/ |
1065 | |
1066 | /* MYMALLOC: |
1067 | * This symbol, if defined, indicates that we're using our own malloc. |
1068 | */ |
ac4c12e7 |
1069 | /*#define MYMALLOC /**/ |
924b3ec4 |
1070 | |
a835ef8a |
1071 | /* CAN_PROTOTYPE: |
1072 | * If defined, this macro indicates that the C compiler can handle |
1073 | * function prototypes. |
1074 | */ |
1075 | /* _: |
1076 | * This macro is used to declare function parameters for folks who want |
1077 | * to make declarations with prototypes using a different style than |
1078 | * the above macros. Use double parentheses. For example: |
1079 | * |
1080 | * int main _((int argc, char *argv[])); |
1081 | */ |
1082 | #define CAN_PROTOTYPE /**/ |
1083 | #ifdef CAN_PROTOTYPE |
1084 | #define _(args) args |
1085 | #else |
1086 | #define _(args) () |
1087 | #endif |
1088 | |
924b3ec4 |
1089 | /* SH_PATH: |
1090 | * This symbol contains the full pathname to the shell used on this |
1091 | * on this system to execute Bourne shell scripts. Usually, this will be |
1092 | * /bin/sh, though it's possible that some systems will have /bin/ksh, |
1093 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as |
1094 | * D:/bin/sh.exe. |
a835ef8a |
1095 | */ |
924b3ec4 |
1096 | #define SH_PATH "cmd /x /c" /**/ |
a835ef8a |
1097 | |
a835ef8a |
1098 | /* STDCHAR: |
1099 | * This symbol is defined to be the type of char used in stdio.h. |
1100 | * It has the values "unsigned char" or "char". |
1101 | */ |
1102 | #define STDCHAR char /**/ |
1103 | |
924b3ec4 |
1104 | /* VOIDFLAGS: |
1105 | * This symbol indicates how much support of the void type is given by this |
1106 | * compiler. What various bits mean: |
1107 | * |
1108 | * 1 = supports declaration of void |
1109 | * 2 = supports arrays of pointers to functions returning void |
1110 | * 4 = supports comparisons between pointers to void functions and |
1111 | * addresses of void functions |
1112 | * 8 = suports declaration of generic void pointers |
1113 | * |
1114 | * The package designer should define VOIDUSED to indicate the requirements |
1115 | * of the package. This can be done either by #defining VOIDUSED before |
1116 | * including config.h, or by defining defvoidused in Myinit.U. If the |
1117 | * latter approach is taken, only those flags will be tested. If the |
1118 | * level of void support necessary is not present, defines void to int. |
a835ef8a |
1119 | */ |
924b3ec4 |
1120 | #ifndef VOIDUSED |
1121 | #define VOIDUSED 15 |
1122 | #endif |
1123 | #define VOIDFLAGS 15 |
1124 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
1125 | #define void int /* is void to be avoided? */ |
1126 | #define M_VOID /* Xenix strikes again */ |
1127 | #endif |
a835ef8a |
1128 | |
924b3ec4 |
1129 | /* MEM_ALIGNBYTES: |
1130 | * This symbol contains the number of bytes required to align a |
1131 | * double. Usual values are 2, 4 and 8. |
1132 | * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture |
1133 | * Binaries (MAB) for targets with varying alignment. This only matters |
1134 | * for perl, where the config.h can be generated and installed on one |
1135 | * system, and used by a different architecture to build an extension. |
1136 | * The default is eight, for safety. |
a835ef8a |
1137 | */ |
924b3ec4 |
1138 | #define MEM_ALIGNBYTES 8 /**/ |
a835ef8a |
1139 | |
1140 | /* BYTEORDER: |
1141 | * This symbol holds the hexadecimal constant defined in byteorder, |
1142 | * i.e. 0x1234 or 0x4321, etc... |
1143 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture |
1144 | * Binaries (MAB) on either big endian or little endian machines. |
1145 | * The endian-ness is available at compile-time. This only matters |
1146 | * for perl, where the config.h can be generated and installed on |
1147 | * one system, and used by a different architecture to build an |
1148 | * extension. Older versions of NeXT that might not have |
1149 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, |
1150 | * so the default case (for NeXT) is big endian to catch them. |
1151 | * This might matter for NeXT 3.0. |
1152 | */ |
1153 | #ifndef NeXT |
1154 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
1155 | #else /* NeXT */ |
1156 | #ifdef __LITTLE_ENDIAN__ |
1157 | #define BYTEORDER 0x1234 |
1158 | #else /* __BIG_ENDIAN__ */ |
1159 | #define BYTEORDER 0x4321 |
1160 | #endif /* ENDIAN CHECK */ |
1161 | #endif /* NeXT */ |
1162 | |
924b3ec4 |
1163 | /* CASTI32: |
1164 | * This symbol is defined if the C compiler can cast negative |
1165 | * or large floating point numbers to 32-bit ints. |
a835ef8a |
1166 | */ |
924b3ec4 |
1167 | #define CASTI32 /**/ |
a835ef8a |
1168 | |
924b3ec4 |
1169 | /* CASTNEGFLOAT: |
1170 | * This symbol is defined if the C compiler can cast negative |
1171 | * numbers to unsigned longs, ints and shorts. |
a835ef8a |
1172 | */ |
924b3ec4 |
1173 | /* CASTFLAGS: |
1174 | * This symbol contains flags that say what difficulties the compiler |
1175 | * has casting odd floating values to unsigned long: |
1176 | * 0 = ok |
1177 | * 1 = couldn't cast < 0 |
1178 | * 2 = couldn't cast >= 0x80000000 |
1179 | * 4 = couldn't cast in argument expression list |
a835ef8a |
1180 | */ |
924b3ec4 |
1181 | #define CASTNEGFLOAT /**/ |
1182 | #define CASTFLAGS 0 /**/ |
1183 | |
1184 | /* VOID_CLOSEDIR: |
1185 | * This symbol, if defined, indicates that the closedir() routine |
1186 | * does not return a value. |
a835ef8a |
1187 | */ |
924b3ec4 |
1188 | /*#define VOID_CLOSEDIR /**/ |
a835ef8a |
1189 | |
1190 | /* Gconvert: |
1191 | * This preprocessor macro is defined to convert a floating point |
1192 | * number to a string without a trailing decimal point. This |
1193 | * emulates the behavior of sprintf("%g"), but is sometimes much more |
1194 | * efficient. If gconvert() is not available, but gcvt() drops the |
1195 | * trailing decimal point, then gcvt() is used. If all else fails, |
1196 | * a macro using sprintf("%g") is used. Arguments for the Gconvert |
1197 | * macro are: value, number of digits, whether trailing zeros should |
1198 | * be retained, and the output buffer. |
1199 | * Possible values are: |
1200 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1201 | * d_Gconvert='gcvt((x),(n),(b))' |
1202 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' |
1203 | * The last two assume trailing zeros should not be kept. |
1204 | */ |
1205 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) |
1206 | |
924b3ec4 |
1207 | /* HAS_GNULIBC: |
a835ef8a |
1208 | * This symbol, if defined, indicates to the C program that |
924b3ec4 |
1209 | * the GNU C library is being used. |
a835ef8a |
1210 | */ |
924b3ec4 |
1211 | /*#define HAS_GNULIBC /**/ |
1212 | /* HAS_ISASCII: |
1213 | * This manifest constant lets the C program know that isascii |
1214 | * is available. |
a835ef8a |
1215 | */ |
924b3ec4 |
1216 | #define HAS_ISASCII /**/ |
a835ef8a |
1217 | |
be44fb0e |
1218 | /* HAS_LCHOWN: |
1219 | * This symbol, if defined, indicates that the lchown routine is |
1220 | * available to operate on a symbolic link (instead of following the |
1221 | * link). |
1222 | */ |
1223 | /*#define HAS_LCHOWN /**/ |
1224 | |
924b3ec4 |
1225 | /* HAS_OPEN3: |
1226 | * This manifest constant lets the C program know that the three |
1227 | * argument form of open(2) is available. |
a835ef8a |
1228 | */ |
924b3ec4 |
1229 | /*#define HAS_OPEN3 /**/ |
a835ef8a |
1230 | |
924b3ec4 |
1231 | /* HAS_SAFE_BCOPY: |
1232 | * This symbol, if defined, indicates that the bcopy routine is available |
1233 | * to copy potentially overlapping memory blocks. Otherwise you should |
1234 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1235 | * own version. |
a835ef8a |
1236 | */ |
924b3ec4 |
1237 | /*#define HAS_SAFE_BCOPY /**/ |
a835ef8a |
1238 | |
924b3ec4 |
1239 | /* HAS_SAFE_MEMCPY: |
1240 | * This symbol, if defined, indicates that the memcpy routine is available |
1241 | * to copy potentially overlapping memory blocks. Otherwise you should |
1242 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1243 | * own version. |
a835ef8a |
1244 | */ |
924b3ec4 |
1245 | /*#define HAS_SAFE_MEMCPY /**/ |
a835ef8a |
1246 | |
924b3ec4 |
1247 | /* HAS_SANE_MEMCMP: |
1248 | * This symbol, if defined, indicates that the memcmp routine is available |
1249 | * and can be used to compare relative magnitudes of chars with their high |
1250 | * bits set. If it is not defined, roll your own version. |
a835ef8a |
1251 | */ |
924b3ec4 |
1252 | #define HAS_SANE_MEMCMP /**/ |
a835ef8a |
1253 | |
924b3ec4 |
1254 | /* HAS_SIGACTION: |
1255 | * This symbol, if defined, indicates that Vr4's sigaction() routine |
1256 | * is available. |
fea7140c |
1257 | */ |
924b3ec4 |
1258 | /*#define HAS_SIGACTION /**/ |
fea7140c |
1259 | |
a835ef8a |
1260 | /* Sigjmp_buf: |
1261 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. |
1262 | */ |
1263 | /* Sigsetjmp: |
1264 | * This macro is used in the same way as sigsetjmp(), but will invoke |
1265 | * traditional setjmp() if sigsetjmp isn't available. |
1266 | * See HAS_SIGSETJMP. |
1267 | */ |
1268 | /* Siglongjmp: |
1269 | * This macro is used in the same way as siglongjmp(), but will invoke |
1270 | * traditional longjmp() if siglongjmp isn't available. |
1271 | * See HAS_SIGSETJMP. |
1272 | */ |
1273 | /*#define HAS_SIGSETJMP /**/ |
1274 | #ifdef HAS_SIGSETJMP |
1275 | #define Sigjmp_buf sigjmp_buf |
1276 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) |
1277 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) |
1278 | #else |
1279 | #define Sigjmp_buf jmp_buf |
1280 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) |
1281 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) |
1282 | #endif |
1283 | |
924b3ec4 |
1284 | /* USE_STDIO_PTR: |
1285 | * This symbol is defined if the _ptr and _cnt fields (or similar) |
1286 | * of the stdio FILE structure can be used to access the stdio buffer |
1287 | * for a file handle. If this is defined, then the FILE_ptr(fp) |
1288 | * and FILE_cnt(fp) macros will also be defined and should be used |
1289 | * to access these fields. |
a835ef8a |
1290 | */ |
924b3ec4 |
1291 | /* FILE_ptr: |
1292 | * This macro is used to access the _ptr field (or equivalent) of the |
1293 | * FILE structure pointed to by its argument. This macro will always be |
1294 | * defined if USE_STDIO_PTR is defined. |
1295 | */ |
1296 | /* STDIO_PTR_LVALUE: |
1297 | * This symbol is defined if the FILE_ptr macro can be used as an |
1298 | * lvalue. |
1299 | */ |
1300 | /* FILE_cnt: |
1301 | * This macro is used to access the _cnt field (or equivalent) of the |
1302 | * FILE structure pointed to by its argument. This macro will always be |
1303 | * defined if USE_STDIO_PTR is defined. |
1304 | */ |
1305 | /* STDIO_CNT_LVALUE: |
1306 | * This symbol is defined if the FILE_cnt macro can be used as an |
1307 | * lvalue. |
1308 | */ |
1309 | /*#define USE_STDIO_PTR /**/ |
1310 | #ifdef USE_STDIO_PTR |
1311 | #define FILE_ptr(fp) ((fp)->_ptr) |
1312 | #define STDIO_PTR_LVALUE /**/ |
1313 | #define FILE_cnt(fp) ((fp)->_cnt) |
1314 | #define STDIO_CNT_LVALUE /**/ |
1315 | #endif |
a835ef8a |
1316 | |
924b3ec4 |
1317 | /* USE_STDIO_BASE: |
1318 | * This symbol is defined if the _base field (or similar) of the |
1319 | * stdio FILE structure can be used to access the stdio buffer for |
1320 | * a file handle. If this is defined, then the FILE_base(fp) macro |
1321 | * will also be defined and should be used to access this field. |
1322 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used |
1323 | * to determine the number of bytes in the buffer. USE_STDIO_BASE |
1324 | * will never be defined unless USE_STDIO_PTR is. |
a835ef8a |
1325 | */ |
924b3ec4 |
1326 | /* FILE_base: |
1327 | * This macro is used to access the _base field (or equivalent) of the |
1328 | * FILE structure pointed to by its argument. This macro will always be |
1329 | * defined if USE_STDIO_BASE is defined. |
a835ef8a |
1330 | */ |
924b3ec4 |
1331 | /* FILE_bufsiz: |
1332 | * This macro is used to determine the number of bytes in the I/O |
1333 | * buffer pointed to by _base field (or equivalent) of the FILE |
1334 | * structure pointed to its argument. This macro will always be defined |
1335 | * if USE_STDIO_BASE is defined. |
1336 | */ |
1337 | /*#define USE_STDIO_BASE /**/ |
1338 | #ifdef USE_STDIO_BASE |
1339 | #define FILE_base(fp) ((fp)->_base) |
1340 | #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) |
1341 | #endif |
a835ef8a |
1342 | |
924b3ec4 |
1343 | /* HAS_VPRINTF: |
1344 | * This symbol, if defined, indicates that the vprintf routine is available |
1345 | * to printf with a pointer to an argument list. If unavailable, you |
1346 | * may need to write your own, probably in terms of _doprnt(). |
a835ef8a |
1347 | */ |
924b3ec4 |
1348 | /* USE_CHAR_VSPRINTF: |
1349 | * This symbol is defined if this system has vsprintf() returning type |
1350 | * (char*). The trend seems to be to declare it as "int vsprintf()". It |
1351 | * is up to the package author to declare vsprintf correctly based on the |
1352 | * symbol. |
1353 | */ |
1354 | #define HAS_VPRINTF /**/ |
1355 | /*#define USE_CHAR_VSPRINTF /**/ |
a835ef8a |
1356 | |
07ba5892 |
1357 | /* DOUBLESIZE: |
1358 | * This symbol contains the size of a double, so that the C preprocessor |
1359 | * can make decisions based on it. |
1360 | */ |
1361 | #define DOUBLESIZE 8 /**/ |
1362 | |
924b3ec4 |
1363 | /* I_TIME: |
a835ef8a |
1364 | * This symbol, if defined, indicates to the C program that it should |
924b3ec4 |
1365 | * include <time.h>. |
a835ef8a |
1366 | */ |
924b3ec4 |
1367 | /* I_SYS_TIME: |
a835ef8a |
1368 | * This symbol, if defined, indicates to the C program that it should |
924b3ec4 |
1369 | * include <sys/time.h>. |
a835ef8a |
1370 | */ |
924b3ec4 |
1371 | /* I_SYS_TIME_KERNEL: |
a835ef8a |
1372 | * This symbol, if defined, indicates to the C program that it should |
924b3ec4 |
1373 | * include <sys/time.h> with KERNEL defined. |
a835ef8a |
1374 | */ |
924b3ec4 |
1375 | #define I_TIME /**/ |
1376 | /*#define I_SYS_TIME /**/ |
1377 | /*#define I_SYS_TIME_KERNEL /**/ |
a835ef8a |
1378 | |
924b3ec4 |
1379 | /* INTSIZE: |
1380 | * This symbol contains the value of sizeof(int) so that the C |
1381 | * preprocessor can make decisions based on it. |
a835ef8a |
1382 | */ |
924b3ec4 |
1383 | /* LONGSIZE: |
1384 | * This symbol contains the value of sizeof(long) so that the C |
1385 | * preprocessor can make decisions based on it. |
a835ef8a |
1386 | */ |
924b3ec4 |
1387 | /* SHORTSIZE: |
1388 | * This symbol contains the value of sizeof(short) so that the C |
1389 | * preprocessor can make decisions based on it. |
1390 | */ |
1391 | #define INTSIZE 4 /**/ |
1392 | #define LONGSIZE 4 /**/ |
1393 | #define SHORTSIZE 2 /**/ |
a835ef8a |
1394 | |
924b3ec4 |
1395 | /* VAL_O_NONBLOCK: |
1396 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on |
1397 | * non-blocking I/O for the file descriptor. Note that there is no way |
1398 | * back, i.e. you cannot turn it blocking again this way. If you wish to |
1399 | * alternatively switch between blocking and non-blocking, use the |
1400 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. |
a835ef8a |
1401 | */ |
924b3ec4 |
1402 | /* VAL_EAGAIN: |
1403 | * This symbol holds the errno error code set by read() when no data was |
1404 | * present on the non-blocking file descriptor. |
1405 | */ |
1406 | /* RD_NODATA: |
1407 | * This symbol holds the return code from read() when no data is present |
1408 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is |
1409 | * not defined, then you can't distinguish between no data and EOF by |
1410 | * issuing a read(). You'll have to find another way to tell for sure! |
1411 | */ |
1412 | /* EOF_NONBLOCK: |
1413 | * This symbol, if defined, indicates to the C program that a read() on |
1414 | * a non-blocking file descriptor will return 0 on EOF, and not the value |
1415 | * held in RD_NODATA (-1 usually, in that case!). |
1416 | */ |
1417 | #define VAL_O_NONBLOCK O_NONBLOCK |
1418 | #define VAL_EAGAIN EAGAIN |
1419 | #define RD_NODATA -1 |
1420 | #define EOF_NONBLOCK |
1421 | |
07ba5892 |
1422 | /* PTRSIZE: |
1423 | * This symbol contains the size of a pointer, so that the C preprocessor |
1424 | * can make decisions based on it. It will be sizeof(void *) if |
1425 | * the compiler supports (void *); otherwise it will be |
1426 | * sizeof(char *). |
1427 | */ |
1428 | #define PTRSIZE 4 /**/ |
1429 | |
924b3ec4 |
1430 | /* RANDBITS: |
1431 | * This symbol contains the number of bits of random number the rand() |
1432 | * function produces. Usual values are 15, 16, and 31. |
1433 | */ |
1434 | #define RANDBITS 15 /**/ |
1435 | |
1436 | /* SSize_t: |
1437 | * This symbol holds the type used by functions that return |
1438 | * a count of bytes or an error condition. It must be a signed type. |
1439 | * It is usually ssize_t, but may be long or int, etc. |
1440 | * It may be necessary to include <sys/types.h> or <unistd.h> |
1441 | * to get any typedef'ed information. |
1442 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). |
1443 | */ |
1444 | #define SSize_t int /* signed count of bytes */ |
a835ef8a |
1445 | |
924b3ec4 |
1446 | /* OSNAME: |
1447 | * This symbol contains the name of the operating system, as determined |
1448 | * by Configure. You shouldn't rely on it too much; the specific |
1449 | * feature tests from Configure are generally more reliable. |
1450 | */ |
1451 | #define OSNAME "MSWin32" /**/ |
1452 | |
1453 | /* ARCHLIB: |
a835ef8a |
1454 | * This variable, if defined, holds the name of the directory in |
924b3ec4 |
1455 | * which the user wants to put architecture-dependent public |
1456 | * library files for perl5. It is most often a local directory |
1457 | * such as /usr/local/lib. Programs using this variable must be |
1458 | * prepared to deal with filename expansion. If ARCHLIB is the |
1459 | * same as PRIVLIB, it is not defined, since presumably the |
1460 | * program already searches PRIVLIB. |
1461 | */ |
1462 | /* ARCHLIB_EXP: |
1463 | * This symbol contains the ~name expanded version of ARCHLIB, to be used |
1464 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1465 | */ |
193fb0af |
1466 | #define ARCHLIB "c:\\perl\\5.00467\\lib\\MSWin32-x86" /**/ |
e5a95ffb |
1467 | /*#define ARCHLIB_EXP "" /**/ |
924b3ec4 |
1468 | |
1469 | /* CAT2: |
1470 | * This macro catenates 2 tokens together. |
1471 | */ |
1472 | /* STRINGIFY: |
1473 | * This macro surrounds its token with double quotes. |
1474 | */ |
1475 | #if 42 == 1 |
1476 | #define CAT2(a,b)a/**/b |
1477 | #define STRINGIFY(a)"a" |
1478 | /* If you can get stringification with catify, tell me how! */ |
1479 | #endif |
1480 | #if 42 == 42 |
1481 | #define CAT2(a,b)a ## b |
1482 | #define StGiFy(a)# a |
1483 | #define STRINGIFY(a)StGiFy(a) |
1484 | #endif |
1485 | #if 42 != 1 && 42 != 42 |
1486 | #include "Bletch: How does this C preprocessor catenate tokens?" |
1487 | #endif |
1488 | |
1489 | /* CSH: |
0cd52aa3 |
1490 | * This symbol, if defined, contains the full pathname of csh. |
a835ef8a |
1491 | */ |
0cd52aa3 |
1492 | /*#define HAS_CSH /**/ |
1493 | #ifdef HAS_CSH |
1494 | #define CSH "" /**/ |
1495 | #endif |
1496 | |
1497 | /* HAS_ENDHOSTENT: |
1498 | * This symbol, if defined, indicates that the endhostent() routine is |
1499 | * available to close whatever was being used for host queries. |
1500 | */ |
1501 | /*#define HAS_ENDHOSTENT /**/ |
1502 | |
1503 | /* HAS_ENDNETENT: |
1504 | * This symbol, if defined, indicates that the endnetent() routine is |
1505 | * available to close whatever was being used for network queries. |
1506 | */ |
1507 | /*#define HAS_ENDNETENT /**/ |
1508 | |
1509 | /* HAS_ENDPROTOENT: |
1510 | * This symbol, if defined, indicates that the endprotoent() routine is |
1511 | * available to close whatever was being used for protocol queries. |
1512 | */ |
1513 | /*#define HAS_ENDPROTOENT /**/ |
1514 | |
1515 | /* HAS_ENDSERVENT: |
1516 | * This symbol, if defined, indicates that the endservent() routine is |
1517 | * available to close whatever was being used for service queries. |
1518 | */ |
1519 | /*#define HAS_ENDSERVENT /**/ |
924b3ec4 |
1520 | |
07ba5892 |
1521 | /* HAS_GETHOSTBYADDR: |
1522 | * This symbol, if defined, indicates that the gethostbyaddr() routine is |
1523 | * available to look up hosts by their IP addresses. |
1524 | */ |
1525 | #define HAS_GETHOSTBYADDR /**/ |
1526 | |
1527 | /* HAS_GETHOSTBYNAME: |
1528 | * This symbol, if defined, indicates that the gethostbyname() routine is |
1529 | * available to look up host names in some data base or other. |
1530 | */ |
1531 | #define HAS_GETHOSTBYNAME /**/ |
1532 | |
1533 | /* HAS_GETHOSTENT: |
1534 | * This symbol, if defined, indicates that the gethostent() routine is |
1535 | * available to look up host names in some data base or another. |
1536 | */ |
1537 | /*#define HAS_GETHOSTENT /**/ |
1538 | |
1539 | /* HAS_GETNETBYADDR: |
1540 | * This symbol, if defined, indicates that the getnetbyaddr() routine is |
1541 | * available to look up networks by their IP addresses. |
1542 | */ |
1543 | /*#define HAS_GETNETBYADDR /**/ |
1544 | |
1545 | /* HAS_GETNETBYNAME: |
1546 | * This symbol, if defined, indicates that the getnetbyname() routine is |
1547 | * available to look up networks by their names. |
1548 | */ |
1549 | /*#define HAS_GETNETBYNAME /**/ |
1550 | |
0cd52aa3 |
1551 | /* HAS_GETNETENT: |
1552 | * This symbol, if defined, indicates that the getnetent() routine is |
1553 | * available to look up network names in some data base or another. |
1554 | */ |
1555 | /*#define HAS_GETNETENT /**/ |
1556 | |
1557 | /* HAS_GETPROTOENT: |
1558 | * This symbol, if defined, indicates that the getprotoent() routine is |
1559 | * available to look up protocols in some data base or another. |
1560 | */ |
1561 | /*#define HAS_GETPROTOENT /**/ |
1562 | |
07ba5892 |
1563 | /* HAS_GETPROTOBYNAME: |
1564 | * This symbol, if defined, indicates that the getprotobyname() |
1565 | * routine is available to look up protocols by their name. |
1566 | */ |
1567 | /* HAS_GETPROTOBYNUMBER: |
1568 | * This symbol, if defined, indicates that the getprotobynumber() |
1569 | * routine is available to look up protocols by their number. |
1570 | */ |
1571 | #define HAS_GETPROTOBYNAME /**/ |
1572 | #define HAS_GETPROTOBYNUMBER /**/ |
1573 | |
0cd52aa3 |
1574 | /* HAS_GETSERVENT: |
1575 | * This symbol, if defined, indicates that the getservent() routine is |
1576 | * available to look up network services in some data base or another. |
1577 | */ |
1578 | /*#define HAS_GETSERVENT /**/ |
1579 | |
07ba5892 |
1580 | /* HAS_GETSERVBYNAME: |
1581 | * This symbol, if defined, indicates that the getservbyname() |
1582 | * routine is available to look up services by their name. |
1583 | */ |
1584 | /* HAS_GETSERVBYPORT: |
1585 | * This symbol, if defined, indicates that the getservbyport() |
1586 | * routine is available to look up services by their port. |
1587 | */ |
1588 | #define HAS_GETSERVBYNAME /**/ |
1589 | #define HAS_GETSERVBYPORT /**/ |
1590 | |
0cd52aa3 |
1591 | /* HAS_LONG_DOUBLE: |
1592 | * This symbol will be defined if the C compiler supports long |
1593 | * doubles. |
1594 | */ |
1595 | /* LONG_DOUBLESIZE: |
1596 | * This symbol contains the size of a long double, so that the |
1597 | * C preprocessor can make decisions based on it. It is only |
1598 | * defined if the system supports long doubles. |
1599 | */ |
1600 | #define HAS_LONG_DOUBLE /**/ |
1601 | #ifdef HAS_LONG_DOUBLE |
1602 | #define LONG_DOUBLESIZE 12 /**/ |
1603 | #endif |
1604 | |
bdaec6b3 |
1605 | /* HAS_LONG_LONG: |
1606 | * This symbol will be defined if the C compiler supports |
1607 | * long long. |
1608 | */ |
1609 | /* LONGLONGSIZE: |
1610 | * This symbol contains the size of a long long, so that the |
1611 | * C preprocessor can make decisions based on it. It is only |
1612 | * defined if the system supports long long. |
1613 | */ |
1614 | /*#define HAS_LONG_LONG /**/ |
1615 | #ifdef HAS_LONG_LONG |
1616 | #define LONGLONGSIZE 8 /**/ |
1617 | #endif |
1618 | |
924b3ec4 |
1619 | /* HAS_SETGROUPS: |
1620 | * This symbol, if defined, indicates that the setgroups() routine is |
1621 | * available to set the list of process groups. If unavailable, multiple |
1622 | * groups are probably not supported. |
a835ef8a |
1623 | */ |
924b3ec4 |
1624 | /*#define HAS_SETGROUPS /**/ |
1625 | |
07ba5892 |
1626 | /* HAS_SETHOSTENT: |
1627 | * This symbol, if defined, indicates that the sethostent() routine is |
1628 | * available. |
1629 | */ |
1630 | /*#define HAS_SETHOSTENT /**/ |
1631 | |
0cd52aa3 |
1632 | /* HAS_SETNETENT: |
1633 | * This symbol, if defined, indicates that the setnetent() routine is |
1634 | * available. |
1635 | */ |
1636 | /*#define HAS_SETNETENT /**/ |
1637 | |
1638 | /* HAS_SETPROTOENT: |
1639 | * This symbol, if defined, indicates that the setprotoent() routine is |
1640 | * available. |
1641 | */ |
1642 | /*#define HAS_SETPROTOENT /**/ |
1643 | |
1644 | /* HAS_SETSERVENT: |
1645 | * This symbol, if defined, indicates that the setservent() routine is |
1646 | * available. |
1647 | */ |
1648 | /*#define HAS_SETSERVENT /**/ |
1649 | |
1650 | /* HAS_SETVBUF: |
1651 | * This symbol, if defined, indicates that the setvbuf routine is |
1652 | * available to change buffering on an open stdio stream. |
1653 | * to a line-buffered mode. |
1654 | */ |
1655 | #define HAS_SETVBUF /**/ |
1656 | |
bdaec6b3 |
1657 | /* HAS_SOCKET: |
1658 | * This symbol, if defined, indicates that the BSD socket interface is |
1659 | * supported. |
1660 | */ |
1661 | /* HAS_SOCKETPAIR: |
1662 | * This symbol, if defined, indicates that the BSD socketpair() call is |
1663 | * supported. |
1664 | */ |
1665 | #define HAS_SOCKET /**/ |
1666 | /*#define HAS_SOCKETPAIR /**/ |
1667 | |
be44fb0e |
1668 | /* HAS_UNION_SEMUN: |
1669 | * This symbol, if defined, indicates that the union semun is |
1670 | * defined by including <sys/sem.h>. If not, the user code |
1671 | * probably needs to define it as: |
1672 | * union semun { |
1673 | * int val; |
1674 | * struct semid_ds *buf; |
1675 | * unsigned short *array; |
1676 | * } |
1677 | */ |
1678 | /* USE_SEMCTL_SEMUN: |
1679 | * This symbol, if defined, indicates that union semun is |
1680 | * used for semctl IPC_STAT. |
1681 | */ |
1682 | /* USE_SEMCTL_SEMID_DS: |
1683 | * This symbol, if defined, indicates that struct semid_ds * is |
1684 | * used for semctl IPC_STAT. |
1685 | */ |
1686 | #define HAS_UNION_SEMUN /**/ |
1687 | /*#define USE_SEMCTL_SEMUN /**/ |
1688 | /*#define USE_SEMCTL_SEMID_DS /**/ |
1689 | |
924b3ec4 |
1690 | /* Signal_t: |
1691 | * This symbol's value is either "void" or "int", corresponding to the |
1692 | * appropriate return type of a signal handler. Thus, you can declare |
1693 | * a signal handler using "Signal_t (*handler)()", and define the |
1694 | * handler using "Signal_t handler(sig)". |
1695 | */ |
1696 | #define Signal_t void /* Signal handler's return type */ |
1697 | |
1698 | /* Groups_t: |
1699 | * This symbol holds the type used for the second argument to |
1700 | * getgroups() and setgropus(). Usually, this is the same as |
1701 | * gidtype (gid_t) , but sometimes it isn't. |
1702 | * It can be int, ushort, uid_t, etc... |
1703 | * It may be necessary to include <sys/types.h> to get any |
1704 | * typedef'ed information. This is only required if you have |
1705 | * getgroups() or setgropus().. |
1706 | */ |
1707 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) |
1708 | #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ |
1709 | #endif |
1710 | |
1711 | /* I_NETDB: |
1712 | * This symbol, if defined, indicates that <netdb.h> exists and |
1713 | * should be included. |
1714 | */ |
1715 | /*#define I_NETDB /**/ |
a835ef8a |
1716 | |
62520c91 |
1717 | /* I_PWD: |
1718 | * This symbol, if defined, indicates to the C program that it should |
1719 | * include <pwd.h>. |
1720 | */ |
1721 | /* PWQUOTA: |
1722 | * This symbol, if defined, indicates to the C program that struct passwd |
1723 | * contains pw_quota. |
1724 | */ |
1725 | /* PWAGE: |
1726 | * This symbol, if defined, indicates to the C program that struct passwd |
1727 | * contains pw_age. |
1728 | */ |
1729 | /* PWCHANGE: |
1730 | * This symbol, if defined, indicates to the C program that struct passwd |
1731 | * contains pw_change. |
1732 | */ |
1733 | /* PWCLASS: |
1734 | * This symbol, if defined, indicates to the C program that struct passwd |
1735 | * contains pw_class. |
1736 | */ |
1737 | /* PWEXPIRE: |
1738 | * This symbol, if defined, indicates to the C program that struct passwd |
1739 | * contains pw_expire. |
1740 | */ |
1741 | /* PWCOMMENT: |
1742 | * This symbol, if defined, indicates to the C program that struct passwd |
1743 | * contains pw_comment. |
1744 | */ |
1745 | /* PWGECOS: |
1746 | * This symbol, if defined, indicates to the C program that struct passwd |
1747 | * contains pw_gecos. |
1748 | */ |
1749 | /*#define I_PWD /**/ |
1750 | /*#define PWQUOTA /**/ |
1751 | /*#define PWAGE /**/ |
1752 | /*#define PWCHANGE /**/ |
1753 | /*#define PWCLASS /**/ |
1754 | /*#define PWEXPIRE /**/ |
1755 | /*#define PWCOMMENT /**/ |
1756 | /*#define PWGECOS /**/ |
1757 | |
a835ef8a |
1758 | /* PRIVLIB: |
1759 | * This symbol contains the name of the private library for this package. |
1760 | * The library is private in the sense that it needn't be in anyone's |
1761 | * execution path, but it should be accessible by the world. The program |
1762 | * should be prepared to do ~ expansion. |
1763 | */ |
1764 | /* PRIVLIB_EXP: |
1765 | * This symbol contains the ~name expanded version of PRIVLIB, to be used |
1766 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1767 | */ |
193fb0af |
1768 | #define PRIVLIB "c:\\perl\\5.00467\\lib" /**/ |
1769 | #define PRIVLIB_EXP (win32_get_privlib("5.00467")) /**/ |
a835ef8a |
1770 | |
62520c91 |
1771 | /* SIG_NAME: |
1772 | * This symbol contains a list of signal names in order of |
1773 | * signal number. This is intended |
1774 | * to be used as a static array initialization, like this: |
1775 | * char *sig_name[] = { SIG_NAME }; |
1776 | * The signals in the list are separated with commas, and each signal |
1777 | * is surrounded by double quotes. There is no leading SIG in the signal |
1778 | * name, i.e. SIGQUIT is known as "QUIT". |
1779 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, |
1780 | * etc., where nn is the actual signal number (e.g. NUM37). |
1781 | * The signal number for sig_name[i] is stored in sig_num[i]. |
1782 | * The last element is 0 to terminate the list with a NULL. This |
1783 | * corresponds to the 0 at the end of the sig_num list. |
1784 | */ |
1785 | /* SIG_NUM: |
1786 | * This symbol contains a list of signal numbers, in the same order as the |
1787 | * SIG_NAME list. It is suitable for static array initialization, as in: |
1788 | * int sig_num[] = { SIG_NUM }; |
1789 | * The signals in the list are separated with commas, and the indices |
1790 | * within that list and the SIG_NAME list match, so it's easy to compute |
1791 | * the signal name from a number or vice versa at the price of a small |
1792 | * dynamic linear lookup. |
1793 | * Duplicates are allowed, but are moved to the end of the list. |
1794 | * The signal number corresponding to sig_name[i] is sig_number[i]. |
1795 | * if (i < NSIG) then sig_number[i] == i. |
1796 | * The last element is 0, corresponding to the 0 at the end of |
1797 | * the sig_name list. |
1798 | */ |
1799 | #define SIG_NAME "ZERO", "INT", "QUIT", "ILL", "FPE", "KILL", "SEGV", "PIPE", "ALRM", "TERM", "CHLD", "BREAK", "ABRT", "STOP", "CONT", "CLD", 0 /**/ |
1800 | #define SIG_NUM 0, 2, 3, 4, 8, 9, 11, 13, 14, 15, 20, 21, 22, 23, 25, 20, 0 /**/ |
1801 | |
a835ef8a |
1802 | /* SITEARCH: |
1803 | * This symbol contains the name of the private library for this package. |
1804 | * The library is private in the sense that it needn't be in anyone's |
1805 | * execution path, but it should be accessible by the world. The program |
1806 | * should be prepared to do ~ expansion. |
1807 | * The standard distribution will put nothing in this directory. |
1808 | * Individual sites may place their own extensions and modules in |
1809 | * this directory. |
1810 | */ |
1811 | /* SITEARCH_EXP: |
1812 | * This symbol contains the ~name expanded version of SITEARCH, to be used |
1813 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1814 | */ |
193fb0af |
1815 | #define SITEARCH "c:\\perl\\site\\5.00467\\lib\\MSWin32-x86" /**/ |
e5a95ffb |
1816 | /*#define SITEARCH_EXP "" /**/ |
a835ef8a |
1817 | |
1818 | /* SITELIB: |
1819 | * This symbol contains the name of the private library for this package. |
1820 | * The library is private in the sense that it needn't be in anyone's |
1821 | * execution path, but it should be accessible by the world. The program |
1822 | * should be prepared to do ~ expansion. |
1823 | * The standard distribution will put nothing in this directory. |
1824 | * Individual sites may place their own extensions and modules in |
1825 | * this directory. |
1826 | */ |
1827 | /* SITELIB_EXP: |
1828 | * This symbol contains the ~name expanded version of SITELIB, to be used |
1829 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1830 | */ |
193fb0af |
1831 | #define SITELIB "c:\\perl\\site\\5.00467\\lib" /**/ |
1832 | #define SITELIB_EXP (win32_get_sitelib("5.00467")) /**/ |
a835ef8a |
1833 | |
924b3ec4 |
1834 | /* DLSYM_NEEDS_UNDERSCORE: |
1835 | * This symbol, if defined, indicates that we need to prepend an |
1836 | * underscore to the symbol name before calling dlsym(). This only |
1837 | * makes sense if you *have* dlsym, which we will presume is the |
1838 | * case if you're using dl_dlopen.xs. |
1839 | */ |
1840 | /*#define DLSYM_NEEDS_UNDERSCORE /**/ |
1841 | |
1842 | /* USE_SFIO: |
1843 | * This symbol, if defined, indicates that sfio should |
1844 | * be used. |
1845 | */ |
1846 | /*#define USE_SFIO /**/ |
1847 | |
1848 | /* USE_DYNAMIC_LOADING: |
1849 | * This symbol, if defined, indicates that dynamic loading of |
1850 | * some sort is available. |
1851 | */ |
1852 | #define USE_DYNAMIC_LOADING /**/ |
1853 | |
1854 | /* DB_Prefix_t: |
1855 | * This symbol contains the type of the prefix structure element |
1856 | * in the <db.h> header file. In older versions of DB, it was |
1857 | * int, while in newer ones it is u_int32_t. |
1858 | */ |
1859 | /* DB_Hash_t: |
1860 | * This symbol contains the type of the prefix structure element |
1861 | * in the <db.h> header file. In older versions of DB, it was |
1862 | * int, while in newer ones it is size_t. |
1863 | */ |
1864 | #define DB_Hash_t int /**/ |
1865 | #define DB_Prefix_t int /**/ |
1866 | |
a835ef8a |
1867 | /* STARTPERL: |
1868 | * This variable contains the string to put in front of a perl |
1869 | * script to make sure (one hopes) that it runs with perl and not |
1870 | * some shell. |
1871 | */ |
1872 | #define STARTPERL "#!perl" /**/ |
1873 | |
1874 | /* USE_PERLIO: |
1875 | * This symbol, if defined, indicates that the PerlIO abstraction should |
1876 | * be used throughout. If not defined, stdio should be |
1877 | * used in a fully backward compatible manner. |
1878 | */ |
1879 | /*#define USE_PERLIO /**/ |
1880 | |
bdaec6b3 |
1881 | /* HAS_GETHOST_PROTOS: |
1882 | * This symbol, if defined, indicates that <netdb.h> includes |
1883 | * prototypes for gethostent(), gethostbyname(), and |
1884 | * gethostbyaddr(). Otherwise, it is up to the program to guess |
1885 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
1886 | */ |
1887 | #define HAS_GETHOST_PROTOS /**/ |
1888 | |
1889 | /* HAS_GETNET_PROTOS: |
1890 | * This symbol, if defined, indicates that <netdb.h> includes |
1891 | * prototypes for getnetent(), getnetbyname(), and |
1892 | * getnetbyaddr(). Otherwise, it is up to the program to guess |
1893 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
1894 | */ |
1895 | /*#define HAS_GETNET_PROTOS /**/ |
1896 | |
1897 | /* HAS_GETPROTO_PROTOS: |
1898 | * This symbol, if defined, indicates that <netdb.h> includes |
1899 | * prototypes for getprotoent(), getprotobyname(), and |
1900 | * getprotobyaddr(). Otherwise, it is up to the program to guess |
1901 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
1902 | */ |
1903 | #define HAS_GETPROTO_PROTOS /**/ |
1904 | |
1905 | /* HAS_GETSERV_PROTOS: |
1906 | * This symbol, if defined, indicates that <netdb.h> includes |
1907 | * prototypes for getservent(), getservbyname(), and |
1908 | * getservbyaddr(). Otherwise, it is up to the program to guess |
1909 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
1910 | */ |
1911 | #define HAS_GETSERV_PROTOS /**/ |
1912 | |
924b3ec4 |
1913 | /* Netdb_host_t: |
1914 | * This symbol holds the type used for the 1st argument |
1915 | * to gethostbyaddr(). |
a835ef8a |
1916 | */ |
924b3ec4 |
1917 | /* Netdb_hlen_t: |
1918 | * This symbol holds the type used for the 2nd argument |
1919 | * to gethostbyaddr(). |
1920 | */ |
1921 | /* Netdb_name_t: |
1922 | * This symbol holds the type used for the argument to |
1923 | * gethostbyname(). |
1924 | */ |
1925 | /* Netdb_net_t: |
1926 | * This symbol holds the type used for the 1st argument to |
1927 | * getnetbyaddr(). |
1928 | */ |
1929 | #define Netdb_host_t char * /**/ |
1930 | #define Netdb_hlen_t int /**/ |
1931 | #define Netdb_name_t char * /**/ |
1932 | #define Netdb_net_t long /**/ |
1933 | |
1934 | /* Select_fd_set_t: |
1935 | * This symbol holds the type used for the 2nd, 3rd, and 4th |
1936 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET |
1937 | * is defined, and 'int *' otherwise. This is only useful if you |
1938 | * have select(), of course. |
1939 | */ |
1940 | #define Select_fd_set_t Perl_fd_set * /**/ |
1941 | |
1942 | /* ARCHNAME: |
1943 | * This symbol holds a string representing the architecture name. |
1944 | * It may be used to construct an architecture-dependant pathname |
1945 | * where library files may be held under a private library, for |
1946 | * instance. |
1947 | */ |
1948 | #define ARCHNAME "MSWin32-x86" /**/ |
1949 | |
1950 | /* HAS_PTHREAD_YIELD: |
1951 | * This symbol, if defined, indicates that the pthread_yield |
1952 | * routine is available to yield the execution of the current |
1953 | * thread. |
1954 | */ |
62520c91 |
1955 | /* HAS_SCHED_YIELD: |
1956 | * This symbol, if defined, indicates that the sched_yield |
1957 | * routine is available to yield the execution of the current |
1958 | * thread. |
1959 | */ |
924b3ec4 |
1960 | /*#define HAS_PTHREAD_YIELD /**/ |
62520c91 |
1961 | /*#define HAS_SCHED_YIELD /**/ |
924b3ec4 |
1962 | |
1963 | /* PTHREADS_CREATED_JOINABLE: |
1964 | * This symbol, if defined, indicates that pthreads are created |
1965 | * in the joinable (aka undetached) state. |
1966 | */ |
1967 | /*#define PTHREADS_CREATED_JOINABLE /**/ |
1968 | |
1969 | /* USE_THREADS: |
1970 | * This symbol, if defined, indicates that Perl should |
1971 | * be built to use threads. |
1972 | */ |
07ba5892 |
1973 | /* OLD_PTHREADS_API: |
1974 | * This symbol, if defined, indicates that Perl should |
1975 | * be built to use the old draft POSIX threads API. |
1976 | */ |
924b3ec4 |
1977 | /*#define USE_THREADS /**/ |
07ba5892 |
1978 | /*#define OLD_PTHREADS_API /**/ |
a835ef8a |
1979 | |
bdaec6b3 |
1980 | /* Time_t: |
1981 | * This symbol holds the type returned by time(). It can be long, |
1982 | * or time_t on BSD sites (in which case <sys/types.h> should be |
1983 | * included). |
1984 | */ |
1985 | #define Time_t time_t /* Time type */ |
1986 | |
1987 | /* HAS_TIMES: |
1988 | * This symbol, if defined, indicates that the times() routine exists. |
1989 | * Note that this became obsolete on some systems (SUNOS), which now |
1990 | * use getrusage(). It may be necessary to include <sys/times.h>. |
1991 | */ |
1992 | #define HAS_TIMES /**/ |
1993 | |
1994 | /* Fpos_t: |
1995 | * This symbol holds the type used to declare file positions in libc. |
1996 | * It can be fpos_t, long, uint, etc... It may be necessary to include |
1997 | * <sys/types.h> to get any typedef'ed information. |
1998 | */ |
1999 | #define Fpos_t fpos_t /* File position type */ |
2000 | |
2001 | /* Gid_t: |
2002 | * This symbol holds the return type of getgid() and the type of |
2003 | * argument to setrgid() and related functions. Typically, |
2004 | * it is the type of group ids in the kernel. It can be int, ushort, |
2005 | * uid_t, etc... It may be necessary to include <sys/types.h> to get |
2006 | * any typedef'ed information. |
2007 | */ |
2008 | #define Gid_t gid_t /* Type for getgid(), etc... */ |
2009 | |
2010 | /* Off_t: |
2011 | * This symbol holds the type used to declare offsets in the kernel. |
2012 | * It can be int, long, off_t, etc... It may be necessary to include |
2013 | * <sys/types.h> to get any typedef'ed information. |
2014 | */ |
2015 | #define Off_t off_t /* <offset> type */ |
2016 | |
2017 | /* Mode_t: |
2018 | * This symbol holds the type used to declare file modes |
2019 | * for systems calls. It is usually mode_t, but may be |
2020 | * int or unsigned short. It may be necessary to include <sys/types.h> |
2021 | * to get any typedef'ed information. |
2022 | */ |
2023 | #define Mode_t mode_t /* file mode parameter for system calls */ |
2024 | |
2025 | /* Pid_t: |
2026 | * This symbol holds the type used to declare process ids in the kernel. |
2027 | * It can be int, uint, pid_t, etc... It may be necessary to include |
2028 | * <sys/types.h> to get any typedef'ed information. |
2029 | */ |
2030 | #define Pid_t int /* PID type */ |
2031 | |
2032 | /* Size_t: |
2033 | * This symbol holds the type used to declare length parameters |
2034 | * for string functions. It is usually size_t, but may be |
2035 | * unsigned long, int, etc. It may be necessary to include |
2036 | * <sys/types.h> to get any typedef'ed information. |
2037 | */ |
2038 | #define Size_t size_t /* length paramater for string functions */ |
2039 | |
2040 | /* Uid_t: |
2041 | * This symbol holds the type used to declare user ids in the kernel. |
2042 | * It can be int, ushort, uid_t, etc... It may be necessary to include |
2043 | * <sys/types.h> to get any typedef'ed information. |
2044 | */ |
2045 | #define Uid_t uid_t /* UID type */ |
2046 | |
a835ef8a |
2047 | #endif |
2048 | #include <win32.h> |