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.00552\\bin\\MSWin32-x86" /**/
38 #define BIN_EXP "c:\\perl\\5.00552\\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 to the C program that the
293 * inet_aton() function is available to parse IP address "dotted-quad"
296 /*#define HAS_INET_ATON /**/
299 * This symbol, if defined, indicates that the killpg routine is available
300 * to kill process groups. If unavailable, you probably should use kill
301 * with a negative process number.
303 /*#define HAS_KILLPG /**/
306 * This symbol, if defined, indicates that the link routine is
307 * available to create hard links.
309 /*#define HAS_LINK /**/
312 * This symbol, if defined, indicates that the localeconv routine is
313 * available for numeric and monetary formatting conventions.
315 #define HAS_LOCALECONV /**/
318 * This symbol, if defined, indicates that the lockf routine is
319 * available to do file locking.
321 /*#define HAS_LOCKF /**/
324 * This symbol, if defined, indicates that the lstat routine is
325 * available to do file stats on symbolic links.
327 /*#define HAS_LSTAT /**/
330 * This symbol, if defined, indicates that the mblen routine is available
331 * to find the number of bytes in a multibye character.
333 #define HAS_MBLEN /**/
336 * This symbol, if defined, indicates that the mbstowcs routine is
337 * available to covert a multibyte string into a wide character string.
339 #define HAS_MBSTOWCS /**/
342 * This symbol, if defined, indicates that the mbtowc routine is available
343 * to covert a multibyte to a wide character.
345 #define HAS_MBTOWC /**/
348 * This symbol, if defined, indicates that the memcmp routine is available
349 * to compare blocks of memory.
351 #define HAS_MEMCMP /**/
354 * This symbol, if defined, indicates that the memcpy routine is available
355 * to copy blocks of memory.
357 #define HAS_MEMCPY /**/
360 * This symbol, if defined, indicates that the memmove routine is available
361 * to copy potentially overlapping blocks of memory. This should be used
362 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
365 #define HAS_MEMMOVE /**/
368 * This symbol, if defined, indicates that the memset routine is available
369 * to set blocks of memory.
371 #define HAS_MEMSET /**/
374 * This symbol, if defined, indicates that the mkdir routine is available
375 * to create directories. Otherwise you should fork off a new process to
378 #define HAS_MKDIR /**/
381 * This symbol, if defined, indicates that the mkfifo routine is
382 * available to create FIFOs. Otherwise, mknod should be able to
383 * do it for you. However, if mkfifo is there, mknod might require
384 * super-user privileges which mkfifo will not.
386 /*#define HAS_MKFIFO /**/
389 * This symbol, if defined, indicates that the mktime routine is
392 #define HAS_MKTIME /**/
395 * This symbol, if defined, indicates that the nice routine is
398 /*#define HAS_NICE /**/
401 * This symbol, if defined, indicates that pathconf() is available
402 * to determine file-system related limits and options associated
403 * with a given filename.
406 * This symbol, if defined, indicates that pathconf() is available
407 * to determine file-system related limits and options associated
408 * with a given open file descriptor.
410 /*#define HAS_PATHCONF /**/
411 /*#define HAS_FPATHCONF /**/
414 * This symbol, if defined, indicates that the pause routine is
415 * available to suspend a process until a signal is received.
417 #define HAS_PAUSE /**/
420 * This symbol, if defined, indicates that the pipe routine is
421 * available to create an inter-process channel.
423 #define HAS_PIPE /**/
426 * This symbol, if defined, indicates that the poll routine is
427 * available to poll active file descriptors. You may safely
428 * include <poll.h> when this symbol is defined.
430 /*#define HAS_POLL /**/
433 * This symbol, if defined, indicates that the readdir routine is
434 * available to read directory entries. You may have to include
435 * <dirent.h>. See I_DIRENT.
437 #define HAS_READDIR /**/
440 * This symbol, if defined, indicates that the seekdir routine is
441 * available. You may have to include <dirent.h>. See I_DIRENT.
443 #define HAS_SEEKDIR /**/
446 * This symbol, if defined, indicates that the telldir routine is
447 * available. You may have to include <dirent.h>. See I_DIRENT.
449 #define HAS_TELLDIR /**/
452 * This symbol, if defined, indicates that the rewinddir routine is
453 * available. You may have to include <dirent.h>. See I_DIRENT.
455 #define HAS_REWINDDIR /**/
458 * This symbol, if defined, indicates that the readlink routine is
459 * available to read the value of a symbolic link.
461 /*#define HAS_READLINK /**/
464 * This symbol, if defined, indicates that the rename routine is available
465 * to rename files. Otherwise you should do the unlink(), link(), unlink()
468 #define HAS_RENAME /**/
471 * This symbol, if defined, indicates that the rmdir routine is
472 * available to remove directories. Otherwise you should fork off a
473 * new process to exec /bin/rmdir.
475 #define HAS_RMDIR /**/
478 * This symbol, if defined, indicates that the select routine is
479 * available to select active file descriptors. If the timeout field
480 * is used, <sys/time.h> may need to be included.
482 #define HAS_SELECT /**/
485 * This symbol, if defined, indicates that the setegid routine is available
486 * to change the effective gid of the current program.
488 /*#define HAS_SETEGID /**/
491 * This symbol, if defined, indicates that the seteuid routine is available
492 * to change the effective uid of the current program.
494 /*#define HAS_SETEUID /**/
497 * This symbol, if defined, indicates that the setlinebuf routine is
498 * available to change stderr or stdout from block-buffered or unbuffered
499 * to a line-buffered mode.
501 /*#define HAS_SETLINEBUF /**/
504 * This symbol, if defined, indicates that the setlocale routine is
505 * available to handle locale-specific ctype implementations.
507 #define HAS_SETLOCALE /**/
510 * This symbol, if defined, indicates that the setpgid(pid, gpid)
511 * routine is available to set process group ID.
513 /*#define HAS_SETPGID /**/
516 * This symbol, if defined, indicates that the setpgrp routine is
517 * available to set the current process group.
520 * This symbol, if defined, indicates that setpgrp needs two
521 * arguments whereas USG one needs none. See also HAS_SETPGID
522 * for a POSIX interface.
524 /*#define HAS_SETPGRP /**/
525 /*#define USE_BSD_SETPGRP /**/
528 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
529 * routine is available to set the current process group.
531 /*#define HAS_SETPGRP2 /**/
534 * This symbol, if defined, indicates that the setpriority routine is
535 * available to set a process's priority.
537 /*#define HAS_SETPRIORITY /**/
540 * This symbol, if defined, indicates that the setregid routine is
541 * available to change the real and effective gid of the current
545 * This symbol, if defined, indicates that the setresgid routine is
546 * available to change the real, effective and saved gid of the current
549 /*#define HAS_SETREGID /**/
550 /*#define HAS_SETRESGID /**/
553 * This symbol, if defined, indicates that the setreuid routine is
554 * available to change the real and effective uid of the current
558 * This symbol, if defined, indicates that the setresuid routine is
559 * available to change the real, effective and saved uid of the current
562 /*#define HAS_SETREUID /**/
563 /*#define HAS_SETRESUID /**/
566 * This symbol, if defined, indicates that the setrgid routine is available
567 * to change the real gid of the current program.
569 /*#define HAS_SETRGID /**/
572 * This symbol, if defined, indicates that the setruid routine is available
573 * to change the real uid of the current program.
575 /*#define HAS_SETRUID /**/
578 * This symbol, if defined, indicates that the setsid routine is
579 * available to set the process group ID.
581 /*#define HAS_SETSID /**/
584 * This symbol holds the return type of the shmat() system call.
585 * Usually set to 'void *' or 'char *'.
587 /* HAS_SHMAT_PROTOTYPE:
588 * This symbol, if defined, indicates that the sys/shm.h includes
589 * a prototype for shmat(). Otherwise, it is up to the program to
590 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
591 * but not always right so it should be emitted by the program only
592 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
594 #define Shmat_t void * /**/
595 /*#define HAS_SHMAT_PROTOTYPE /**/
598 * This symbol is defined to indicate that the strchr()/strrchr()
599 * functions are available for string searching. If not, try the
600 * index()/rindex() pair.
603 * This symbol is defined to indicate that the index()/rindex()
604 * functions are available for string searching.
606 #define HAS_STRCHR /**/
607 /*#define HAS_INDEX /**/
610 * This symbol, if defined, indicates that the strcoll routine is
611 * available to compare strings using collating information.
613 #define HAS_STRCOLL /**/
616 * This symbol, if defined, indicates that this C compiler knows how
617 * to copy structures. If undefined, you'll need to use a block copy
618 * routine of some sort instead.
620 #define USE_STRUCT_COPY /**/
623 * This symbol, if defined, indicates that the strtod routine is
624 * available to provide better numeric string conversion than atof().
626 #define HAS_STRTOD /**/
629 * This symbol, if defined, indicates that the strtol routine is available
630 * to provide better numeric string conversion than atoi() and friends.
632 #define HAS_STRTOL /**/
635 * This symbol, if defined, indicates that the strtoul routine is
636 * available to provide conversion of strings to unsigned long.
638 #define HAS_STRTOUL /**/
641 * This symbol, if defined, indicates that the strxfrm() routine is
642 * available to transform strings.
644 #define HAS_STRXFRM /**/
647 * This symbol, if defined, indicates that the symlink routine is available
648 * to create symbolic links.
650 /*#define HAS_SYMLINK /**/
653 * This symbol, if defined, indicates that the syscall routine is
654 * available to call arbitrary system calls. If undefined, that's tough.
656 /*#define HAS_SYSCALL /**/
659 * This symbol, if defined, indicates that sysconf() is available
660 * to determine system related limits and options.
662 /*#define HAS_SYSCONF /**/
665 * This symbol, if defined, indicates that the system routine is
666 * available to issue a shell command.
668 #define HAS_SYSTEM /**/
671 * This symbol, if defined, indicates that the tcgetpgrp routine is
672 * available to get foreground process group ID.
674 /*#define HAS_TCGETPGRP /**/
677 * This symbol, if defined, indicates that the tcsetpgrp routine is
678 * available to set foreground process group ID.
680 /*#define HAS_TCSETPGRP /**/
683 * This symbol, if defined, indicates that the truncate routine is
684 * available to truncate files.
686 /*#define HAS_TRUNCATE /**/
689 * This symbol, if defined, indicates that the tzname[] array is
690 * available to access timezone names.
692 /*#define HAS_TZNAME /**/
695 * This symbol, if defined, indicates that the umask routine is
696 * available to set and get the value of the file creation mask.
698 #define HAS_UMASK /**/
701 * This symbol, if defined, indicates that vfork() exists.
703 /*#define HAS_VFORK /**/
706 * This symbol, if defined, indicates that this C compiler knows about
707 * the volatile declaration.
709 #define HASVOLATILE /**/
715 * This symbol, if defined, indicates that wait4() exists.
717 /*#define HAS_WAIT4 /**/
720 * This symbol, if defined, indicates that the waitpid routine is
721 * available to wait for child process.
723 #define HAS_WAITPID /**/
726 * This symbol, if defined, indicates that the wcstombs routine is
727 * available to convert wide character strings to multibyte strings.
729 #define HAS_WCSTOMBS /**/
732 * This symbol, if defined, indicates that the wctomb routine is available
733 * to covert a wide character to a multibyte.
735 #define HAS_WCTOMB /**/
738 * This symbol, if defined, indicates to the C program that it should
739 * include <arpa/inet.h> to get inet_addr and friends declarations.
741 #define I_ARPA_INET /**/
744 * This symbol, if defined, indicates that <dbm.h> exists and should
748 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
749 * should be included.
752 #define I_RPCSVC_DBM /**/
755 * This symbol, if defined, indicates to the C program that it should
756 * include <dirent.h>. Using this symbol also triggers the definition
757 * of the Direntry_t define which ends up being 'struct dirent' or
758 * 'struct direct' depending on the availability of <dirent.h>.
761 * This symbol, if defined, indicates to the C program that the length
762 * of directory entry names is provided by a d_namlen field. Otherwise
763 * you need to do strlen() on the d_name field.
766 * This symbol is set to 'struct direct' or 'struct dirent' depending on
767 * whether dirent is available or not. You should use this pseudo type to
768 * portably declare your directory entries.
770 #define I_DIRENT /**/
771 #define DIRNAMLEN /**/
772 #define Direntry_t struct direct
775 * This symbol, if defined, indicates that <dlfcn.h> exists and should
781 * This manifest constant tells the C program to include <fcntl.h>.
786 * This symbol, if defined, indicates to the C program that it should
787 * include <float.h> to get definition of symbols like DBL_MAX or
788 * DBL_MIN, i.e. machine dependent floating point values.
793 * This symbol, if defined, indicates to the C program that it should
794 * include <limits.h> to get definition of symbols like WORD_BIT or
795 * LONG_MAX, i.e. machine dependant limitations.
797 #define I_LIMITS /**/
800 * This symbol, if defined, indicates to the C program that it should
801 * include <locale.h>.
803 #define I_LOCALE /**/
806 * This symbol, if defined, indicates to the C program that it should
812 * This symbol, if defined, indicates to the C program that it should
813 * include <memory.h>.
815 /*#define I_MEMORY /**/
818 * This symbol, if defined, indicates that <ndbm.h> exists and should
821 /*#define I_NDBM /**/
824 * This symbol, if defined, indicates that <net/errno.h> exists and
825 * should be included.
827 /*#define I_NET_ERRNO /**/
830 * This symbol, if defined, indicates to the C program that it should
831 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
833 /*#define I_NETINET_IN /**/
836 * This symbol, if defined, indicates to the C program that it should
839 /*#define I_SFIO /**/
842 * This symbol, if defined, indicates that <stddef.h> exists and should
845 #define I_STDDEF /**/
848 * This symbol, if defined, indicates that <stdlib.h> exists and should
851 #define I_STDLIB /**/
854 * This symbol, if defined, indicates to the C program that it should
855 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
857 #define I_STRING /**/
860 * This symbol, if defined, indicates to the C program that it should
861 * include <sys/dir.h>.
863 /*#define I_SYS_DIR /**/
866 * This symbol, if defined, indicates to the C program that it should
867 * include <sys/file.h> to get definition of R_OK and friends.
869 /*#define I_SYS_FILE /**/
872 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
873 * be included. Otherwise, include <sgtty.h> or <termio.h>.
875 /*#define I_SYS_IOCTL /**/
878 * This symbol, if defined, indicates to the C program that it should
879 * include <sys/ndir.h>.
881 /*#define I_SYS_NDIR /**/
884 * This symbol, if defined, indicates to the C program that it should
885 * include <sys/param.h>.
887 /*#define I_SYS_PARAM /**/
890 * This symbol, if defined, indicates to the C program that it should
891 * include <sys/resource.h>.
893 /*#define I_SYS_RESOURCE /**/
896 * This symbol, if defined, indicates to the C program that it should
897 * include <sys/select.h> in order to get definition of struct timeval.
899 /*#define I_SYS_SELECT /**/
902 * This symbol, if defined, indicates to the C program that it should
903 * include <sys/stat.h>.
905 #define I_SYS_STAT /**/
908 * This symbol, if defined, indicates to the C program that it should
909 * include <sys/times.h>.
911 /*#define I_SYS_TIMES /**/
914 * This symbol, if defined, indicates to the C program that it should
915 * include <sys/types.h>.
917 #define I_SYS_TYPES /**/
920 * This symbol, if defined, indicates to the C program that it should
921 * include <sys/un.h> to get UNIX domain socket definitions.
923 /*#define I_SYS_UN /**/
926 * This symbol, if defined, indicates to the C program that it should
927 * include <sys/wait.h>.
929 /*#define I_SYS_WAIT /**/
932 * This symbol, if defined, indicates that the program should include
933 * <termio.h> rather than <sgtty.h>. There are also differences in
934 * the ioctl() calls that depend on the value of this symbol.
937 * This symbol, if defined, indicates that the program should include
938 * the POSIX termios.h rather than sgtty.h or termio.h.
939 * There are also differences in the ioctl() calls that depend on the
940 * value of this symbol.
943 * This symbol, if defined, indicates that the program should include
944 * <sgtty.h> rather than <termio.h>. There are also differences in
945 * the ioctl() calls that depend on the value of this symbol.
947 /*#define I_TERMIO /**/
948 /*#define I_TERMIOS /**/
949 /*#define I_SGTTY /**/
952 * This symbol, if defined, indicates to the C program that it should
953 * include <unistd.h>.
955 /*#define I_UNISTD /**/
958 * This symbol, if defined, indicates to the C program that it should
964 * This symbol, if defined, indicates to the C program that it should
965 * include <values.h> to get definition of symbols like MINFLOAT or
966 * MAXLONG, i.e. machine dependant limitations. Probably, you
967 * should use <limits.h> instead, if it is available.
969 /*#define I_VALUES /**/
972 * This symbol, if defined, indicates that <stdarg.h> exists and should
976 * This symbol, if defined, indicates to the C program that it should
977 * include <varargs.h>.
979 #define I_STDARG /**/
980 /*#define I_VARARGS /**/
983 * This symbol, if defined, indicates to the C program that it should
986 /*#define I_VFORK /**/
989 * If defined, this macro indicates that the C compiler can handle
990 * function prototypes.
993 * This macro is used to declare function parameters for folks who want
994 * to make declarations with prototypes using a different style than
995 * the above macros. Use double parentheses. For example:
997 * int main _((int argc, char *argv[]));
999 #define CAN_PROTOTYPE /**/
1000 #ifdef CAN_PROTOTYPE
1001 #define _(args) args
1007 * This symbol contains the full pathname to the shell used on this
1008 * on this system to execute Bourne shell scripts. Usually, this will be
1009 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1010 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1013 #define SH_PATH "cmd /x /c" /**/
1016 * This symbol is defined to be the type of char used in stdio.h.
1017 * It has the values "unsigned char" or "char".
1019 #define STDCHAR char /**/
1022 * This symbol, if defined, indicates that the accessx routine is
1023 * available to do extended access checks.
1025 /*#define HAS_ACCESSX /**/
1028 * This symbol, if defined, indicates that the eaccess routine is
1029 * available to do extended access checks.
1031 /*#define HAS_EACCESS /**/
1034 * This symbol, if defined, indicates to the C program that it should
1035 * include <sysaccess.h>.
1037 /*#define I_SYS_ACCESS /**/
1040 * This symbol, if defined, indicates to the C program that it should
1041 * include <sys/security.h>.
1043 /*#define I_SYS_SECURITY /**/
1046 * This symbol contains the number of bytes required to align a
1047 * double. Usual values are 2, 4 and 8.
1048 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1049 * Binaries (MAB) for targets with varying alignment. This only matters
1050 * for perl, where the config.h can be generated and installed on one
1051 * system, and used by a different architecture to build an extension.
1052 * The default is eight, for safety.
1054 #define MEM_ALIGNBYTES 8 /**/
1057 * This symbol holds the hexadecimal constant defined in byteorder,
1058 * i.e. 0x1234 or 0x4321, etc...
1059 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1060 * Binaries (MAB) on either big endian or little endian machines.
1061 * The endian-ness is available at compile-time. This only matters
1062 * for perl, where the config.h can be generated and installed on
1063 * one system, and used by a different architecture to build an
1064 * extension. Older versions of NeXT that might not have
1065 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1066 * so the default case (for NeXT) is big endian to catch them.
1067 * This might matter for NeXT 3.0.
1070 #define BYTEORDER 0x1234 /* large digits for MSB */
1072 #ifdef __LITTLE_ENDIAN__
1073 #define BYTEORDER 0x1234
1074 #else /* __BIG_ENDIAN__ */
1075 #define BYTEORDER 0x4321
1076 #endif /* ENDIAN CHECK */
1080 * This symbol is defined if the C compiler can cast negative
1081 * or large floating point numbers to 32-bit ints.
1083 #define CASTI32 /**/
1086 * This symbol is defined if the C compiler can cast negative
1087 * numbers to unsigned longs, ints and shorts.
1090 * This symbol contains flags that say what difficulties the compiler
1091 * has casting odd floating values to unsigned long:
1093 * 1 = couldn't cast < 0
1094 * 2 = couldn't cast >= 0x80000000
1095 * 4 = couldn't cast in argument expression list
1097 #define CASTNEGFLOAT /**/
1098 #define CASTFLAGS 0 /**/
1101 * This symbol, if defined, indicates that the closedir() routine
1102 * does not return a value.
1104 /*#define VOID_CLOSEDIR /**/
1107 * This preprocessor macro is defined to convert a floating point
1108 * number to a string without a trailing decimal point. This
1109 * emulates the behavior of sprintf("%g"), but is sometimes much more
1110 * efficient. If gconvert() is not available, but gcvt() drops the
1111 * trailing decimal point, then gcvt() is used. If all else fails,
1112 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1113 * macro are: value, number of digits, whether trailing zeros should
1114 * be retained, and the output buffer.
1115 * Possible values are:
1116 * d_Gconvert='gconvert((x),(n),(t),(b))'
1117 * d_Gconvert='gcvt((x),(n),(b))'
1118 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1119 * The last two assume trailing zeros should not be kept.
1121 #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1124 * This symbol, if defined, indicates to the C program that
1125 * the GNU C library is being used.
1127 /*#define HAS_GNULIBC /**/
1129 * This manifest constant lets the C program know that isascii
1132 #define HAS_ISASCII /**/
1135 * This symbol, if defined, indicates that the lchown routine is
1136 * available to operate on a symbolic link (instead of following the
1139 /*#define HAS_LCHOWN /**/
1142 * This manifest constant lets the C program know that the three
1143 * argument form of open(2) is available.
1145 /*#define HAS_OPEN3 /**/
1148 * This symbol, if defined, indicates that the bcopy routine is available
1149 * to copy potentially overlapping memory blocks. Otherwise you should
1150 * probably use memmove() or memcpy(). If neither is defined, roll your
1153 /*#define HAS_SAFE_BCOPY /**/
1156 * This symbol, if defined, indicates that the memcpy routine is available
1157 * to copy potentially overlapping memory blocks. Otherwise you should
1158 * probably use memmove() or memcpy(). If neither is defined, roll your
1161 /*#define HAS_SAFE_MEMCPY /**/
1164 * This symbol, if defined, indicates that the memcmp routine is available
1165 * and can be used to compare relative magnitudes of chars with their high
1166 * bits set. If it is not defined, roll your own version.
1168 #define HAS_SANE_MEMCMP /**/
1171 * This symbol, if defined, indicates that Vr4's sigaction() routine
1174 /*#define HAS_SIGACTION /**/
1177 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1180 * This macro is used in the same way as sigsetjmp(), but will invoke
1181 * traditional setjmp() if sigsetjmp isn't available.
1182 * See HAS_SIGSETJMP.
1185 * This macro is used in the same way as siglongjmp(), but will invoke
1186 * traditional longjmp() if siglongjmp isn't available.
1187 * See HAS_SIGSETJMP.
1189 /*#define HAS_SIGSETJMP /**/
1190 #ifdef HAS_SIGSETJMP
1191 #define Sigjmp_buf sigjmp_buf
1192 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1193 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1195 #define Sigjmp_buf jmp_buf
1196 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1197 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1201 * This symbol is defined if the _ptr and _cnt fields (or similar)
1202 * of the stdio FILE structure can be used to access the stdio buffer
1203 * for a file handle. If this is defined, then the FILE_ptr(fp)
1204 * and FILE_cnt(fp) macros will also be defined and should be used
1205 * to access these fields.
1208 * This macro is used to access the _ptr field (or equivalent) of the
1209 * FILE structure pointed to by its argument. This macro will always be
1210 * defined if USE_STDIO_PTR is defined.
1212 /* STDIO_PTR_LVALUE:
1213 * This symbol is defined if the FILE_ptr macro can be used as an
1217 * This macro is used to access the _cnt field (or equivalent) of the
1218 * FILE structure pointed to by its argument. This macro will always be
1219 * defined if USE_STDIO_PTR is defined.
1221 /* STDIO_CNT_LVALUE:
1222 * This symbol is defined if the FILE_cnt macro can be used as an
1225 /*#define USE_STDIO_PTR /**/
1226 #ifdef USE_STDIO_PTR
1227 #define FILE_ptr(fp) ((fp)->_ptr)
1228 #define STDIO_PTR_LVALUE /**/
1229 #define FILE_cnt(fp) ((fp)->_cnt)
1230 #define STDIO_CNT_LVALUE /**/
1234 * This symbol is defined if the _base field (or similar) of the
1235 * stdio FILE structure can be used to access the stdio buffer for
1236 * a file handle. If this is defined, then the FILE_base(fp) macro
1237 * will also be defined and should be used to access this field.
1238 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1239 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1240 * will never be defined unless USE_STDIO_PTR is.
1243 * This macro is used to access the _base field (or equivalent) of the
1244 * FILE structure pointed to by its argument. This macro will always be
1245 * defined if USE_STDIO_BASE is defined.
1248 * This macro is used to determine the number of bytes in the I/O
1249 * buffer pointed to by _base field (or equivalent) of the FILE
1250 * structure pointed to its argument. This macro will always be defined
1251 * if USE_STDIO_BASE is defined.
1253 /*#define USE_STDIO_BASE /**/
1254 #ifdef USE_STDIO_BASE
1255 #define FILE_base(fp) ((fp)->_base)
1256 #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1260 * This symbol, if defined, indicates that the vprintf routine is available
1261 * to printf with a pointer to an argument list. If unavailable, you
1262 * may need to write your own, probably in terms of _doprnt().
1264 /* USE_CHAR_VSPRINTF:
1265 * This symbol is defined if this system has vsprintf() returning type
1266 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1267 * is up to the package author to declare vsprintf correctly based on the
1270 #define HAS_VPRINTF /**/
1271 /*#define USE_CHAR_VSPRINTF /**/
1274 * This symbol contains the size of a double, so that the C preprocessor
1275 * can make decisions based on it.
1277 #define DOUBLESIZE 8 /**/
1280 * This symbol, if defined, indicates to the C program that it should
1284 * This symbol, if defined, indicates to the C program that it should
1285 * include <sys/time.h>.
1287 /* I_SYS_TIME_KERNEL:
1288 * This symbol, if defined, indicates to the C program that it should
1289 * include <sys/time.h> with KERNEL defined.
1292 /*#define I_SYS_TIME /**/
1293 /*#define I_SYS_TIME_KERNEL /**/
1296 * This symbol contains the value of sizeof(int) so that the C
1297 * preprocessor can make decisions based on it.
1300 * This symbol contains the value of sizeof(long) so that the C
1301 * preprocessor can make decisions based on it.
1304 * This symbol contains the value of sizeof(short) so that the C
1305 * preprocessor can make decisions based on it.
1307 #define INTSIZE 4 /**/
1308 #define LONGSIZE 4 /**/
1309 #define SHORTSIZE 2 /**/
1312 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1313 * non-blocking I/O for the file descriptor. Note that there is no way
1314 * back, i.e. you cannot turn it blocking again this way. If you wish to
1315 * alternatively switch between blocking and non-blocking, use the
1316 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1319 * This symbol holds the errno error code set by read() when no data was
1320 * present on the non-blocking file descriptor.
1323 * This symbol holds the return code from read() when no data is present
1324 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1325 * not defined, then you can't distinguish between no data and EOF by
1326 * issuing a read(). You'll have to find another way to tell for sure!
1329 * This symbol, if defined, indicates to the C program that a read() on
1330 * a non-blocking file descriptor will return 0 on EOF, and not the value
1331 * held in RD_NODATA (-1 usually, in that case!).
1333 #define VAL_O_NONBLOCK O_NONBLOCK
1334 #define VAL_EAGAIN EAGAIN
1335 #define RD_NODATA -1
1336 #define EOF_NONBLOCK
1339 * This symbol contains the size of a pointer, so that the C preprocessor
1340 * can make decisions based on it. It will be sizeof(void *) if
1341 * the compiler supports (void *); otherwise it will be
1344 #define PTRSIZE 4 /**/
1347 * This symbol contains the number of bits of random number the rand()
1348 * function produces. Usual values are 15, 16, and 31.
1350 #define RANDBITS 15 /**/
1353 * This symbol holds the type used by functions that return
1354 * a count of bytes or an error condition. It must be a signed type.
1355 * It is usually ssize_t, but may be long or int, etc.
1356 * It may be necessary to include <sys/types.h> or <unistd.h>
1357 * to get any typedef'ed information.
1358 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1360 #define SSize_t int /* signed count of bytes */
1363 * This symbol, if defined, indicates that this system uses
1366 /*#define EBCDIC /**/
1369 * This symbol contains the name of the operating system, as determined
1370 * by Configure. You shouldn't rely on it too much; the specific
1371 * feature tests from Configure are generally more reliable.
1373 #define OSNAME "MSWin32" /**/
1376 * This macro catenates 2 tokens together.
1379 * This macro surrounds its token with double quotes.
1382 #define CAT2(a,b)a/**/b
1383 #define STRINGIFY(a)"a"
1384 /* If you can get stringification with catify, tell me how! */
1387 #define CAT2(a,b)a ## b
1388 #define StGiFy(a)# a
1389 #define STRINGIFY(a)StGiFy(a)
1391 #if 42 != 1 && 42 != 42
1392 #include "Bletch: How does this C preprocessor catenate tokens?"
1396 * This manifest constant lets the C program know that the access()
1397 * system call is available to check for accessibility using real UID/GID.
1398 * (always present on UNIX.)
1400 #define HAS_ACCESS /**/
1403 * This symbol, if defined, contains the full pathname of csh.
1405 /*#define HAS_CSH /**/
1411 * This symbol, if defined, indicates that the getgrent routine is
1412 * available for finalizing sequential access of the group database.
1414 /*#define HAS_ENDGRENT /**/
1417 * This symbol, if defined, indicates that the endhostent() routine is
1418 * available to close whatever was being used for host queries.
1420 /*#define HAS_ENDHOSTENT /**/
1423 * This symbol, if defined, indicates that the endnetent() routine is
1424 * available to close whatever was being used for network queries.
1426 /*#define HAS_ENDNETENT /**/
1429 * This symbol, if defined, indicates that the endprotoent() routine is
1430 * available to close whatever was being used for protocol queries.
1432 /*#define HAS_ENDPROTOENT /**/
1435 * This symbol, if defined, indicates that the getgrent routine is
1436 * available for finalizing sequential access of the passwd database.
1438 /*#define HAS_ENDPWENT /**/
1441 * This symbol, if defined, indicates that the endservent() routine is
1442 * available to close whatever was being used for service queries.
1444 /*#define HAS_ENDSERVENT /**/
1447 * This symbol, if defined, indicates that the getgrent routine is
1448 * available for sequential access of the group database.
1450 /*#define HAS_GETGRENT /**/
1452 /* HAS_GETHOSTBYADDR:
1453 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1454 * available to look up hosts by their IP addresses.
1456 #define HAS_GETHOSTBYADDR /**/
1458 /* HAS_GETHOSTBYNAME:
1459 * This symbol, if defined, indicates that the gethostbyname() routine is
1460 * available to look up host names in some data base or other.
1462 #define HAS_GETHOSTBYNAME /**/
1465 * This symbol, if defined, indicates that the gethostent() routine is
1466 * available to look up host names in some data base or another.
1468 /*#define HAS_GETHOSTENT /**/
1470 /* HAS_GETNETBYADDR:
1471 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1472 * available to look up networks by their IP addresses.
1474 /*#define HAS_GETNETBYADDR /**/
1476 /* HAS_GETNETBYNAME:
1477 * This symbol, if defined, indicates that the getnetbyname() routine is
1478 * available to look up networks by their names.
1480 /*#define HAS_GETNETBYNAME /**/
1483 * This symbol, if defined, indicates that the getnetent() routine is
1484 * available to look up network names in some data base or another.
1486 /*#define HAS_GETNETENT /**/
1489 * This symbol, if defined, indicates that the getprotoent() routine is
1490 * available to look up protocols in some data base or another.
1492 /*#define HAS_GETPROTOENT /**/
1494 /* HAS_GETPROTOBYNAME:
1495 * This symbol, if defined, indicates that the getprotobyname()
1496 * routine is available to look up protocols by their name.
1498 /* HAS_GETPROTOBYNUMBER:
1499 * This symbol, if defined, indicates that the getprotobynumber()
1500 * routine is available to look up protocols by their number.
1502 #define HAS_GETPROTOBYNAME /**/
1503 #define HAS_GETPROTOBYNUMBER /**/
1506 * This symbol, if defined, indicates that the getpwent routine is
1507 * available for sequential access of the passwd database.
1508 * If this is not available, the older getpw() function may be available.
1510 /*#define HAS_GETPWENT /**/
1513 * This symbol, if defined, indicates that the getservent() routine is
1514 * available to look up network services in some data base or another.
1516 /*#define HAS_GETSERVENT /**/
1518 /* HAS_GETSERVBYNAME:
1519 * This symbol, if defined, indicates that the getservbyname()
1520 * routine is available to look up services by their name.
1522 /* HAS_GETSERVBYPORT:
1523 * This symbol, if defined, indicates that the getservbyport()
1524 * routine is available to look up services by their port.
1526 #define HAS_GETSERVBYNAME /**/
1527 #define HAS_GETSERVBYPORT /**/
1530 * This symbol, if defined, indicates that the htonl() routine (and
1531 * friends htons() ntohl() ntohs()) are available to do network
1532 * order byte swapping.
1535 * This symbol, if defined, indicates that the htons() routine (and
1536 * friends htonl() ntohl() ntohs()) are available to do network
1537 * order byte swapping.
1540 * This symbol, if defined, indicates that the ntohl() routine (and
1541 * friends htonl() htons() ntohs()) are available to do network
1542 * order byte swapping.
1545 * This symbol, if defined, indicates that the ntohs() routine (and
1546 * friends htonl() htons() ntohl()) are available to do network
1547 * order byte swapping.
1549 #define HAS_HTONL /**/
1550 #define HAS_HTONS /**/
1551 #define HAS_NTOHL /**/
1552 #define HAS_NTOHS /**/
1555 * This symbol will be defined if the C compiler supports long
1559 * This symbol contains the size of a long double, so that the
1560 * C preprocessor can make decisions based on it. It is only
1561 * defined if the system supports long doubles.
1563 #define HAS_LONG_DOUBLE /**/
1564 #ifdef HAS_LONG_DOUBLE
1565 #define LONG_DOUBLESIZE 12 /**/
1569 * This symbol will be defined if the C compiler supports long long.
1572 * This symbol contains the size of a long long, so that the
1573 * C preprocessor can make decisions based on it. It is only
1574 * defined if the system supports long long.
1576 /*#define HAS_LONG_LONG /**/
1577 #ifdef HAS_LONG_LONG
1578 #define LONGLONGSIZE 8 /**/
1582 * This symbol, if defined, indicates that the entire msg*(2) library is
1583 * supported (IPC mechanism based on message queues).
1585 /*#define HAS_MSG /**/
1588 * This symbol, if defined, indicates that the entire sem*(2) library is
1591 /*#define HAS_SEM /**/
1594 * This symbol, if defined, indicates that the setgrent routine is
1595 * available for initializing sequential access of the group database.
1597 /*#define HAS_SETGRENT /**/
1600 * This symbol, if defined, indicates that the setgroups() routine is
1601 * available to set the list of process groups. If unavailable, multiple
1602 * groups are probably not supported.
1604 /*#define HAS_SETGROUPS /**/
1607 * This symbol, if defined, indicates that the sethostent() routine is
1610 /*#define HAS_SETHOSTENT /**/
1613 * This symbol, if defined, indicates that the setnetent() routine is
1616 /*#define HAS_SETNETENT /**/
1619 * This symbol, if defined, indicates that the setprotoent() routine is
1622 /*#define HAS_SETPROTOENT /**/
1625 * This symbol, if defined, indicates that the setpwent routine is
1626 * available for initializing sequential access of the passwd database.
1628 /*#define HAS_SETPWENT /**/
1631 * This symbol, if defined, indicates that the setservent() routine is
1634 /*#define HAS_SETSERVENT /**/
1637 * This symbol, if defined, indicates that the setvbuf routine is
1638 * available to change buffering on an open stdio stream.
1639 * to a line-buffered mode.
1641 #define HAS_SETVBUF /**/
1644 * This symbol, if defined, indicates that the entire shm*(2) library is
1647 /*#define HAS_SHM /**/
1650 * This symbol, if defined, indicates that the BSD socket interface is
1654 * This symbol, if defined, indicates that the BSD socketpair() call is
1657 #define HAS_SOCKET /**/
1658 /*#define HAS_SOCKETPAIR /**/
1661 * This symbol is defined if this system has a stat structure declaring
1662 * st_blksize and st_blocks.
1664 /*#define USE_STAT_BLOCKS /* backward compatibility */
1667 * This symbol, if defined, indicates that the strerror routine is
1668 * available to translate error numbers to strings. See the writeup
1669 * of Strerror() in this file before you try to define your own.
1672 * This symbol, if defined, indicates that the sys_errlist array is
1673 * available to translate error numbers to strings. The extern int
1674 * sys_nerr gives the size of that table.
1677 * This preprocessor symbol is defined as a macro if strerror() is
1678 * not available to translate error numbers to strings but sys_errlist[]
1681 #define HAS_STRERROR /**/
1682 #define HAS_SYS_ERRLIST /**/
1683 #define Strerror(e) strerror(e)
1686 * This symbol, if defined, indicates that the union semun is
1687 * defined by including <sys/sem.h>. If not, the user code
1688 * probably needs to define it as:
1691 * struct semid_ds *buf;
1692 * unsigned short *array;
1695 /* USE_SEMCTL_SEMUN:
1696 * This symbol, if defined, indicates that union semun is
1697 * used for semctl IPC_STAT.
1699 /* USE_SEMCTL_SEMID_DS:
1700 * This symbol, if defined, indicates that struct semid_ds * is
1701 * used for semctl IPC_STAT.
1703 #define HAS_UNION_SEMUN /**/
1704 /*#define USE_SEMCTL_SEMUN /**/
1705 /*#define USE_SEMCTL_SEMID_DS /**/
1708 * This symbol's value is either "void" or "int", corresponding to the
1709 * appropriate return type of a signal handler. Thus, you can declare
1710 * a signal handler using "Signal_t (*handler)()", and define the
1711 * handler using "Signal_t handler(sig)".
1713 #define Signal_t void /* Signal handler's return type */
1716 * This symbol holds the type used for the second argument to
1717 * getgroups() and setgropus(). Usually, this is the same as
1718 * gidtype (gid_t) , but sometimes it isn't.
1719 * It can be int, ushort, uid_t, etc...
1720 * It may be necessary to include <sys/types.h> to get any
1721 * typedef'ed information. This is only required if you have
1722 * getgroups() or setgropus()..
1724 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1725 #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1729 * This symbol, if defined, indicates to the C program that it should
1733 * This symbol, if defined, indicates to the C program that struct group
1734 * in <grp.h> contains gr_passwd.
1736 /*#define I_GRP /**/
1737 /*#define GRPASSWD /**/
1740 * This symbol, if defined, indicates that <netdb.h> exists and
1741 * should be included.
1743 /*#define I_NETDB /**/
1746 * This symbol, if defined, indicates to the C program that it should
1750 * This symbol, if defined, indicates to the C program that struct passwd
1751 * contains pw_quota.
1754 * This symbol, if defined, indicates to the C program that struct passwd
1758 * This symbol, if defined, indicates to the C program that struct passwd
1759 * contains pw_change.
1762 * This symbol, if defined, indicates to the C program that struct passwd
1763 * contains pw_class.
1766 * This symbol, if defined, indicates to the C program that struct passwd
1767 * contains pw_expire.
1770 * This symbol, if defined, indicates to the C program that struct passwd
1771 * contains pw_comment.
1774 * This symbol, if defined, indicates to the C program that struct passwd
1775 * contains pw_gecos.
1778 * This symbol, if defined, indicates to the C program that struct passwd
1779 * contains pw_passwd.
1781 /*#define I_PWD /**/
1782 /*#define PWQUOTA /**/
1783 /*#define PWAGE /**/
1784 /*#define PWCHANGE /**/
1785 /*#define PWCLASS /**/
1786 /*#define PWEXPIRE /**/
1787 /*#define PWCOMMENT /**/
1788 /*#define PWGECOS /**/
1789 /*#define PWPASSWD /**/
1792 * This variable contains the return type of free(). It is usually
1793 * void, but occasionally int.
1796 * This symbol is the type of pointer returned by malloc and realloc.
1798 #define Malloc_t void * /**/
1799 #define Free_t void /**/
1802 * This symbol, if defined, indicates that we're using our own malloc.
1804 /*#define MYMALLOC /**/
1807 * This symbol contains a list of signal names in order of
1808 * signal number. This is intended
1809 * to be used as a static array initialization, like this:
1810 * char *sig_name[] = { SIG_NAME };
1811 * The signals in the list are separated with commas, and each signal
1812 * is surrounded by double quotes. There is no leading SIG in the signal
1813 * name, i.e. SIGQUIT is known as "QUIT".
1814 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1815 * etc., where nn is the actual signal number (e.g. NUM37).
1816 * The signal number for sig_name[i] is stored in sig_num[i].
1817 * The last element is 0 to terminate the list with a NULL. This
1818 * corresponds to the 0 at the end of the sig_num list.
1821 * This symbol contains a list of signal numbers, in the same order as the
1822 * SIG_NAME list. It is suitable for static array initialization, as in:
1823 * int sig_num[] = { SIG_NUM };
1824 * The signals in the list are separated with commas, and the indices
1825 * within that list and the SIG_NAME list match, so it's easy to compute
1826 * the signal name from a number or vice versa at the price of a small
1827 * dynamic linear lookup.
1828 * Duplicates are allowed, but are moved to the end of the list.
1829 * The signal number corresponding to sig_name[i] is sig_number[i].
1830 * if (i < NSIG) then sig_number[i] == i.
1831 * The last element is 0, corresponding to the 0 at the end of
1832 * the sig_name list.
1834 #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/
1835 #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/
1838 * This symbol indicates how much support of the void type is given by this
1839 * compiler. What various bits mean:
1841 * 1 = supports declaration of void
1842 * 2 = supports arrays of pointers to functions returning void
1843 * 4 = supports comparisons between pointers to void functions and
1844 * addresses of void functions
1845 * 8 = suports declaration of generic void pointers
1847 * The package designer should define VOIDUSED to indicate the requirements
1848 * of the package. This can be done either by #defining VOIDUSED before
1849 * including config.h, or by defining defvoidused in Myinit.U. If the
1850 * latter approach is taken, only those flags will be tested. If the
1851 * level of void support necessary is not present, defines void to int.
1856 #define VOIDFLAGS 15
1857 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1858 #define void int /* is void to be avoided? */
1859 #define M_VOID /* Xenix strikes again */
1863 * This variable, if defined, holds the name of the directory in
1864 * which the user wants to put architecture-dependent public
1865 * library files for perl5. It is most often a local directory
1866 * such as /usr/local/lib. Programs using this variable must be
1867 * prepared to deal with filename expansion. If ARCHLIB is the
1868 * same as PRIVLIB, it is not defined, since presumably the
1869 * program already searches PRIVLIB.
1872 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1873 * in programs that are not prepared to deal with ~ expansion at run-time.
1875 #define ARCHLIB "c:\\perl\\5.00552\\lib\\MSWin32-x86" /**/
1876 /*#define ARCHLIB_EXP "" /**/
1878 /* DLSYM_NEEDS_UNDERSCORE:
1879 * This symbol, if defined, indicates that we need to prepend an
1880 * underscore to the symbol name before calling dlsym(). This only
1881 * makes sense if you *have* dlsym, which we will presume is the
1882 * case if you're using dl_dlopen.xs.
1884 /*#define DLSYM_NEEDS_UNDERSCORE /**/
1887 * This symbol, if defined, indicates that the fseeko routine is
1888 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1890 /*#define HAS_FSEEKO /**/
1893 * This symbol, if defined, indicates that the ftello routine is
1894 * available to ftell from beyond 32 bits (useful for ILP32 hosts).
1896 /*#define HAS_FTELLO /**/
1899 * This symbol, if defined, indicates that sfio should
1902 /*#define USE_SFIO /**/
1905 * This symbol, if defined, indicates that the dbminit64 routine is
1906 * available to open dbm files larger than 2 gigabytes.
1909 * This symbol, if defined, indicates that the dbmclose64 routine is
1910 * available to close dbm files larger than 2 gigabytes.
1913 * This symbol, if defined, indicates that the fetch64 routine is
1914 * available to fetch from dbm files larger than 2 gigabytes.
1917 * This symbol, if defined, indicates that the store64 routine is
1918 * available to store to dbm files larger than 2 gigabytes.
1921 * This symbol, if defined, indicates that the delete64 routine is
1922 * available to delete from dbm files larger than 2 gigabytes.
1925 * This symbol, if defined, indicates that the firstkey64 routine is
1926 * available to firstkey in dbm files larger than 2 gigabytes.
1929 * This symbol, if defined, indicates that the nextkey64 routine is
1930 * available to nextkey in dbm files larger than 2 gigabytes.
1932 /*#define HAS_DBMINIT64 /**/
1933 /*#define HAS_DBMCLOSE64 /**/
1934 /*#define HAS_FETCH64 /**/
1935 /*#define HAS_STORE64 /**/
1936 /*#define HAS_DELETE64 /**/
1937 /*#define HAS_FIRSTKEY64 /**/
1938 /*#define HAS_NEXTKEY64 /**/
1940 /* USE_DYNAMIC_LOADING:
1941 * This symbol, if defined, indicates that dynamic loading of
1942 * some sort is available.
1944 #define USE_DYNAMIC_LOADING /**/
1947 * This symbol contains the type of the prefix structure element
1948 * in the <db.h> header file. In older versions of DB, it was
1949 * int, while in newer ones it is u_int32_t.
1952 * This symbol contains the type of the prefix structure element
1953 * in the <db.h> header file. In older versions of DB, it was
1954 * int, while in newer ones it is size_t.
1956 #define DB_Hash_t int /**/
1957 #define DB_Prefix_t int /**/
1960 * This symbol, if defined, indicates to the C program that it should
1961 * include <inttypes.h>.
1964 * This symbol will defined if the C compiler supports int64_t.
1965 * Usually the <inttypes.h> needs to be included, but sometimes
1966 * <sys/types.h> is enough.
1968 /*#define I_INTTYPES /**/
1969 /*#define HAS_INT64_T /**/
1972 * This symbol, if defined, indicates that the fstat64 routine is
1973 * available to stat files (fds) larger than 2 gigabytes.
1976 * This symbol, if defined, indicates that the ftruncate64 routine is
1977 * available to tell files larger than 2 gigabytes.
1980 * This symbol, if defined, indicates that the lseek64 routine is
1981 * available to seek files larger than 2 gigabytes.
1984 * This symbol, if defined, indicates that the lstat64 routine is
1985 * available to stat files (symlinks) larger than 2 gigabytes.
1988 * This symbol, if defined, indicates that the open64 routine is
1989 * available to open files larger than 2 gigabytes.
1992 * This symbol, if defined, indicates that the opendir64 routine is
1993 * available to opendir files larger than 2 gigabytes.
1996 * This symbol, if defined, indicates that the readdir64 routine is
1997 * available to readdir files larger than 2 gigabytes.
2000 * This symbol, if defined, indicates that the seekdir64 routine is
2001 * available to seekdir files larger than 2 gigabytes.
2004 * This symbol, if defined, indicates that the fstat64 routine is
2005 * available to stat files larger than 2 gigabytes.
2008 * This symbol, if defined, indicates that the telldir64 routine is
2009 * available to telldir files larger than 2 gigabytes.
2012 * This symbol, if defined, indicates that the truncate64 routine is
2013 * available to truncate files larger than 2 gigabytes.
2016 * This symbol will be defined if the C compiler supports off64_t.
2018 /* HAS_STRUCT_DIRENT64:
2019 * This symbol will be defined if the C compiler supports struct dirent64.
2021 /*#define HAS_FSTAT64 /**/
2022 /*#define HAS_FTRUNCATE64 /**/
2023 /*#define HAS_LSEEK64 /**/
2024 /*#define HAS_LSTAT64 /**/
2025 /*#define HAS_OPEN64 /**/
2026 /*#define HAS_OPENDIR64 /**/
2027 /*#define HAS_READDIR64 /**/
2028 /*#define HAS_SEEKDIR64 /**/
2029 /*#define HAS_STAT64 /**/
2030 /*#define HAS_TELLDIR64 /**/
2031 /*#define HAS_TRUNCATE64 /**/
2032 /*#define HAS_OFF64_T /**/
2033 /*#define HAS_STRUCT_DIRENT64 /**/
2036 * This symbol contains the name of the private library for this package.
2037 * The library is private in the sense that it needn't be in anyone's
2038 * execution path, but it should be accessible by the world. The program
2039 * should be prepared to do ~ expansion.
2042 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2043 * in programs that are not prepared to deal with ~ expansion at run-time.
2045 #define PRIVLIB "c:\\perl\\5.00552\\lib" /**/
2046 #define PRIVLIB_EXP (win32_get_privlib("5.00552")) /**/
2049 * This symbol holds the minimum number of bits operated by select.
2050 * That is, if you do select(n, ...), how many bits at least will be
2051 * cleared in the masks if some activity is detected. Usually this
2052 * is either n or 32*ceil(n/32), especially many little-endians do
2053 * the latter. This is only useful if you have select(), naturally.
2055 #define SELECT_MIN_BITS 32 /**/
2058 * This symbol contains the name of the private library for this package.
2059 * The library is private in the sense that it needn't be in anyone's
2060 * execution path, but it should be accessible by the world. The program
2061 * should be prepared to do ~ expansion.
2062 * The standard distribution will put nothing in this directory.
2063 * Individual sites may place their own extensions and modules in
2067 * This symbol contains the ~name expanded version of SITEARCH, to be used
2068 * in programs that are not prepared to deal with ~ expansion at run-time.
2070 #define SITEARCH "c:\\perl\\site\\5.00552\\lib\\MSWin32-x86" /**/
2071 /*#define SITEARCH_EXP "" /**/
2074 * This symbol contains the name of the private library for this package.
2075 * The library is private in the sense that it needn't be in anyone's
2076 * execution path, but it should be accessible by the world. The program
2077 * should be prepared to do ~ expansion.
2078 * The standard distribution will put nothing in this directory.
2079 * Individual sites may place their own extensions and modules in
2083 * This symbol contains the ~name expanded version of SITELIB, to be used
2084 * in programs that are not prepared to deal with ~ expansion at run-time.
2086 #define SITELIB "c:\\perl\\site\\5.00552\\lib" /**/
2087 #define SITELIB_EXP (win32_get_sitelib("5.00552")) /**/
2090 * This variable contains the string to put in front of a perl
2091 * script to make sure (one hopes) that it runs with perl and not
2094 #define STARTPERL "#!perl" /**/
2097 * This symbol, if defined, indicates that the fgetpos64 routine is
2098 * available to getpos files larger than 2 gigabytes.
2101 * This symbol, if defined, indicates that the fopen64 routine is
2102 * available to open files larger than 2 gigabytes.
2105 * This symbol, if defined, indicates that the freopen64 routine is
2106 * available to reopen files larger than 2 gigabytes.
2109 * This symbol, if defined, indicates that the fseek64 routine is
2110 * available to seek files larger than 2 gigabytes.
2113 * This symbol, if defined, indicates that the fseeko64 routine is
2114 * available to seek files larger than 2 gigabytes.
2117 * This symbol, if defined, indicates that the fsetpos64 routine is
2118 * available to setpos files larger than 2 gigabytes.
2121 * This symbol, if defined, indicates that the ftell64 routine is
2122 * available to tell files larger than 2 gigabytes.
2125 * This symbol, if defined, indicates that the ftello64 routine is
2126 * available to tell files larger than 2 gigabytes.
2129 * This symbol, if defined, indicates that the tmpfile64 routine is
2130 * available to tmpfile files larger than 2 gigabytes.
2132 /*#define HAS_FGETPOS64 /**/
2133 /*#define HAS_FOPEN64 /**/
2134 /*#define HAS_FREOPEN64 /**/
2135 /*#define HAS_FSEEK64 /**/
2136 /*#define HAS_FSEEKO64 /**/
2137 /*#define HAS_FSETPOS64 /**/
2138 /*#define HAS_FTELL64 /**/
2139 /*#define HAS_FTELLO64 /**/
2140 /*#define HAS_TMPFILE64 /**/
2143 * This symbol, if defined, indicates that 64-bit APIs should
2144 * be used when available. If not defined, the native default APIs
2145 * will be used (be they 32 or 64 bits).
2147 /*#define USE_64_BITS /**/
2150 * This symbol, if defined, indicates that the PerlIO abstraction should
2151 * be used throughout. If not defined, stdio should be
2152 * used in a fully backward compatible manner.
2154 /*#define USE_PERLIO /**/
2156 /* HAS_GETHOST_PROTOS:
2157 * This symbol, if defined, indicates that <netdb.h> includes
2158 * prototypes for gethostent(), gethostbyname(), and
2159 * gethostbyaddr(). Otherwise, it is up to the program to guess
2160 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2162 #define HAS_GETHOST_PROTOS /**/
2164 /* HAS_GETNET_PROTOS:
2165 * This symbol, if defined, indicates that <netdb.h> includes
2166 * prototypes for getnetent(), getnetbyname(), and
2167 * getnetbyaddr(). Otherwise, it is up to the program to guess
2168 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2170 /*#define HAS_GETNET_PROTOS /**/
2172 /* HAS_GETPROTO_PROTOS:
2173 * This symbol, if defined, indicates that <netdb.h> includes
2174 * prototypes for getprotoent(), getprotobyname(), and
2175 * getprotobyaddr(). Otherwise, it is up to the program to guess
2176 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2178 #define HAS_GETPROTO_PROTOS /**/
2180 /* HAS_GETSERV_PROTOS:
2181 * This symbol, if defined, indicates that <netdb.h> includes
2182 * prototypes for getservent(), getservbyname(), and
2183 * getservbyaddr(). Otherwise, it is up to the program to guess
2184 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2186 #define HAS_GETSERV_PROTOS /**/
2189 * This symbol holds the type used for the 1st argument
2190 * to gethostbyaddr().
2193 * This symbol holds the type used for the 2nd argument
2194 * to gethostbyaddr().
2197 * This symbol holds the type used for the argument to
2201 * This symbol holds the type used for the 1st argument to
2204 #define Netdb_host_t char * /**/
2205 #define Netdb_hlen_t int /**/
2206 #define Netdb_name_t char * /**/
2207 #define Netdb_net_t long /**/
2210 * This symbol holds the type used for the 2nd, 3rd, and 4th
2211 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2212 * is defined, and 'int *' otherwise. This is only useful if you
2213 * have select(), of course.
2215 #define Select_fd_set_t Perl_fd_set * /**/
2218 * This symbol holds a string representing the architecture name.
2219 * It may be used to construct an architecture-dependant pathname
2220 * where library files may be held under a private library, for
2223 #define ARCHNAME "MSWin32-x86" /**/
2225 /* HAS_PTHREAD_YIELD:
2226 * This symbol, if defined, indicates that the pthread_yield
2227 * routine is available to yield the execution of the current
2231 * This symbol, if defined, indicates that the sched_yield
2232 * routine is available to yield the execution of the current
2235 /*#define HAS_PTHREAD_YIELD /**/
2236 /*#define HAS_SCHED_YIELD /**/
2238 /* PTHREADS_CREATED_JOINABLE:
2239 * This symbol, if defined, indicates that pthreads are created
2240 * in the joinable (aka undetached) state.
2242 /*#define PTHREADS_CREATED_JOINABLE /**/
2245 * This symbol, if defined, indicates that Perl should
2246 * be built to use threads.
2248 /* OLD_PTHREADS_API:
2249 * This symbol, if defined, indicates that Perl should
2250 * be built to use the old draft POSIX threads API.
2252 /*#define USE_THREADS /**/
2253 /*#define OLD_PTHREADS_API /**/
2256 * This symbol holds the type returned by time(). It can be long,
2257 * or time_t on BSD sites (in which case <sys/types.h> should be
2260 #define Time_t time_t /* Time type */
2263 * This symbol, if defined, indicates that the times() routine exists.
2264 * Note that this became obsolete on some systems (SUNOS), which now
2265 * use getrusage(). It may be necessary to include <sys/times.h>.
2267 #define HAS_TIMES /**/
2270 * This symbol holds the type used to declare file positions in libc.
2271 * It can be fpos_t, long, uint, etc... It may be necessary to include
2272 * <sys/types.h> to get any typedef'ed information.
2274 #define Fpos_t fpos_t /* File position type */
2277 * This symbol holds the return type of getgid() and the type of
2278 * argument to setrgid() and related functions. Typically,
2279 * it is the type of group ids in the kernel. It can be int, ushort,
2280 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2281 * any typedef'ed information.
2283 #define Gid_t gid_t /* Type for getgid(), etc... */
2286 * This symbol holds the type used to declare offsets in the kernel.
2287 * It can be int, long, off_t, etc... It may be necessary to include
2288 * <sys/types.h> to get any typedef'ed information.
2290 #define Off_t off_t /* <offset> type */
2293 * This symbol holds the type used to declare file modes
2294 * for systems calls. It is usually mode_t, but may be
2295 * int or unsigned short. It may be necessary to include <sys/types.h>
2296 * to get any typedef'ed information.
2298 #define Mode_t mode_t /* file mode parameter for system calls */
2301 * This symbol holds the type used to declare process ids in the kernel.
2302 * It can be int, uint, pid_t, etc... It may be necessary to include
2303 * <sys/types.h> to get any typedef'ed information.
2305 #define Pid_t int /* PID type */
2308 * This symbol holds the type used to declare length parameters
2309 * for string functions. It is usually size_t, but may be
2310 * unsigned long, int, etc. It may be necessary to include
2311 * <sys/types.h> to get any typedef'ed information.
2313 #define Size_t size_t /* length paramater for string functions */
2316 * This symbol holds the type used to declare user ids in the kernel.
2317 * It can be int, ushort, uid_t, etc... It may be necessary to include
2318 * <sys/types.h> to get any typedef'ed information.
2320 #define Uid_t uid_t /* UID type */