3 if test -f config.sh; then TOP=.;
4 elif test -f ../config.sh; then TOP=..;
5 elif test -f ../../config.sh; then TOP=../..;
6 elif test -f ../../../config.sh; then TOP=../../..;
7 elif test -f ../../../../config.sh; then TOP=../../../..;
9 echo "Can't find config.sh."; exit 1
15 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
17 echo "Extracting config.h (with variable substitutions)"
18 sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
20 * This file was produced by running the config_h.SH script, which
21 * gets its values from config.sh, which is generally produced by
24 * Feel free to modify any of this as the need arises. Note, however,
25 * that running config_h.SH again will wipe out any changes you've made.
26 * For a more permanent change edit config.sh and rerun config_h.SH.
28 * \$Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $
31 /* Configuration time: $cf_time
32 * Configured by: $cf_by
33 * Target system: $myuname
40 * This symbol contains the number of bytes required to align a
41 * double. Usual values are 2, 4 and 8.
42 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
43 * Binaries (MAB) for targets with varying alignment. This only matters
44 * for perl, where the config.h can be generated and installed on one
45 * system, and used by a different architecture to build an extension.
46 * The default is eight, for safety.
49 #define MEM_ALIGNBYTES $alignbytes /**/
52 #define MEM_ALIGNBYTES 2
55 #define MEM_ALIGNBYTES 4
56 #else /* __hppa__, __sparc__ and default for unknown architectures */
57 #define MEM_ALIGNBYTES 8
63 * This symbol holds a string representing the architecture name.
64 * It may be used to construct an architecture-dependant pathname
65 * where library files may be held under a private library, for
68 #define ARCHNAME "$archname" /**/
71 * This symbol holds the path of the bin directory where the package will
72 * be installed. Program must be prepared to deal with ~name substitution.
75 * This symbol is the filename expanded version of the BIN symbol, for
76 * programs that do not want to deal with that at run-time.
78 #define BIN "$bin" /**/
79 #define BIN_EXP "$binexp" /**/
82 * This macro catenates 2 tokens together.
85 * This macro surrounds its token with double quotes.
88 #define CAT2(a,b)a/**/b
89 #define CAT3(a,b,c)a/**/b/**/c
90 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
91 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
92 #define STRINGIFY(a)"a"
93 /* If you can get stringification with catify, tell me how! */
96 #define CAT2(a,b)a ## b
97 #define CAT3(a,b,c)a ## b ## c
98 #define CAT4(a,b,c,d)a ## b ## c ## d
99 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
101 #define STRINGIFY(a)StGiFy(a)
102 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
103 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
104 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
105 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
108 #include "Bletch: How does this C preprocessor catenate tokens?"
112 * This symbol contains the first part of the string which will invoke
113 * the C preprocessor on the standard input and produce to standard
114 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
115 * call a wrapper. See CPPRUN.
118 * This symbol contains the second part of the string which will invoke
119 * the C preprocessor on the standard input and produce to standard
120 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
121 * to specify standard input, otherwise the value is "".
123 #define CPPSTDIN "$cppstdin"
124 #define CPPMINUS "$cppminus"
127 * This symbol, if defined, indicates that the alarm routine is
130 #$d_alarm HAS_ALARM /**/
133 * This symbol indicates the C compiler can check for function attributes,
134 * such as printf formats. This is normally only supported by GNU cc.
136 #$d_attribut HASATTRIBUTE /**/
138 #define __attribute__(_arg_)
142 * This symbol is defined if the bcmp() routine is available to
143 * compare blocks of memory.
145 #$d_bcmp HAS_BCMP /**/
148 * This symbol is defined if the bcopy() routine is available to
149 * copy blocks of memory.
151 #$d_bcopy HAS_BCOPY /**/
154 * This symbol is defined if the bzero() routine is available to
155 * set a memory block to 0.
157 #$d_bzero HAS_BZERO /**/
160 * This symbol is defined if the C compiler can cast negative
161 * or large floating point numbers to 32-bit ints.
163 #$d_casti32 CASTI32 /**/
166 * This symbol is defined if the C compiler can cast negative
167 * numbers to unsigned longs, ints and shorts.
170 * This symbol contains flags that say what difficulties the compiler
171 * has casting odd floating values to unsigned long:
173 * 1 = couldn't cast < 0
174 * 2 = couldn't cast >= 0x80000000
175 * 4 = couldn't cast in argument expression list
177 #$d_castneg CASTNEGFLOAT /**/
178 #define CASTFLAGS $castflags /**/
181 * This symbol, if defined, indicates that the chown routine is
184 #$d_chown HAS_CHOWN /**/
187 * This symbol, if defined, indicates that the chroot routine is
190 #$d_chroot HAS_CHROOT /**/
193 * This symbol, if defined, indicates that the chsize routine is available
194 * to truncate files. You might need a -lx to get this routine.
196 #$d_chsize HAS_CHSIZE /**/
199 * This symbol, if defined, indicates that the closedir() routine
200 * does not return a value.
202 #$d_void_closedir VOID_CLOSEDIR /**/
205 * This symbol, if defined, indicates that this C compiler knows about
206 * the const type. There is no need to actually test for that symbol
207 * within your programs. The mere use of the "const" keyword will
208 * trigger the necessary tests.
210 #$d_const HASCONST /**/
216 * This symbol, if defined, indicates that the crypt routine is available
217 * to encrypt passwords and the like.
219 #$d_crypt HAS_CRYPT /**/
222 * This symbol, if defined, indicates that the cuserid routine is
223 * available to get character login names.
225 #$d_cuserid HAS_CUSERID /**/
228 * This symbol, if defined, indicates that this system's <float.h>
229 * or <limits.h> defines the symbol DBL_DIG, which is the number
230 * of significant digits in a double precision number. If this
231 * symbol is not defined, a guess of 15 is usually pretty good.
233 #$d_dbl_dig HAS_DBL_DIG /* */
236 * This symbol, if defined, indicates that the difftime routine is
239 #$d_difftime HAS_DIFFTIME /**/
242 * This symbol, if defined, indicates that the dlerror routine is
243 * available to return a string describing the last error that
244 * occurred from a call to dlopen(), dlclose() or dlsym().
246 #$d_dlerror HAS_DLERROR /**/
249 * This symbol, if defined, indicates that the dup2 routine is
250 * available to duplicate file descriptors.
252 #$d_dup2 HAS_DUP2 /**/
255 * This symbol, if defined, indicates that the fchmod routine is available
256 * to change mode of opened files. If unavailable, use chmod().
258 #$d_fchmod HAS_FCHMOD /**/
261 * This symbol, if defined, indicates that the fchown routine is available
262 * to change ownership of opened files. If unavailable, use chown().
264 #$d_fchown HAS_FCHOWN /**/
267 * This symbol, if defined, indicates to the C program that
268 * the fcntl() function exists.
270 #$d_fcntl HAS_FCNTL /**/
273 * This symbol, if defined, indicates that the fgetpos routine is
274 * available to get the file position indicator, similar to ftell().
276 #$d_fgetpos HAS_FGETPOS /**/
279 * This symbol, if defined, indicates that the system supports filenames
280 * longer than 14 characters.
282 #$d_flexfnam FLEXFILENAMES /**/
285 * This symbol, if defined, indicates that the flock routine is
286 * available to do file locking.
288 #$d_flock HAS_FLOCK /**/
291 * This symbol, if defined, indicates that the fork routine is
294 #$d_fork HAS_FORK /**/
297 * This symbol, if defined, indicates that the fsetpos routine is
298 * available to set the file position indicator, similar to fseek().
300 #$d_fsetpos HAS_FSETPOS /**/
303 * This symbol, if defined, indicates that the gettimeofday() system
304 * call is available for a sub-second accuracy clock. Usually, the file
305 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
306 * The type "Timeval" should be used to refer to "struct timeval".
308 #$d_gettimeod HAS_GETTIMEOFDAY /**/
309 #ifdef HAS_GETTIMEOFDAY
310 #define Timeval struct timeval /* Structure used by gettimeofday() */
314 * This symbol, if defined, indicates that the getgroups() routine is
315 * available to get the list of process groups. If unavailable, multiple
316 * groups are probably not supported.
319 * This symbol, if defined, indicates that the setgroups() routine is
320 * available to set the list of process groups. If unavailable, multiple
321 * groups are probably not supported.
323 #$d_getgrps HAS_GETGROUPS /**/
324 #$d_setgrps HAS_SETGROUPS /**/
327 * This symbol, if defined, indicates that the gethostent routine is
328 * available to lookup host names in some data base or other.
330 #$d_gethent HAS_GETHOSTENT /**/
332 /* HAS_GETHOSTBYADDR:
333 * This symbol, if defined, indicates that the gethostbyaddr routine is
334 * available to lookup hosts by their IP addresses.
336 #$d_gethbyaddr HAS_GETHOSTBYADDR /**/
339 * This symbol holds the type used for the 1st argument
340 * to gethostbyaddr().
342 #define Netdb_host_t $netdb_host_type
345 * This symbol holds the type used for the 2nd argument
346 * to gethostbyaddr().
348 #define Netdb_hlen_t $netdb_hlen_type
350 /* HAS_GETHOSTBYNAME:
351 * This symbol, if defined, indicates that the gethostbyname routine is
352 * available to lookup hosts by their DNS names.
354 #$d_gethbyname HAS_GETHOSTBYNAME /**/
357 * This symbol holds the type used for the 1st argument
358 * to gethostbyname(), the 1st argument to getnetbyname(),
359 * the 1st argument to getprotobyname(), the 1st argument to
360 * getservbyname(), the 2nd argument to getservbyname(),
361 * and the 2nd argument to getservbyport().
363 #define Netdb_name_t $netdb_name_type
366 * This symbol, if defined, indicates that the getnetbyaddr routine is
367 * available to lookup networks by their IP addresses.
369 #$d_getnbyaddr HAS_GETNETBYADDR /**/
372 * This symbol holds the type used for the 1st argument
375 #define Netdb_net_t $netdb_net_type
378 * This symbol, if defined, indicates that the getnetbyname routine is
379 * available to lookup networks by their names.
381 #$d_getnbyname HAS_GETNETBYNAME /**/
383 /* HAS_GETPROTOBYNAME:
384 * This symbol, if defined, indicates that the getprotobyname routine is
385 * available to lookup protocols by their names.
387 #$d_getpbyname HAS_GETPROTOBYNAME /**/
389 /* HAS_GETPROTOBYNUMBER:
390 * This symbol, if defined, indicates that the getprotobynumber routine is
391 * available to lookup protocols by their numbers.
393 #$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
395 /* HAS_GETSERVBYNAME:
396 * This symbol, if defined, indicates that the getservbyname routine is
397 * available to lookup services by their names.
399 #$d_getsbyname HAS_GETSERVBYNAME /**/
401 /* HAS_GETSERVBYPORT:
402 * This symbol, if defined, indicates that the getservbyport routine is
403 * available to lookup services by their ports.
405 #$d_getsbyport HAS_GETSERVBYPORT /**/
408 * This symbol, if defined, indicates that the C program may use the
409 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
412 #$d_uname HAS_UNAME /**/
415 * This symbol, if defined, indicates that the getlogin routine is
416 * available to get the login name.
418 #$d_getlogin HAS_GETLOGIN /**/
421 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
422 * routine is available to get the current process group.
424 #$d_getpgrp2 HAS_GETPGRP2 /**/
427 * This symbol, if defined, indicates that the getppid routine is
428 * available to get the parent process ID.
430 #$d_getppid HAS_GETPPID /**/
433 * This symbol, if defined, indicates that the getpriority routine is
434 * available to get a process's priority.
436 #$d_getprior HAS_GETPRIORITY /**/
439 * This symbol, if defined, indicates that the htonl() routine (and
440 * friends htons() ntohl() ntohs()) are available to do network
441 * order byte swapping.
444 * This symbol, if defined, indicates that the htons() routine (and
445 * friends htonl() ntohl() ntohs()) are available to do network
446 * order byte swapping.
449 * This symbol, if defined, indicates that the ntohl() routine (and
450 * friends htonl() htons() ntohs()) are available to do network
451 * order byte swapping.
454 * This symbol, if defined, indicates that the ntohs() routine (and
455 * friends htonl() htons() ntohl()) are available to do network
456 * order byte swapping.
458 #$d_htonl HAS_HTONL /**/
459 #$d_htonl HAS_HTONS /**/
460 #$d_htonl HAS_NTOHL /**/
461 #$d_htonl HAS_NTOHS /**/
464 * This manifest constant lets the C program know that isascii
467 #$d_isascii HAS_ISASCII /**/
470 * This symbol, if defined, indicates that the killpg routine is available
471 * to kill process groups. If unavailable, you probably should use kill
472 * with a negative process number.
474 #$d_killpg HAS_KILLPG /**/
477 * This symbol, if defined, indicates that the link routine is
478 * available to create hard links.
480 #$d_link HAS_LINK /**/
483 * This symbol, if defined, indicates that the localeconv routine is
484 * available for numeric and monetary formatting conventions.
486 #$d_locconv HAS_LOCALECONV /**/
489 * This symbol, if defined, indicates that the lockf routine is
490 * available to do file locking.
492 #$d_lockf HAS_LOCKF /**/
495 * This symbol, if defined, indicates that the lstat routine is
496 * available to do file stats on symbolic links.
498 #$d_lstat HAS_LSTAT /**/
501 * This symbol, if defined, indicates that the mblen routine is available
502 * to find the number of bytes in a multibye character.
504 #$d_mblen HAS_MBLEN /**/
507 * This symbol, if defined, indicates that the mbstowcs routine is
508 * available to covert a multibyte string into a wide character string.
510 #$d_mbstowcs HAS_MBSTOWCS /**/
513 * This symbol, if defined, indicates that the mbtowc routine is available
514 * to covert a multibyte to a wide character.
516 #$d_mbtowc HAS_MBTOWC /**/
519 * This symbol, if defined, indicates that the memcmp routine is available
520 * to compare blocks of memory.
522 #$d_memcmp HAS_MEMCMP /**/
525 * This symbol, if defined, indicates that the memcpy routine is available
526 * to copy blocks of memory.
528 #$d_memcpy HAS_MEMCPY /**/
531 * This symbol, if defined, indicates that the memmove routine is available
532 * to copy potentially overlapping blocks of memory. This should be used
533 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
536 #$d_memmove HAS_MEMMOVE /**/
539 * This symbol, if defined, indicates that the memset routine is available
540 * to set blocks of memory.
542 #$d_memset HAS_MEMSET /**/
545 * This symbol, if defined, indicates that the mkdir routine is available
546 * to create directories. Otherwise you should fork off a new process to
549 #$d_mkdir HAS_MKDIR /**/
552 * This symbol, if defined, indicates that the mkfifo routine is
553 * available to create FIFOs. Otherwise, mknod should be able to
554 * do it for you. However, if mkfifo is there, mknod might require
555 * super-user privileges which mkfifo will not.
557 #$d_mkfifo HAS_MKFIFO /**/
560 * This symbol, if defined, indicates that the mktime routine is
563 #$d_mktime HAS_MKTIME /**/
566 * This symbol, if defined, indicates that the entire msg*(2) library is
567 * supported (IPC mechanism based on message queues).
572 * This symbol, if defined, indicates that the nice routine is
575 #$d_nice HAS_NICE /**/
578 * This manifest constant lets the C program know that the three
579 * argument form of open(2) is available.
581 #$d_open3 HAS_OPEN3 /**/
584 * This symbol, if defined, indicates that pathconf() is available
585 * to determine file-system related limits and options associated
586 * with a given filename.
589 * This symbol, if defined, indicates that pathconf() is available
590 * to determine file-system related limits and options associated
591 * with a given open file descriptor.
593 #$d_pathconf HAS_PATHCONF /**/
594 #$d_fpathconf HAS_FPATHCONF /**/
597 * This symbol, if defined, indicates that the pause routine is
598 * available to suspend a process until a signal is received.
600 #$d_pause HAS_PAUSE /**/
603 * This symbol, if defined, indicates that the pipe routine is
604 * available to create an inter-process channel.
606 #$d_pipe HAS_PIPE /**/
609 * This symbol, if defined, indicates that the poll routine is
610 * available to poll active file descriptors.
612 #$d_poll HAS_POLL /**/
614 /* HAS_PTHREAD_YIELD:
615 * This symbol, if defined, indicates that the pthread_yield routine is
616 * available to yield the execution of the current thread.
618 #$d_pthread_yield HAS_PTHREAD_YIELD
621 * This symbol, if defined, indicates that the readdir routine is
622 * available to read directory entries. You may have to include
623 * <dirent.h>. See I_DIRENT.
625 #$d_readdir HAS_READDIR /**/
628 * This symbol, if defined, indicates that the sched_yield
629 * routine is available to yield the execution of the current thread.
631 #$d_sched_yield HAS_SCHED_YIELD
634 * This symbol, if defined, indicates that the seekdir routine is
635 * available. You may have to include <dirent.h>. See I_DIRENT.
637 #$d_seekdir HAS_SEEKDIR /**/
640 * This symbol, if defined, indicates that the telldir routine is
641 * available. You may have to include <dirent.h>. See I_DIRENT.
643 #$d_telldir HAS_TELLDIR /**/
646 * This symbol, if defined, indicates that the rewinddir routine is
647 * available. You may have to include <dirent.h>. See I_DIRENT.
649 #$d_rewinddir HAS_REWINDDIR /**/
652 * This symbol, if defined, indicates that the readlink routine is
653 * available to read the value of a symbolic link.
655 #$d_readlink HAS_READLINK /**/
658 * This symbol, if defined, indicates that the rename routine is available
659 * to rename files. Otherwise you should do the unlink(), link(), unlink()
662 #$d_rename HAS_RENAME /**/
665 * This symbol, if defined, indicates that the rmdir routine is
666 * available to remove directories. Otherwise you should fork off a
667 * new process to exec /bin/rmdir.
669 #$d_rmdir HAS_RMDIR /**/
672 * This symbol, if defined, indicates that the bcopy routine is available
673 * to copy potentially overlapping memory blocks. Otherwise you should
674 * probably use memmove() or memcpy(). If neither is defined, roll your
677 #$d_safebcpy HAS_SAFE_BCOPY /**/
680 * This symbol, if defined, indicates that the memcpy routine is available
681 * to copy potentially overlapping memory blocks. Otherwise you should
682 * probably use memmove() or memcpy(). If neither is defined, roll your
685 #$d_safemcpy HAS_SAFE_MEMCPY /**/
688 * This symbol, if defined, indicates that the memcmp routine is available
689 * and can be used to compare relative magnitudes of chars with their high
690 * bits set. If it is not defined, roll your own version.
692 #$d_sanemcmp HAS_SANE_MEMCMP /**/
695 * This symbol, if defined, indicates that the select routine is
696 * available to select active file descriptors. If the timeout field
697 * is used, <sys/time.h> may need to be included.
699 #$d_select HAS_SELECT /**/
702 * This symbol, if defined, indicates that the entire sem*(2) library is
708 * This symbol, if defined, indicates that the setegid routine is available
709 * to change the effective gid of the current program.
711 #$d_setegid HAS_SETEGID /**/
714 * This symbol, if defined, indicates that the seteuid routine is available
715 * to change the effective uid of the current program.
717 #$d_seteuid HAS_SETEUID /**/
720 * This symbol, if defined, indicates that the setlinebuf routine is
721 * available to change stderr or stdout from block-buffered or unbuffered
722 * to a line-buffered mode.
724 #$d_setlinebuf HAS_SETLINEBUF /**/
727 * This symbol, if defined, indicates that the setlocale routine is
728 * available to handle locale-specific ctype implementations.
730 #$d_setlocale HAS_SETLOCALE /**/
733 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
734 * routine is available to set the current process group.
736 #$d_setpgrp2 HAS_SETPGRP2 /**/
739 * This symbol, if defined, indicates that the setpriority routine is
740 * available to set a process's priority.
742 #$d_setprior HAS_SETPRIORITY /**/
745 * This symbol, if defined, indicates that the setregid routine is
746 * available to change the real and effective gid of the current
750 * This symbol, if defined, indicates that the setresgid routine is
751 * available to change the real, effective and saved gid of the current
754 #$d_setregid HAS_SETREGID /**/
755 #$d_setresgid HAS_SETRESGID /**/
758 * This symbol, if defined, indicates that the setreuid routine is
759 * available to change the real and effective uid of the current
763 * This symbol, if defined, indicates that the setresuid routine is
764 * available to change the real, effective and saved uid of the current
767 #$d_setreuid HAS_SETREUID /**/
768 #$d_setresuid HAS_SETRESUID /**/
771 * This symbol, if defined, indicates that the setrgid routine is available
772 * to change the real gid of the current program.
774 #$d_setrgid HAS_SETRGID /**/
777 * This symbol, if defined, indicates that the setruid routine is available
778 * to change the real uid of the current program.
780 #$d_setruid HAS_SETRUID /**/
783 * This symbol, if defined, indicates that the setsid routine is
784 * available to set the process group ID.
786 #$d_setsid HAS_SETSID /**/
789 * This symbol, if defined, indicates that the entire shm*(2) library is
795 * This symbol holds the return type of the shmat() system call.
796 * Usually set to 'void *' or 'char *'.
798 /* HAS_SHMAT_PROTOTYPE:
799 * This symbol, if defined, indicates that the sys/shm.h includes
800 * a prototype for shmat(). Otherwise, it is up to the program to
801 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
802 * but not always right so it should be emitted by the program only
803 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
805 #define Shmat_t $shmattype /**/
806 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
809 * This symbol, if defined, indicates that Vr4's sigaction() routine
812 #$d_sigaction HAS_SIGACTION /**/
815 * This symbol, if defined, indicates that the BSD socket interface is
819 * This symbol, if defined, indicates that the BSD socketpair() call is
822 #$d_socket HAS_SOCKET /**/
823 #$d_sockpair HAS_SOCKETPAIR /**/
826 * This symbol is defined if this system has a stat structure declaring
827 * st_blksize and st_blocks.
829 #$d_statblks USE_STAT_BLOCKS /**/
832 * This symbol is defined if the _ptr and _cnt fields (or similar)
833 * of the stdio FILE structure can be used to access the stdio buffer
834 * for a file handle. If this is defined, then the FILE_ptr(fp)
835 * and FILE_cnt(fp) macros will also be defined and should be used
836 * to access these fields.
839 * This macro is used to access the _ptr field (or equivalent) of the
840 * FILE structure pointed to by its argument. This macro will always be
841 * defined if USE_STDIO_PTR is defined.
844 * This symbol is defined if the FILE_ptr macro can be used as an
848 * This macro is used to access the _cnt field (or equivalent) of the
849 * FILE structure pointed to by its argument. This macro will always be
850 * defined if USE_STDIO_PTR is defined.
853 * This symbol is defined if the FILE_cnt macro can be used as an
856 #$d_stdstdio USE_STDIO_PTR /**/
858 #define FILE_ptr(fp) $stdio_ptr
859 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
860 #define FILE_cnt(fp) $stdio_cnt
861 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
865 * This symbol is defined if the _base field (or similar) of the
866 * stdio FILE structure can be used to access the stdio buffer for
867 * a file handle. If this is defined, then the FILE_base(fp) macro
868 * will also be defined and should be used to access this field.
869 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
870 * to determine the number of bytes in the buffer. USE_STDIO_BASE
871 * will never be defined unless USE_STDIO_PTR is.
874 * This macro is used to access the _base field (or equivalent) of the
875 * FILE structure pointed to by its argument. This macro will always be
876 * defined if USE_STDIO_BASE is defined.
879 * This macro is used to determine the number of bytes in the I/O
880 * buffer pointed to by _base field (or equivalent) of the FILE
881 * structure pointed to its argument. This macro will always be defined
882 * if USE_STDIO_BASE is defined.
884 #$d_stdiobase USE_STDIO_BASE /**/
885 #ifdef USE_STDIO_BASE
886 #define FILE_base(fp) $stdio_base
887 #define FILE_bufsiz(fp) $stdio_bufsiz
891 * This symbol is defined to indicate that the strchr()/strrchr()
892 * functions are available for string searching. If not, try the
893 * index()/rindex() pair.
896 * This symbol is defined to indicate that the index()/rindex()
897 * functions are available for string searching.
899 #$d_strchr HAS_STRCHR /**/
900 #$d_index HAS_INDEX /**/
903 * This symbol, if defined, indicates that the strcoll routine is
904 * available to compare strings using collating information.
906 #$d_strcoll HAS_STRCOLL /**/
909 * This symbol, if defined, indicates that this C compiler knows how
910 * to copy structures. If undefined, you'll need to use a block copy
911 * routine of some sort instead.
913 #$d_strctcpy USE_STRUCT_COPY /**/
916 * This symbol, if defined, indicates that the strerror routine is
917 * available to translate error numbers to strings. See the writeup
918 * of Strerror() in this file before you try to define your own.
921 * This symbol, if defined, indicates that the sys_errlist array is
922 * available to translate error numbers to strings. The extern int
923 * sys_nerr gives the size of that table.
926 * This preprocessor symbol is defined as a macro if strerror() is
927 * not available to translate error numbers to strings but sys_errlist[]
930 #$d_strerror HAS_STRERROR /**/
931 #$d_syserrlst HAS_SYS_ERRLIST /**/
932 #define Strerror(e) $d_strerrm
935 * This symbol, if defined, indicates that the strtod routine is
936 * available to provide better numeric string conversion than atof().
938 #$d_strtod HAS_STRTOD /**/
941 * This symbol, if defined, indicates that the strtol routine is available
942 * to provide better numeric string conversion than atoi() and friends.
944 #$d_strtol HAS_STRTOL /**/
947 * This symbol, if defined, indicates that the strtoul routine is
948 * available to provide conversion of strings to unsigned long.
950 #$d_strtoul HAS_STRTOUL /**/
953 * This symbol, if defined, indicates that the strxfrm() routine is
954 * available to transform strings.
956 #$d_strxfrm HAS_STRXFRM /**/
959 * This symbol, if defined, indicates that the symlink routine is available
960 * to create symbolic links.
962 #$d_symlink HAS_SYMLINK /**/
965 * This symbol, if defined, indicates that the syscall routine is
966 * available to call arbitrary system calls. If undefined, that's tough.
968 #$d_syscall HAS_SYSCALL /**/
971 * This symbol, if defined, indicates that sysconf() is available
972 * to determine system related limits and options.
974 #$d_sysconf HAS_SYSCONF /**/
977 * This symbol, if defined, indicates that the system routine is
978 * available to issue a shell command.
980 #$d_system HAS_SYSTEM /**/
983 * This symbol, if defined, indicates that the tcgetpgrp routine is
984 * available to get foreground process group ID.
986 #$d_tcgetpgrp HAS_TCGETPGRP /**/
989 * This symbol, if defined, indicates that the tcsetpgrp routine is
990 * available to set foreground process group ID.
992 #$d_tcsetpgrp HAS_TCSETPGRP /**/
995 * This symbol holds the type returned by time(). It can be long,
996 * or time_t on BSD sites (in which case <sys/types.h> should be
999 #define Time_t $timetype /* Time type */
1002 * This symbol, if defined, indicates that the times() routine exists.
1003 * Note that this became obsolete on some systems (SUNOS), which now
1004 * use getrusage(). It may be necessary to include <sys/times.h>.
1006 #$d_times HAS_TIMES /**/
1009 * This symbol, if defined, indicates that the truncate routine is
1010 * available to truncate files.
1012 #$d_truncate HAS_TRUNCATE /**/
1015 * This symbol, if defined, indicates that the tzname[] array is
1016 * available to access timezone names.
1018 #$d_tzname HAS_TZNAME /**/
1021 * This symbol, if defined, indicates that the umask routine is
1022 * available to set and get the value of the file creation mask.
1024 #$d_umask HAS_UMASK /**/
1027 * This symbol, if defined, indicates that vfork() exists.
1029 #$d_vfork HAS_VFORK /**/
1032 * This symbol's value is either "void" or "int", corresponding to the
1033 * appropriate return type of a signal handler. Thus, you can declare
1034 * a signal handler using "Signal_t (*handler)()", and define the
1035 * handler using "Signal_t handler(sig)".
1037 #define Signal_t $signal_t /* Signal handler's return type */
1040 * This symbol, if defined, indicates that this C compiler knows about
1041 * the volatile declaration.
1043 #$d_volatile HASVOLATILE /**/
1049 * This symbol, if defined, indicates that the vprintf routine is available
1050 * to printf with a pointer to an argument list. If unavailable, you
1051 * may need to write your own, probably in terms of _doprnt().
1053 /* USE_CHAR_VSPRINTF:
1054 * This symbol is defined if this system has vsprintf() returning type
1055 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1056 * is up to the package author to declare vsprintf correctly based on the
1059 #$d_vprintf HAS_VPRINTF /**/
1060 #$d_charvspr USE_CHAR_VSPRINTF /**/
1063 * This symbol, if defined, indicates that wait4() exists.
1065 #$d_wait4 HAS_WAIT4 /**/
1068 * This symbol, if defined, indicates that the waitpid routine is
1069 * available to wait for child process.
1071 #$d_waitpid HAS_WAITPID /**/
1074 * This symbol, if defined, indicates that the wcstombs routine is
1075 * available to convert wide character strings to multibyte strings.
1077 #$d_wcstombs HAS_WCSTOMBS /**/
1080 * This symbol, if defined, indicates that the wctomb routine is available
1081 * to covert a wide character to a multibyte.
1083 #$d_wctomb HAS_WCTOMB /**/
1086 * This symbol holds the type used to declare file positions in libc.
1087 * It can be fpos_t, long, uint, etc... It may be necessary to include
1088 * <sys/types.h> to get any typedef'ed information.
1090 #define Fpos_t $fpostype /* File position type */
1093 * This symbol holds the return type of getgid() and the type of
1094 * argument to setrgid() and related functions. Typically,
1095 * it is the type of group ids in the kernel. It can be int, ushort,
1096 * uid_t, etc... It may be necessary to include <sys/types.h> to get
1097 * any typedef'ed information.
1099 #define Gid_t $gidtype /* Type for getgid(), etc... */
1102 * This symbol holds the type used for the second argument to
1103 * [gs]etgroups(). Usually, this is the same of gidtype, but
1104 * sometimes it isn't. It can be int, ushort, uid_t, etc...
1105 * It may be necessary to include <sys/types.h> to get any
1106 * typedef'ed information. This is only required if you have
1107 * getgroups() or setgroups().
1109 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1110 #define Groups_t $groupstype /* Type for 2nd arg to [gs]etgroups() */
1114 * This symbol contains the type of the prefix structure element
1115 * in the <db.h> header file. In older versions of DB, it was
1116 * int, while in newer ones it is u_int32_t.
1119 * This symbol contains the type of the prefix structure element
1120 * in the <db.h> header file. In older versions of DB, it was
1121 * int, while in newer ones it is size_t.
1123 #define DB_Hash_t $db_hashtype /**/
1124 #define DB_Prefix_t $db_prefixtype /**/
1127 * This symbol, if defined, indicates to the C program that it should
1128 * include <dirent.h>. Using this symbol also triggers the definition
1129 * of the Direntry_t define which ends up being 'struct dirent' or
1130 * 'struct direct' depending on the availability of <dirent.h>.
1133 * This symbol, if defined, indicates to the C program that the length
1134 * of directory entry names is provided by a d_namlen field. Otherwise
1135 * you need to do strlen() on the d_name field.
1138 * This symbol is set to 'struct direct' or 'struct dirent' depending on
1139 * whether dirent is available or not. You should use this pseudo type to
1140 * portably declare your directory entries.
1142 #$i_dirent I_DIRENT /**/
1143 #$d_dirnamlen DIRNAMLEN /**/
1144 #define Direntry_t $direntrytype
1147 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1150 #$i_dlfcn I_DLFCN /**/
1153 * This manifest constant tells the C program to include <fcntl.h>.
1155 #$i_fcntl I_FCNTL /**/
1158 * This symbol, if defined, indicates to the C program that it should
1159 * include <float.h> to get definition of symbols like DBL_MAX or
1160 * DBL_MIN, i.e. machine dependent floating point values.
1162 #$i_float I_FLOAT /**/
1165 * This symbol, if defined, indicates to the C program that it should
1171 * This symbol, if defined, indicates to the C program that it should
1172 * include <limits.h> to get definition of symbols like WORD_BIT or
1173 * LONG_MAX, i.e. machine dependant limitations.
1175 #$i_limits I_LIMITS /**/
1178 * This symbol, if defined, indicates to the C program that it should
1181 #$i_math I_MATH /**/
1184 * This symbol, if defined, indicates to the C program that it should
1185 * include <memory.h>.
1187 #$i_memory I_MEMORY /**/
1190 * This symbol, if defined, indicates that <ndbm.h> exists and should
1193 #$i_ndbm I_NDBM /**/
1196 * This symbol, if defined, indicates that <net/errno.h> exists and
1197 * should be included.
1199 #$i_neterrno I_NET_ERRNO /**/
1202 * This symbol, if defined, indicates to the C program that it should
1203 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1205 #$i_niin I_NETINET_IN /**/
1208 * This symbol, if defined, indicates that <netdb.h> exists and
1209 * should be included.
1211 #$i_netdb I_NETDB /**/
1214 * This symbol, if defined, indicates to the C program that it should
1218 * This symbol, if defined, indicates to the C program that struct passwd
1219 * contains pw_quota.
1222 * This symbol, if defined, indicates to the C program that struct passwd
1226 * This symbol, if defined, indicates to the C program that struct passwd
1227 * contains pw_change.
1230 * This symbol, if defined, indicates to the C program that struct passwd
1231 * contains pw_class.
1234 * This symbol, if defined, indicates to the C program that struct passwd
1235 * contains pw_expire.
1238 * This symbol, if defined, indicates to the C program that struct passwd
1239 * contains pw_comment.
1242 #$d_pwquota PWQUOTA /**/
1243 #$d_pwage PWAGE /**/
1244 #$d_pwchange PWCHANGE /**/
1245 #$d_pwclass PWCLASS /**/
1246 #$d_pwexpire PWEXPIRE /**/
1247 #$d_pwcomment PWCOMMENT /**/
1250 * This symbol, if defined, indicates that <stddef.h> exists and should
1253 #$i_stddef I_STDDEF /**/
1256 * This symbol, if defined, indicates that <stdlib.h> exists and should
1259 #$i_stdlib I_STDLIB /**/
1262 * This symbol, if defined, indicates to the C program that it should
1263 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1265 #$i_string I_STRING /**/
1268 * This symbol, if defined, indicates to the C program that it should
1269 * include <sys/dir.h>.
1271 #$i_sysdir I_SYS_DIR /**/
1274 * This symbol, if defined, indicates to the C program that it should
1275 * include <sys/file.h> to get definition of R_OK and friends.
1277 #$i_sysfile I_SYS_FILE /**/
1280 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1281 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1283 #$i_sysioctl I_SYS_IOCTL /**/
1286 * This symbol, if defined, indicates to the C program that it should
1287 * include <sys/ndir.h>.
1289 #$i_sysndir I_SYS_NDIR /**/
1292 * This symbol, if defined, indicates to the C program that it should
1293 * include <sys/param.h>.
1295 #$i_sysparam I_SYS_PARAM /**/
1298 * This symbol, if defined, indicates to the C program that it should
1299 * include <sys/resource.h>.
1301 #$i_sysresrc I_SYS_RESOURCE /**/
1304 * This symbol, if defined, indicates to the C program that it should
1305 * include <sys/select.h> in order to get definition of struct timeval.
1307 #$i_sysselct I_SYS_SELECT /**/
1310 * This symbol, if defined, indicates to the C program that it should
1311 * include <sys/times.h>.
1313 #$i_systimes I_SYS_TIMES /**/
1316 * This symbol, if defined, indicates to the C program that it should
1317 * include <sys/types.h>.
1319 #$i_systypes I_SYS_TYPES /**/
1322 * This symbol, if defined, indicates to the C program that it should
1323 * include <sys/un.h> to get UNIX domain socket definitions.
1325 #$i_sysun I_SYS_UN /**/
1328 * This symbol, if defined, indicates to the C program that it should
1329 * include <sys/wait.h>.
1331 #$i_syswait I_SYS_WAIT /**/
1334 * This symbol, if defined, indicates that the program should include
1335 * <termio.h> rather than <sgtty.h>. There are also differences in
1336 * the ioctl() calls that depend on the value of this symbol.
1339 * This symbol, if defined, indicates that the program should include
1340 * the POSIX termios.h rather than sgtty.h or termio.h.
1341 * There are also differences in the ioctl() calls that depend on the
1342 * value of this symbol.
1345 * This symbol, if defined, indicates that the program should include
1346 * <sgtty.h> rather than <termio.h>. There are also differences in
1347 * the ioctl() calls that depend on the value of this symbol.
1349 #$i_termio I_TERMIO /**/
1350 #$i_termios I_TERMIOS /**/
1351 #$i_sgtty I_SGTTY /**/
1354 * This symbol, if defined, indicates to the C program that it should
1358 * This symbol, if defined, indicates to the C program that it should
1359 * include <sys/time.h>.
1361 /* I_SYS_TIME_KERNEL:
1362 * This symbol, if defined, indicates to the C program that it should
1363 * include <sys/time.h> with KERNEL defined.
1365 #$i_time I_TIME /**/
1366 #$i_systime I_SYS_TIME /**/
1367 #$i_systimek I_SYS_TIME_KERNEL /**/
1370 * This symbol, if defined, indicates to the C program that it should
1371 * include <unistd.h>.
1373 #$i_unistd I_UNISTD /**/
1376 * This symbol, if defined, indicates to the C program that it should
1377 * include <utime.h>.
1379 #$i_utime I_UTIME /**/
1382 * This symbol, if defined, indicates that <stdarg.h> exists and should
1386 * This symbol, if defined, indicates to the C program that it should
1387 * include <varargs.h>.
1389 #$i_stdarg I_STDARG /**/
1390 #$i_varargs I_VARARGS /**/
1393 * This symbol, if defined, indicates to the C program that it should
1396 #$i_vfork I_VFORK /**/
1399 * This symbol contains the value of sizeof(int) so that the C
1400 * preprocessor can make decisions based on it.
1403 * This symbol contains the value of sizeof(long) so that the C
1404 * preprocessor can make decisions based on it.
1407 * This symbol contains the value of sizeof(short) so that the C
1408 * preprocessor can make decisions based on it.
1410 #define INTSIZE $intsize /**/
1411 #define LONGSIZE $longsize /**/
1412 #define SHORTSIZE $shortsize /**/
1415 * This symbol holds the type used to declare offsets in the kernel.
1416 * It can be int, long, off_t, etc... It may be necessary to include
1417 * <sys/types.h> to get any typedef'ed information.
1419 #define Off_t $lseektype /* <offset> type */
1422 * This symbol holds the type used to declare file modes
1423 * for systems calls. It is usually mode_t, but may be
1424 * int or unsigned short. It may be necessary to include <sys/types.h>
1425 * to get any typedef'ed information.
1427 #define Mode_t $modetype /* file mode parameter for system calls */
1430 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1431 * non-blocking I/O for the file descriptor. Note that there is no way
1432 * back, i.e. you cannot turn it blocking again this way. If you wish to
1433 * alternatively switch between blocking and non-blocking, use the
1434 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1437 * This symbol holds the errno error code set by read() when no data was
1438 * present on the non-blocking file descriptor.
1441 * This symbol holds the return code from read() when no data is present
1442 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1443 * not defined, then you can't distinguish between no data and EOF by
1444 * issuing a read(). You'll have to find another way to tell for sure!
1447 * This symbol, if defined, indicates to the C program that a read() on
1448 * a non-blocking file descriptor will return 0 on EOF, and not the value
1449 * held in RD_NODATA (-1 usually, in that case!).
1451 #define VAL_O_NONBLOCK $o_nonblock
1452 #define VAL_EAGAIN $eagain
1453 #define RD_NODATA $rd_nodata
1454 #$d_eofnblk EOF_NONBLOCK
1457 * If defined, this macro indicates that the C compiler can handle
1458 * function prototypes.
1461 * This macro is used to declare function parameters for folks who want
1462 * to make declarations with prototypes using a different style than
1463 * the above macros. Use double parentheses. For example:
1465 * int main _((int argc, char *argv[]));
1467 #$prototype CAN_PROTOTYPE /**/
1468 #ifdef CAN_PROTOTYPE
1469 #define _(args) args
1475 * This symbol contains the number of bits of random number the rand()
1476 * function produces. Usual values are 15, 16, and 31.
1478 #define RANDBITS $randbits /**/
1481 * This symbol holds the type used for the 2nd, 3rd, and 4th
1482 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1483 * is defined, and 'int *' otherwise. This is only useful if you
1484 * have select(), of course.
1486 #define Select_fd_set_t $selecttype /**/
1489 * This symbol holds the type used to declare length parameters
1490 * for string functions. It is usually size_t, but may be
1491 * unsigned long, int, etc. It may be necessary to include
1492 * <sys/types.h> to get any typedef'ed information.
1494 #define Size_t $sizetype /* length paramater for string functions */
1497 * This symbol holds the type used by functions that return
1498 * a count of bytes or an error condition. It must be a signed type.
1499 * It is usually ssize_t, but may be long or int, etc.
1500 * It may be necessary to include <sys/types.h> or <unistd.h>
1501 * to get any typedef'ed information.
1502 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1504 #define SSize_t $ssizetype /* signed count of bytes */
1507 * This symbol is defined to be the type of char used in stdio.h.
1508 * It has the values "unsigned char" or "char".
1510 #define STDCHAR $stdchar /**/
1513 * This symbol holds the type used to declare user ids in the kernel.
1514 * It can be int, ushort, uid_t, etc... It may be necessary to include
1515 * <sys/types.h> to get any typedef'ed information.
1517 #define Uid_t $uidtype /* UID type */
1520 * This symbol holds the complete pathname to the sed program.
1522 #define LOC_SED "$full_sed" /**/
1525 * This symbol contains the name of the operating system, as determined
1526 * by Configure. You shouldn't rely on it too much; the specific
1527 * feature tests from Configure are generally more reliable.
1529 #define OSNAME "$osname" /**/
1532 * This variable, if defined, holds the name of the directory in
1533 * which the user wants to put architecture-dependent public
1534 * library files for $package. It is most often a local directory
1535 * such as /usr/local/lib. Programs using this variable must be
1536 * prepared to deal with filename expansion. If ARCHLIB is the
1537 * same as PRIVLIB, it is not defined, since presumably the
1538 * program already searches PRIVLIB.
1541 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1542 * in programs that are not prepared to deal with ~ expansion at run-time.
1544 #$d_archlib ARCHLIB "$archlib" /**/
1545 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1548 * This symbol, if defined, indicates that Perl 5.004 should be
1549 * binary-compatible with Perl 5.003.
1551 #$d_bincompat3 BINCOMPAT3 /**/
1554 * This symbol holds the hexadecimal constant defined in byteorder,
1555 * i.e. 0x1234 or 0x4321, etc...
1556 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1557 * Binaries (MAB) on either big endian or little endian machines.
1558 * The endian-ness is available at compile-time. This only matters
1559 * for perl, where the config.h can be generated and installed on
1560 * one system, and used by a different architecture to build an
1561 * extension. Older versions of NeXT that might not have
1562 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1563 * so the default case (for NeXT) is big endian to catch them.
1564 * This might matter for NeXT 3.0.
1567 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1569 #ifdef __LITTLE_ENDIAN__
1570 #define BYTEORDER 0x1234
1571 #else /* __BIG_ENDIAN__ */
1572 #define BYTEORDER 0x4321
1573 #endif /* ENDIAN CHECK */
1577 * This symbol, if defined, indicates that the C-shell exists.
1578 * If defined, contains the full pathname of csh.
1580 #$d_csh CSH "$full_csh" /**/
1582 /* DLSYM_NEEDS_UNDERSCORE:
1583 * This symbol, if defined, indicates that we need to prepend an
1584 * underscore to the symbol name before calling dlsym(). This only
1585 * makes sense if you *have* dlsym, which we will presume is the
1586 * case if you're using dl_dlopen.xs.
1588 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
1590 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1591 * This symbol, if defined, indicates that the bug that prevents
1592 * setuid scripts from being secure is not present in this kernel.
1595 * This symbol, if defined, indicates that the C program should
1596 * check the script that it is executing for setuid/setgid bits, and
1597 * attempt to emulate setuid/setgid on systems that have disabled
1598 * setuid #! scripts because the kernel can't do it securely.
1599 * It is up to the package designer to make sure that this emulation
1600 * is done securely. Among other things, it should do an fstat on
1601 * the script it just opened to make sure it really is a setuid/setgid
1602 * script, it should make sure the arguments passed correspond exactly
1603 * to the argument on the #! line, and it should not trust any
1604 * subprocesses to which it must pass the filename rather than the
1605 * file descriptor of the script to be executed.
1607 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1608 #$d_dosuid DOSUID /**/
1611 * This preprocessor macro is defined to convert a floating point
1612 * number to a string without a trailing decimal point. This
1613 * emulates the behavior of sprintf("%g"), but is sometimes much more
1614 * efficient. If gconvert() is not available, but gcvt() drops the
1615 * trailing decimal point, then gcvt() is used. If all else fails,
1616 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1617 * macro are: value, number of digits, whether trailing zeros should
1618 * be retained, and the output buffer.
1619 * Possible values are:
1620 * d_Gconvert='gconvert((x),(n),(t),(b))'
1621 * d_Gconvert='gcvt((x),(n),(b))'
1622 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1623 * The last two assume trailing zeros should not be kept.
1625 #define Gconvert(x,n,t,b) $d_Gconvert
1628 * This symbol, if defined, indicates to the C program that
1629 * the getpgid(pid) function is available to get the
1632 #$d_getpgid HAS_GETPGID /**/
1635 * This symbol, if defined, indicates that the getpgrp routine is
1636 * available to get the current process group.
1639 * This symbol, if defined, indicates that getpgrp needs one
1640 * arguments whereas USG one needs none.
1642 #$d_getpgrp HAS_GETPGRP /**/
1643 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1646 * This symbol, if defined, indicates to the C program that the
1647 * inet_aton() function is available to parse IP address "dotted-quad"
1650 #$d_inetaton HAS_INET_ATON /**/
1653 * This symbol, if defined, indicates to the C program that
1654 * the setpgid(pid, gpid) function is available to set the
1657 #$d_setpgid HAS_SETPGID /**/
1660 * This symbol, if defined, indicates that the setpgrp routine is
1661 * available to set the current process group.
1664 * This symbol, if defined, indicates that setpgrp needs two
1665 * arguments whereas USG one needs none. See also HAS_SETPGID
1666 * for a POSIX interface.
1669 * This symbol, if defined, indicates that the BSD notion of process
1670 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1671 * instead of the USG setpgrp(). This should be obsolete since
1672 * there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
1674 #$d_setpgrp HAS_SETPGRP /**/
1675 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
1676 #$d_bsdpgrp USE_BSDPGRP /**/
1679 * This symbol, if defined, indicates that sfio should
1682 #$d_sfio USE_SFIO /**/
1684 /* PTHREADS_CREATED_JOINABLE:
1685 * This symbol, if defined, indicates that pthreads are created
1686 * in the joinable (aka undetached) state.
1688 #$d_pthreads_created_joinable PTHREADS_CREATED_JOINABLE /**/
1691 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1694 * This macro is used in the same way as sigsetjmp(), but will invoke
1695 * traditional setjmp() if sigsetjmp isn't available.
1696 * See HAS_SIGSETJMP.
1699 * This macro is used in the same way as siglongjmp(), but will invoke
1700 * traditional longjmp() if siglongjmp isn't available.
1701 * See HAS_SIGSETJMP.
1703 #$d_sigsetjmp HAS_SIGSETJMP /**/
1704 #ifdef HAS_SIGSETJMP
1705 #define Sigjmp_buf sigjmp_buf
1706 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1707 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1709 #define Sigjmp_buf jmp_buf
1710 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1711 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1714 /* USE_DYNAMIC_LOADING:
1715 * This symbol, if defined, indicates that dynamic loading of
1716 * some sort is available.
1718 #$usedl USE_DYNAMIC_LOADING /**/
1721 * This symbol, if defined, indicates that <dbm.h> exists and should
1725 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1726 * should be included.
1729 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
1732 * This symbol, if defined, indicates to the C program that it should
1733 * include <locale.h>.
1735 #$i_locale I_LOCALE /**/
1738 * This symbol, if defined, indicates to the C program that it should
1741 #$i_sfio I_SFIO /**/
1744 * This symbol, if defined, indicates to the C program that it should
1745 * include <sys/stat.h>.
1747 #$i_sysstat I_SYS_STAT /**/
1750 * This symbol, if defined, indicates to the C program that it should
1751 * include <values.h> to get definition of symbols like MINFLOAT or
1752 * MAXLONG, i.e. machine dependant limitations. Probably, you
1753 * should use <limits.h> instead, if it is available.
1755 #$i_values I_VALUES /**/
1758 * This variable contains the return type of free(). It is usually
1759 * void, but occasionally int.
1762 * This symbol is the type of pointer returned by malloc and realloc.
1764 #define Malloc_t $malloctype /**/
1765 #define Free_t $freetype /**/
1768 * This symbol, if defined, indicates that we're using our own malloc.
1770 #$d_mymalloc MYMALLOC /**/
1773 * This variable, if defined, holds the name of the directory in
1774 * which the user has perl5.000 or perl5.001 architecture-dependent
1775 * public library files for $package. For the most part, these
1776 * files will work with 5.002 (and later), but that is not
1780 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1781 * used in programs that are not prepared to deal with ~ expansion at
1784 #$d_oldarchlib OLDARCHLIB "$oldarchlib" /**/
1785 #$d_oldarchlib OLDARCHLIB_EXP "$oldarchlibexp" /**/
1788 * This symbol contains the name of the private library for this package.
1789 * The library is private in the sense that it needn't be in anyone's
1790 * execution path, but it should be accessible by the world. The program
1791 * should be prepared to do ~ expansion.
1794 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1795 * in programs that are not prepared to deal with ~ expansion at run-time.
1797 #define PRIVLIB "$privlib" /**/
1798 #define PRIVLIB_EXP "$privlibexp" /**/
1801 * This symbol contains the full pathname to the shell used on this
1802 * on this system to execute Bourne shell scripts. Usually, this will be
1803 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1804 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1807 #define SH_PATH "$sh" /**/
1810 * This symbol contains a list of signal names in order of
1811 * signal number. This is intended
1812 * to be used as a static array initialization, like this:
1813 * char *sig_name[] = { SIG_NAME };
1814 * The signals in the list are separated with commas, and each signal
1815 * is surrounded by double quotes. There is no leading SIG in the signal
1816 * name, i.e. SIGQUIT is known as "QUIT".
1817 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1818 * etc., where nn is the actual signal number (e.g. NUM37).
1819 * The signal number for sig_name[i] is stored in sig_num[i].
1820 * The last element is 0 to terminate the list with a NULL. This
1821 * corresponds to the 0 at the end of the sig_num list.
1824 * This symbol contains a list of signal numbers, in the same order as the
1825 * SIG_NAME list. It is suitable for static array initialization, as in:
1826 * int sig_num[] = { SIG_NUM };
1827 * The signals in the list are separated with commas, and the indices
1828 * within that list and the SIG_NAME list match, so it's easy to compute
1829 * the signal name from a number or vice versa at the price of a small
1830 * dynamic linear lookup.
1831 * Duplicates are allowed, but are moved to the end of the list.
1832 * The signal number corresponding to sig_name[i] is sig_number[i].
1833 * if (i < NSIG) then sig_number[i] == i.
1834 * The last element is 0, corresponding to the 0 at the end of
1835 * the sig_name list.
1837 #define SIG_NAME "`echo $sig_name | sed 's/ /","/g'`",0 /**/
1838 #define SIG_NUM `echo $sig_num 0 | sed 's/ /,/g'` /**/
1841 * This symbol contains the name of the private library for this package.
1842 * The library is private in the sense that it needn't be in anyone's
1843 * execution path, but it should be accessible by the world. The program
1844 * should be prepared to do ~ expansion.
1845 * The standard distribution will put nothing in this directory.
1846 * Individual sites may place their own extensions and modules in
1850 * This symbol contains the ~name expanded version of SITEARCH, to be used
1851 * in programs that are not prepared to deal with ~ expansion at run-time.
1853 #define SITEARCH "$sitearch" /**/
1854 #define SITEARCH_EXP "$sitearchexp" /**/
1857 * This symbol contains the name of the private library for this package.
1858 * The library is private in the sense that it needn't be in anyone's
1859 * execution path, but it should be accessible by the world. The program
1860 * should be prepared to do ~ expansion.
1861 * The standard distribution will put nothing in this directory.
1862 * Individual sites may place their own extensions and modules in
1866 * This symbol contains the ~name expanded version of SITELIB, to be used
1867 * in programs that are not prepared to deal with ~ expansion at run-time.
1869 #define SITELIB "$sitelib" /**/
1870 #define SITELIB_EXP "$sitelibexp" /**/
1873 * This variable contains the string to put in front of a perl
1874 * script to make sure (one hopes) that it runs with perl and not
1877 #define STARTPERL "$startperl" /**/
1880 * This symbol, if defined, indicates that the PerlIO abstraction should
1881 * be used throughout. If not defined, stdio should be
1882 * used in a fully backward compatible manner.
1884 #$useperlio USE_PERLIO /**/
1887 * This symbol indicates how much support of the void type is given by this
1888 * compiler. What various bits mean:
1890 * 1 = supports declaration of void
1891 * 2 = supports arrays of pointers to functions returning void
1892 * 4 = supports comparisons between pointers to void functions and
1893 * addresses of void functions
1894 * 8 = suports declaration of generic void pointers
1896 * The package designer should define VOIDUSED to indicate the requirements
1897 * of the package. This can be done either by #defining VOIDUSED before
1898 * including config.h, or by defining defvoidused in Myinit.U. If the
1899 * latter approach is taken, only those flags will be tested. If the
1900 * level of void support necessary is not present, defines void to int.
1903 #define VOIDUSED $defvoidused
1905 #define VOIDFLAGS $voidflags
1906 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1907 #define void int /* is void to be avoided? */
1908 #define M_VOID /* Xenix strikes again */