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.
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
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.
14 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
18 * Package name : perl5
19 * Source directory : .
20 * Configuration time: Sat May 22 00:43:12 EET DST 1999
22 * Target system : osf1 alpha.hut.fi v4.0 878 alpha
32 * This symbol holds the complete pathname to the sed program.
34 /* #define LOC_SED "/usr/bin/sed" /**/
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.
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.
44 #define BIN "/perl" /**/
45 #define BIN_EXP "/perl" /**/
48 * This symbol, if defined, indicates that the alarm routine is
51 /* #define HAS_ALARM /**/
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.
58 #define HASATTRIBUTE / **/
61 #define __attribute__(_arg_)
65 * This symbol is defined if the bcmp() routine is available to
66 * compare blocks of memory.
71 * This symbol is defined if the bcopy() routine is available to
72 * copy blocks of memory.
74 #define HAS_BCOPY /**/
77 * This symbol is defined if the bzero() routine is available to
78 * set a memory block to 0.
80 #define HAS_BZERO /**/
83 * This symbol, if defined, indicates that the chown routine is
86 /*#define HAS_CHOWN /**/
89 * This symbol, if defined, indicates that the chroot routine is
92 /*#define HAS_CHROOT /**/
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.
98 /*#define HAS_CHSIZE / **/
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.
106 #define HASCONST /**/
112 * This symbol, if defined, indicates that the crypt routine is available
113 * to encrypt passwords and the like.
115 /*#define HAS_CRYPT /**/
118 * This symbol, if defined, indicates that the cuserid routine is
119 * available to get character login names.
121 /*#define HAS_CUSERID /**/
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.
129 /*#define HAS_DBL_DIG /* */
132 * This symbol, if defined, indicates that the difftime routine is
135 #define HAS_DIFFTIME /**/
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().
142 /*#define HAS_DLERROR /**/
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.
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.
161 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
162 /*#define DOSUID / **/
165 * This symbol, if defined, indicates that the dup2 routine is
166 * available to duplicate file descriptors.
168 /*#define HAS_DUP2 /**/
171 * This symbol, if defined, indicates that the fchmod routine is available
172 * to change mode of opened files. If unavailable, use chmod().
174 /*#define HAS_FCHMOD /**/
177 * This symbol, if defined, indicates that the fchown routine is available
178 * to change ownership of opened files. If unavailable, use chown().
180 /*#define HAS_FCHOWN /**/
183 * This symbol, if defined, indicates to the C program that
184 * the fcntl() function exists.
186 /*#define HAS_FCNTL /**/
189 * This symbol, if defined, indicates that the fgetpos routine is
190 * available to get the file position indicator, similar to ftell().
192 #define HAS_FGETPOS /**/
195 * This symbol, if defined, indicates that the system supports filenames
196 * longer than 14 characters.
198 #define FLEXFILENAMES /**/
201 * This symbol, if defined, indicates that the flock routine is
202 * available to do file locking.
204 /*#define HAS_FLOCK /**/
207 * This symbol, if defined, indicates that the fork routine is
210 /*#define HAS_FORK /**/
213 * This symbol, if defined, indicates that the fsetpos routine is
214 * available to set the file position indicator, similar to fseek().
216 #define HAS_FSETPOS /**/
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".
224 #define HAS_GETTIMEOFDAY /**/
225 #ifdef HAS_GETTIMEOFDAY
226 #define Timeval struct timeval /* Structure used by gettimeofday() */
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.
234 /*#define HAS_GETGROUPS /**/
237 * This symbol, if defined, indicates that the getlogin routine is
238 * available to get the login name.
240 /*#define HAS_GETLOGIN /**/
243 * This symbol, if defined, indicates to the C program that
244 * the getpgid(pid) function is available to get the
247 /*#define HAS_GETPGID /**/
250 * This symbol, if defined, indicates that the getpgrp routine is
251 * available to get the current process group.
254 * This symbol, if defined, indicates that getpgrp needs one
255 * arguments whereas USG one needs none.
257 /*#define HAS_GETPGRP /**/
258 /*#define USE_BSD_GETPGRP / **/
261 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
262 * routine is available to get the current process group.
264 /*#define HAS_GETPGRP2 / **/
267 * This symbol, if defined, indicates that the getppid routine is
268 * available to get the parent process ID.
270 /*#define HAS_GETPPID /**/
273 * This symbol, if defined, indicates that the getpriority routine is
274 * available to get a process's priority.
276 /*#define HAS_GETPRIORITY /**/
279 * This symbol, if defined, indicates to the C program that the
280 * inet_aton() function is available to parse IP address "dotted-quad"
283 /*#define HAS_INET_ATON /**/
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.
290 /*#define HAS_KILLPG /**/
293 * This symbol, if defined, indicates that the link routine is
294 * available to create hard links.
296 /*#define HAS_LINK /**/
299 * This symbol, if defined, indicates that the localeconv routine is
300 * available for numeric and monetary formatting conventions.
302 /*#define HAS_LOCALECONV /**/
305 * This symbol, if defined, indicates that the lockf routine is
306 * available to do file locking.
308 /*#define HAS_LOCKF /**/
311 * This symbol, if defined, indicates that the lstat routine is
312 * available to do file stats on symbolic links.
314 /*#define HAS_LSTAT /**/
317 * This symbol, if defined, indicates that the mblen routine is available
318 * to find the number of bytes in a multibye character.
320 /*#define HAS_MBLEN /**/
323 * This symbol, if defined, indicates that the mbstowcs routine is
324 * available to covert a multibyte string into a wide character string.
326 /*#define HAS_MBSTOWCS /**/
329 * This symbol, if defined, indicates that the mbtowc routine is available
330 * to covert a multibyte to a wide character.
332 /*#define HAS_MBTOWC /**/
335 * This symbol, if defined, indicates that the memcmp routine is available
336 * to compare blocks of memory.
338 #define HAS_MEMCMP /**/
341 * This symbol, if defined, indicates that the memcpy routine is available
342 * to copy blocks of memory.
344 #define HAS_MEMCPY /**/
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
352 #define HAS_MEMMOVE /**/
355 * This symbol, if defined, indicates that the memset routine is available
356 * to set blocks of memory.
358 #define HAS_MEMSET /**/
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
365 #define HAS_MKDIR /**/
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.
373 /*#define HAS_MKFIFO /**/
376 * This symbol, if defined, indicates that the mktime routine is
379 #define HAS_MKTIME /**/
382 * This symbol, if defined, indicates that the nice routine is
385 /*#define HAS_NICE /**/
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.
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.
397 /*#define HAS_PATHCONF /**/
398 /*#define HAS_FPATHCONF /**/
401 * This symbol, if defined, indicates that the pause routine is
402 * available to suspend a process until a signal is received.
404 /*#define HAS_PAUSE /**/
407 * This symbol, if defined, indicates that the pipe routine is
408 * available to create an inter-process channel.
410 /*#define HAS_PIPE /**/
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.
417 /*#define HAS_POLL /**/
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.
424 #define HAS_READDIR /**/
427 * This symbol, if defined, indicates that the seekdir routine is
428 * available. You may have to include <dirent.h>. See I_DIRENT.
430 #define HAS_SEEKDIR /**/
433 * This symbol, if defined, indicates that the telldir routine is
434 * available. You may have to include <dirent.h>. See I_DIRENT.
436 #define HAS_TELLDIR /**/
439 * This symbol, if defined, indicates that the rewinddir routine is
440 * available. You may have to include <dirent.h>. See I_DIRENT.
442 #define HAS_REWINDDIR /**/
445 * This symbol, if defined, indicates that the readlink routine is
446 * available to read the value of a symbolic link.
448 /*#define HAS_READLINK /**/
451 * This symbol, if defined, indicates that the rename routine is available
452 * to rename files. Otherwise you should do the unlink(), link(), unlink()
455 #define HAS_RENAME /**/
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.
462 #define HAS_RMDIR /**/
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.
469 /*#define HAS_SELECT /**/
472 * This symbol, if defined, indicates that the setegid routine is available
473 * to change the effective gid of the current program.
475 /*#define HAS_SETEGID /**/
478 * This symbol, if defined, indicates that the seteuid routine is available
479 * to change the effective uid of the current program.
481 /*#define HAS_SETEUID /**/
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.
488 /*#define HAS_SETLINEBUF /**/
491 * This symbol, if defined, indicates that the setlocale routine is
492 * available to handle locale-specific ctype implementations.
494 /*#define HAS_SETLOCALE /**/
497 * This symbol, if defined, indicates that the setpgid(pid, gpid)
498 * routine is available to set process group ID.
500 /*#define HAS_SETPGID /**/
503 * This symbol, if defined, indicates that the setpgrp routine is
504 * available to set the current process group.
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.
511 /*#define HAS_SETPGRP /**/
512 /*#define USE_BSD_SETPGRP /**/
515 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
516 * routine is available to set the current process group.
518 /*#define HAS_SETPGRP2 / **/
521 * This symbol, if defined, indicates that the setpriority routine is
522 * available to set a process's priority.
524 /*#define HAS_SETPRIORITY /**/
527 * This symbol, if defined, indicates that the setregid routine is
528 * available to change the real and effective gid of the current
532 * This symbol, if defined, indicates that the setresgid routine is
533 * available to change the real, effective and saved gid of the current
536 /*#define HAS_SETREGID /**/
537 /*#define HAS_SETRESGID / **/
540 * This symbol, if defined, indicates that the setreuid routine is
541 * available to change the real and effective uid of the current
545 * This symbol, if defined, indicates that the setresuid routine is
546 * available to change the real, effective and saved uid of the current
549 /*#define HAS_SETREUID /**/
550 /*#define HAS_SETRESUID / **/
553 * This symbol, if defined, indicates that the setrgid routine is available
554 * to change the real gid of the current program.
556 /*#define HAS_SETRGID /**/
559 * This symbol, if defined, indicates that the setruid routine is available
560 * to change the real uid of the current program.
562 /*#define HAS_SETRUID /**/
565 * This symbol, if defined, indicates that the setsid routine is
566 * available to set the process group ID.
568 /*#define HAS_SETSID /**/
571 * This symbol holds the return type of the shmat() system call.
572 * Usually set to 'void *' or 'char *'.
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.
581 /*#define Shmat_t void * /**/
582 /*#define HAS_SHMAT_PROTOTYPE /**/
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.
590 * This symbol is defined to indicate that the index()/rindex()
591 * functions are available for string searching.
593 #define HAS_STRCHR /**/
594 /*#define HAS_INDEX / **/
597 * This symbol, if defined, indicates that the strcoll routine is
598 * available to compare strings using collating information.
600 #define HAS_STRCOLL /**/
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.
607 #define USE_STRUCT_COPY /**/
610 * This symbol, if defined, indicates that the strtod routine is
611 * available to provide better numeric string conversion than atof().
613 #define HAS_STRTOD /**/
616 * This symbol, if defined, indicates that the strtol routine is available
617 * to provide better numeric string conversion than atoi() and friends.
619 #define HAS_STRTOL /**/
622 * This symbol, if defined, indicates that the strtoul routine is
623 * available to provide conversion of strings to unsigned long.
625 #define HAS_STRTOUL /**/
628 * This symbol, if defined, indicates that the strxfrm() routine is
629 * available to transform strings.
631 #define HAS_STRXFRM /**/
634 * This symbol, if defined, indicates that the symlink routine is available
635 * to create symbolic links.
637 /*#define HAS_SYMLINK /**/
640 * This symbol, if defined, indicates that the syscall routine is
641 * available to call arbitrary system calls. If undefined, that's tough.
643 /*#define HAS_SYSCALL /**/
646 * This symbol, if defined, indicates that sysconf() is available
647 * to determine system related limits and options.
649 #define HAS_SYSCONF /**/
652 * This symbol, if defined, indicates that the system routine is
653 * available to issue a shell command.
655 #define HAS_SYSTEM /**/
658 * This symbol, if defined, indicates that the tcgetpgrp routine is
659 * available to get foreground process group ID.
661 /*#define HAS_TCGETPGRP /**/
664 * This symbol, if defined, indicates that the tcsetpgrp routine is
665 * available to set foreground process group ID.
667 /*#define HAS_TCSETPGRP /**/
670 * This symbol, if defined, indicates that the truncate routine is
671 * available to truncate files.
673 /*#define HAS_TRUNCATE /**/
676 * This symbol, if defined, indicates that the tzname[] array is
677 * available to access timezone names.
679 /*#define HAS_TZNAME /**/
682 * This symbol, if defined, indicates that the umask routine is
683 * available to set and get the value of the file creation mask.
685 /*#define HAS_UMASK /**/
688 * This symbol, if defined, indicates that this C compiler knows about
689 * the volatile declaration.
691 #define HASVOLATILE /**/
697 * This symbol, if defined, indicates that wait4() exists.
699 /*#define HAS_WAIT4 /**/
702 * This symbol, if defined, indicates that the waitpid routine is
703 * available to wait for child process.
705 /*#define HAS_WAITPID /**/
708 * This symbol, if defined, indicates that the wcstombs routine is
709 * available to convert wide character strings to multibyte strings.
711 /*#define HAS_WCSTOMBS /**/
714 * This symbol, if defined, indicates that the wctomb routine is available
715 * to covert a wide character to a multibyte.
717 /*#define HAS_WCTOMB /**/
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.
723 #define I_ARPA_INET /**/
726 * This symbol, if defined, indicates that <dbm.h> exists and should
730 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
731 * should be included.
734 /*#define I_RPCSVC_DBM / **/
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>.
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.
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.
752 #define I_DIRENT /**/
753 /*#define DIRNAMLEN /**/
754 #define Direntry_t struct dirent
757 * This symbol, if defined, indicates that <dlfcn.h> exists and should
760 /*#define I_DLFCN /**/
763 * This manifest constant tells the C program to include <fcntl.h>.
765 #define I_FCNTL / **/
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.
772 /*#define I_FLOAT /**/
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.
779 #define I_LIMITS /**/
782 * This symbol, if defined, indicates to the C program that it should
783 * include <locale.h>.
785 /*#define I_LOCALE /**/
788 * This symbol, if defined, indicates to the C program that it should
794 * This symbol, if defined, indicates to the C program that it should
795 * include <memory.h>.
797 /*#define I_MEMORY / **/
800 * This symbol, if defined, indicates that <ndbm.h> exists and should
803 /*#define I_NDBM /**/
806 * This symbol, if defined, indicates that <net/errno.h> exists and
807 * should be included.
809 /*#define I_NET_ERRNO / **/
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>.
815 #define I_NETINET_IN /**/
818 * This symbol, if defined, indicates to the C program that it should
821 /*#define I_SFIO / **/
824 * This symbol, if defined, indicates that <stddef.h> exists and should
827 #define I_STDDEF /**/
830 * This symbol, if defined, indicates that <stdlib.h> exists and should
833 #define I_STDLIB /**/
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).
839 #define I_STRING /**/
842 * This symbol, if defined, indicates to the C program that it should
843 * include <sys/dir.h>.
845 /*#define I_SYS_DIR /**/
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.
851 /*#define I_SYS_FILE /**/
854 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
855 * be included. Otherwise, include <sgtty.h> or <termio.h>.
857 #define I_SYS_IOCTL /**/
860 * This symbol, if defined, indicates to the C program that it should
861 * include <sys/ndir.h>.
863 /*#define I_SYS_NDIR / **/
866 * This symbol, if defined, indicates to the C program that it should
867 * include <sys/param.h>.
869 #define I_SYS_PARAM /**/
872 * This symbol, if defined, indicates to the C program that it should
873 * include <sys/resource.h>.
875 #define I_SYS_RESOURCE /**/
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.
881 /*#define I_SYS_SELECT /**/
884 * This symbol, if defined, indicates to the C program that it should
885 * include <sys/stat.h>.
887 #define I_SYS_STAT /**/
890 * This symbol, if defined, indicates to the C program that it should
891 * include <sys/times.h>.
893 #define I_SYS_TIMES /**/
896 * This symbol, if defined, indicates to the C program that it should
897 * include <sys/types.h>.
899 #define I_SYS_TYPES /**/
902 * This symbol, if defined, indicates to the C program that it should
903 * include <sys/un.h> to get UNIX domain socket definitions.
905 /*#define I_SYS_UN /**/
908 * This symbol, if defined, indicates to the C program that it should
909 * include <sys/wait.h>.
911 #define I_SYS_WAIT /**/
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.
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.
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.
929 /*#define I_TERMIO / **/
930 /*#define I_TERMIOS /**/
931 /*#define I_SGTTY / **/
934 * This symbol, if defined, indicates to the C program that it should
935 * include <unistd.h>.
937 #define I_UNISTD /**/
940 * This symbol, if defined, indicates to the C program that it should
943 /*#define I_UTIME /**/
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.
951 /*#define I_VALUES /**/
954 * This symbol, if defined, indicates that <stdarg.h> exists and should
958 * This symbol, if defined, indicates to the C program that it should
959 * include <varargs.h>.
961 #define I_STDARG /**/
962 /*#define I_VARARGS / **/
965 * This symbol, if defined, indicates to the C program that it should
968 /*#define I_VFORK / **/
971 * If defined, this macro indicates that the C compiler can handle
972 * function prototypes.
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:
979 * int main _((int argc, char *argv[]));
981 #define CAN_PROTOTYPE /**/
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
995 #define SH_PATH "/bin/sh" /**/
998 * This symbol is defined to be the type of char used in stdio.h.
999 * It has the values "unsigned char" or "char".
1001 #define STDCHAR char /**/
1004 * This symbol, if defined, indicates that the accessx routine is
1005 * available to do extended access checks.
1007 /*#define HAS_ACCESSX / **/
1010 * This symbol, if defined, indicates that the eaccess routine is
1011 * available to do extended access checks.
1013 /*#define HAS_EACCESS / **/
1016 * This symbol, if defined, indicates to the C program that it should
1017 * include <sys/access.h>.
1019 /*#define I_SYS_ACCESS /**/
1022 * This symbol, if defined, indicates to the C program that it should
1023 * include <sys/security.h>.
1025 /*#define I_SYS_SECURITY /**/
1028 * This symbol, if defined, signifies that we our
1029 * build process is a cross-compilation.
1031 #define CROSSCOMPILE / **/
1034 * This symbol contains the value of sizeof(int) so that the C
1035 * preprocessor can make decisions based on it.
1038 * This symbol contains the value of sizeof(long) so that the C
1039 * preprocessor can make decisions based on it.
1042 * This symbol contains the value of sizeof(short) so that the C
1043 * preprocessor can make decisions based on it.
1045 #define INTSIZE 4 /**/
1046 #define LONGSIZE 4 /**/
1047 #define SHORTSIZE 2 /**/
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
1056 #define MULTIARCH / **/
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,
1063 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1064 # define MEM_ALIGNBYTES 8
1066 #define MEM_ALIGNBYTES 8
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.
1085 #if defined(CROSSCOMPILE) || defined(MULTIARCH)
1086 # ifdef __LITTLE_ENDIAN__
1088 # define BYTEORDER 0x1234
1091 # define BYTEORDER 0x12345678
1095 # ifdef __BIG_ENDIAN__
1097 # define BYTEORDER 0x4321
1100 # define BYTEORDER 0x87654321
1105 # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1106 # define BYTEORDER 0x4321
1109 #define BYTEORDER 0x12345678 /* large digits for MSB */
1113 * This symbol is defined if the C compiler can cast negative
1114 * or large floating point numbers to 32-bit ints.
1116 /*#define CASTI32 / **/
1119 * This symbol is defined if the C compiler can cast negative
1120 * numbers to unsigned longs, ints and shorts.
1123 * This symbol contains flags that say what difficulties the compiler
1124 * has casting odd floating values to unsigned long:
1126 * 1 = couldn't cast < 0
1127 * 2 = couldn't cast >= 0x80000000
1128 * 4 = couldn't cast in argument expression list
1130 /*#define CASTNEGFLOAT /**/
1131 /*#define CASTFLAGS 0 /**/
1134 * This symbol, if defined, indicates that the closedir() routine
1135 * does not return a value.
1137 /*#define VOID_CLOSEDIR / **/
1140 * This symbol, when defined, indicates presence of the fd_set typedef
1143 #define HAS_FD_SET /**/
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.
1160 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1163 * This symbol, if defined, indicates to the C program that
1164 * the GNU C library is being used.
1166 /*#define HAS_GNULIBC / **/
1168 * This manifest constant lets the C program know that isascii
1171 #define HAS_ISASCII /**/
1174 * This symbol, if defined, indicates that the lchown routine is
1175 * available to operate on a symbolic link (instead of following the
1178 /*##define HAS_LCHOWN /**/
1181 * This manifest constant lets the C program know that the three
1182 * argument form of open(2) is available.
1184 #define HAS_OPEN3 /**/
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
1192 /*##define HAS_SAFE_BCOPY /**/
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
1200 /*#define HAS_SAFE_MEMCPY / **/
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.
1207 #define HAS_SANE_MEMCMP /**/
1210 * This symbol, if defined, indicates that Vr4's sigaction() routine
1213 /*##define HAS_SIGACTION /**/
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.
1223 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
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.
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.
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))
1241 #define Sigjmp_buf jmp_buf
1242 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1243 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
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.
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.
1258 /* STDIO_PTR_LVALUE:
1259 * This symbol is defined if the FILE_ptr macro can be used as an
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.
1267 /* STDIO_CNT_LVALUE:
1268 * This symbol is defined if the FILE_cnt macro can be used as an
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 /**/
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.
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.
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.
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)
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().
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
1316 #define HAS_VPRINTF /**/
1317 /*#define USE_CHAR_VSPRINTF / **/
1320 * This symbol contains the size of a double, so that the C preprocessor
1321 * can make decisions based on it.
1323 #define DOUBLESIZE 8 /**/
1326 * This symbol, if defined, indicates to the C program that it should
1330 * This symbol, if defined, indicates to the C program that it should
1331 * include <sys/time.h>.
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.
1337 #define I_TIME / **/
1338 #define I_SYS_TIME /**/
1339 /*#define I_SYS_TIME_KERNEL / **/
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.
1349 * This symbol holds the errno error code set by read() when no data was
1350 * present on the non-blocking file descriptor.
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!
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!).
1363 #define VAL_O_NONBLOCK O_NONBLOCK
1364 #define VAL_EAGAIN EAGAIN
1365 #define RD_NODATA -1
1366 #define EOF_NONBLOCK
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
1374 #define PTRSIZE 8 /**/
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.
1384 * This symbol defines the type of the argument of the
1385 * random seed function.
1388 * This symbol defines the macro to be used in seeding the
1389 * random number generator (see Drand01).
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.
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 /**/
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).
1409 #define SSize_t long /* signed count of bytes */
1412 * This symbol, if defined, indicates that this system uses
1415 /*#define EBCDIC / **/
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.
1422 #define OSNAME "epoc" /**/
1425 * This macro catenates 2 tokens together.
1428 * This macro surrounds its token with double quotes.
1431 #define CAT2(a,b)a/**/b
1432 #define STRINGIFY(a)"a"
1433 /* If you can get stringification with catify, tell me how! */
1436 #define CAT2(a,b)a ## b
1437 #define StGiFy(a)# a
1438 #define STRINGIFY(a)StGiFy(a)
1440 #if 42 != 1 && 42 != 42
1441 #include "Bletch: How does this C preprocessor catenate tokens?"
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.
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 "".
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.
1465 #define CPPSTDIN "cppstdin"
1467 #define CPPRUN "/usr/bin/cpp"
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.)
1474 /*#define HAS_ACCESS /**/
1477 * This symbol, if defined, indicates that the C-shell exists.
1480 * This symbol, if defined, contains the full pathname of csh.
1482 /*#define HAS_CSH /**/
1484 #define CSH "/usr/bin/csh" /**/
1488 * This symbol, if defined, indicates that the getgrent routine is
1489 * available for finalizing sequential access of the group database.
1491 /*#define HAS_ENDGRENT /**/
1494 * This symbol, if defined, indicates that the endhostent() routine is
1495 * available to close whatever was being used for host queries.
1497 /*#define HAS_ENDHOSTENT /**/
1500 * This symbol, if defined, indicates that the endnetent() routine is
1501 * available to close whatever was being used for network queries.
1503 /*#define HAS_ENDNETENT /**/
1506 * This symbol, if defined, indicates that the endprotoent() routine is
1507 * available to close whatever was being used for protocol queries.
1509 /*#define HAS_ENDPROTOENT /**/
1512 * This symbol, if defined, indicates that the getgrent routine is
1513 * available for finalizing sequential access of the passwd database.
1515 /*#define HAS_ENDPWENT /**/
1518 * This symbol, if defined, indicates that the endservent() routine is
1519 * available to close whatever was being used for service queries.
1521 /*#define HAS_ENDSERVENT /**/
1524 * This symbol, if defined, indicates that the getgrent routine is
1525 * available for sequential access of the group database.
1527 /*#define HAS_GETGRENT /**/
1529 /* HAS_GETHOSTBYADDR:
1530 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1531 * available to look up hosts by their IP addresses.
1533 #define HAS_GETHOSTBYADDR /**/
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.
1539 #define HAS_GETHOSTBYNAME /**/
1542 * This symbol, if defined, indicates that the gethostent() routine is
1543 * available to look up host names in some data base or another.
1545 /*#define HAS_GETHOSTENT /**/
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
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
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
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 */
1571 /* HAS_GETNETBYADDR:
1572 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1573 * available to look up networks by their IP addresses.
1575 /*#define HAS_GETNETBYADDR /**/
1577 /* HAS_GETNETBYNAME:
1578 * This symbol, if defined, indicates that the getnetbyname() routine is
1579 * available to look up networks by their names.
1581 /*#define HAS_GETNETBYNAME /**/
1584 * This symbol, if defined, indicates that the getnetent() routine is
1585 * available to look up network names in some data base or another.
1587 /*#define HAS_GETNETENT /**/
1590 * This symbol, if defined, indicates that the getprotoent() routine is
1591 * available to look up protocols in some data base or another.
1593 /*#define HAS_GETPROTOENT /**/
1595 /* HAS_GETPROTOBYNAME:
1596 * This symbol, if defined, indicates that the getprotobyname()
1597 * routine is available to look up protocols by their name.
1599 /* HAS_GETPROTOBYNUMBER:
1600 * This symbol, if defined, indicates that the getprotobynumber()
1601 * routine is available to look up protocols by their number.
1603 /*#define HAS_GETPROTOBYNAME /**/
1604 /*#define HAS_GETPROTOBYNUMBER /**/
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.
1611 /*#define HAS_GETPWENT /**/
1614 * This symbol, if defined, indicates that the getservent() routine is
1615 * available to look up network services in some data base or another.
1617 /*#define HAS_GETSERVENT /**/
1619 /* HAS_GETSERVBYNAME:
1620 * This symbol, if defined, indicates that the getservbyname()
1621 * routine is available to look up services by their name.
1623 /* HAS_GETSERVBYPORT:
1624 * This symbol, if defined, indicates that the getservbyport()
1625 * routine is available to look up services by their port.
1627 /*#define HAS_GETSERVBYNAME /**/
1628 /*#define HAS_GETSERVBYPORT /**/
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.
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.
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.
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.
1650 #define HAS_HTONL /**/
1651 #define HAS_HTONS /**/
1652 #define HAS_NTOHL /**/
1653 #define HAS_NTOHS /**/
1656 * This symbol will be defined if the C compiler supports long
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.
1664 /*#define HAS_LONG_DOUBLE /**/
1665 #ifdef HAS_LONG_DOUBLE
1666 #define LONG_DOUBLESIZE 8 /**/
1670 * This symbol will be defined if the C compiler supports long long.
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.
1677 /*#define HAS_LONG_LONG /**/
1678 #ifdef HAS_LONG_LONG
1679 #define LONGLONGSIZE 8 /**/
1683 * This symbol, if defined, indicates that the memchr routine is available
1684 * to locate characters within a C string.
1686 #define HAS_MEMCHR /**/
1689 * This symbol, if defined, indicates that the entire msg*(2) library is
1690 * supported (IPC mechanism based on message queues).
1692 /*#define HAS_MSG /**/
1695 * This symbol, if defined, indicates that the entire sem*(2) library is
1698 /*#define HAS_SEM /**/
1701 * This symbol, if defined, indicates that the setgrent routine is
1702 * available for initializing sequential access of the group database.
1704 /*#define HAS_SETGRENT /**/
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.
1711 /*#define HAS_SETGROUPS /**/
1714 * This symbol, if defined, indicates that the sethostent() routine is
1717 /*#define HAS_SETHOSTENT /**/
1720 * This symbol, if defined, indicates that the setnetent() routine is
1723 /*#define HAS_SETNETENT /**/
1726 * This symbol, if defined, indicates that the setprotoent() routine is
1729 /*#define HAS_SETPROTOENT /**/
1732 * This symbol, if defined, indicates that the setpwent routine is
1733 * available for initializing sequential access of the passwd database.
1735 /*#define HAS_SETPWENT /**/
1738 * This symbol, if defined, indicates that the setservent() routine is
1741 /*#define HAS_SETSERVENT /**/
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.
1748 /*#define HAS_SETVBUF /**/
1751 * This symbol, if defined, indicates that the entire shm*(2) library is
1754 /*#define HAS_SHM /**/
1757 * This symbol, if defined, indicates that the BSD socket interface is
1761 * This symbol, if defined, indicates that the BSD socketpair() call is
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.
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.
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.
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.
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.
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.
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 /**/
1804 * This symbol is defined if this system has a stat structure declaring
1805 * st_blksize and st_blocks.
1807 #define USE_STAT_BLOCKS /**/
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.
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.
1820 * This preprocessor symbol is defined as a macro if strerror() is
1821 * not available to translate error numbers to strings but sys_errlist[]
1824 #define HAS_STRERROR /**/
1825 /*##define HAS_SYS_ERRLIST /**/
1826 #define Strerror(e) strerror(e)
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:
1834 * struct semid_ds *buf;
1835 * unsigned short *array;
1838 /* USE_SEMCTL_SEMUN:
1839 * This symbol, if defined, indicates that union semun is
1840 * used for semctl IPC_STAT.
1842 /* USE_SEMCTL_SEMID_DS:
1843 * This symbol, if defined, indicates that struct semid_ds * is
1844 * used for semctl IPC_STAT.
1846 /*#define HAS_UNION_SEMUN / **/
1847 #define USE_SEMCTL_SEMUN /**/
1848 #define USE_SEMCTL_SEMID_DS /**/
1851 * This symbol, if defined, indicates that vfork() exists.
1853 /*#define HAS_VFORK / **/
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)".
1861 #define Signal_t void /* Signal handler's return type */
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()..
1872 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1873 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1877 * This symbol, if defined, indicates to the C program that it should
1881 * This symbol, if defined, indicates to the C program that struct group
1882 * in <grp.h> contains gr_passwd.
1884 /*##define I_GRP /**/
1885 /*##define GRPASSWD /**/
1888 * This symbol, if defined, indicates that <netdb.h> exists and
1889 * should be included.
1891 #define I_NETDB /**/
1894 * This symbol, if defined, indicates to the C program that it should
1898 * This symbol, if defined, indicates to the C program that struct passwd
1899 * contains pw_quota.
1902 * This symbol, if defined, indicates to the C program that struct passwd
1906 * This symbol, if defined, indicates to the C program that struct passwd
1907 * contains pw_change.
1910 * This symbol, if defined, indicates to the C program that struct passwd
1911 * contains pw_class.
1914 * This symbol, if defined, indicates to the C program that struct passwd
1915 * contains pw_expire.
1918 * This symbol, if defined, indicates to the C program that struct passwd
1919 * contains pw_comment.
1922 * This symbol, if defined, indicates to the C program that struct passwd
1923 * contains pw_gecos.
1926 * This symbol, if defined, indicates to the C program that struct passwd
1927 * contains pw_passwd.
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 /**/
1940 * This variable contains the return type of free(). It is usually
1941 * void, but occasionally int.
1944 * This symbol is the type of pointer returned by malloc and realloc.
1946 #define Malloc_t void * /**/
1947 #define Free_t void /**/
1950 * This symbol, if defined, indicates that we're using our own malloc.
1952 /*#define MYMALLOC / **/
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.
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.
1982 #define SIG_NAME "ZERO", 0 /**/
1983 #define SIG_NUM 0, 0 /**/
1986 * This symbol indicates how much support of the void type is given by this
1987 * compiler. What various bits mean:
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
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.
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 */
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.
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.
2023 #define ARCHLIB "/perl/lib/5.00562/epoc" /**/
2024 #define ARCHLIB_EXP "/perl/lib/5.00562/epoc" /**/
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.
2032 /*#define DLSYM_NEEDS_UNDERSCORE / **/
2035 * This symbol, if defined, indicates that the fseeko routine is
2036 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2038 /*#define HAS_FSEEKO / **/
2041 * This symbol, if defined, indicates that the ftello routine is
2042 * available to ftell from beyond 32 bits (useful for ILP32 hosts).
2044 /*#define HAS_FTELLO / **/
2047 * This symbol, if defined, indicates that the getmntent routine is
2048 * available to iterate through mounted file systems.
2050 /*#define HAS_GETMNTENT / **/
2053 * This symbol, if defined, indicates that the hasmntopt routine is
2054 * available to query the mount options of file systems.
2056 /*#define HAS_HASMNTOPT / **/
2059 * This symbol, if defined, indicates that sfio should
2062 /*#define USE_SFIO / **/
2065 * This symbol, if defined, indicates that the fstatfs routine is
2066 * available to stat filesystems of file descriptors.
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).
2075 #define HAS_FSTATFS /**/
2076 #define HAS_STRUCT_STATFS_FLAGS /**/
2079 * This symbol, if defined, indicates that the fstatvfs routine is
2080 * available to stat filesystems of file descriptors.
2082 /*#define HAS_FSTATVFS /**/
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*));
2090 #define HAS_TELLDIR_PROTO /**/
2092 /* USE_DYNAMIC_LOADING:
2093 * This symbol, if defined, indicates that dynamic loading of
2094 * some sort is available.
2096 /*#define USE_DYNAMIC_LOADING /**/
2099 * This symbol, if defined, tells that fflush(NULL) does flush
2100 * all pending stdio output.
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.
2109 /*#define FFLUSH_NULL /**/
2110 #define FFLUSH_ALL / **/
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.
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.
2122 /*#define DB_Hash_t u_int32_t /**/
2123 /*#define DB_Prefix_t size_t /**/
2126 * This symbol, if defined, indicates to the C program that it should
2127 * include <inttypes.h>.
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.
2134 /*#define I_INTTYPES / **/
2135 /*#define HAS_INT64_T / **/
2138 * This symbol, if defined, indicates that <mntent.h> exists and
2139 * should be included.
2141 /*#define I_MNTENT / **/
2144 * This symbol, if defined, indicates to the C program that it should
2145 * include <netinet/tcp.h>.
2147 #define I_NETINET_TCP /**/
2150 * This symbol, if defined, indicates that <poll.h> exists and
2151 * should be included.
2153 /*#define I_POLL /**/
2156 * This symbol, if defined, indicates that <sys/mount.h> exists and
2157 * should be included.
2159 /*#define I_SYS_MOUNT /**/
2162 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2163 * should be included.
2165 /*#define I_SYS_STATVFS /**/
2167 /* INSTALL_USR_BIN_PERL:
2168 * This symbol, if defined, indicates that Perl is to be installed
2169 * also as /usr/bin/perl.
2171 /*#define INSTALL_USR_BIN_PERL /**/
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.
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.
2183 #define PRIVLIB "/perl/lib/5.00562" /**/
2184 #define PRIVLIB_EXP "/perl/lib/5.00562" /**/
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.
2193 #define SELECT_MIN_BITS 32 /**/
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
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.
2208 #define SITEARCH "/perl/lib/site_perl/5.00562/epoc" /**/
2209 #define SITEARCH_EXP "/perl/lib/site_perl/5.00562/epoc" /**/
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
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.
2224 #define SITELIB "/perl/lib/site_perl/5.00562" /**/
2225 #define SITELIB_EXP "/perl/lib/site_perl/5.00562" /**/
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
2232 #define STARTPERL "#!/opt/perl/bin/perl" /**/
2234 /* HAS_STDIO_STREAM_ARRAY:
2235 * This symbol, if defined, tells that there is an array
2236 * holding the stdio streams.
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.
2242 /*#define HAS_STDIO_STREAM_ARRAY /**/
2243 /*#define STDIO_STREAM_ARRAY _iob
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).
2250 /*#define USE_64_BITS /**/
2253 * This symbol, if defined, indicates that Perl should
2254 * be built to use multiplicity.
2256 /*#define MULTIPLICITY / **/
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.
2263 /*#define USE_PERLIO / **/
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));
2271 #define HAS_DRAND48_PROTO /**/
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.
2279 #define HAS_GETHOST_PROTOS /**/
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.
2287 #define HAS_GETNET_PROTOS /**/
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.
2295 #define HAS_GETPROTO_PROTOS /**/
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.
2303 #define HAS_GETSERV_PROTOS /**/
2306 * This symbol holds the type used for the 1st argument
2307 * to gethostbyaddr().
2310 * This symbol holds the type used for the 2nd argument
2311 * to gethostbyaddr().
2314 * This symbol holds the type used for the argument to
2318 * This symbol holds the type used for the 1st argument to
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 /**/
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.
2332 #define Select_fd_set_t fd_set * /**/
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
2340 #define ARCHNAME "epoc" /**/
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
2350 /*#define OLD_PTHREAD_CREATE_JOINABLE / **/
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.
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.
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.
2367 /*#define HAS_PTHREAD_YIELD / **/
2368 /*#define SCHED_YIELD sched_yield() /**/
2369 /*#define HAS_SCHED_YIELD /**/
2372 * This symbol, if defined, indicates to the C program that it should
2373 * include <mach/cthreads.h>.
2375 /*#define I_MACH_CTHREADS / **/
2378 * This symbol, if defined, indicates that Perl should
2379 * be built to use threads.
2381 /* OLD_PTHREADS_API:
2382 * This symbol, if defined, indicates that Perl should
2383 * be built to use the old draft POSIX threads API.
2385 /*#define USE_THREADS /**/
2386 /*#define OLD_PTHREADS_API / **/
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
2393 #define Time_t time_t /* Time type */
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>.
2400 /*#define HAS_TIMES /**/
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.
2407 #define Fpos_t fpos_t /* File position type */
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.
2416 #define Gid_t gid_t /* Type for getgid(), etc... */
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.
2424 * This symbol holds the number of bytes used by the Off_t.
2426 #define Off_t off_t /* <offset> type */
2427 #define LSEEKSIZE 8 /* <offset> size */
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.
2435 #define Mode_t mode_t /* file mode parameter for system calls */
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.
2442 #define Pid_t pid_t /* PID type */
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.
2450 #define Size_t size_t /* length paramater for string functions */
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.
2457 #define Uid_t uid_t /* UID type */
2460 * This symbol, if defined, contains the string used by stdio to
2461 * format long doubles (format 'f') for output.
2464 * This symbol, if defined, contains the string used by stdio to
2465 * format long doubles (format 'g') for output.
2467 #define PERL_PRIfldbl "f" /**/
2468 #define PERL_PRIgldbl "g" /**/