2 * This file was produced by running the config_h.SH script, which
3 * gets its values from config.sh, which is generally produced by
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit config.sh and rerun config_h.SH.
10 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
14 * Package name : perl5
16 * Configuration time: undef
17 * Configured by : gsar
25 * This symbol holds the complete pathname to the sed program.
27 #define LOC_SED "" /**/
30 * This symbol holds the path of the bin directory where the package will
31 * be installed. Program must be prepared to deal with ~name substitution.
34 * This symbol is the filename expanded version of the BIN symbol, for
35 * programs that do not want to deal with that at run-time.
37 #define BIN "c:\\perl\\5.00472\\bin\\MSWin32-x86" /**/
38 #define BIN_EXP "c:\\perl\\5.00472\\bin\\MSWin32-x86" /**/
41 * This symbol contains the first part of the string which will invoke
42 * the C preprocessor on the standard input and produce to standard
43 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
44 * call a wrapper. See CPPRUN.
47 * This symbol contains the second part of the string which will invoke
48 * the C preprocessor on the standard input and produce to standard
49 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
50 * to specify standard input, otherwise the value is "".
52 #define CPPSTDIN "gcc -E"
56 * This symbol, if defined, indicates that the alarm routine is
59 /*#define HAS_ALARM /**/
62 * This symbol indicates the C compiler can check for function attributes,
63 * such as printf formats. This is normally only supported by GNU cc.
65 #define HASATTRIBUTE /**/
67 #define __attribute__(_arg_)
71 * This symbol is defined if the bcmp() routine is available to
72 * compare blocks of memory.
74 /*#define HAS_BCMP /**/
77 * This symbol is defined if the bcopy() routine is available to
78 * copy blocks of memory.
80 /*#define HAS_BCOPY /**/
83 * This symbol is defined if the bzero() routine is available to
84 * set a memory block to 0.
86 /*#define HAS_BZERO /**/
89 * This symbol, if defined, indicates that the chown routine is
92 /*#define HAS_CHOWN /**/
95 * This symbol, if defined, indicates that the chroot routine is
98 /*#define HAS_CHROOT /**/
101 * This symbol, if defined, indicates that the chsize routine is available
102 * to truncate files. You might need a -lx to get this routine.
104 #define HAS_CHSIZE /**/
107 * This symbol, if defined, indicates that this C compiler knows about
108 * the const type. There is no need to actually test for that symbol
109 * within your programs. The mere use of the "const" keyword will
110 * trigger the necessary tests.
112 #define HASCONST /**/
118 * This symbol, if defined, indicates that the crypt routine is available
119 * to encrypt passwords and the like.
121 /*#define HAS_CRYPT /**/
124 * This symbol, if defined, indicates that the cuserid routine is
125 * available to get character login names.
127 /*#define HAS_CUSERID /**/
130 * This symbol, if defined, indicates that this system's <float.h>
131 * or <limits.h> defines the symbol DBL_DIG, which is the number
132 * of significant digits in a double precision number. If this
133 * symbol is not defined, a guess of 15 is usually pretty good.
135 #define HAS_DBL_DIG /**/
138 * This symbol, if defined, indicates that the difftime routine is
141 #define HAS_DIFFTIME /**/
144 * This symbol, if defined, indicates that the dlerror routine is
145 * available to return a string describing the last error that
146 * occurred from a call to dlopen(), dlclose() or dlsym().
148 #define HAS_DLERROR /**/
150 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
151 * This symbol, if defined, indicates that the bug that prevents
152 * setuid scripts from being secure is not present in this kernel.
155 * This symbol, if defined, indicates that the C program should
156 * check the script that it is executing for setuid/setgid bits, and
157 * attempt to emulate setuid/setgid on systems that have disabled
158 * setuid #! scripts because the kernel can't do it securely.
159 * It is up to the package designer to make sure that this emulation
160 * is done securely. Among other things, it should do an fstat on
161 * the script it just opened to make sure it really is a setuid/setgid
162 * script, it should make sure the arguments passed correspond exactly
163 * to the argument on the #! line, and it should not trust any
164 * subprocesses to which it must pass the filename rather than the
165 * file descriptor of the script to be executed.
167 /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
168 /*#define DOSUID /**/
171 * This symbol, if defined, indicates that the dup2 routine is
172 * available to duplicate file descriptors.
174 #define HAS_DUP2 /**/
177 * This symbol, if defined, indicates that the fchmod routine is available
178 * to change mode of opened files. If unavailable, use chmod().
180 /*#define HAS_FCHMOD /**/
183 * This symbol, if defined, indicates that the fchown routine is available
184 * to change ownership of opened files. If unavailable, use chown().
186 /*#define HAS_FCHOWN /**/
189 * This symbol, if defined, indicates to the C program that
190 * the fcntl() function exists.
192 /*#define HAS_FCNTL /**/
195 * This symbol, if defined, indicates that the fgetpos routine is
196 * available to get the file position indicator, similar to ftell().
198 #define HAS_FGETPOS /**/
201 * This symbol, if defined, indicates that the system supports filenames
202 * longer than 14 characters.
204 #define FLEXFILENAMES /**/
207 * This symbol, if defined, indicates that the flock routine is
208 * available to do file locking.
210 #define HAS_FLOCK /**/
213 * This symbol, if defined, indicates that the fork routine is
216 /*#define HAS_FORK /**/
219 * This symbol, if defined, indicates that the fsetpos routine is
220 * available to set the file position indicator, similar to fseek().
222 #define HAS_FSETPOS /**/
225 * This symbol, if defined, indicates that the gettimeofday() system
226 * call is available for a sub-second accuracy clock. Usually, the file
227 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
228 * The type "Timeval" should be used to refer to "struct timeval".
230 /*#define HAS_GETTIMEOFDAY /**/
231 #ifdef HAS_GETTIMEOFDAY
232 #define Timeval struct timeval /* Structure used by gettimeofday() */
236 * This symbol, if defined, indicates that the getgroups() routine is
237 * available to get the list of process groups. If unavailable, multiple
238 * groups are probably not supported.
240 /*#define HAS_GETGROUPS /**/
243 * This symbol, if defined, indicates that the C program may use the
244 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
247 /*#define HAS_UNAME /**/
250 * This symbol, if defined, indicates that the getlogin routine is
251 * available to get the login name.
253 #define HAS_GETLOGIN /**/
256 * This symbol, if defined, indicates to the C program that
257 * the getpgid(pid) function is available to get the
260 /*#define HAS_GETPGID /**/
263 * This symbol, if defined, indicates that the getpgrp routine is
264 * available to get the current process group.
267 * This symbol, if defined, indicates that getpgrp needs one
268 * arguments whereas USG one needs none.
270 /*#define HAS_GETPGRP /**/
271 /*#define USE_BSD_GETPGRP /**/
274 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
275 * routine is available to get the current process group.
277 /*#define HAS_GETPGRP2 /**/
280 * This symbol, if defined, indicates that the getppid routine is
281 * available to get the parent process ID.
283 /*#define HAS_GETPPID /**/
286 * This symbol, if defined, indicates that the getpriority routine is
287 * available to get a process's priority.
289 /*#define HAS_GETPRIORITY /**/
292 * This symbol, if defined, indicates that the htonl() routine (and
293 * friends htons() ntohl() ntohs()) are available to do network
294 * order byte swapping.
297 * This symbol, if defined, indicates that the htons() routine (and
298 * friends htonl() ntohl() ntohs()) are available to do network
299 * order byte swapping.
302 * This symbol, if defined, indicates that the ntohl() routine (and
303 * friends htonl() htons() ntohs()) are available to do network
304 * order byte swapping.
307 * This symbol, if defined, indicates that the ntohs() routine (and
308 * friends htonl() htons() ntohl()) are available to do network
309 * order byte swapping.
311 #define HAS_HTONL /**/
312 #define HAS_HTONS /**/
313 #define HAS_NTOHL /**/
314 #define HAS_NTOHS /**/
317 * This symbol, if defined, indicates to the C program that the
318 * inet_aton() function is available to parse IP address "dotted-quad"
321 /*#define HAS_INET_ATON /**/
324 * This symbol, if defined, indicates that the killpg routine is available
325 * to kill process groups. If unavailable, you probably should use kill
326 * with a negative process number.
328 /*#define HAS_KILLPG /**/
331 * This symbol, if defined, indicates that the link routine is
332 * available to create hard links.
334 /*#define HAS_LINK /**/
337 * This symbol, if defined, indicates that the localeconv routine is
338 * available for numeric and monetary formatting conventions.
340 #define HAS_LOCALECONV /**/
343 * This symbol, if defined, indicates that the lockf routine is
344 * available to do file locking.
346 /*#define HAS_LOCKF /**/
349 * This symbol, if defined, indicates that the lstat routine is
350 * available to do file stats on symbolic links.
352 /*#define HAS_LSTAT /**/
355 * This symbol, if defined, indicates that the mblen routine is available
356 * to find the number of bytes in a multibye character.
358 #define HAS_MBLEN /**/
361 * This symbol, if defined, indicates that the mbstowcs routine is
362 * available to covert a multibyte string into a wide character string.
364 #define HAS_MBSTOWCS /**/
367 * This symbol, if defined, indicates that the mbtowc routine is available
368 * to covert a multibyte to a wide character.
370 #define HAS_MBTOWC /**/
373 * This symbol, if defined, indicates that the memcmp routine is available
374 * to compare blocks of memory.
376 #define HAS_MEMCMP /**/
379 * This symbol, if defined, indicates that the memcpy routine is available
380 * to copy blocks of memory.
382 #define HAS_MEMCPY /**/
385 * This symbol, if defined, indicates that the memmove routine is available
386 * to copy potentially overlapping blocks of memory. This should be used
387 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
390 #define HAS_MEMMOVE /**/
393 * This symbol, if defined, indicates that the memset routine is available
394 * to set blocks of memory.
396 #define HAS_MEMSET /**/
399 * This symbol, if defined, indicates that the mkdir routine is available
400 * to create directories. Otherwise you should fork off a new process to
403 #define HAS_MKDIR /**/
406 * This symbol, if defined, indicates that the mkfifo routine is
407 * available to create FIFOs. Otherwise, mknod should be able to
408 * do it for you. However, if mkfifo is there, mknod might require
409 * super-user privileges which mkfifo will not.
411 /*#define HAS_MKFIFO /**/
414 * This symbol, if defined, indicates that the mktime routine is
417 #define HAS_MKTIME /**/
420 * This symbol, if defined, indicates that the entire msg*(2) library is
421 * supported (IPC mechanism based on message queues).
423 /*#define HAS_MSG /**/
426 * This symbol, if defined, indicates that the nice routine is
429 /*#define HAS_NICE /**/
432 * This symbol, if defined, indicates that pathconf() is available
433 * to determine file-system related limits and options associated
434 * with a given filename.
437 * This symbol, if defined, indicates that pathconf() is available
438 * to determine file-system related limits and options associated
439 * with a given open file descriptor.
441 /*#define HAS_PATHCONF /**/
442 /*#define HAS_FPATHCONF /**/
445 * This symbol, if defined, indicates that the pause routine is
446 * available to suspend a process until a signal is received.
448 #define HAS_PAUSE /**/
451 * This symbol, if defined, indicates that the pipe routine is
452 * available to create an inter-process channel.
454 #define HAS_PIPE /**/
457 * This symbol, if defined, indicates that the poll routine is
458 * available to poll active file descriptors. You may safely
459 * include <poll.h> when this symbol is defined.
461 /*#define HAS_POLL /**/
464 * This symbol, if defined, indicates that the readdir routine is
465 * available to read directory entries. You may have to include
466 * <dirent.h>. See I_DIRENT.
468 #define HAS_READDIR /**/
471 * This symbol, if defined, indicates that the seekdir routine is
472 * available. You may have to include <dirent.h>. See I_DIRENT.
474 #define HAS_SEEKDIR /**/
477 * This symbol, if defined, indicates that the telldir routine is
478 * available. You may have to include <dirent.h>. See I_DIRENT.
480 #define HAS_TELLDIR /**/
483 * This symbol, if defined, indicates that the rewinddir routine is
484 * available. You may have to include <dirent.h>. See I_DIRENT.
486 #define HAS_REWINDDIR /**/
489 * This symbol, if defined, indicates that the readlink routine is
490 * available to read the value of a symbolic link.
492 /*#define HAS_READLINK /**/
495 * This symbol, if defined, indicates that the rename routine is available
496 * to rename files. Otherwise you should do the unlink(), link(), unlink()
499 #define HAS_RENAME /**/
502 * This symbol, if defined, indicates that the rmdir routine is
503 * available to remove directories. Otherwise you should fork off a
504 * new process to exec /bin/rmdir.
506 #define HAS_RMDIR /**/
509 * This symbol, if defined, indicates that the select routine is
510 * available to select active file descriptors. If the timeout field
511 * is used, <sys/time.h> may need to be included.
513 #define HAS_SELECT /**/
516 * This symbol, if defined, indicates that the entire sem*(2) library is
519 /*#define HAS_SEM /**/
522 * This symbol, if defined, indicates that the setegid routine is available
523 * to change the effective gid of the current program.
525 /*#define HAS_SETEGID /**/
528 * This symbol, if defined, indicates that the seteuid routine is available
529 * to change the effective uid of the current program.
531 /*#define HAS_SETEUID /**/
534 * This symbol, if defined, indicates that the setlinebuf routine is
535 * available to change stderr or stdout from block-buffered or unbuffered
536 * to a line-buffered mode.
538 /*#define HAS_SETLINEBUF /**/
541 * This symbol, if defined, indicates that the setlocale routine is
542 * available to handle locale-specific ctype implementations.
544 #define HAS_SETLOCALE /**/
547 * This symbol, if defined, indicates that the setpgid(pid, gpid)
548 * routine is available to set process group ID.
550 /*#define HAS_SETPGID /**/
553 * This symbol, if defined, indicates that the setpgrp routine is
554 * available to set the current process group.
557 * This symbol, if defined, indicates that setpgrp needs two
558 * arguments whereas USG one needs none. See also HAS_SETPGID
559 * for a POSIX interface.
561 /*#define HAS_SETPGRP /**/
562 /*#define USE_BSD_SETPGRP /**/
565 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
566 * routine is available to set the current process group.
568 /*#define HAS_SETPGRP2 /**/
571 * This symbol, if defined, indicates that the setpriority routine is
572 * available to set a process's priority.
574 /*#define HAS_SETPRIORITY /**/
577 * This symbol, if defined, indicates that the setregid routine is
578 * available to change the real and effective gid of the current
582 * This symbol, if defined, indicates that the setresgid routine is
583 * available to change the real, effective and saved gid of the current
586 /*#define HAS_SETREGID /**/
587 /*#define HAS_SETRESGID /**/
590 * This symbol, if defined, indicates that the setreuid routine is
591 * available to change the real and effective uid of the current
595 * This symbol, if defined, indicates that the setresuid routine is
596 * available to change the real, effective and saved uid of the current
599 /*#define HAS_SETREUID /**/
600 /*#define HAS_SETRESUID /**/
603 * This symbol, if defined, indicates that the setrgid routine is available
604 * to change the real gid of the current program.
606 /*#define HAS_SETRGID /**/
609 * This symbol, if defined, indicates that the setruid routine is available
610 * to change the real uid of the current program.
612 /*#define HAS_SETRUID /**/
615 * This symbol, if defined, indicates that the setsid routine is
616 * available to set the process group ID.
618 /*#define HAS_SETSID /**/
621 * This symbol, if defined, indicates that the entire shm*(2) library is
624 /*#define HAS_SHM /**/
627 * This symbol holds the return type of the shmat() system call.
628 * Usually set to 'void *' or 'char *'.
630 /* HAS_SHMAT_PROTOTYPE:
631 * This symbol, if defined, indicates that the sys/shm.h includes
632 * a prototype for shmat(). Otherwise, it is up to the program to
633 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
634 * but not always right so it should be emitted by the program only
635 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
637 #define Shmat_t void * /**/
638 /*#define HAS_SHMAT_PROTOTYPE /**/
641 * This symbol is defined if this system has a stat structure declaring
642 * st_blksize and st_blocks.
644 /*#define USE_STAT_BLOCKS /**/
647 * This symbol is defined to indicate that the strchr()/strrchr()
648 * functions are available for string searching. If not, try the
649 * index()/rindex() pair.
652 * This symbol is defined to indicate that the index()/rindex()
653 * functions are available for string searching.
655 #define HAS_STRCHR /**/
656 /*#define HAS_INDEX /**/
659 * This symbol, if defined, indicates that the strcoll routine is
660 * available to compare strings using collating information.
662 #define HAS_STRCOLL /**/
665 * This symbol, if defined, indicates that this C compiler knows how
666 * to copy structures. If undefined, you'll need to use a block copy
667 * routine of some sort instead.
669 #define USE_STRUCT_COPY /**/
672 * This symbol, if defined, indicates that the strerror routine is
673 * available to translate error numbers to strings. See the writeup
674 * of Strerror() in this file before you try to define your own.
677 * This symbol, if defined, indicates that the sys_errlist array is
678 * available to translate error numbers to strings. The extern int
679 * sys_nerr gives the size of that table.
682 * This preprocessor symbol is defined as a macro if strerror() is
683 * not available to translate error numbers to strings but sys_errlist[]
686 #define HAS_STRERROR /**/
687 #define HAS_SYS_ERRLIST /**/
688 #define Strerror(e) strerror(e)
691 * This symbol, if defined, indicates that the strtod routine is
692 * available to provide better numeric string conversion than atof().
694 #define HAS_STRTOD /**/
697 * This symbol, if defined, indicates that the strtol routine is available
698 * to provide better numeric string conversion than atoi() and friends.
700 #define HAS_STRTOL /**/
703 * This symbol, if defined, indicates that the strtoul routine is
704 * available to provide conversion of strings to unsigned long.
706 #define HAS_STRTOUL /**/
709 * This symbol, if defined, indicates that the strxfrm() routine is
710 * available to transform strings.
712 #define HAS_STRXFRM /**/
715 * This symbol, if defined, indicates that the symlink routine is available
716 * to create symbolic links.
718 /*#define HAS_SYMLINK /**/
721 * This symbol, if defined, indicates that the syscall routine is
722 * available to call arbitrary system calls. If undefined, that's tough.
724 /*#define HAS_SYSCALL /**/
727 * This symbol, if defined, indicates that sysconf() is available
728 * to determine system related limits and options.
730 /*#define HAS_SYSCONF /**/
733 * This symbol, if defined, indicates that the system routine is
734 * available to issue a shell command.
736 #define HAS_SYSTEM /**/
739 * This symbol, if defined, indicates that the tcgetpgrp routine is
740 * available to get foreground process group ID.
742 /*#define HAS_TCGETPGRP /**/
745 * This symbol, if defined, indicates that the tcsetpgrp routine is
746 * available to set foreground process group ID.
748 /*#define HAS_TCSETPGRP /**/
751 * This symbol, if defined, indicates that the truncate routine is
752 * available to truncate files.
754 /*#define HAS_TRUNCATE /**/
757 * This symbol, if defined, indicates that the tzname[] array is
758 * available to access timezone names.
760 /*#define HAS_TZNAME /**/
763 * This symbol, if defined, indicates that the umask routine is
764 * available to set and get the value of the file creation mask.
766 #define HAS_UMASK /**/
769 * This symbol, if defined, indicates that vfork() exists.
771 /*#define HAS_VFORK /**/
774 * This symbol, if defined, indicates that this C compiler knows about
775 * the volatile declaration.
777 #define HASVOLATILE /**/
783 * This symbol, if defined, indicates that wait4() exists.
785 /*#define HAS_WAIT4 /**/
788 * This symbol, if defined, indicates that the waitpid routine is
789 * available to wait for child process.
791 #define HAS_WAITPID /**/
794 * This symbol, if defined, indicates that the wcstombs routine is
795 * available to convert wide character strings to multibyte strings.
797 #define HAS_WCSTOMBS /**/
800 * This symbol, if defined, indicates that the wctomb routine is available
801 * to covert a wide character to a multibyte.
803 #define HAS_WCTOMB /**/
806 * This symbol, if defined, indicates that <arpa/inet.h> exists and should
809 /*#define I_ARPA_INET /**/
812 * This symbol, if defined, indicates that <dbm.h> exists and should
816 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
817 * should be included.
820 #define I_RPCSVC_DBM /**/
823 * This symbol, if defined, indicates to the C program that it should
824 * include <dirent.h>. Using this symbol also triggers the definition
825 * of the Direntry_t define which ends up being 'struct dirent' or
826 * 'struct direct' depending on the availability of <dirent.h>.
829 * This symbol, if defined, indicates to the C program that the length
830 * of directory entry names is provided by a d_namlen field. Otherwise
831 * you need to do strlen() on the d_name field.
834 * This symbol is set to 'struct direct' or 'struct dirent' depending on
835 * whether dirent is available or not. You should use this pseudo type to
836 * portably declare your directory entries.
838 #define I_DIRENT /**/
839 #define DIRNAMLEN /**/
840 #define Direntry_t struct direct
843 * This symbol, if defined, indicates that <dlfcn.h> exists and should
849 * This manifest constant tells the C program to include <fcntl.h>.
854 * This symbol, if defined, indicates to the C program that it should
855 * include <float.h> to get definition of symbols like DBL_MAX or
856 * DBL_MIN, i.e. machine dependent floating point values.
861 * This symbol, if defined, indicates to the C program that it should
865 * This symbol, if defined, indicates to the C program that struct group
866 * contains gr_passwd.
869 * This symbol, if defined, indicates that the getgrent routine is
870 * available for initializing sequential access of the group database.
873 * This symbol, if defined, indicates that the getgrent routine is
874 * available for sequential access of the group database.
877 * This symbol, if defined, indicates that the getgrent routine is
878 * available for finalizing sequential access of the group database.
881 /*#define GRPASSWD /**/
882 /*#define HAS_SETGRENT /**/
883 /*#define HAS_GETGRENT /**/
884 /*#define HAS_ENDGRENT /**/
887 * This symbol, if defined, indicates to the C program that it should
888 * include <limits.h> to get definition of symbols like WORD_BIT or
889 * LONG_MAX, i.e. machine dependant limitations.
891 #define I_LIMITS /**/
894 * This symbol, if defined, indicates to the C program that it should
895 * include <locale.h>.
897 #define I_LOCALE /**/
900 * This symbol, if defined, indicates to the C program that it should
906 * This symbol, if defined, indicates to the C program that it should
907 * include <memory.h>.
909 /*#define I_MEMORY /**/
912 * This symbol, if defined, indicates that <ndbm.h> exists and should
915 /*#define I_NDBM /**/
918 * This symbol, if defined, indicates that <net/errno.h> exists and
919 * should be included.
921 /*#define I_NET_ERRNO /**/
924 * This symbol, if defined, indicates to the C program that it should
925 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
927 /*#define I_NETINET_IN /**/
930 * This symbol, if defined, indicates to the C program that it should
933 /*#define I_SFIO /**/
936 * This symbol, if defined, indicates that <stddef.h> exists and should
939 #define I_STDDEF /**/
942 * This symbol, if defined, indicates that <stdlib.h> exists and should
945 #define I_STDLIB /**/
948 * This symbol, if defined, indicates to the C program that it should
949 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
951 #define I_STRING /**/
954 * This symbol, if defined, indicates to the C program that it should
955 * include <sys/dir.h>.
957 /*#define I_SYS_DIR /**/
960 * This symbol, if defined, indicates to the C program that it should
961 * include <sys/file.h> to get definition of R_OK and friends.
963 /*#define I_SYS_FILE /**/
966 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
967 * be included. Otherwise, include <sgtty.h> or <termio.h>.
969 /*#define I_SYS_IOCTL /**/
972 * This symbol, if defined, indicates to the C program that it should
973 * include <sys/ndir.h>.
975 /*#define I_SYS_NDIR /**/
978 * This symbol, if defined, indicates to the C program that it should
979 * include <sys/param.h>.
981 /*#define I_SYS_PARAM /**/
984 * This symbol, if defined, indicates to the C program that it should
985 * include <sys/resource.h>.
987 /*#define I_SYS_RESOURCE /**/
990 * This symbol, if defined, indicates to the C program that it should
991 * include <sys/select.h> in order to get definition of struct timeval.
993 /*#define I_SYS_SELECT /**/
996 * This symbol, if defined, indicates to the C program that it should
997 * include <sys/stat.h>.
999 #define I_SYS_STAT /**/
1002 * This symbol, if defined, indicates to the C program that it should
1003 * include <sys/times.h>.
1005 /*#define I_SYS_TIMES /**/
1008 * This symbol, if defined, indicates to the C program that it should
1009 * include <sys/types.h>.
1011 #define I_SYS_TYPES /**/
1014 * This symbol, if defined, indicates to the C program that it should
1015 * include <sys/un.h> to get UNIX domain socket definitions.
1017 /*#define I_SYS_UN /**/
1020 * This symbol, if defined, indicates to the C program that it should
1021 * include <sys/wait.h>.
1023 /*#define I_SYS_WAIT /**/
1026 * This symbol, if defined, indicates that the program should include
1027 * <termio.h> rather than <sgtty.h>. There are also differences in
1028 * the ioctl() calls that depend on the value of this symbol.
1031 * This symbol, if defined, indicates that the program should include
1032 * the POSIX termios.h rather than sgtty.h or termio.h.
1033 * There are also differences in the ioctl() calls that depend on the
1034 * value of this symbol.
1037 * This symbol, if defined, indicates that the program should include
1038 * <sgtty.h> rather than <termio.h>. There are also differences in
1039 * the ioctl() calls that depend on the value of this symbol.
1041 /*#define I_TERMIO /**/
1042 /*#define I_TERMIOS /**/
1043 /*#define I_SGTTY /**/
1046 * This symbol, if defined, indicates to the C program that it should
1047 * include <unistd.h>.
1049 /*#define I_UNISTD /**/
1052 * This symbol, if defined, indicates to the C program that it should
1053 * include <utime.h>.
1055 #define I_UTIME /**/
1058 * This symbol, if defined, indicates to the C program that it should
1059 * include <values.h> to get definition of symbols like MINFLOAT or
1060 * MAXLONG, i.e. machine dependant limitations. Probably, you
1061 * should use <limits.h> instead, if it is available.
1063 /*#define I_VALUES /**/
1066 * This symbol, if defined, indicates that <stdarg.h> exists and should
1070 * This symbol, if defined, indicates to the C program that it should
1071 * include <varargs.h>.
1073 #define I_STDARG /**/
1074 /*#define I_VARARGS /**/
1077 * This symbol, if defined, indicates to the C program that it should
1080 /*#define I_VFORK /**/
1083 * If defined, this macro indicates that the C compiler can handle
1084 * function prototypes.
1087 * This macro is used to declare function parameters for folks who want
1088 * to make declarations with prototypes using a different style than
1089 * the above macros. Use double parentheses. For example:
1091 * int main _((int argc, char *argv[]));
1093 #define CAN_PROTOTYPE /**/
1094 #ifdef CAN_PROTOTYPE
1095 #define _(args) args
1101 * This symbol contains the full pathname to the shell used on this
1102 * on this system to execute Bourne shell scripts. Usually, this will be
1103 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1104 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1107 #define SH_PATH "cmd /x /c" /**/
1110 * This symbol is defined to be the type of char used in stdio.h.
1111 * It has the values "unsigned char" or "char".
1113 #define STDCHAR char /**/
1116 * This symbol contains the number of bytes required to align a
1117 * double. Usual values are 2, 4 and 8.
1118 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1119 * Binaries (MAB) for targets with varying alignment. This only matters
1120 * for perl, where the config.h can be generated and installed on one
1121 * system, and used by a different architecture to build an extension.
1122 * The default is eight, for safety.
1124 #define MEM_ALIGNBYTES 8 /**/
1127 * This symbol holds the hexadecimal constant defined in byteorder,
1128 * i.e. 0x1234 or 0x4321, etc...
1129 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1130 * Binaries (MAB) on either big endian or little endian machines.
1131 * The endian-ness is available at compile-time. This only matters
1132 * for perl, where the config.h can be generated and installed on
1133 * one system, and used by a different architecture to build an
1134 * extension. Older versions of NeXT that might not have
1135 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1136 * so the default case (for NeXT) is big endian to catch them.
1137 * This might matter for NeXT 3.0.
1140 #define BYTEORDER 0x1234 /* large digits for MSB */
1142 #ifdef __LITTLE_ENDIAN__
1143 #define BYTEORDER 0x1234
1144 #else /* __BIG_ENDIAN__ */
1145 #define BYTEORDER 0x4321
1146 #endif /* ENDIAN CHECK */
1150 * This symbol is defined if the C compiler can cast negative
1151 * or large floating point numbers to 32-bit ints.
1153 #define CASTI32 /**/
1156 * This symbol is defined if the C compiler can cast negative
1157 * numbers to unsigned longs, ints and shorts.
1160 * This symbol contains flags that say what difficulties the compiler
1161 * has casting odd floating values to unsigned long:
1163 * 1 = couldn't cast < 0
1164 * 2 = couldn't cast >= 0x80000000
1165 * 4 = couldn't cast in argument expression list
1167 #define CASTNEGFLOAT /**/
1168 #define CASTFLAGS 0 /**/
1171 * This symbol, if defined, indicates that the closedir() routine
1172 * does not return a value.
1174 /*#define VOID_CLOSEDIR /**/
1177 * This preprocessor macro is defined to convert a floating point
1178 * number to a string without a trailing decimal point. This
1179 * emulates the behavior of sprintf("%g"), but is sometimes much more
1180 * efficient. If gconvert() is not available, but gcvt() drops the
1181 * trailing decimal point, then gcvt() is used. If all else fails,
1182 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1183 * macro are: value, number of digits, whether trailing zeros should
1184 * be retained, and the output buffer.
1185 * Possible values are:
1186 * d_Gconvert='gconvert((x),(n),(t),(b))'
1187 * d_Gconvert='gcvt((x),(n),(b))'
1188 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1189 * The last two assume trailing zeros should not be kept.
1191 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1194 * This symbol, if defined, indicates to the C program that
1195 * the GNU C library is being used.
1197 /*#define HAS_GNULIBC /**/
1199 * This manifest constant lets the C program know that isascii
1202 #define HAS_ISASCII /**/
1205 * This symbol, if defined, indicates that the lchown routine is
1206 * available to operate on a symbolic link (instead of following the
1209 /*#define HAS_LCHOWN /**/
1212 * This manifest constant lets the C program know that the three
1213 * argument form of open(2) is available.
1215 /*#define HAS_OPEN3 /**/
1218 * This symbol, if defined, indicates that the bcopy routine is available
1219 * to copy potentially overlapping memory blocks. Otherwise you should
1220 * probably use memmove() or memcpy(). If neither is defined, roll your
1223 /*#define HAS_SAFE_BCOPY /**/
1226 * This symbol, if defined, indicates that the memcpy routine is available
1227 * to copy potentially overlapping memory blocks. Otherwise you should
1228 * probably use memmove() or memcpy(). If neither is defined, roll your
1231 /*#define HAS_SAFE_MEMCPY /**/
1234 * This symbol, if defined, indicates that the memcmp routine is available
1235 * and can be used to compare relative magnitudes of chars with their high
1236 * bits set. If it is not defined, roll your own version.
1238 #define HAS_SANE_MEMCMP /**/
1241 * This symbol, if defined, indicates that Vr4's sigaction() routine
1244 /*#define HAS_SIGACTION /**/
1247 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1250 * This macro is used in the same way as sigsetjmp(), but will invoke
1251 * traditional setjmp() if sigsetjmp isn't available.
1252 * See HAS_SIGSETJMP.
1255 * This macro is used in the same way as siglongjmp(), but will invoke
1256 * traditional longjmp() if siglongjmp isn't available.
1257 * See HAS_SIGSETJMP.
1259 /*#define HAS_SIGSETJMP /**/
1260 #ifdef HAS_SIGSETJMP
1261 #define Sigjmp_buf sigjmp_buf
1262 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1263 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1265 #define Sigjmp_buf jmp_buf
1266 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1267 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1271 * This symbol is defined if the _ptr and _cnt fields (or similar)
1272 * of the stdio FILE structure can be used to access the stdio buffer
1273 * for a file handle. If this is defined, then the FILE_ptr(fp)
1274 * and FILE_cnt(fp) macros will also be defined and should be used
1275 * to access these fields.
1278 * This macro is used to access the _ptr field (or equivalent) of the
1279 * FILE structure pointed to by its argument. This macro will always be
1280 * defined if USE_STDIO_PTR is defined.
1282 /* STDIO_PTR_LVALUE:
1283 * This symbol is defined if the FILE_ptr macro can be used as an
1287 * This macro is used to access the _cnt field (or equivalent) of the
1288 * FILE structure pointed to by its argument. This macro will always be
1289 * defined if USE_STDIO_PTR is defined.
1291 /* STDIO_CNT_LVALUE:
1292 * This symbol is defined if the FILE_cnt macro can be used as an
1295 /*#define USE_STDIO_PTR /**/
1296 #ifdef USE_STDIO_PTR
1297 #define FILE_ptr(fp) ((fp)->_ptr)
1298 #define STDIO_PTR_LVALUE /**/
1299 #define FILE_cnt(fp) ((fp)->_cnt)
1300 #define STDIO_CNT_LVALUE /**/
1304 * This symbol is defined if the _base field (or similar) of the
1305 * stdio FILE structure can be used to access the stdio buffer for
1306 * a file handle. If this is defined, then the FILE_base(fp) macro
1307 * will also be defined and should be used to access this field.
1308 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1309 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1310 * will never be defined unless USE_STDIO_PTR is.
1313 * This macro is used to access the _base field (or equivalent) of the
1314 * FILE structure pointed to by its argument. This macro will always be
1315 * defined if USE_STDIO_BASE is defined.
1318 * This macro is used to determine the number of bytes in the I/O
1319 * buffer pointed to by _base field (or equivalent) of the FILE
1320 * structure pointed to its argument. This macro will always be defined
1321 * if USE_STDIO_BASE is defined.
1323 /*#define USE_STDIO_BASE /**/
1324 #ifdef USE_STDIO_BASE
1325 #define FILE_base(fp) ((fp)->_base)
1326 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1330 * This symbol, if defined, indicates that the vprintf routine is available
1331 * to printf with a pointer to an argument list. If unavailable, you
1332 * may need to write your own, probably in terms of _doprnt().
1334 /* USE_CHAR_VSPRINTF:
1335 * This symbol is defined if this system has vsprintf() returning type
1336 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1337 * is up to the package author to declare vsprintf correctly based on the
1340 #define HAS_VPRINTF /**/
1341 /*#define USE_CHAR_VSPRINTF /**/
1344 * This symbol contains the size of a double, so that the C preprocessor
1345 * can make decisions based on it.
1347 #define DOUBLESIZE 8 /**/
1350 * This symbol, if defined, indicates to the C program that it should
1354 * This symbol, if defined, indicates to the C program that it should
1355 * include <sys/time.h>.
1357 /* I_SYS_TIME_KERNEL:
1358 * This symbol, if defined, indicates to the C program that it should
1359 * include <sys/time.h> with KERNEL defined.
1362 /*#define I_SYS_TIME /**/
1363 /*#define I_SYS_TIME_KERNEL /**/
1366 * This symbol contains the value of sizeof(int) so that the C
1367 * preprocessor can make decisions based on it.
1370 * This symbol contains the value of sizeof(long) so that the C
1371 * preprocessor can make decisions based on it.
1374 * This symbol contains the value of sizeof(short) so that the C
1375 * preprocessor can make decisions based on it.
1377 #define INTSIZE 4 /**/
1378 #define LONGSIZE 4 /**/
1379 #define SHORTSIZE 2 /**/
1382 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1383 * non-blocking I/O for the file descriptor. Note that there is no way
1384 * back, i.e. you cannot turn it blocking again this way. If you wish to
1385 * alternatively switch between blocking and non-blocking, use the
1386 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1389 * This symbol holds the errno error code set by read() when no data was
1390 * present on the non-blocking file descriptor.
1393 * This symbol holds the return code from read() when no data is present
1394 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1395 * not defined, then you can't distinguish between no data and EOF by
1396 * issuing a read(). You'll have to find another way to tell for sure!
1399 * This symbol, if defined, indicates to the C program that a read() on
1400 * a non-blocking file descriptor will return 0 on EOF, and not the value
1401 * held in RD_NODATA (-1 usually, in that case!).
1403 #define VAL_O_NONBLOCK O_NONBLOCK
1404 #define VAL_EAGAIN EAGAIN
1405 #define RD_NODATA -1
1406 #define EOF_NONBLOCK
1409 * This symbol contains the size of a pointer, so that the C preprocessor
1410 * can make decisions based on it. It will be sizeof(void *) if
1411 * the compiler supports (void *); otherwise it will be
1414 #define PTRSIZE 4 /**/
1417 * This symbol contains the number of bits of random number the rand()
1418 * function produces. Usual values are 15, 16, and 31.
1420 #define RANDBITS 15 /**/
1423 * This symbol holds the type used by functions that return
1424 * a count of bytes or an error condition. It must be a signed type.
1425 * It is usually ssize_t, but may be long or int, etc.
1426 * It may be necessary to include <sys/types.h> or <unistd.h>
1427 * to get any typedef'ed information.
1428 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1430 #define SSize_t int /* signed count of bytes */
1433 * This symbol contains the name of the operating system, as determined
1434 * by Configure. You shouldn't rely on it too much; the specific
1435 * feature tests from Configure are generally more reliable.
1437 #define OSNAME "MSWin32" /**/
1440 * This macro catenates 2 tokens together.
1443 * This macro surrounds its token with double quotes.
1446 #define CAT2(a,b)a/**/b
1447 #define STRINGIFY(a)"a"
1448 /* If you can get stringification with catify, tell me how! */
1451 #define CAT2(a,b)a ## b
1452 #define StGiFy(a)# a
1453 #define STRINGIFY(a)StGiFy(a)
1455 #if 42 != 1 && 42 != 42
1456 #include "Bletch: How does this C preprocessor catenate tokens?"
1460 * This symbol, if defined, contains the full pathname of csh.
1462 /*#define HAS_CSH /**/
1468 * This symbol, if defined, indicates that the endhostent() routine is
1469 * available to close whatever was being used for host queries.
1471 /*#define HAS_ENDHOSTENT /**/
1474 * This symbol, if defined, indicates that the endnetent() routine is
1475 * available to close whatever was being used for network queries.
1477 /*#define HAS_ENDNETENT /**/
1480 * This symbol, if defined, indicates that the endprotoent() routine is
1481 * available to close whatever was being used for protocol queries.
1483 /*#define HAS_ENDPROTOENT /**/
1486 * This symbol, if defined, indicates that the endservent() routine is
1487 * available to close whatever was being used for service queries.
1489 /*#define HAS_ENDSERVENT /**/
1491 /* HAS_GETHOSTBYADDR:
1492 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1493 * available to look up hosts by their IP addresses.
1495 #define HAS_GETHOSTBYADDR /**/
1497 /* HAS_GETHOSTBYNAME:
1498 * This symbol, if defined, indicates that the gethostbyname() routine is
1499 * available to look up host names in some data base or other.
1501 #define HAS_GETHOSTBYNAME /**/
1504 * This symbol, if defined, indicates that the gethostent() routine is
1505 * available to look up host names in some data base or another.
1507 /*#define HAS_GETHOSTENT /**/
1509 /* HAS_GETNETBYADDR:
1510 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1511 * available to look up networks by their IP addresses.
1513 /*#define HAS_GETNETBYADDR /**/
1515 /* HAS_GETNETBYNAME:
1516 * This symbol, if defined, indicates that the getnetbyname() routine is
1517 * available to look up networks by their names.
1519 /*#define HAS_GETNETBYNAME /**/
1522 * This symbol, if defined, indicates that the getnetent() routine is
1523 * available to look up network names in some data base or another.
1525 /*#define HAS_GETNETENT /**/
1528 * This symbol, if defined, indicates that the getprotoent() routine is
1529 * available to look up protocols in some data base or another.
1531 /*#define HAS_GETPROTOENT /**/
1533 /* HAS_GETPROTOBYNAME:
1534 * This symbol, if defined, indicates that the getprotobyname()
1535 * routine is available to look up protocols by their name.
1537 /* HAS_GETPROTOBYNUMBER:
1538 * This symbol, if defined, indicates that the getprotobynumber()
1539 * routine is available to look up protocols by their number.
1541 #define HAS_GETPROTOBYNAME /**/
1542 #define HAS_GETPROTOBYNUMBER /**/
1545 * This symbol, if defined, indicates that the getservent() routine is
1546 * available to look up network services in some data base or another.
1548 /*#define HAS_GETSERVENT /**/
1550 /* HAS_GETSERVBYNAME:
1551 * This symbol, if defined, indicates that the getservbyname()
1552 * routine is available to look up services by their name.
1554 /* HAS_GETSERVBYPORT:
1555 * This symbol, if defined, indicates that the getservbyport()
1556 * routine is available to look up services by their port.
1558 #define HAS_GETSERVBYNAME /**/
1559 #define HAS_GETSERVBYPORT /**/
1562 * This symbol will be defined if the C compiler supports long
1566 * This symbol contains the size of a long double, so that the
1567 * C preprocessor can make decisions based on it. It is only
1568 * defined if the system supports long doubles.
1570 #define HAS_LONG_DOUBLE /**/
1571 #ifdef HAS_LONG_DOUBLE
1572 #define LONG_DOUBLESIZE 12 /**/
1576 * This symbol will be defined if the C compiler supports
1580 * This symbol contains the size of a long long, so that the
1581 * C preprocessor can make decisions based on it. It is only
1582 * defined if the system supports long long.
1584 /*#define HAS_LONG_LONG /**/
1585 #ifdef HAS_LONG_LONG
1586 #define LONGLONGSIZE 8 /**/
1590 * This symbol, if defined, indicates that the setgroups() routine is
1591 * available to set the list of process groups. If unavailable, multiple
1592 * groups are probably not supported.
1594 /*#define HAS_SETGROUPS /**/
1597 * This symbol, if defined, indicates that the sethostent() routine is
1600 /*#define HAS_SETHOSTENT /**/
1603 * This symbol, if defined, indicates that the setnetent() routine is
1606 /*#define HAS_SETNETENT /**/
1609 * This symbol, if defined, indicates that the setprotoent() routine is
1612 /*#define HAS_SETPROTOENT /**/
1615 * This symbol, if defined, indicates that the setservent() routine is
1618 /*#define HAS_SETSERVENT /**/
1621 * This symbol, if defined, indicates that the setvbuf routine is
1622 * available to change buffering on an open stdio stream.
1623 * to a line-buffered mode.
1625 #define HAS_SETVBUF /**/
1628 * This symbol, if defined, indicates that the BSD socket interface is
1632 * This symbol, if defined, indicates that the BSD socketpair() call is
1635 #define HAS_SOCKET /**/
1636 /*#define HAS_SOCKETPAIR /**/
1639 * This symbol, if defined, indicates that the union semun is
1640 * defined by including <sys/sem.h>. If not, the user code
1641 * probably needs to define it as:
1644 * struct semid_ds *buf;
1645 * unsigned short *array;
1648 /* USE_SEMCTL_SEMUN:
1649 * This symbol, if defined, indicates that union semun is
1650 * used for semctl IPC_STAT.
1652 /* USE_SEMCTL_SEMID_DS:
1653 * This symbol, if defined, indicates that struct semid_ds * is
1654 * used for semctl IPC_STAT.
1656 #define HAS_UNION_SEMUN /**/
1657 /*#define USE_SEMCTL_SEMUN /**/
1658 /*#define USE_SEMCTL_SEMID_DS /**/
1661 * This symbol's value is either "void" or "int", corresponding to the
1662 * appropriate return type of a signal handler. Thus, you can declare
1663 * a signal handler using "Signal_t (*handler)()", and define the
1664 * handler using "Signal_t handler(sig)".
1666 #define Signal_t void /* Signal handler's return type */
1669 * This symbol holds the type used for the second argument to
1670 * getgroups() and setgropus(). Usually, this is the same as
1671 * gidtype (gid_t) , but sometimes it isn't.
1672 * It can be int, ushort, uid_t, etc...
1673 * It may be necessary to include <sys/types.h> to get any
1674 * typedef'ed information. This is only required if you have
1675 * getgroups() or setgropus()..
1677 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1678 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1682 * This symbol, if defined, indicates that <netdb.h> exists and
1683 * should be included.
1685 /*#define I_NETDB /**/
1688 * This symbol, if defined, indicates to the C program that it should
1692 * This symbol, if defined, indicates to the C program that struct passwd
1693 * contains pw_quota.
1696 * This symbol, if defined, indicates to the C program that struct passwd
1700 * This symbol, if defined, indicates to the C program that struct passwd
1701 * contains pw_change.
1704 * This symbol, if defined, indicates to the C program that struct passwd
1705 * contains pw_class.
1708 * This symbol, if defined, indicates to the C program that struct passwd
1709 * contains pw_expire.
1712 * This symbol, if defined, indicates to the C program that struct passwd
1713 * contains pw_comment.
1716 * This symbol, if defined, indicates to the C program that struct passwd
1717 * contains pw_gecos.
1720 * This symbol, if defined, indicates to the C program that struct passwd
1721 * contains pw_passwd.
1724 * This symbol, if defined, indicates that the getpwrent routine is
1725 * available for initializing sequential access of the passwd database.
1728 * This symbol, if defined, indicates that the getpwent routine is
1729 * available for sequential access of the password database.
1732 * This symbol, if defined, indicates that the getpwent routine is
1733 * available for finalizing sequential access of the passwd database.
1735 /*#define I_PWD /**/
1736 /*#define PWQUOTA /**/
1737 /*#define PWAGE /**/
1738 /*#define PWCHANGE /**/
1739 /*#define PWCLASS /**/
1740 /*#define PWEXPIRE /**/
1741 /*#define PWCOMMENT /**/
1742 /*#define PWGECOS /**/
1743 /*#define PWPASSWD /**/
1744 /*#define HAS_SETPWENT /**/
1745 /*#define HAS_GETPWENT /**/
1746 /*#define HAS_ENDPWENT /**/
1749 * This variable contains the return type of free(). It is usually
1750 * void, but occasionally int.
1753 * This symbol is the type of pointer returned by malloc and realloc.
1755 #define Malloc_t void * /**/
1756 #define Free_t void /**/
1759 * This symbol, if defined, indicates that we're using our own malloc.
1761 /*#define MYMALLOC /**/
1764 * This symbol contains a list of signal names in order of
1765 * signal number. This is intended
1766 * to be used as a static array initialization, like this:
1767 * char *sig_name[] = { SIG_NAME };
1768 * The signals in the list are separated with commas, and each signal
1769 * is surrounded by double quotes. There is no leading SIG in the signal
1770 * name, i.e. SIGQUIT is known as "QUIT".
1771 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1772 * etc., where nn is the actual signal number (e.g. NUM37).
1773 * The signal number for sig_name[i] is stored in sig_num[i].
1774 * The last element is 0 to terminate the list with a NULL. This
1775 * corresponds to the 0 at the end of the sig_num list.
1778 * This symbol contains a list of signal numbers, in the same order as the
1779 * SIG_NAME list. It is suitable for static array initialization, as in:
1780 * int sig_num[] = { SIG_NUM };
1781 * The signals in the list are separated with commas, and the indices
1782 * within that list and the SIG_NAME list match, so it's easy to compute
1783 * the signal name from a number or vice versa at the price of a small
1784 * dynamic linear lookup.
1785 * Duplicates are allowed, but are moved to the end of the list.
1786 * The signal number corresponding to sig_name[i] is sig_number[i].
1787 * if (i < NSIG) then sig_number[i] == i.
1788 * The last element is 0, corresponding to the 0 at the end of
1789 * the sig_name list.
1791 #define SIG_NAME "ZERO", "INT", "QUIT", "ILL", "FPE", "KILL", "SEGV", "PIPE", "ALRM", "TERM", "CHLD", "BREAK", "ABRT", "STOP", "CONT", "CLD", 0 /**/
1792 #define SIG_NUM 0, 2, 3, 4, 8, 9, 11, 13, 14, 15, 20, 21, 22, 23, 25, 20, 0 /**/
1795 * This symbol indicates how much support of the void type is given by this
1796 * compiler. What various bits mean:
1798 * 1 = supports declaration of void
1799 * 2 = supports arrays of pointers to functions returning void
1800 * 4 = supports comparisons between pointers to void functions and
1801 * addresses of void functions
1802 * 8 = suports declaration of generic void pointers
1804 * The package designer should define VOIDUSED to indicate the requirements
1805 * of the package. This can be done either by #defining VOIDUSED before
1806 * including config.h, or by defining defvoidused in Myinit.U. If the
1807 * latter approach is taken, only those flags will be tested. If the
1808 * level of void support necessary is not present, defines void to int.
1813 #define VOIDFLAGS 15
1814 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1815 #define void int /* is void to be avoided? */
1816 #define M_VOID /* Xenix strikes again */
1820 * This variable, if defined, holds the name of the directory in
1821 * which the user wants to put architecture-dependent public
1822 * library files for perl5. It is most often a local directory
1823 * such as /usr/local/lib. Programs using this variable must be
1824 * prepared to deal with filename expansion. If ARCHLIB is the
1825 * same as PRIVLIB, it is not defined, since presumably the
1826 * program already searches PRIVLIB.
1829 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1830 * in programs that are not prepared to deal with ~ expansion at run-time.
1832 #define ARCHLIB "c:\\perl\\5.00472\\lib\\MSWin32-x86" /**/
1833 /*#define ARCHLIB_EXP "" /**/
1835 /* DLSYM_NEEDS_UNDERSCORE:
1836 * This symbol, if defined, indicates that we need to prepend an
1837 * underscore to the symbol name before calling dlsym(). This only
1838 * makes sense if you *have* dlsym, which we will presume is the
1839 * case if you're using dl_dlopen.xs.
1841 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1844 * This symbol, if defined, indicates that sfio should
1847 /*#define USE_SFIO /**/
1849 /* USE_DYNAMIC_LOADING:
1850 * This symbol, if defined, indicates that dynamic loading of
1851 * some sort is available.
1853 #define USE_DYNAMIC_LOADING /**/
1856 * This symbol contains the type of the prefix structure element
1857 * in the <db.h> header file. In older versions of DB, it was
1858 * int, while in newer ones it is u_int32_t.
1861 * This symbol contains the type of the prefix structure element
1862 * in the <db.h> header file. In older versions of DB, it was
1863 * int, while in newer ones it is size_t.
1865 #define DB_Hash_t int /**/
1866 #define DB_Prefix_t int /**/
1869 * This symbol contains the name of the private library for this package.
1870 * The library is private in the sense that it needn't be in anyone's
1871 * execution path, but it should be accessible by the world. The program
1872 * should be prepared to do ~ expansion.
1875 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1876 * in programs that are not prepared to deal with ~ expansion at run-time.
1878 #define PRIVLIB "c:\\perl\\5.00472\\lib" /**/
1879 #define PRIVLIB_EXP (win32_get_privlib("5.00472")) /**/
1882 * This symbol contains the name of the private library for this package.
1883 * The library is private in the sense that it needn't be in anyone's
1884 * execution path, but it should be accessible by the world. The program
1885 * should be prepared to do ~ expansion.
1886 * The standard distribution will put nothing in this directory.
1887 * Individual sites may place their own extensions and modules in
1891 * This symbol contains the ~name expanded version of SITEARCH, to be used
1892 * in programs that are not prepared to deal with ~ expansion at run-time.
1894 #define SITEARCH "c:\\perl\\site\\5.00472\\lib\\MSWin32-x86" /**/
1895 /*#define SITEARCH_EXP "" /**/
1898 * This symbol contains the name of the private library for this package.
1899 * The library is private in the sense that it needn't be in anyone's
1900 * execution path, but it should be accessible by the world. The program
1901 * should be prepared to do ~ expansion.
1902 * The standard distribution will put nothing in this directory.
1903 * Individual sites may place their own extensions and modules in
1907 * This symbol contains the ~name expanded version of SITELIB, to be used
1908 * in programs that are not prepared to deal with ~ expansion at run-time.
1910 #define SITELIB "c:\\perl\\site\\5.00472\\lib" /**/
1911 #define SITELIB_EXP (win32_get_sitelib("5.00472")) /**/
1914 * This variable contains the string to put in front of a perl
1915 * script to make sure (one hopes) that it runs with perl and not
1918 #define STARTPERL "#!perl" /**/
1921 * This symbol, if defined, indicates that the PerlIO abstraction should
1922 * be used throughout. If not defined, stdio should be
1923 * used in a fully backward compatible manner.
1925 /*#define USE_PERLIO /**/
1927 /* HAS_GETHOST_PROTOS:
1928 * This symbol, if defined, indicates that <netdb.h> includes
1929 * prototypes for gethostent(), gethostbyname(), and
1930 * gethostbyaddr(). Otherwise, it is up to the program to guess
1931 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1933 #define HAS_GETHOST_PROTOS /**/
1935 /* HAS_GETNET_PROTOS:
1936 * This symbol, if defined, indicates that <netdb.h> includes
1937 * prototypes for getnetent(), getnetbyname(), and
1938 * getnetbyaddr(). Otherwise, it is up to the program to guess
1939 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1941 /*#define HAS_GETNET_PROTOS /**/
1943 /* HAS_GETPROTO_PROTOS:
1944 * This symbol, if defined, indicates that <netdb.h> includes
1945 * prototypes for getprotoent(), getprotobyname(), and
1946 * getprotobyaddr(). Otherwise, it is up to the program to guess
1947 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1949 #define HAS_GETPROTO_PROTOS /**/
1951 /* HAS_GETSERV_PROTOS:
1952 * This symbol, if defined, indicates that <netdb.h> includes
1953 * prototypes for getservent(), getservbyname(), and
1954 * getservbyaddr(). Otherwise, it is up to the program to guess
1955 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1957 #define HAS_GETSERV_PROTOS /**/
1960 * This symbol holds the type used for the 1st argument
1961 * to gethostbyaddr().
1964 * This symbol holds the type used for the 2nd argument
1965 * to gethostbyaddr().
1968 * This symbol holds the type used for the argument to
1972 * This symbol holds the type used for the 1st argument to
1975 #define Netdb_host_t char * /**/
1976 #define Netdb_hlen_t int /**/
1977 #define Netdb_name_t char * /**/
1978 #define Netdb_net_t long /**/
1981 * This symbol holds the type used for the 2nd, 3rd, and 4th
1982 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1983 * is defined, and 'int *' otherwise. This is only useful if you
1984 * have select(), of course.
1986 #define Select_fd_set_t Perl_fd_set * /**/
1989 * This symbol holds a string representing the architecture name.
1990 * It may be used to construct an architecture-dependant pathname
1991 * where library files may be held under a private library, for
1994 #define ARCHNAME "MSWin32-x86" /**/
1996 /* HAS_PTHREAD_YIELD:
1997 * This symbol, if defined, indicates that the pthread_yield
1998 * routine is available to yield the execution of the current
2002 * This symbol, if defined, indicates that the sched_yield
2003 * routine is available to yield the execution of the current
2006 /*#define HAS_PTHREAD_YIELD /**/
2007 /*#define HAS_SCHED_YIELD /**/
2009 /* PTHREADS_CREATED_JOINABLE:
2010 * This symbol, if defined, indicates that pthreads are created
2011 * in the joinable (aka undetached) state.
2013 /*#define PTHREADS_CREATED_JOINABLE /**/
2016 * This symbol, if defined, indicates that Perl should
2017 * be built to use threads.
2019 /* OLD_PTHREADS_API:
2020 * This symbol, if defined, indicates that Perl should
2021 * be built to use the old draft POSIX threads API.
2023 /*#define USE_THREADS /**/
2024 /*#define OLD_PTHREADS_API /**/
2027 * This symbol holds the type returned by time(). It can be long,
2028 * or time_t on BSD sites (in which case <sys/types.h> should be
2031 #define Time_t time_t /* Time type */
2034 * This symbol, if defined, indicates that the times() routine exists.
2035 * Note that this became obsolete on some systems (SUNOS), which now
2036 * use getrusage(). It may be necessary to include <sys/times.h>.
2038 #define HAS_TIMES /**/
2041 * This symbol holds the type used to declare file positions in libc.
2042 * It can be fpos_t, long, uint, etc... It may be necessary to include
2043 * <sys/types.h> to get any typedef'ed information.
2045 #define Fpos_t fpos_t /* File position type */
2048 * This symbol holds the return type of getgid() and the type of
2049 * argument to setrgid() and related functions. Typically,
2050 * it is the type of group ids in the kernel. It can be int, ushort,
2051 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2052 * any typedef'ed information.
2054 #define Gid_t gid_t /* Type for getgid(), etc... */
2057 * This symbol holds the type used to declare offsets in the kernel.
2058 * It can be int, long, off_t, etc... It may be necessary to include
2059 * <sys/types.h> to get any typedef'ed information.
2061 #define Off_t off_t /* <offset> type */
2064 * This symbol holds the type used to declare file modes
2065 * for systems calls. It is usually mode_t, but may be
2066 * int or unsigned short. It may be necessary to include <sys/types.h>
2067 * to get any typedef'ed information.
2069 #define Mode_t mode_t /* file mode parameter for system calls */
2072 * This symbol holds the type used to declare process ids in the kernel.
2073 * It can be int, uint, pid_t, etc... It may be necessary to include
2074 * <sys/types.h> to get any typedef'ed information.
2076 #define Pid_t int /* PID type */
2079 * This symbol holds the type used to declare length parameters
2080 * for string functions. It is usually size_t, but may be
2081 * unsigned long, int, etc. It may be necessary to include
2082 * <sys/types.h> to get any typedef'ed information.
2084 #define Size_t size_t /* length paramater for string functions */
2087 * This symbol holds the type used to declare user ids in the kernel.
2088 * It can be int, ushort, uid_t, etc... It may be necessary to include
2089 * <sys/types.h> to get any typedef'ed information.
2091 #define Uid_t uid_t /* UID type */