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