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.
43 #define MEM_ALIGNBYTES $alignbytes /**/
46 * This symbol holds the path of the bin directory where the package will
47 * be installed. Program must be prepared to deal with ~name substitution.
49 #define BIN "$bin" /**/
52 * This macro catenates 2 tokens together.
55 * This macro surrounds its token with double quotes.
58 #define CAT2(a,b)a/**/b
59 #define CAT3(a,b,c)a/**/b/**/c
60 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
61 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
62 #define STRINGIFY(a)"a"
63 /* If you can get stringification with catify, tell me how! */
66 #define CAT2(a,b)a ## b
67 #define CAT3(a,b,c)a ## b ## c
68 #define CAT4(a,b,c,d)a ## b ## c ## d
69 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
71 #define STRINGIFY(a)StGiFy(a)
72 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
73 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
74 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
75 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
78 #include "Bletch: How does this C preprocessor catenate tokens?"
82 * This symbol contains the first part of the string which will invoke
83 * the C preprocessor on the standard input and produce to standard
84 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
85 * call a wrapper. See CPPRUN.
88 * This symbol contains the second part of the string which will invoke
89 * the C preprocessor on the standard input and produce to standard
90 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
91 * to specify standard input, otherwise the value is "".
93 #define CPPSTDIN "$cppstdin"
94 #define CPPMINUS "$cppminus"
97 * This symbol, if defined, indicates that the alarm routine is
100 #$d_alarm HAS_ALARM /**/
103 * This symbol indicates the C compiler can check for function attributes,
104 * such as printf formats. This is normally only supported by GNU cc.
106 #$d_attribut HASATTRIBUTE /**/
108 #define __attribute__(_arg_)
112 * This symbol is defined if the bcmp() routine is available to
113 * compare blocks of memory.
115 #$d_bcmp HAS_BCMP /**/
118 * This symbol is defined if the bcopy() routine is available to
119 * copy blocks of memory.
121 #$d_bcopy HAS_BCOPY /**/
124 * This symbol is defined if the bzero() routine is available to
125 * set a memory block to 0.
127 #$d_bzero HAS_BZERO /**/
130 * This symbol is defined if the C compiler can cast negative
131 * or large floating point numbers to 32-bit ints.
133 #$d_casti32 CASTI32 /**/
136 * This symbol is defined if the C compiler can cast negative
137 * numbers to unsigned longs, ints and shorts.
140 * This symbol contains flags that say what difficulties the compiler
141 * has casting odd floating values to unsigned long:
143 * 1 = couldn't cast < 0
144 * 2 = couldn't cast >= 0x80000000
145 * 4 = couldn't cast in argument expression list
147 #$d_castneg CASTNEGFLOAT /**/
148 #define CASTFLAGS $castflags /**/
151 * This symbol, if defined, indicates that the chown routine is
154 #$d_chown HAS_CHOWN /**/
157 * This symbol, if defined, indicates that the chroot routine is
160 #$d_chroot HAS_CHROOT /**/
163 * This symbol, if defined, indicates that the chsize routine is available
164 * to truncate files. You might need a -lx to get this routine.
166 #$d_chsize HAS_CHSIZE /**/
169 * This symbol, if defined, indicates that the closedir() routine
170 * does not return a value.
172 #$d_void_closedir VOID_CLOSEDIR /**/
175 * This symbol, if defined, indicates that this C compiler knows about
176 * the const type. There is no need to actually test for that symbol
177 * within your programs. The mere use of the "const" keyword will
178 * trigger the necessary tests.
180 #$d_const HASCONST /**/
186 * This symbol, if defined, indicates that the crypt routine is available
187 * to encrypt passwords and the like.
189 #$d_crypt HAS_CRYPT /**/
192 * This symbol, if defined, indicates that the cuserid routine is
193 * available to get character login names.
195 #$d_cuserid HAS_CUSERID /**/
198 * This symbol, if defined, indicates that this system's <float.h>
199 * or <limits.h> defines the symbol DBL_DIG, which is the number
200 * of significant digits in a double precision number. If this
201 * symbol is not defined, a guess of 15 is usually pretty good.
203 #$d_dbl_dig HAS_DBL_DIG /* */
206 * This symbol, if defined, indicates that the difftime routine is
209 #$d_difftime HAS_DIFFTIME /**/
212 * This symbol, if defined, indicates that the dlerror routine is
213 * available to return a string describing the last error that
214 * occurred from a call to dlopen(), dlclose() or dlsym().
216 #$d_dlerror HAS_DLERROR /**/
219 * This symbol, if defined, indicates that the dup2 routine is
220 * available to duplicate file descriptors.
222 #$d_dup2 HAS_DUP2 /**/
225 * This symbol, if defined, indicates that the fchmod routine is available
226 * to change mode of opened files. If unavailable, use chmod().
228 #$d_fchmod HAS_FCHMOD /**/
231 * This symbol, if defined, indicates that the fchown routine is available
232 * to change ownership of opened files. If unavailable, use chown().
234 #$d_fchown HAS_FCHOWN /**/
237 * This symbol, if defined, indicates to the C program that
238 * the fcntl() function exists.
240 #$d_fcntl HAS_FCNTL /**/
243 * This symbol, if defined, indicates that the fgetpos routine is
244 * available to get the file position indicator, similar to ftell().
246 #$d_fgetpos HAS_FGETPOS /**/
249 * This symbol, if defined, indicates that the system supports filenames
250 * longer than 14 characters.
252 #$d_flexfnam FLEXFILENAMES /**/
255 * This symbol, if defined, indicates that the flock routine is
256 * available to do file locking.
258 #$d_flock HAS_FLOCK /**/
261 * This symbol, if defined, indicates that the fork routine is
264 #$d_fork HAS_FORK /**/
267 * This symbol, if defined, indicates that the fsetpos routine is
268 * available to set the file position indicator, similar to fseek().
270 #$d_fsetpos HAS_FSETPOS /**/
273 * This symbol, if defined, indicates that the getgroups() routine is
274 * available to get the list of process groups. If unavailable, multiple
275 * groups are probably not supported.
277 #$d_getgrps HAS_GETGROUPS /**/
280 * This symbol, if defined, indicates that the gethostent routine is
281 * available to lookup host names in some data base or other.
283 #$d_gethent HAS_GETHOSTENT /**/
286 * This symbol, if defined, indicates that the C program may use the
287 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
290 #$d_uname HAS_UNAME /**/
293 * This symbol, if defined, indicates that the getlogin routine is
294 * available to get the login name.
296 #$d_getlogin HAS_GETLOGIN /**/
299 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
300 * routine is available to get the current process group.
302 #$d_getpgrp2 HAS_GETPGRP2 /**/
305 * This symbol, if defined, indicates that the getppid routine is
306 * available to get the parent process ID.
308 #$d_getppid HAS_GETPPID /**/
311 * This symbol, if defined, indicates that the getpriority routine is
312 * available to get a process's priority.
314 #$d_getprior HAS_GETPRIORITY /**/
317 * This symbol, if defined, indicates that the htonl() routine (and
318 * friends htons() ntohl() ntohs()) are available to do network
319 * order byte swapping.
322 * This symbol, if defined, indicates that the htons() routine (and
323 * friends htonl() ntohl() ntohs()) are available to do network
324 * order byte swapping.
327 * This symbol, if defined, indicates that the ntohl() routine (and
328 * friends htonl() htons() ntohs()) are available to do network
329 * order byte swapping.
332 * This symbol, if defined, indicates that the ntohs() routine (and
333 * friends htonl() htons() ntohl()) are available to do network
334 * order byte swapping.
336 #$d_htonl HAS_HTONL /**/
337 #$d_htonl HAS_HTONS /**/
338 #$d_htonl HAS_NTOHL /**/
339 #$d_htonl HAS_NTOHS /**/
342 * This manifest constant lets the C program know that isascii
345 #$d_isascii HAS_ISASCII /**/
348 * This symbol, if defined, indicates that the killpg routine is available
349 * to kill process groups. If unavailable, you probably should use kill
350 * with a negative process number.
352 #$d_killpg HAS_KILLPG /**/
355 * This symbol, if defined, indicates that the link routine is
356 * available to create hard links.
358 #$d_link HAS_LINK /**/
361 * This symbol, if defined, indicates that the localeconv routine is
362 * available for numeric and monetary formatting conventions.
364 #$d_locconv HAS_LOCALECONV /**/
367 * This symbol, if defined, indicates that the lockf routine is
368 * available to do file locking.
370 #$d_lockf HAS_LOCKF /**/
373 * This symbol, if defined, indicates that the lstat routine is
374 * available to do file stats on symbolic links.
376 #$d_lstat HAS_LSTAT /**/
379 * This symbol, if defined, indicates that the mblen routine is available
380 * to find the number of bytes in a multibye character.
382 #$d_mblen HAS_MBLEN /**/
385 * This symbol, if defined, indicates that the mbstowcs routine is
386 * available to covert a multibyte string into a wide character string.
388 #$d_mbstowcs HAS_MBSTOWCS /**/
391 * This symbol, if defined, indicates that the mbtowc routine is available
392 * to covert a multibyte to a wide character.
394 #$d_mbtowc HAS_MBTOWC /**/
397 * This symbol, if defined, indicates that the memcmp routine is available
398 * to compare blocks of memory.
400 #$d_memcmp HAS_MEMCMP /**/
403 * This symbol, if defined, indicates that the memcpy routine is available
404 * to copy blocks of memory.
406 #$d_memcpy HAS_MEMCPY /**/
409 * This symbol, if defined, indicates that the memmove routine is available
410 * to copy potentially overlapping blocks of memory. This should be used
411 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
414 #$d_memmove HAS_MEMMOVE /**/
417 * This symbol, if defined, indicates that the memset routine is available
418 * to set blocks of memory.
420 #$d_memset HAS_MEMSET /**/
423 * This symbol, if defined, indicates that the mkdir routine is available
424 * to create directories. Otherwise you should fork off a new process to
427 #$d_mkdir HAS_MKDIR /**/
430 * This symbol, if defined, indicates that the mkfifo routine is
431 * available to create FIFOs. Otherwise, mknod should be able to
432 * do it for you. However, if mkfifo is there, mknod might require
433 * super-user privileges which mkfifo will not.
435 #$d_mkfifo HAS_MKFIFO /**/
438 * This symbol, if defined, indicates that the mktime routine is
441 #$d_mktime HAS_MKTIME /**/
444 * This symbol, if defined, indicates that the entire msg*(2) library is
445 * supported (IPC mechanism based on message queues).
450 * This symbol, if defined, indicates that the nice routine is
453 #$d_nice HAS_NICE /**/
456 * This manifest constant lets the C program know that the three
457 * argument form of open(2) is available.
459 #$d_open3 HAS_OPEN3 /**/
462 * This symbol, if defined, indicates that pathconf() is available
463 * to determine file-system related limits and options associated
464 * with a given filename.
467 * This symbol, if defined, indicates that pathconf() is available
468 * to determine file-system related limits and options associated
469 * with a given open file descriptor.
471 #$d_pathconf HAS_PATHCONF /**/
472 #$d_fpathconf HAS_FPATHCONF /**/
475 * This symbol, if defined, indicates that the pause routine is
476 * available to suspend a process until a signal is received.
478 #$d_pause HAS_PAUSE /**/
481 * This symbol, if defined, indicates that the pipe routine is
482 * available to create an inter-process channel.
484 #$d_pipe HAS_PIPE /**/
487 * This symbol, if defined, indicates that the poll routine is
488 * available to poll active file descriptors.
490 #$d_poll HAS_POLL /**/
493 * This symbol, if defined, indicates that the readdir routine is
494 * available to read directory entries. You may have to include
495 * <dirent.h>. See I_DIRENT.
497 #$d_readdir HAS_READDIR /**/
500 * This symbol, if defined, indicates that the seekdir routine is
501 * available. You may have to include <dirent.h>. See I_DIRENT.
503 #$d_seekdir HAS_SEEKDIR /**/
506 * This symbol, if defined, indicates that the telldir routine is
507 * available. You may have to include <dirent.h>. See I_DIRENT.
509 #$d_telldir HAS_TELLDIR /**/
512 * This symbol, if defined, indicates that the rewinddir routine is
513 * available. You may have to include <dirent.h>. See I_DIRENT.
515 #$d_rewinddir HAS_REWINDDIR /**/
518 * This symbol, if defined, indicates that the readlink routine is
519 * available to read the value of a symbolic link.
521 #$d_readlink HAS_READLINK /**/
524 * This symbol, if defined, indicates that the rename routine is available
525 * to rename files. Otherwise you should do the unlink(), link(), unlink()
528 #$d_rename HAS_RENAME /**/
531 * This symbol, if defined, indicates that the rmdir routine is
532 * available to remove directories. Otherwise you should fork off a
533 * new process to exec /bin/rmdir.
535 #$d_rmdir HAS_RMDIR /**/
538 * This symbol, if defined, indicates that the bcopy routine is available
539 * to copy potentially overlapping memory blocks. Otherwise you should
540 * probably use memmove() or memcpy(). If neither is defined, roll your
543 #$d_safebcpy HAS_SAFE_BCOPY /**/
546 * This symbol, if defined, indicates that the memcpy routine is available
547 * to copy potentially overlapping memory blocks. Otherwise you should
548 * probably use memmove() or memcpy(). If neither is defined, roll your
551 #$d_safemcpy HAS_SAFE_MEMCPY /**/
554 * This symbol, if defined, indicates that the select routine is
555 * available to select active file descriptors. If the timeout field
556 * is used, <sys/time.h> may need to be included.
558 #$d_select HAS_SELECT /**/
561 * This symbol, if defined, indicates that the entire sem*(2) library is
567 * This symbol, if defined, indicates that the setegid routine is available
568 * to change the effective gid of the current program.
570 #$d_setegid HAS_SETEGID /**/
573 * This symbol, if defined, indicates that the seteuid routine is available
574 * to change the effective uid of the current program.
576 #$d_seteuid HAS_SETEUID /**/
579 * This symbol, if defined, indicates that the setlinebuf routine is
580 * available to change stderr or stdout from block-buffered or unbuffered
581 * to a line-buffered mode.
583 #$d_setlinebuf HAS_SETLINEBUF /**/
586 * This symbol, if defined, indicates that the setlocale routine is
587 * available to handle locale-specific ctype implementations.
589 #$d_setlocale HAS_SETLOCALE /**/
592 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
593 * routine is available to set the current process group.
595 #$d_setpgrp2 HAS_SETPGRP2 /**/
598 * This symbol, if defined, indicates that the setpriority routine is
599 * available to set a process's priority.
601 #$d_setprior HAS_SETPRIORITY /**/
604 * This symbol, if defined, indicates that the setregid routine is
605 * available to change the real and effective gid of the current
609 * This symbol, if defined, indicates that the setresgid routine is
610 * available to change the real, effective and saved gid of the current
613 #$d_setregid HAS_SETREGID /**/
614 #$d_setresgid HAS_SETRESGID /**/
617 * This symbol, if defined, indicates that the setreuid routine is
618 * available to change the real and effective uid of the current
622 * This symbol, if defined, indicates that the setresuid routine is
623 * available to change the real, effective and saved uid of the current
626 #$d_setreuid HAS_SETREUID /**/
627 #$d_setresuid HAS_SETRESUID /**/
630 * This symbol, if defined, indicates that the setrgid routine is available
631 * to change the real gid of the current program.
633 #$d_setrgid HAS_SETRGID /**/
636 * This symbol, if defined, indicates that the setruid routine is available
637 * to change the real uid of the current program.
639 #$d_setruid HAS_SETRUID /**/
642 * This symbol, if defined, indicates that the setsid routine is
643 * available to set the process group ID.
645 #$d_setsid HAS_SETSID /**/
648 * This symbol, if defined, indicates that the entire shm*(2) library is
654 * This symbol holds the return type of the shmat() system call.
655 * Usually set to 'void *' or 'char *'.
657 /* HAS_SHMAT_PROTOTYPE:
658 * This symbol, if defined, indicates that the sys/shm.h includes
659 * a prototype for shmat(). Otherwise, it is up to the program to
660 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
661 * but not always right so it should be emitted by the program only
662 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
664 #define Shmat_t $shmattype /**/
665 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
668 * This symbol, if defined, indicates that Vr4's sigaction() routine
671 #$d_sigaction HAS_SIGACTION /**/
674 * This symbol, if defined, indicates that the BSD socket interface is
678 * This symbol, if defined, indicates that the BSD socketpair() call is
681 #$d_socket HAS_SOCKET /**/
682 #$d_sockpair HAS_SOCKETPAIR /**/
685 * This symbol is defined if this system has a stat structure declaring
686 * st_blksize and st_blocks.
688 #$d_statblks USE_STAT_BLOCKS /**/
691 * This symbol is defined if the _ptr and _cnt fields (or similar)
692 * of the stdio FILE structure can be used to access the stdio buffer
693 * for a file handle. If this is defined, then the FILE_ptr(fp)
694 * and FILE_cnt(fp) macros will also be defined and should be used
695 * to access these fields.
698 * This macro is used to access the _ptr field (or equivalent) of the
699 * FILE structure pointed to by its argument. This macro will always be
700 * defined if USE_STDIO_PTR is defined.
703 * This symbol is defined if the FILE_ptr macro can be used as an
707 * This macro is used to access the _cnt field (or equivalent) of the
708 * FILE structure pointed to by its argument. This macro will always be
709 * defined if USE_STDIO_PTR is defined.
712 * This symbol is defined if the FILE_cnt macro can be used as an
716 * This macro is used to access the internal stdio _filbuf function
717 * (or equivalent), if STDIO_CNT_LVALUE and STDIO_PTR_LVALUE
718 * are defined. It is typically either _filbuf or __filbuf.
719 * This macro will only be defined if both STDIO_CNT_LVALUE and
720 * STDIO_PTR_LVALUE are defined.
722 #$d_stdstdio USE_STDIO_PTR /**/
724 #define FILE_ptr(fp) $stdio_ptr
725 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
726 #define FILE_cnt(fp) $stdio_cnt
727 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
728 #if defined(STDIO_PTR_LVALUE) && defined(STDIO_CNT_LVALUE)
729 #define FILE_filbuf(fp) $stdio_filbuf /**/
734 * This symbol is defined if the _base field (or similar) of the
735 * stdio FILE structure can be used to access the stdio buffer for
736 * a file handle. If this is defined, then the FILE_base(fp) macro
737 * will also be defined and should be used to access this field.
738 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
739 * to determine the number of bytes in the buffer. USE_STDIO_BASE
740 * will never be defined unless USE_STDIO_PTR is.
743 * This macro is used to access the _base field (or equivalent) of the
744 * FILE structure pointed to by its argument. This macro will always be
745 * defined if USE_STDIO_BASE is defined.
748 * This macro is used to determine the number of bytes in the I/O
749 * buffer pointed to by _base field (or equivalent) of the FILE
750 * structure pointed to its argument. This macro will always be defined
751 * if USE_STDIO_BASE is defined.
753 #$d_stdiobase USE_STDIO_BASE /**/
754 #ifdef USE_STDIO_BASE
755 #define FILE_base(fp) $stdio_base
756 #define FILE_bufsiz(fp) $stdio_bufsiz
760 * This symbol is defined to indicate that the strchr()/strrchr()
761 * functions are available for string searching. If not, try the
762 * index()/rindex() pair.
765 * This symbol is defined to indicate that the index()/rindex()
766 * functions are available for string searching.
768 #$d_strchr HAS_STRCHR /**/
769 #$d_index HAS_INDEX /**/
772 * This symbol, if defined, indicates that the strcoll routine is
773 * available to compare strings using collating information.
775 #$d_strcoll HAS_STRCOLL /**/
778 * This symbol, if defined, indicates that this C compiler knows how
779 * to copy structures. If undefined, you'll need to use a block copy
780 * routine of some sort instead.
782 #$d_strctcpy USE_STRUCT_COPY /**/
785 * This symbol, if defined, indicates that the strerror routine is
786 * available to translate error numbers to strings. See the writeup
787 * of Strerror() in this file before you try to define your own.
790 * This symbol, if defined, indicates that the sys_errlist array is
791 * available to translate error numbers to strings. The extern int
792 * sys_nerr gives the size of that table.
795 * This preprocessor symbol is defined as a macro if strerror() is
796 * not available to translate error numbers to strings but sys_errlist[]
799 #$d_strerror HAS_STRERROR /**/
800 #$d_syserrlst HAS_SYS_ERRLIST /**/
801 #define Strerror(e) $d_strerrm
804 * This symbol, if defined, indicates that the strxfrm() routine is
805 * available to transform strings.
807 #$d_strxfrm HAS_STRXFRM /**/
810 * This symbol, if defined, indicates that the symlink routine is available
811 * to create symbolic links.
813 #$d_symlink HAS_SYMLINK /**/
816 * This symbol, if defined, indicates that the syscall routine is
817 * available to call arbitrary system calls. If undefined, that's tough.
819 #$d_syscall HAS_SYSCALL /**/
822 * This symbol, if defined, indicates that sysconf() is available
823 * to determine system related limits and options.
825 #$d_sysconf HAS_SYSCONF /**/
828 * This symbol, if defined, indicates that the system routine is
829 * available to issue a shell command.
831 #$d_system HAS_SYSTEM /**/
834 * This symbol, if defined, indicates that the tcgetpgrp routine is
835 * available to get foreground process group ID.
837 #$d_tcgetpgrp HAS_TCGETPGRP /**/
840 * This symbol, if defined, indicates that the tcsetpgrp routine is
841 * available to set foreground process group ID.
843 #$d_tcsetpgrp HAS_TCSETPGRP /**/
846 * This symbol holds the type returned by time(). It can be long,
847 * or time_t on BSD sites (in which case <sys/types.h> should be
850 #define Time_t $timetype /* Time type */
853 * This symbol, if defined, indicates that the times() routine exists.
854 * Note that this became obsolete on some systems (SUNOS), which now
855 * use getrusage(). It may be necessary to include <sys/times.h>.
857 #$d_times HAS_TIMES /**/
860 * This symbol, if defined, indicates that the truncate routine is
861 * available to truncate files.
863 #$d_truncate HAS_TRUNCATE /**/
866 * This symbol, if defined, indicates that the tzname[] array is
867 * available to access timezone names.
869 #$d_tzname HAS_TZNAME /**/
872 * This symbol, if defined, indicates that the umask routine is
873 * available to set and get the value of the file creation mask.
875 #$d_umask HAS_UMASK /**/
878 * This symbol, if defined, indicates that vfork() exists.
880 #$d_vfork HAS_VFORK /**/
883 * This symbol's value is either "void" or "int", corresponding to the
884 * appropriate return type of a signal handler. Thus, you can declare
885 * a signal handler using "Signal_t (*handler)()", and define the
886 * handler using "Signal_t handler(sig)".
888 #define Signal_t $signal_t /* Signal handler's return type */
891 * This symbol, if defined, indicates that this C compiler knows about
892 * the volatile declaration.
894 #$d_volatile HASVOLATILE /**/
900 * This symbol, if defined, indicates that the vprintf routine is available
901 * to printf with a pointer to an argument list. If unavailable, you
902 * may need to write your own, probably in terms of _doprnt().
904 /* USE_CHAR_VSPRINTF:
905 * This symbol is defined if this system has vsprintf() returning type
906 * (char*). The trend seems to be to declare it as "int vsprintf()". It
907 * is up to the package author to declare vsprintf correctly based on the
910 #$d_vprintf HAS_VPRINTF /**/
911 #$d_charvspr USE_CHAR_VSPRINTF /**/
914 * This symbol, if defined, indicates that wait4() exists.
916 #$d_wait4 HAS_WAIT4 /**/
919 * This symbol, if defined, indicates that the waitpid routine is
920 * available to wait for child process.
922 #$d_waitpid HAS_WAITPID /**/
925 * This symbol, if defined, indicates that the wcstombs routine is
926 * available to convert wide character strings to multibyte strings.
928 #$d_wcstombs HAS_WCSTOMBS /**/
931 * This symbol, if defined, indicates that the wctomb routine is available
932 * to covert a wide character to a multibyte.
934 #$d_wctomb HAS_WCTOMB /**/
937 * This symbol holds the type used to declare file positions in libc.
938 * It can be fpos_t, long, uint, etc... It may be necessary to include
939 * <sys/types.h> to get any typedef'ed information.
941 #define Fpos_t $fpostype /* File position type */
944 * This symbol holds the return type of getgid() and the type of
945 * argument to setrgid() and related functions. Typically,
946 * it is the type of group ids in the kernel. It can be int, ushort,
947 * uid_t, etc... It may be necessary to include <sys/types.h> to get
948 * any typedef'ed information.
950 #define Gid_t $gidtype /* Type for getgid(), etc... */
953 * This symbol holds the type used for the second argument to
954 * getgroups(). Usually, this is the same of gidtype, but
955 * sometimes it isn't. It can be int, ushort, uid_t, etc...
956 * It may be necessary to include <sys/types.h> to get any
957 * typedef'ed information. This is only required if you have
961 #define Groups_t $groupstype /* Type for 2nd arg to getgroups() */
965 * This symbol contains the type of the prefix structure element
966 * in the <db.h> header file. In older versions of DB, it was
967 * int, while in newer ones it is u_int32_t.
970 * This symbol contains the type of the prefix structure element
971 * in the <db.h> header file. In older versions of DB, it was
972 * int, while in newer ones it is size_t.
974 #define DB_Hash_t $db_hashtype /**/
975 #define DB_Prefix_t $db_prefixtype /**/
978 * This symbol, if defined, indicates to the C program that it should
979 * include <dirent.h>. Using this symbol also triggers the definition
980 * of the Direntry_t define which ends up being 'struct dirent' or
981 * 'struct direct' depending on the availability of <dirent.h>.
984 * This symbol, if defined, indicates to the C program that the length
985 * of directory entry names is provided by a d_namlen field. Otherwise
986 * you need to do strlen() on the d_name field.
989 * This symbol is set to 'struct direct' or 'struct dirent' depending on
990 * whether dirent is available or not. You should use this pseudo type to
991 * portably declare your directory entries.
993 #$i_dirent I_DIRENT /**/
994 #$d_dirnamlen DIRNAMLEN /**/
995 #define Direntry_t $direntrytype
998 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1001 #$i_dlfcn I_DLFCN /**/
1004 * This manifest constant tells the C program to include <fcntl.h>.
1006 #$i_fcntl I_FCNTL /**/
1009 * This symbol, if defined, indicates to the C program that it should
1010 * include <float.h> to get definition of symbols like DBL_MAX or
1011 * DBL_MIN, i.e. machine dependent floating point values.
1013 #$i_float I_FLOAT /**/
1016 * This symbol, if defined, indicates to the C program that it should
1022 * This symbol, if defined, indicates to the C program that it should
1023 * include <limits.h> to get definition of symbols like WORD_BIT or
1024 * LONG_MAX, i.e. machine dependant limitations.
1026 #$i_limits I_LIMITS /**/
1029 * This symbol, if defined, indicates to the C program that it should
1032 #$i_math I_MATH /**/
1035 * This symbol, if defined, indicates to the C program that it should
1036 * include <memory.h>.
1038 #$i_memory I_MEMORY /**/
1041 * This symbol, if defined, indicates that <ndbm.h> exists and should
1044 #$i_ndbm I_NDBM /**/
1047 * This symbol, if defined, indicates that <net/errno.h> exists and
1048 * should be included.
1050 #$i_neterrno I_NET_ERRNO /**/
1053 * This symbol, if defined, indicates to the C program that it should
1054 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1056 #$i_niin I_NETINET_IN /**/
1059 * This symbol, if defined, indicates to the C program that it should
1063 * This symbol, if defined, indicates to the C program that struct passwd
1064 * contains pw_quota.
1067 * This symbol, if defined, indicates to the C program that struct passwd
1071 * This symbol, if defined, indicates to the C program that struct passwd
1072 * contains pw_change.
1075 * This symbol, if defined, indicates to the C program that struct passwd
1076 * contains pw_class.
1079 * This symbol, if defined, indicates to the C program that struct passwd
1080 * contains pw_expire.
1083 * This symbol, if defined, indicates to the C program that struct passwd
1084 * contains pw_comment.
1087 #$d_pwquota PWQUOTA /**/
1088 #$d_pwage PWAGE /**/
1089 #$d_pwchange PWCHANGE /**/
1090 #$d_pwclass PWCLASS /**/
1091 #$d_pwexpire PWEXPIRE /**/
1092 #$d_pwcomment PWCOMMENT /**/
1095 * This symbol, if defined, indicates that <stddef.h> exists and should
1098 #$i_stddef I_STDDEF /**/
1101 * This symbol, if defined, indicates that <stdlib.h> exists and should
1104 #$i_stdlib I_STDLIB /**/
1107 * This symbol, if defined, indicates to the C program that it should
1108 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1110 #$i_string I_STRING /**/
1113 * This symbol, if defined, indicates to the C program that it should
1114 * include <sys/dir.h>.
1116 #$i_sysdir I_SYS_DIR /**/
1119 * This symbol, if defined, indicates to the C program that it should
1120 * include <sys/file.h> to get definition of R_OK and friends.
1122 #$i_sysfile I_SYS_FILE /**/
1125 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1126 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1128 #$i_sysioctl I_SYS_IOCTL /**/
1131 * This symbol, if defined, indicates to the C program that it should
1132 * include <sys/ndir.h>.
1134 #$i_sysndir I_SYS_NDIR /**/
1137 * This symbol, if defined, indicates to the C program that it should
1138 * include <sys/param.h>.
1140 #$i_sysparam I_SYS_PARAM /**/
1143 * This symbol, if defined, indicates to the C program that it should
1144 * include <sys/resource.h>.
1146 #$i_sysresrc I_SYS_RESOURCE /**/
1149 * This symbol, if defined, indicates to the C program that it should
1150 * include <sys/select.h> in order to get definition of struct timeval.
1152 #$i_sysselct I_SYS_SELECT /**/
1155 * This symbol, if defined, indicates to the C program that it should
1156 * include <sys/times.h>.
1158 #$i_systimes I_SYS_TIMES /**/
1161 * This symbol, if defined, indicates to the C program that it should
1162 * include <sys/types.h>.
1164 #$i_systypes I_SYS_TYPES /**/
1167 * This symbol, if defined, indicates to the C program that it should
1168 * include <sys/un.h> to get UNIX domain socket definitions.
1170 #$i_sysun I_SYS_UN /**/
1173 * This symbol, if defined, indicates to the C program that it should
1174 * include <sys/wait.h>.
1176 #$i_syswait I_SYS_WAIT /**/
1179 * This symbol, if defined, indicates that the program should include
1180 * <termio.h> rather than <sgtty.h>. There are also differences in
1181 * the ioctl() calls that depend on the value of this symbol.
1184 * This symbol, if defined, indicates that the program should include
1185 * the POSIX termios.h rather than sgtty.h or termio.h.
1186 * There are also differences in the ioctl() calls that depend on the
1187 * value of this symbol.
1190 * This symbol, if defined, indicates that the program should include
1191 * <sgtty.h> rather than <termio.h>. There are also differences in
1192 * the ioctl() calls that depend on the value of this symbol.
1194 #$i_termio I_TERMIO /**/
1195 #$i_termios I_TERMIOS /**/
1196 #$i_sgtty I_SGTTY /**/
1199 * This symbol, if defined, indicates to the C program that it should
1203 * This symbol, if defined, indicates to the C program that it should
1204 * include <sys/time.h>.
1206 /* I_SYS_TIME_KERNEL:
1207 * This symbol, if defined, indicates to the C program that it should
1208 * include <sys/time.h> with KERNEL defined.
1210 #$i_time I_TIME /**/
1211 #$i_systime I_SYS_TIME /**/
1212 #$i_systimek I_SYS_TIME_KERNEL /**/
1215 * This symbol, if defined, indicates to the C program that it should
1216 * include <unistd.h>.
1218 #$i_unistd I_UNISTD /**/
1221 * This symbol, if defined, indicates to the C program that it should
1222 * include <utime.h>.
1224 #$i_utime I_UTIME /**/
1227 * This symbol, if defined, indicates that <stdarg.h> exists and should
1231 * This symbol, if defined, indicates to the C program that it should
1232 * include <varargs.h>.
1234 #$i_stdarg I_STDARG /**/
1235 #$i_varargs I_VARARGS /**/
1238 * This symbol, if defined, indicates to the C program that it should
1241 #$i_vfork I_VFORK /**/
1244 * This symbol contains the size of an int, so that the C preprocessor
1245 * can make decisions based on it.
1247 #define INTSIZE $intsize /**/
1250 * This symbol holds the type used to declare offsets in the kernel.
1251 * It can be int, long, off_t, etc... It may be necessary to include
1252 * <sys/types.h> to get any typedef'ed information.
1254 #define Off_t $lseektype /* <offset> type */
1257 * This symbol holds the type used to declare file modes
1258 * for systems calls. It is usually mode_t, but may be
1259 * int or unsigned short. It may be necessary to include <sys/types.h>
1260 * to get any typedef'ed information.
1262 #define Mode_t $modetype /* file mode parameter for system calls */
1265 * If defined, this macro indicates that the C compiler can handle
1266 * function prototypes.
1269 * This macro is used to declare function parameters for folks who want
1270 * to make declarations with prototypes using a different style than
1271 * the above macros. Use double parentheses. For example:
1273 * int main _((int argc, char *argv[]));
1275 #$prototype CAN_PROTOTYPE /**/
1276 #ifdef CAN_PROTOTYPE
1277 #define _(args) args
1283 * This symbol contains the number of bits of random number the rand()
1284 * function produces. Usual values are 15, 16, and 31.
1286 #define RANDBITS $randbits /**/
1289 * This symbol holds the name of the directory in which the user wants
1290 * to put publicly executable scripts for the package in question. It
1291 * is often a directory that is mounted across diverse architectures.
1292 * Programs must be prepared to deal with ~name expansion.
1294 #define SCRIPTDIR "$scriptdir" /**/
1297 * This symbol holds the type used for the 2nd, 3rd, and 4th
1298 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1299 * is defined, and 'int *' otherwise. This is only useful if you
1300 * have select(), of course.
1302 #define Select_fd_set_t $selecttype /**/
1305 * This symbol holds the type used to declare length parameters
1306 * for string functions. It is usually size_t, but may be
1307 * unsigned long, int, etc. It may be necessary to include
1308 * <sys/types.h> to get any typedef'ed information.
1310 #define Size_t $sizetype /* length paramater for string functions */
1313 * This symbol is defined to be the type of char used in stdio.h.
1314 * It has the values "unsigned char" or "char".
1316 #define STDCHAR $stdchar /**/
1319 * This symbol holds the type used to declare user ids in the kernel.
1320 * It can be int, ushort, uid_t, etc... It may be necessary to include
1321 * <sys/types.h> to get any typedef'ed information.
1323 #define Uid_t $uidtype /* UID type */
1326 * This symbol holds the complete pathname to the sed program.
1328 #define LOC_SED "$full_sed" /**/
1331 * This symbol contains the name of the operating system, as determined
1332 * by Configure. You shouldn't rely on it too much; the specific
1333 * feature tests from Configure are generally more reliable.
1335 #define OSNAME "$osname" /**/
1338 * This variable, if defined, holds the name of the directory in
1339 * which the user wants to put architecture-dependent public
1340 * library files for $package. It is most often a local directory
1341 * such as /usr/local/lib. Programs using this variable must be
1342 * prepared to deal with filename expansion. If ARCHLIB is the
1343 * same as PRIVLIB, it is not defined, since presumably the
1344 * program already searches PRIVLIB.
1347 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1348 * in programs that are not prepared to deal with ~ expansion at run-time.
1350 #$d_archlib ARCHLIB "$archlib" /**/
1351 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1354 * This symbol holds the hexadecimal constant defined in byteorder,
1355 * i.e. 0x1234 or 0x4321, etc...
1356 * On NeXT 4 (and greater), you can build "Fat" Multiple Architecture
1357 * Binaries (MAB) on either big endian or little endian machines.
1358 * The endian-ness is available at compile-time. This only matters
1359 * for perl, where the config.h can be generated and installed on
1360 * one system, and used by a different architecture to build an
1361 * extension. Older versions of NeXT that might not have
1362 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1363 * so the default case (for NeXT) is big endian to catch them.
1364 * This might matter for NeXT 3.0.
1367 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1369 #ifdef __LITTLE_ENDIAN__
1370 #define BYTEORDER 0x1234
1371 #else /* __BIG_ENDIAN__ */
1372 #define BYTEORDER 0x4321
1373 #endif /* ENDIAN CHECK */
1377 * This symbol, if defined, indicates that the C-shell exists.
1378 * If defined, contains the full pathname of csh.
1380 #$d_csh CSH "$full_csh" /**/
1382 /* DLSYM_NEEDS_UNDERSCORE:
1383 * This symbol, if defined, indicates that we need to prepend an
1384 * underscore to the symbol name before calling dlsym(). This only
1385 * makes sense if you *have* dlsym, which we will presume is the
1386 * case if you're using dl_dlopen.xs.
1388 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
1390 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1391 * This symbol, if defined, indicates that the bug that prevents
1392 * setuid scripts from being secure is not present in this kernel.
1395 * This symbol, if defined, indicates that the C program should
1396 * check the script that it is executing for setuid/setgid bits, and
1397 * attempt to emulate setuid/setgid on systems that have disabled
1398 * setuid #! scripts because the kernel can't do it securely.
1399 * It is up to the package designer to make sure that this emulation
1400 * is done securely. Among other things, it should do an fstat on
1401 * the script it just opened to make sure it really is a setuid/setgid
1402 * script, it should make sure the arguments passed correspond exactly
1403 * to the argument on the #! line, and it should not trust any
1404 * subprocesses to which it must pass the filename rather than the
1405 * file descriptor of the script to be executed.
1407 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1408 #$d_dosuid DOSUID /**/
1411 * This preprocessor macro is defined to convert a floating point
1412 * number to a string without a trailing decimal point. This
1413 * emulates the behavior of sprintf("%g"), but is sometimes much more
1414 * efficient. If gconvert() is not available, but gcvt() drops the
1415 * trailing decimal point, then gcvt() is used. If all else fails,
1416 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1417 * macro are: value, number of digits, whether trailing zeros should
1418 * be retained, and the output buffer.
1419 * Possible values are:
1420 * d_Gconvert='gconvert((x),(n),(t),(b))'
1421 * d_Gconvert='gcvt((x),(n),(b))'
1422 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1423 * The last two assume trailing zeros should not be kept.
1425 #define Gconvert(x,n,t,b) $d_Gconvert
1428 * This symbol, if defined, indicates to the C program that
1429 * the getpgid(pid) function is available to get the
1432 #$d_getpgid HAS_GETPGID /**/
1435 * This symbol, if defined, indicates that the getpgrp routine is
1436 * available to get the current process group.
1439 * This symbol, if defined, indicates that getpgrp needs one
1440 * arguments whereas USG one needs none.
1442 #$d_getpgrp HAS_GETPGRP /**/
1443 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1446 * This symbol, if defined, indicates to the C program that
1447 * the setpgid(pid, gpid) function is available to set the
1450 #$d_setpgid HAS_SETPGID /**/
1453 * This symbol, if defined, indicates that the setpgrp routine is
1454 * available to set the current process group.
1457 * This symbol, if defined, indicates that setpgrp needs two
1458 * arguments whereas USG one needs none. See also HAS_SETPGID
1459 * for a POSIX interface.
1462 * This symbol, if defined, indicates that the BSD notion of process
1463 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1464 * instead of the USG setpgrp(). This should be obsolete since
1465 * there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
1467 #$d_setpgrp HAS_SETPGRP /**/
1468 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
1469 #$d_bsdpgrp USE_BSDPGRP /**/
1472 * This symbol, if defined, indicates that sfio should
1475 #$d_sfio USE_SFIO /**/
1478 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1481 * This macro is used in the same way as sigsetjmp(), but will invoke
1482 * traditional setjmp() if sigsetjmp isn't available.
1483 * See HAS_SIGSETJMP.
1486 * This macro is used in the same way as siglongjmp(), but will invoke
1487 * traditional longjmp() if siglongjmp isn't available.
1488 * See HAS_SIGSETJMP.
1490 #$d_sigsetjmp HAS_SIGSETJMP /**/
1491 #ifdef HAS_SIGSETJMP
1492 #define Sigjmp_buf sigjmp_buf
1493 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1494 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1496 #define Sigjmp_buf jmp_buf
1497 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1498 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1501 /* USE_DYNAMIC_LOADING:
1502 * This symbol, if defined, indicates that dynamic loading of
1503 * some sort is available.
1505 #$usedl USE_DYNAMIC_LOADING /**/
1508 * This symbol, if defined, indicates that <dbm.h> exists and should
1512 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1513 * should be included.
1516 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
1519 * This symbol, if defined, indicates to the C program that it should
1520 * include <locale.h>.
1522 #$i_locale I_LOCALE /**/
1525 * This symbol, if defined, indicates to the C program that it should
1528 #$i_sfio I_SFIO /**/
1531 * This symbol, if defined, indicates to the C program that it should
1532 * include <sys/stat.h>.
1534 #$i_sysstat I_SYS_STAT /**/
1537 * This symbol, if defined, indicates to the C program that it should
1538 * include <values.h> to get definition of symbols like MINFLOAT or
1539 * MAXLONG, i.e. machine dependant limitations. Probably, you
1540 * should use <limits.h> instead, if it is available.
1542 #$i_values I_VALUES /**/
1545 * This variable contains the return type of free(). It is usually
1546 * void, but occasionally int.
1549 * This symbol is the type of pointer returned by malloc and realloc.
1551 #define Malloc_t $malloctype /**/
1552 #define Free_t $freetype /**/
1555 * This symbol, if defined, indicates that we're using our own malloc.
1557 #$d_mymalloc MYMALLOC /**/
1560 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1561 * non-blocking I/O for the file descriptor. Note that there is no way
1562 * back, i.e. you cannot turn it blocking again this way. If you wish to
1563 * alternatively switch between blocking and non-blocking, use the
1564 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1567 * This symbol holds the errno error code set by read() when no data was
1568 * present on the non-blocking file descriptor.
1571 * This symbol holds the return code from read() when no data is present
1572 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1573 * not defined, then you can't distinguish between no data and EOF by
1574 * issuing a read(). You'll have to find another way to tell for sure!
1577 * This symbol, if defined, indicates to the C program that a read() on
1578 * a non-blocking file descriptor will return 0 on EOF, and not the value
1579 * held in RD_NODATA (-1 usually, in that case!).
1581 #define VAL_O_NONBLOCK $o_nonblock
1582 #define VAL_EAGAIN $eagain
1583 #define RD_NODATA $rd_nodata
1584 #$d_eofnblk EOF_NONBLOCK
1587 * This variable, if defined, holds the name of the directory in
1588 * which the user has perl5.000 or perl5.001 architecture-dependent
1589 * public library files for $package. For the most part, these
1590 * files will work with 5.002 (and later), but that is not
1594 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1595 * used in programs that are not prepared to deal with ~ expansion at
1598 #$d_oldarchlib OLDARCHLIB "$oldarchlib" /**/
1599 #$d_oldarchlib OLDARCHLIB_EXP "$oldarchlibexp" /**/
1602 * This symbol contains the name of the private library for this package.
1603 * The library is private in the sense that it needn't be in anyone's
1604 * execution path, but it should be accessible by the world. The program
1605 * should be prepared to do ~ expansion.
1608 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1609 * in programs that are not prepared to deal with ~ expansion at run-time.
1611 #define PRIVLIB "$privlib" /**/
1612 #define PRIVLIB_EXP "$privlibexp" /**/
1615 * This symbol contains the full pathname to the shell used on this
1616 * on this system to execute Bourne shell scripts. Usually, this will be
1617 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1618 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh.
1620 #define SH_PATH "$sh" /**/
1623 * This symbol contains a list of signal names in order of
1624 * signal number. This is intended
1625 * to be used as a static array initialization, like this:
1626 * char *sig_name[] = { SIG_NAME };
1627 * The signals in the list are separated with commas, and each signal
1628 * is surrounded by double quotes. There is no leading SIG in the signal
1629 * name, i.e. SIGQUIT is known as "QUIT".
1630 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1631 * etc., where nn is the actual signal number (e.g. NUM37).
1632 * The signal number for sig_name[i] is stored in sig_num[i].
1633 * The last element is 0 to terminate the list with a NULL. This
1634 * corresponds to the 0 at the end of the sig_num list.
1637 * This symbol contains a list of signal numbers, in the same order as the
1638 * SIG_NAME list. It is suitable for static array initialization, as in:
1639 * int sig_num[] = { SIG_NUM };
1640 * The signals in the list are separated with commas, and the indices
1641 * within that list and the SIG_NAME list match, so it's easy to compute
1642 * the signal name from a number or vice versa at the price of a small
1643 * dynamic linear lookup.
1644 * Duplicates are allowed, but are moved to the end of the list.
1645 * The signal number corresponding to sig_name[i] is sig_number[i].
1646 * if (i < NSIG) then sig_number[i] == i.
1647 * The last element is 0, corresponding to the 0 at the end of
1648 * the sig_name list.
1650 #define SIG_NAME "`echo $sig_name | sed 's/ /","/g'`",0 /**/
1651 #define SIG_NUM `echo $sig_num 0 | sed 's/ /,/g'` /**/
1654 * This symbol contains the name of the private library for this package.
1655 * The library is private in the sense that it needn't be in anyone's
1656 * execution path, but it should be accessible by the world. The program
1657 * should be prepared to do ~ expansion.
1658 * The standard distribution will put nothing in this directory.
1659 * Individual sites may place their own extensions and modules in
1663 * This symbol contains the ~name expanded version of SITEARCH, to be used
1664 * in programs that are not prepared to deal with ~ expansion at run-time.
1666 #define SITEARCH "$sitearch" /**/
1667 #define SITEARCH_EXP "$sitearchexp" /**/
1670 * This symbol contains the name of the private library for this package.
1671 * The library is private in the sense that it needn't be in anyone's
1672 * execution path, but it should be accessible by the world. The program
1673 * should be prepared to do ~ expansion.
1674 * The standard distribution will put nothing in this directory.
1675 * Individual sites may place their own extensions and modules in
1679 * This symbol contains the ~name expanded version of SITELIB, to be used
1680 * in programs that are not prepared to deal with ~ expansion at run-time.
1682 #define SITELIB "$sitelib" /**/
1683 #define SITELIB_EXP "$sitelibexp" /**/
1686 * This symbol holds the type used by functions that return
1687 * a count of bytes or an error condition. It must be a signed type.
1688 * It is usually ssize_t, but may be long or int, etc.
1689 * It may be necessary to include <sys/types.h> or <unistd.h>
1690 * to get any typedef'ed information.
1691 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1693 #define SSize_t $ssizetype /* signed count of bytes */
1696 * This variable contains the string to put in front of a perl
1697 * script to make sure (one hopes) that it runs with perl and not
1700 #define STARTPERL "$startperl" /**/
1703 * This symbol, if defined, indicates that the PerlIO abstraction should
1704 * be used throughout. If not defined, stdio should be
1705 * used in a fully backward compatible manner.
1707 #$useperlio USE_PERLIO /**/
1710 * This symbol indicates how much support of the void type is given by this
1711 * compiler. What various bits mean:
1713 * 1 = supports declaration of void
1714 * 2 = supports arrays of pointers to functions returning void
1715 * 4 = supports comparisons between pointers to void functions and
1716 * addresses of void functions
1717 * 8 = suports declaration of generic void pointers
1719 * The package designer should define VOIDUSED to indicate the requirements
1720 * of the package. This can be done either by #defining VOIDUSED before
1721 * including config.h, or by defining defvoidused in Myinit.U. If the
1722 * latter approach is taken, only those flags will be tested. If the
1723 * level of void support necessary is not present, defines void to int.
1726 #define VOIDUSED $defvoidused
1728 #define VOIDFLAGS $voidflags
1729 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1730 #define void int /* is void to be avoided? */
1731 #define M_VOID /* Xenix strikes again */