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 a string representing the architecture name.
47 * It may be used to construct an architecture-dependant pathname
48 * where library files may be held under a private library, for
51 #define ARCHNAME "$archname" /**/
54 * This symbol holds the path of the bin directory where the package will
55 * be installed. Program must be prepared to deal with ~name substitution.
57 #define BIN "$bin" /**/
60 * This macro catenates 2 tokens together.
63 * This macro surrounds its token with double quotes.
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
70 #define STRINGIFY(a)"a"
71 /* If you can get stringification with catify, tell me how! */
74 #define CAT2(a,b)a ## b
75 #define CAT3(a,b,c)a ## b ## c
76 #define CAT4(a,b,c,d)a ## b ## c ## d
77 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
79 #define STRINGIFY(a)StGiFy(a)
80 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
81 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
82 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
83 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
86 #include "Bletch: How does this C preprocessor catenate tokens?"
90 * This symbol contains the first part of the string which will invoke
91 * the C preprocessor on the standard input and produce to standard
92 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
93 * call a wrapper. See CPPRUN.
96 * This symbol contains the second part of the string which will invoke
97 * the C preprocessor on the standard input and produce to standard
98 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
99 * to specify standard input, otherwise the value is "".
101 #define CPPSTDIN "$cppstdin"
102 #define CPPMINUS "$cppminus"
105 * This symbol, if defined, indicates that the alarm routine is
108 #$d_alarm HAS_ALARM /**/
111 * This symbol indicates the C compiler can check for function attributes,
112 * such as printf formats. This is normally only supported by GNU cc.
114 #$d_attribut HASATTRIBUTE /**/
116 #define __attribute__(_arg_)
120 * This symbol is defined if the bcmp() routine is available to
121 * compare blocks of memory.
123 #$d_bcmp HAS_BCMP /**/
126 * This symbol is defined if the bcopy() routine is available to
127 * copy blocks of memory.
129 #$d_bcopy HAS_BCOPY /**/
132 * This symbol is defined if the bzero() routine is available to
133 * set a memory block to 0.
135 #$d_bzero HAS_BZERO /**/
138 * This symbol is defined if the C compiler can cast negative
139 * or large floating point numbers to 32-bit ints.
141 #$d_casti32 CASTI32 /**/
144 * This symbol is defined if the C compiler can cast negative
145 * numbers to unsigned longs, ints and shorts.
148 * This symbol contains flags that say what difficulties the compiler
149 * has casting odd floating values to unsigned long:
151 * 1 = couldn't cast < 0
152 * 2 = couldn't cast >= 0x80000000
153 * 4 = couldn't cast in argument expression list
155 #$d_castneg CASTNEGFLOAT /**/
156 #define CASTFLAGS $castflags /**/
159 * This symbol, if defined, indicates that the chown routine is
162 #$d_chown HAS_CHOWN /**/
165 * This symbol, if defined, indicates that the chroot routine is
168 #$d_chroot HAS_CHROOT /**/
171 * This symbol, if defined, indicates that the chsize routine is available
172 * to truncate files. You might need a -lx to get this routine.
174 #$d_chsize HAS_CHSIZE /**/
177 * This symbol, if defined, indicates that the closedir() routine
178 * does not return a value.
180 #$d_void_closedir VOID_CLOSEDIR /**/
183 * This symbol, if defined, indicates that this C compiler knows about
184 * the const type. There is no need to actually test for that symbol
185 * within your programs. The mere use of the "const" keyword will
186 * trigger the necessary tests.
188 #$d_const HASCONST /**/
194 * This symbol, if defined, indicates that the crypt routine is available
195 * to encrypt passwords and the like.
197 #$d_crypt HAS_CRYPT /**/
200 * This symbol, if defined, indicates that the cuserid routine is
201 * available to get character login names.
203 #$d_cuserid HAS_CUSERID /**/
206 * This symbol, if defined, indicates that this system's <float.h>
207 * or <limits.h> defines the symbol DBL_DIG, which is the number
208 * of significant digits in a double precision number. If this
209 * symbol is not defined, a guess of 15 is usually pretty good.
211 #$d_dbl_dig HAS_DBL_DIG /* */
214 * This symbol, if defined, indicates that the difftime routine is
217 #$d_difftime HAS_DIFFTIME /**/
220 * This symbol, if defined, indicates that the dlerror routine is
221 * available to return a string describing the last error that
222 * occurred from a call to dlopen(), dlclose() or dlsym().
224 #$d_dlerror HAS_DLERROR /**/
227 * This symbol, if defined, indicates that the dup2 routine is
228 * available to duplicate file descriptors.
230 #$d_dup2 HAS_DUP2 /**/
233 * This symbol, if defined, indicates that the fchmod routine is available
234 * to change mode of opened files. If unavailable, use chmod().
236 #$d_fchmod HAS_FCHMOD /**/
239 * This symbol, if defined, indicates that the fchown routine is available
240 * to change ownership of opened files. If unavailable, use chown().
242 #$d_fchown HAS_FCHOWN /**/
245 * This symbol, if defined, indicates to the C program that
246 * the fcntl() function exists.
248 #$d_fcntl HAS_FCNTL /**/
251 * This symbol, if defined, indicates that the fgetpos routine is
252 * available to get the file position indicator, similar to ftell().
254 #$d_fgetpos HAS_FGETPOS /**/
257 * This symbol, if defined, indicates that the system supports filenames
258 * longer than 14 characters.
260 #$d_flexfnam FLEXFILENAMES /**/
263 * This symbol, if defined, indicates that the flock routine is
264 * available to do file locking.
266 #$d_flock HAS_FLOCK /**/
269 * This symbol, if defined, indicates that the fork routine is
272 #$d_fork HAS_FORK /**/
275 * This symbol, if defined, indicates that the fsetpos routine is
276 * available to set the file position indicator, similar to fseek().
278 #$d_fsetpos HAS_FSETPOS /**/
281 * This symbol, if defined, indicates that the gettimeofday() system
282 * call is available for a sub-second accuracy clock. Usually, the file
283 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
284 * The type "Timeval" should be used to refer to "struct timeval".
286 #$d_gettimeod HAS_GETTIMEOFDAY /**/
287 #ifdef HAS_GETTIMEOFDAY
288 #define Timeval struct timeval /* Structure used by gettimeofday() */
292 * This symbol, if defined, indicates that the getgroups() routine is
293 * available to get the list of process groups. If unavailable, multiple
294 * groups are probably not supported.
296 #$d_getgrps HAS_GETGROUPS /**/
299 * This symbol, if defined, indicates that the gethostent routine is
300 * available to lookup host names in some data base or other.
302 #$d_gethent HAS_GETHOSTENT /**/
305 * This symbol, if defined, indicates that the C program may use the
306 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
309 #$d_uname HAS_UNAME /**/
312 * This symbol, if defined, indicates that the getlogin routine is
313 * available to get the login name.
315 #$d_getlogin HAS_GETLOGIN /**/
318 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
319 * routine is available to get the current process group.
321 #$d_getpgrp2 HAS_GETPGRP2 /**/
324 * This symbol, if defined, indicates that the getppid routine is
325 * available to get the parent process ID.
327 #$d_getppid HAS_GETPPID /**/
330 * This symbol, if defined, indicates that the getpriority routine is
331 * available to get a process's priority.
333 #$d_getprior HAS_GETPRIORITY /**/
336 * This symbol, if defined, indicates that the htonl() routine (and
337 * friends htons() ntohl() ntohs()) are available to do network
338 * order byte swapping.
341 * This symbol, if defined, indicates that the htons() routine (and
342 * friends htonl() ntohl() ntohs()) are available to do network
343 * order byte swapping.
346 * This symbol, if defined, indicates that the ntohl() routine (and
347 * friends htonl() htons() ntohs()) are available to do network
348 * order byte swapping.
351 * This symbol, if defined, indicates that the ntohs() routine (and
352 * friends htonl() htons() ntohl()) are available to do network
353 * order byte swapping.
355 #$d_htonl HAS_HTONL /**/
356 #$d_htonl HAS_HTONS /**/
357 #$d_htonl HAS_NTOHL /**/
358 #$d_htonl HAS_NTOHS /**/
361 * This manifest constant lets the C program know that isascii
364 #$d_isascii HAS_ISASCII /**/
367 * This symbol, if defined, indicates that the killpg routine is available
368 * to kill process groups. If unavailable, you probably should use kill
369 * with a negative process number.
371 #$d_killpg HAS_KILLPG /**/
374 * This symbol, if defined, indicates that the link routine is
375 * available to create hard links.
377 #$d_link HAS_LINK /**/
380 * This symbol, if defined, indicates that the localeconv routine is
381 * available for numeric and monetary formatting conventions.
383 #$d_locconv HAS_LOCALECONV /**/
386 * This symbol, if defined, indicates that the lockf routine is
387 * available to do file locking.
389 #$d_lockf HAS_LOCKF /**/
392 * This symbol, if defined, indicates that the lstat routine is
393 * available to do file stats on symbolic links.
395 #$d_lstat HAS_LSTAT /**/
398 * This symbol, if defined, indicates that the mblen routine is available
399 * to find the number of bytes in a multibye character.
401 #$d_mblen HAS_MBLEN /**/
404 * This symbol, if defined, indicates that the mbstowcs routine is
405 * available to covert a multibyte string into a wide character string.
407 #$d_mbstowcs HAS_MBSTOWCS /**/
410 * This symbol, if defined, indicates that the mbtowc routine is available
411 * to covert a multibyte to a wide character.
413 #$d_mbtowc HAS_MBTOWC /**/
416 * This symbol, if defined, indicates that the memcmp routine is available
417 * to compare blocks of memory.
419 #$d_memcmp HAS_MEMCMP /**/
422 * This symbol, if defined, indicates that the memcpy routine is available
423 * to copy blocks of memory.
425 #$d_memcpy HAS_MEMCPY /**/
428 * This symbol, if defined, indicates that the memmove routine is available
429 * to copy potentially overlapping blocks of memory. This should be used
430 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
433 #$d_memmove HAS_MEMMOVE /**/
436 * This symbol, if defined, indicates that the memset routine is available
437 * to set blocks of memory.
439 #$d_memset HAS_MEMSET /**/
442 * This symbol, if defined, indicates that the mkdir routine is available
443 * to create directories. Otherwise you should fork off a new process to
446 #$d_mkdir HAS_MKDIR /**/
449 * This symbol, if defined, indicates that the mkfifo routine is
450 * available to create FIFOs. Otherwise, mknod should be able to
451 * do it for you. However, if mkfifo is there, mknod might require
452 * super-user privileges which mkfifo will not.
454 #$d_mkfifo HAS_MKFIFO /**/
457 * This symbol, if defined, indicates that the mktime routine is
460 #$d_mktime HAS_MKTIME /**/
463 * This symbol, if defined, indicates that the entire msg*(2) library is
464 * supported (IPC mechanism based on message queues).
469 * This symbol, if defined, indicates that the nice routine is
472 #$d_nice HAS_NICE /**/
475 * This manifest constant lets the C program know that the three
476 * argument form of open(2) is available.
478 #$d_open3 HAS_OPEN3 /**/
481 * This symbol, if defined, indicates that pathconf() is available
482 * to determine file-system related limits and options associated
483 * with a given filename.
486 * This symbol, if defined, indicates that pathconf() is available
487 * to determine file-system related limits and options associated
488 * with a given open file descriptor.
490 #$d_pathconf HAS_PATHCONF /**/
491 #$d_fpathconf HAS_FPATHCONF /**/
494 * This symbol, if defined, indicates that the pause routine is
495 * available to suspend a process until a signal is received.
497 #$d_pause HAS_PAUSE /**/
500 * This symbol, if defined, indicates that the pipe routine is
501 * available to create an inter-process channel.
503 #$d_pipe HAS_PIPE /**/
506 * This symbol, if defined, indicates that the poll routine is
507 * available to poll active file descriptors.
509 #$d_poll HAS_POLL /**/
512 * This symbol, if defined, indicates that the readdir routine is
513 * available to read directory entries. You may have to include
514 * <dirent.h>. See I_DIRENT.
516 #$d_readdir HAS_READDIR /**/
519 * This symbol, if defined, indicates that the seekdir routine is
520 * available. You may have to include <dirent.h>. See I_DIRENT.
522 #$d_seekdir HAS_SEEKDIR /**/
525 * This symbol, if defined, indicates that the telldir routine is
526 * available. You may have to include <dirent.h>. See I_DIRENT.
528 #$d_telldir HAS_TELLDIR /**/
531 * This symbol, if defined, indicates that the rewinddir routine is
532 * available. You may have to include <dirent.h>. See I_DIRENT.
534 #$d_rewinddir HAS_REWINDDIR /**/
537 * This symbol, if defined, indicates that the readlink routine is
538 * available to read the value of a symbolic link.
540 #$d_readlink HAS_READLINK /**/
543 * This symbol, if defined, indicates that the rename routine is available
544 * to rename files. Otherwise you should do the unlink(), link(), unlink()
547 #$d_rename HAS_RENAME /**/
550 * This symbol, if defined, indicates that the rmdir routine is
551 * available to remove directories. Otherwise you should fork off a
552 * new process to exec /bin/rmdir.
554 #$d_rmdir HAS_RMDIR /**/
557 * This symbol, if defined, indicates that the bcopy routine is available
558 * to copy potentially overlapping memory blocks. Otherwise you should
559 * probably use memmove() or memcpy(). If neither is defined, roll your
562 #$d_safebcpy HAS_SAFE_BCOPY /**/
565 * This symbol, if defined, indicates that the memcpy routine is available
566 * to copy potentially overlapping memory blocks. Otherwise you should
567 * probably use memmove() or memcpy(). If neither is defined, roll your
570 #$d_safemcpy HAS_SAFE_MEMCPY /**/
573 * This symbol, if defined, indicates that the memcmp routine is available
574 * and can be used to compare relative magnitudes of chars with their high
575 * bits set. If it is not defined, roll your own version.
577 #$d_sanemcmp HAS_SANE_MEMCMP /**/
580 * This symbol, if defined, indicates that the select routine is
581 * available to select active file descriptors. If the timeout field
582 * is used, <sys/time.h> may need to be included.
584 #$d_select HAS_SELECT /**/
587 * This symbol, if defined, indicates that the entire sem*(2) library is
593 * This symbol, if defined, indicates that the setegid routine is available
594 * to change the effective gid of the current program.
596 #$d_setegid HAS_SETEGID /**/
599 * This symbol, if defined, indicates that the seteuid routine is available
600 * to change the effective uid of the current program.
602 #$d_seteuid HAS_SETEUID /**/
605 * This symbol, if defined, indicates that the setlinebuf routine is
606 * available to change stderr or stdout from block-buffered or unbuffered
607 * to a line-buffered mode.
609 #$d_setlinebuf HAS_SETLINEBUF /**/
612 * This symbol, if defined, indicates that the setlocale routine is
613 * available to handle locale-specific ctype implementations.
615 #$d_setlocale HAS_SETLOCALE /**/
618 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
619 * routine is available to set the current process group.
621 #$d_setpgrp2 HAS_SETPGRP2 /**/
624 * This symbol, if defined, indicates that the setpriority routine is
625 * available to set a process's priority.
627 #$d_setprior HAS_SETPRIORITY /**/
630 * This symbol, if defined, indicates that the setregid routine is
631 * available to change the real and effective gid of the current
635 * This symbol, if defined, indicates that the setresgid routine is
636 * available to change the real, effective and saved gid of the current
639 #$d_setregid HAS_SETREGID /**/
640 #$d_setresgid HAS_SETRESGID /**/
643 * This symbol, if defined, indicates that the setreuid routine is
644 * available to change the real and effective uid of the current
648 * This symbol, if defined, indicates that the setresuid routine is
649 * available to change the real, effective and saved uid of the current
652 #$d_setreuid HAS_SETREUID /**/
653 #$d_setresuid HAS_SETRESUID /**/
656 * This symbol, if defined, indicates that the setrgid routine is available
657 * to change the real gid of the current program.
659 #$d_setrgid HAS_SETRGID /**/
662 * This symbol, if defined, indicates that the setruid routine is available
663 * to change the real uid of the current program.
665 #$d_setruid HAS_SETRUID /**/
668 * This symbol, if defined, indicates that the setsid routine is
669 * available to set the process group ID.
671 #$d_setsid HAS_SETSID /**/
674 * This symbol, if defined, indicates that the entire shm*(2) library is
680 * This symbol holds the return type of the shmat() system call.
681 * Usually set to 'void *' or 'char *'.
683 /* HAS_SHMAT_PROTOTYPE:
684 * This symbol, if defined, indicates that the sys/shm.h includes
685 * a prototype for shmat(). Otherwise, it is up to the program to
686 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
687 * but not always right so it should be emitted by the program only
688 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
690 #define Shmat_t $shmattype /**/
691 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
694 * This symbol, if defined, indicates that Vr4's sigaction() routine
697 #$d_sigaction HAS_SIGACTION /**/
700 * This symbol, if defined, indicates that the BSD socket interface is
704 * This symbol, if defined, indicates that the BSD socketpair() call is
707 #$d_socket HAS_SOCKET /**/
708 #$d_sockpair HAS_SOCKETPAIR /**/
711 * This symbol is defined if this system has a stat structure declaring
712 * st_blksize and st_blocks.
714 #$d_statblks USE_STAT_BLOCKS /**/
717 * This symbol is defined if the _ptr and _cnt fields (or similar)
718 * of the stdio FILE structure can be used to access the stdio buffer
719 * for a file handle. If this is defined, then the FILE_ptr(fp)
720 * and FILE_cnt(fp) macros will also be defined and should be used
721 * to access these fields.
724 * This macro is used to access the _ptr field (or equivalent) of the
725 * FILE structure pointed to by its argument. This macro will always be
726 * defined if USE_STDIO_PTR is defined.
729 * This symbol is defined if the FILE_ptr macro can be used as an
733 * This macro is used to access the _cnt field (or equivalent) of the
734 * FILE structure pointed to by its argument. This macro will always be
735 * defined if USE_STDIO_PTR is defined.
738 * This symbol is defined if the FILE_cnt macro can be used as an
741 #$d_stdstdio USE_STDIO_PTR /**/
743 #define FILE_ptr(fp) $stdio_ptr
744 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
745 #define FILE_cnt(fp) $stdio_cnt
746 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
750 * This symbol is defined if the _base field (or similar) of the
751 * stdio FILE structure can be used to access the stdio buffer for
752 * a file handle. If this is defined, then the FILE_base(fp) macro
753 * will also be defined and should be used to access this field.
754 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
755 * to determine the number of bytes in the buffer. USE_STDIO_BASE
756 * will never be defined unless USE_STDIO_PTR is.
759 * This macro is used to access the _base field (or equivalent) of the
760 * FILE structure pointed to by its argument. This macro will always be
761 * defined if USE_STDIO_BASE is defined.
764 * This macro is used to determine the number of bytes in the I/O
765 * buffer pointed to by _base field (or equivalent) of the FILE
766 * structure pointed to its argument. This macro will always be defined
767 * if USE_STDIO_BASE is defined.
769 #$d_stdiobase USE_STDIO_BASE /**/
770 #ifdef USE_STDIO_BASE
771 #define FILE_base(fp) $stdio_base
772 #define FILE_bufsiz(fp) $stdio_bufsiz
776 * This symbol is defined to indicate that the strchr()/strrchr()
777 * functions are available for string searching. If not, try the
778 * index()/rindex() pair.
781 * This symbol is defined to indicate that the index()/rindex()
782 * functions are available for string searching.
784 #$d_strchr HAS_STRCHR /**/
785 #$d_index HAS_INDEX /**/
788 * This symbol, if defined, indicates that the strcoll routine is
789 * available to compare strings using collating information.
791 #$d_strcoll HAS_STRCOLL /**/
794 * This symbol, if defined, indicates that this C compiler knows how
795 * to copy structures. If undefined, you'll need to use a block copy
796 * routine of some sort instead.
798 #$d_strctcpy USE_STRUCT_COPY /**/
801 * This symbol, if defined, indicates that the strerror routine is
802 * available to translate error numbers to strings. See the writeup
803 * of Strerror() in this file before you try to define your own.
806 * This symbol, if defined, indicates that the sys_errlist array is
807 * available to translate error numbers to strings. The extern int
808 * sys_nerr gives the size of that table.
811 * This preprocessor symbol is defined as a macro if strerror() is
812 * not available to translate error numbers to strings but sys_errlist[]
815 #$d_strerror HAS_STRERROR /**/
816 #$d_syserrlst HAS_SYS_ERRLIST /**/
817 #define Strerror(e) $d_strerrm
820 * This symbol, if defined, indicates that the strtod routine is
821 * available to provide better numeric string conversion than atof().
823 #$d_strtod HAS_STRTOD /**/
826 * This symbol, if defined, indicates that the strtol routine is available
827 * to provide better numeric string conversion than atoi() and friends.
829 #$d_strtol HAS_STRTOL /**/
832 * This symbol, if defined, indicates that the strtoul routine is
833 * available to provide conversion of strings to unsigned long.
835 #$d_strtoul HAS_STRTOUL /**/
838 * This symbol, if defined, indicates that the strxfrm() routine is
839 * available to transform strings.
841 #$d_strxfrm HAS_STRXFRM /**/
844 * This symbol, if defined, indicates that the symlink routine is available
845 * to create symbolic links.
847 #$d_symlink HAS_SYMLINK /**/
850 * This symbol, if defined, indicates that the syscall routine is
851 * available to call arbitrary system calls. If undefined, that's tough.
853 #$d_syscall HAS_SYSCALL /**/
856 * This symbol, if defined, indicates that sysconf() is available
857 * to determine system related limits and options.
859 #$d_sysconf HAS_SYSCONF /**/
862 * This symbol, if defined, indicates that the system routine is
863 * available to issue a shell command.
865 #$d_system HAS_SYSTEM /**/
868 * This symbol, if defined, indicates that the tcgetpgrp routine is
869 * available to get foreground process group ID.
871 #$d_tcgetpgrp HAS_TCGETPGRP /**/
874 * This symbol, if defined, indicates that the tcsetpgrp routine is
875 * available to set foreground process group ID.
877 #$d_tcsetpgrp HAS_TCSETPGRP /**/
880 * This symbol holds the type returned by time(). It can be long,
881 * or time_t on BSD sites (in which case <sys/types.h> should be
884 #define Time_t $timetype /* Time type */
887 * This symbol, if defined, indicates that the times() routine exists.
888 * Note that this became obsolete on some systems (SUNOS), which now
889 * use getrusage(). It may be necessary to include <sys/times.h>.
891 #$d_times HAS_TIMES /**/
894 * This symbol, if defined, indicates that the truncate routine is
895 * available to truncate files.
897 #$d_truncate HAS_TRUNCATE /**/
900 * This symbol, if defined, indicates that the tzname[] array is
901 * available to access timezone names.
903 #$d_tzname HAS_TZNAME /**/
906 * This symbol, if defined, indicates that the umask routine is
907 * available to set and get the value of the file creation mask.
909 #$d_umask HAS_UMASK /**/
912 * This symbol, if defined, indicates that vfork() exists.
914 #$d_vfork HAS_VFORK /**/
917 * This symbol's value is either "void" or "int", corresponding to the
918 * appropriate return type of a signal handler. Thus, you can declare
919 * a signal handler using "Signal_t (*handler)()", and define the
920 * handler using "Signal_t handler(sig)".
922 #define Signal_t $signal_t /* Signal handler's return type */
925 * This symbol, if defined, indicates that this C compiler knows about
926 * the volatile declaration.
928 #$d_volatile HASVOLATILE /**/
934 * This symbol, if defined, indicates that the vprintf routine is available
935 * to printf with a pointer to an argument list. If unavailable, you
936 * may need to write your own, probably in terms of _doprnt().
938 /* USE_CHAR_VSPRINTF:
939 * This symbol is defined if this system has vsprintf() returning type
940 * (char*). The trend seems to be to declare it as "int vsprintf()". It
941 * is up to the package author to declare vsprintf correctly based on the
944 #$d_vprintf HAS_VPRINTF /**/
945 #$d_charvspr USE_CHAR_VSPRINTF /**/
948 * This symbol, if defined, indicates that wait4() exists.
950 #$d_wait4 HAS_WAIT4 /**/
953 * This symbol, if defined, indicates that the waitpid routine is
954 * available to wait for child process.
956 #$d_waitpid HAS_WAITPID /**/
959 * This symbol, if defined, indicates that the wcstombs routine is
960 * available to convert wide character strings to multibyte strings.
962 #$d_wcstombs HAS_WCSTOMBS /**/
965 * This symbol, if defined, indicates that the wctomb routine is available
966 * to covert a wide character to a multibyte.
968 #$d_wctomb HAS_WCTOMB /**/
971 * This symbol holds the type used to declare file positions in libc.
972 * It can be fpos_t, long, uint, etc... It may be necessary to include
973 * <sys/types.h> to get any typedef'ed information.
975 #define Fpos_t $fpostype /* File position type */
978 * This symbol holds the return type of getgid() and the type of
979 * argument to setrgid() and related functions. Typically,
980 * it is the type of group ids in the kernel. It can be int, ushort,
981 * uid_t, etc... It may be necessary to include <sys/types.h> to get
982 * any typedef'ed information.
984 #define Gid_t $gidtype /* Type for getgid(), etc... */
987 * This symbol holds the type used for the second argument to
988 * getgroups(). Usually, this is the same of gidtype, but
989 * sometimes it isn't. It can be int, ushort, uid_t, etc...
990 * It may be necessary to include <sys/types.h> to get any
991 * typedef'ed information. This is only required if you have
995 #define Groups_t $groupstype /* Type for 2nd arg to getgroups() */
999 * This symbol contains the type of the prefix structure element
1000 * in the <db.h> header file. In older versions of DB, it was
1001 * int, while in newer ones it is u_int32_t.
1004 * This symbol contains the type of the prefix structure element
1005 * in the <db.h> header file. In older versions of DB, it was
1006 * int, while in newer ones it is size_t.
1008 #define DB_Hash_t $db_hashtype /**/
1009 #define DB_Prefix_t $db_prefixtype /**/
1012 * This symbol, if defined, indicates to the C program that it should
1013 * include <dirent.h>. Using this symbol also triggers the definition
1014 * of the Direntry_t define which ends up being 'struct dirent' or
1015 * 'struct direct' depending on the availability of <dirent.h>.
1018 * This symbol, if defined, indicates to the C program that the length
1019 * of directory entry names is provided by a d_namlen field. Otherwise
1020 * you need to do strlen() on the d_name field.
1023 * This symbol is set to 'struct direct' or 'struct dirent' depending on
1024 * whether dirent is available or not. You should use this pseudo type to
1025 * portably declare your directory entries.
1027 #$i_dirent I_DIRENT /**/
1028 #$d_dirnamlen DIRNAMLEN /**/
1029 #define Direntry_t $direntrytype
1032 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1035 #$i_dlfcn I_DLFCN /**/
1038 * This manifest constant tells the C program to include <fcntl.h>.
1040 #$i_fcntl I_FCNTL /**/
1043 * This symbol, if defined, indicates to the C program that it should
1044 * include <float.h> to get definition of symbols like DBL_MAX or
1045 * DBL_MIN, i.e. machine dependent floating point values.
1047 #$i_float I_FLOAT /**/
1050 * This symbol, if defined, indicates to the C program that it should
1056 * This symbol, if defined, indicates to the C program that it should
1057 * include <limits.h> to get definition of symbols like WORD_BIT or
1058 * LONG_MAX, i.e. machine dependant limitations.
1060 #$i_limits I_LIMITS /**/
1063 * This symbol, if defined, indicates to the C program that it should
1066 #$i_math I_MATH /**/
1069 * This symbol, if defined, indicates to the C program that it should
1070 * include <memory.h>.
1072 #$i_memory I_MEMORY /**/
1075 * This symbol, if defined, indicates that <ndbm.h> exists and should
1078 #$i_ndbm I_NDBM /**/
1081 * This symbol, if defined, indicates that <net/errno.h> exists and
1082 * should be included.
1084 #$i_neterrno I_NET_ERRNO /**/
1087 * This symbol, if defined, indicates to the C program that it should
1088 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1090 #$i_niin I_NETINET_IN /**/
1093 * This symbol, if defined, indicates to the C program that it should
1097 * This symbol, if defined, indicates to the C program that struct passwd
1098 * contains pw_quota.
1101 * This symbol, if defined, indicates to the C program that struct passwd
1105 * This symbol, if defined, indicates to the C program that struct passwd
1106 * contains pw_change.
1109 * This symbol, if defined, indicates to the C program that struct passwd
1110 * contains pw_class.
1113 * This symbol, if defined, indicates to the C program that struct passwd
1114 * contains pw_expire.
1117 * This symbol, if defined, indicates to the C program that struct passwd
1118 * contains pw_comment.
1121 #$d_pwquota PWQUOTA /**/
1122 #$d_pwage PWAGE /**/
1123 #$d_pwchange PWCHANGE /**/
1124 #$d_pwclass PWCLASS /**/
1125 #$d_pwexpire PWEXPIRE /**/
1126 #$d_pwcomment PWCOMMENT /**/
1129 * This symbol, if defined, indicates that <stddef.h> exists and should
1132 #$i_stddef I_STDDEF /**/
1135 * This symbol, if defined, indicates that <stdlib.h> exists and should
1138 #$i_stdlib I_STDLIB /**/
1141 * This symbol, if defined, indicates to the C program that it should
1142 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1144 #$i_string I_STRING /**/
1147 * This symbol, if defined, indicates to the C program that it should
1148 * include <sys/dir.h>.
1150 #$i_sysdir I_SYS_DIR /**/
1153 * This symbol, if defined, indicates to the C program that it should
1154 * include <sys/file.h> to get definition of R_OK and friends.
1156 #$i_sysfile I_SYS_FILE /**/
1159 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1160 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1162 #$i_sysioctl I_SYS_IOCTL /**/
1165 * This symbol, if defined, indicates to the C program that it should
1166 * include <sys/ndir.h>.
1168 #$i_sysndir I_SYS_NDIR /**/
1171 * This symbol, if defined, indicates to the C program that it should
1172 * include <sys/param.h>.
1174 #$i_sysparam I_SYS_PARAM /**/
1177 * This symbol, if defined, indicates to the C program that it should
1178 * include <sys/resource.h>.
1180 #$i_sysresrc I_SYS_RESOURCE /**/
1183 * This symbol, if defined, indicates to the C program that it should
1184 * include <sys/select.h> in order to get definition of struct timeval.
1186 #$i_sysselct I_SYS_SELECT /**/
1189 * This symbol, if defined, indicates to the C program that it should
1190 * include <sys/times.h>.
1192 #$i_systimes I_SYS_TIMES /**/
1195 * This symbol, if defined, indicates to the C program that it should
1196 * include <sys/types.h>.
1198 #$i_systypes I_SYS_TYPES /**/
1201 * This symbol, if defined, indicates to the C program that it should
1202 * include <sys/un.h> to get UNIX domain socket definitions.
1204 #$i_sysun I_SYS_UN /**/
1207 * This symbol, if defined, indicates to the C program that it should
1208 * include <sys/wait.h>.
1210 #$i_syswait I_SYS_WAIT /**/
1213 * This symbol, if defined, indicates that the program should include
1214 * <termio.h> rather than <sgtty.h>. There are also differences in
1215 * the ioctl() calls that depend on the value of this symbol.
1218 * This symbol, if defined, indicates that the program should include
1219 * the POSIX termios.h rather than sgtty.h or termio.h.
1220 * There are also differences in the ioctl() calls that depend on the
1221 * value of this symbol.
1224 * This symbol, if defined, indicates that the program should include
1225 * <sgtty.h> rather than <termio.h>. There are also differences in
1226 * the ioctl() calls that depend on the value of this symbol.
1228 #$i_termio I_TERMIO /**/
1229 #$i_termios I_TERMIOS /**/
1230 #$i_sgtty I_SGTTY /**/
1233 * This symbol, if defined, indicates to the C program that it should
1237 * This symbol, if defined, indicates to the C program that it should
1238 * include <sys/time.h>.
1240 /* I_SYS_TIME_KERNEL:
1241 * This symbol, if defined, indicates to the C program that it should
1242 * include <sys/time.h> with KERNEL defined.
1244 #$i_time I_TIME /**/
1245 #$i_systime I_SYS_TIME /**/
1246 #$i_systimek I_SYS_TIME_KERNEL /**/
1249 * This symbol, if defined, indicates to the C program that it should
1250 * include <unistd.h>.
1252 #$i_unistd I_UNISTD /**/
1255 * This symbol, if defined, indicates to the C program that it should
1256 * include <utime.h>.
1258 #$i_utime I_UTIME /**/
1261 * This symbol, if defined, indicates that <stdarg.h> exists and should
1265 * This symbol, if defined, indicates to the C program that it should
1266 * include <varargs.h>.
1268 #$i_stdarg I_STDARG /**/
1269 #$i_varargs I_VARARGS /**/
1272 * This symbol, if defined, indicates to the C program that it should
1275 #$i_vfork I_VFORK /**/
1278 * This symbol contains the size of an int, so that the C preprocessor
1279 * can make decisions based on it.
1281 #define INTSIZE $intsize /**/
1284 * This symbol holds the type used to declare offsets in the kernel.
1285 * It can be int, long, off_t, etc... It may be necessary to include
1286 * <sys/types.h> to get any typedef'ed information.
1288 #define Off_t $lseektype /* <offset> type */
1291 * This symbol holds the type used to declare file modes
1292 * for systems calls. It is usually mode_t, but may be
1293 * int or unsigned short. It may be necessary to include <sys/types.h>
1294 * to get any typedef'ed information.
1296 #define Mode_t $modetype /* file mode parameter for system calls */
1299 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1300 * non-blocking I/O for the file descriptor. Note that there is no way
1301 * back, i.e. you cannot turn it blocking again this way. If you wish to
1302 * alternatively switch between blocking and non-blocking, use the
1303 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1306 * This symbol holds the errno error code set by read() when no data was
1307 * present on the non-blocking file descriptor.
1310 * This symbol holds the return code from read() when no data is present
1311 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1312 * not defined, then you can't distinguish between no data and EOF by
1313 * issuing a read(). You'll have to find another way to tell for sure!
1316 * This symbol, if defined, indicates to the C program that a read() on
1317 * a non-blocking file descriptor will return 0 on EOF, and not the value
1318 * held in RD_NODATA (-1 usually, in that case!).
1320 #define VAL_O_NONBLOCK $o_nonblock
1321 #define VAL_EAGAIN $eagain
1322 #define RD_NODATA $rd_nodata
1323 #$d_eofnblk EOF_NONBLOCK
1326 * If defined, this macro indicates that the C compiler can handle
1327 * function prototypes.
1330 * This macro is used to declare function parameters for folks who want
1331 * to make declarations with prototypes using a different style than
1332 * the above macros. Use double parentheses. For example:
1334 * int main _((int argc, char *argv[]));
1336 #$prototype CAN_PROTOTYPE /**/
1337 #ifdef CAN_PROTOTYPE
1338 #define _(args) args
1344 * This symbol contains the number of bits of random number the rand()
1345 * function produces. Usual values are 15, 16, and 31.
1347 #define RANDBITS $randbits /**/
1350 * This symbol holds the name of the directory in which the user wants
1351 * to put publicly executable scripts for the package in question. It
1352 * is often a directory that is mounted across diverse architectures.
1353 * Programs must be prepared to deal with ~name expansion.
1355 #define SCRIPTDIR "$scriptdir" /**/
1358 * This symbol holds the type used for the 2nd, 3rd, and 4th
1359 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1360 * is defined, and 'int *' otherwise. This is only useful if you
1361 * have select(), of course.
1363 #define Select_fd_set_t $selecttype /**/
1366 * This symbol holds the type used to declare length parameters
1367 * for string functions. It is usually size_t, but may be
1368 * unsigned long, int, etc. It may be necessary to include
1369 * <sys/types.h> to get any typedef'ed information.
1371 #define Size_t $sizetype /* length paramater for string functions */
1374 * This symbol holds the type used by functions that return
1375 * a count of bytes or an error condition. It must be a signed type.
1376 * It is usually ssize_t, but may be long or int, etc.
1377 * It may be necessary to include <sys/types.h> or <unistd.h>
1378 * to get any typedef'ed information.
1379 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1381 #define SSize_t $ssizetype /* signed count of bytes */
1384 * This symbol is defined to be the type of char used in stdio.h.
1385 * It has the values "unsigned char" or "char".
1387 #define STDCHAR $stdchar /**/
1390 * This symbol holds the type used to declare user ids in the kernel.
1391 * It can be int, ushort, uid_t, etc... It may be necessary to include
1392 * <sys/types.h> to get any typedef'ed information.
1394 #define Uid_t $uidtype /* UID type */
1397 * This symbol holds the complete pathname to the sed program.
1399 #define LOC_SED "$full_sed" /**/
1402 * This symbol contains the name of the operating system, as determined
1403 * by Configure. You shouldn't rely on it too much; the specific
1404 * feature tests from Configure are generally more reliable.
1406 #define OSNAME "$osname" /**/
1409 * This variable, if defined, holds the name of the directory in
1410 * which the user wants to put architecture-dependent public
1411 * library files for $package. It is most often a local directory
1412 * such as /usr/local/lib. Programs using this variable must be
1413 * prepared to deal with filename expansion. If ARCHLIB is the
1414 * same as PRIVLIB, it is not defined, since presumably the
1415 * program already searches PRIVLIB.
1418 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1419 * in programs that are not prepared to deal with ~ expansion at run-time.
1421 #$d_archlib ARCHLIB "$archlib" /**/
1422 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1425 * This symbol, if defined, indicates that Perl 5.004 should be
1426 * binary-compatible with Perl 5.003.
1428 #$d_bincompat3 BINCOMPAT3 /**/
1431 * This symbol holds the hexadecimal constant defined in byteorder,
1432 * i.e. 0x1234 or 0x4321, etc...
1433 * On NeXT 4 (and greater), you can build "Fat" Multiple Architecture
1434 * Binaries (MAB) on either big endian or little endian machines.
1435 * The endian-ness is available at compile-time. This only matters
1436 * for perl, where the config.h can be generated and installed on
1437 * one system, and used by a different architecture to build an
1438 * extension. Older versions of NeXT that might not have
1439 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1440 * so the default case (for NeXT) is big endian to catch them.
1441 * This might matter for NeXT 3.0.
1444 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1446 #ifdef __LITTLE_ENDIAN__
1447 #define BYTEORDER 0x1234
1448 #else /* __BIG_ENDIAN__ */
1449 #define BYTEORDER 0x4321
1450 #endif /* ENDIAN CHECK */
1454 * This symbol, if defined, indicates that the C-shell exists.
1455 * If defined, contains the full pathname of csh.
1457 #$d_csh CSH "$full_csh" /**/
1459 /* DLSYM_NEEDS_UNDERSCORE:
1460 * This symbol, if defined, indicates that we need to prepend an
1461 * underscore to the symbol name before calling dlsym(). This only
1462 * makes sense if you *have* dlsym, which we will presume is the
1463 * case if you're using dl_dlopen.xs.
1465 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
1467 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1468 * This symbol, if defined, indicates that the bug that prevents
1469 * setuid scripts from being secure is not present in this kernel.
1472 * This symbol, if defined, indicates that the C program should
1473 * check the script that it is executing for setuid/setgid bits, and
1474 * attempt to emulate setuid/setgid on systems that have disabled
1475 * setuid #! scripts because the kernel can't do it securely.
1476 * It is up to the package designer to make sure that this emulation
1477 * is done securely. Among other things, it should do an fstat on
1478 * the script it just opened to make sure it really is a setuid/setgid
1479 * script, it should make sure the arguments passed correspond exactly
1480 * to the argument on the #! line, and it should not trust any
1481 * subprocesses to which it must pass the filename rather than the
1482 * file descriptor of the script to be executed.
1484 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1485 #$d_dosuid DOSUID /**/
1488 * This preprocessor macro is defined to convert a floating point
1489 * number to a string without a trailing decimal point. This
1490 * emulates the behavior of sprintf("%g"), but is sometimes much more
1491 * efficient. If gconvert() is not available, but gcvt() drops the
1492 * trailing decimal point, then gcvt() is used. If all else fails,
1493 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1494 * macro are: value, number of digits, whether trailing zeros should
1495 * be retained, and the output buffer.
1496 * Possible values are:
1497 * d_Gconvert='gconvert((x),(n),(t),(b))'
1498 * d_Gconvert='gcvt((x),(n),(b))'
1499 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1500 * The last two assume trailing zeros should not be kept.
1502 #define Gconvert(x,n,t,b) $d_Gconvert
1505 * This symbol, if defined, indicates to the C program that
1506 * the getpgid(pid) function is available to get the
1509 #$d_getpgid HAS_GETPGID /**/
1512 * This symbol, if defined, indicates that the getpgrp routine is
1513 * available to get the current process group.
1516 * This symbol, if defined, indicates that getpgrp needs one
1517 * arguments whereas USG one needs none.
1519 #$d_getpgrp HAS_GETPGRP /**/
1520 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1523 * This symbol, if defined, indicates to the C program that the
1524 * inet_aton() function is available to parse IP address "dotted-quad"
1527 #$d_inetaton HAS_INET_ATON /**/
1530 * This symbol, if defined, indicates to the C program that
1531 * the setpgid(pid, gpid) function is available to set the
1534 #$d_setpgid HAS_SETPGID /**/
1537 * This symbol, if defined, indicates that the setpgrp routine is
1538 * available to set the current process group.
1541 * This symbol, if defined, indicates that setpgrp needs two
1542 * arguments whereas USG one needs none. See also HAS_SETPGID
1543 * for a POSIX interface.
1546 * This symbol, if defined, indicates that the BSD notion of process
1547 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1548 * instead of the USG setpgrp(). This should be obsolete since
1549 * there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
1551 #$d_setpgrp HAS_SETPGRP /**/
1552 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
1553 #$d_bsdpgrp USE_BSDPGRP /**/
1556 * This symbol, if defined, indicates that sfio should
1559 #$d_sfio USE_SFIO /**/
1562 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1565 * This macro is used in the same way as sigsetjmp(), but will invoke
1566 * traditional setjmp() if sigsetjmp isn't available.
1567 * See HAS_SIGSETJMP.
1570 * This macro is used in the same way as siglongjmp(), but will invoke
1571 * traditional longjmp() if siglongjmp isn't available.
1572 * See HAS_SIGSETJMP.
1574 #$d_sigsetjmp HAS_SIGSETJMP /**/
1575 #ifdef HAS_SIGSETJMP
1576 #define Sigjmp_buf sigjmp_buf
1577 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1578 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1580 #define Sigjmp_buf jmp_buf
1581 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1582 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1585 /* USE_DYNAMIC_LOADING:
1586 * This symbol, if defined, indicates that dynamic loading of
1587 * some sort is available.
1589 #$usedl USE_DYNAMIC_LOADING /**/
1592 * This symbol, if defined, indicates that <dbm.h> exists and should
1596 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1597 * should be included.
1600 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
1603 * This symbol, if defined, indicates to the C program that it should
1604 * include <locale.h>.
1606 #$i_locale I_LOCALE /**/
1609 * This symbol, if defined, indicates to the C program that it should
1612 #$i_sfio I_SFIO /**/
1615 * This symbol, if defined, indicates to the C program that it should
1616 * include <sys/stat.h>.
1618 #$i_sysstat I_SYS_STAT /**/
1621 * This symbol, if defined, indicates to the C program that it should
1622 * include <values.h> to get definition of symbols like MINFLOAT or
1623 * MAXLONG, i.e. machine dependant limitations. Probably, you
1624 * should use <limits.h> instead, if it is available.
1626 #$i_values I_VALUES /**/
1629 * This variable contains the return type of free(). It is usually
1630 * void, but occasionally int.
1633 * This symbol is the type of pointer returned by malloc and realloc.
1635 #define Malloc_t $malloctype /**/
1636 #define Free_t $freetype /**/
1639 * This symbol, if defined, indicates that we're using our own malloc.
1641 #$d_mymalloc MYMALLOC /**/
1644 * This variable, if defined, holds the name of the directory in
1645 * which the user has perl5.000 or perl5.001 architecture-dependent
1646 * public library files for $package. For the most part, these
1647 * files will work with 5.002 (and later), but that is not
1651 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1652 * used in programs that are not prepared to deal with ~ expansion at
1655 #$d_oldarchlib OLDARCHLIB "$oldarchlib" /**/
1656 #$d_oldarchlib OLDARCHLIB_EXP "$oldarchlibexp" /**/
1659 * This symbol contains the name of the private library for this package.
1660 * The library is private in the sense that it needn't be in anyone's
1661 * execution path, but it should be accessible by the world. The program
1662 * should be prepared to do ~ expansion.
1665 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1666 * in programs that are not prepared to deal with ~ expansion at run-time.
1668 #define PRIVLIB "$privlib" /**/
1669 #define PRIVLIB_EXP "$privlibexp" /**/
1672 * This symbol contains the full pathname to the shell used on this
1673 * on this system to execute Bourne shell scripts. Usually, this will be
1674 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1675 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1678 #define SH_PATH "$sh" /**/
1681 * This symbol contains a list of signal names in order of
1682 * signal number. This is intended
1683 * to be used as a static array initialization, like this:
1684 * char *sig_name[] = { SIG_NAME };
1685 * The signals in the list are separated with commas, and each signal
1686 * is surrounded by double quotes. There is no leading SIG in the signal
1687 * name, i.e. SIGQUIT is known as "QUIT".
1688 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1689 * etc., where nn is the actual signal number (e.g. NUM37).
1690 * The signal number for sig_name[i] is stored in sig_num[i].
1691 * The last element is 0 to terminate the list with a NULL. This
1692 * corresponds to the 0 at the end of the sig_num list.
1695 * This symbol contains a list of signal numbers, in the same order as the
1696 * SIG_NAME list. It is suitable for static array initialization, as in:
1697 * int sig_num[] = { SIG_NUM };
1698 * The signals in the list are separated with commas, and the indices
1699 * within that list and the SIG_NAME list match, so it's easy to compute
1700 * the signal name from a number or vice versa at the price of a small
1701 * dynamic linear lookup.
1702 * Duplicates are allowed, but are moved to the end of the list.
1703 * The signal number corresponding to sig_name[i] is sig_number[i].
1704 * if (i < NSIG) then sig_number[i] == i.
1705 * The last element is 0, corresponding to the 0 at the end of
1706 * the sig_name list.
1708 #define SIG_NAME "`echo $sig_name | sed 's/ /","/g'`",0 /**/
1709 #define SIG_NUM `echo $sig_num 0 | sed 's/ /,/g'` /**/
1712 * This symbol contains the name of the private library for this package.
1713 * The library is private in the sense that it needn't be in anyone's
1714 * execution path, but it should be accessible by the world. The program
1715 * should be prepared to do ~ expansion.
1716 * The standard distribution will put nothing in this directory.
1717 * Individual sites may place their own extensions and modules in
1721 * This symbol contains the ~name expanded version of SITEARCH, to be used
1722 * in programs that are not prepared to deal with ~ expansion at run-time.
1724 #define SITEARCH "$sitearch" /**/
1725 #define SITEARCH_EXP "$sitearchexp" /**/
1728 * This symbol contains the name of the private library for this package.
1729 * The library is private in the sense that it needn't be in anyone's
1730 * execution path, but it should be accessible by the world. The program
1731 * should be prepared to do ~ expansion.
1732 * The standard distribution will put nothing in this directory.
1733 * Individual sites may place their own extensions and modules in
1737 * This symbol contains the ~name expanded version of SITELIB, to be used
1738 * in programs that are not prepared to deal with ~ expansion at run-time.
1740 #define SITELIB "$sitelib" /**/
1741 #define SITELIB_EXP "$sitelibexp" /**/
1744 * This variable contains the string to put in front of a perl
1745 * script to make sure (one hopes) that it runs with perl and not
1748 #define STARTPERL "$startperl" /**/
1751 * This symbol, if defined, indicates that the PerlIO abstraction should
1752 * be used throughout. If not defined, stdio should be
1753 * used in a fully backward compatible manner.
1755 #$useperlio USE_PERLIO /**/
1758 * This symbol indicates how much support of the void type is given by this
1759 * compiler. What various bits mean:
1761 * 1 = supports declaration of void
1762 * 2 = supports arrays of pointers to functions returning void
1763 * 4 = supports comparisons between pointers to void functions and
1764 * addresses of void functions
1765 * 8 = suports declaration of generic void pointers
1767 * The package designer should define VOIDUSED to indicate the requirements
1768 * of the package. This can be done either by #defining VOIDUSED before
1769 * including config.h, or by defining defvoidused in Myinit.U. If the
1770 * latter approach is taken, only those flags will be tested. If the
1771 * level of void support necessary is not present, defines void to int.
1774 #define VOIDUSED $defvoidused
1776 #define VOIDFLAGS $voidflags
1777 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1778 #define void int /* is void to be avoided? */
1779 #define M_VOID /* Xenix strikes again */