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