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!' -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 #define CAT2(a,b)a/**/b
56 #define CAT3(a,b,c)a/**/b/**/c
57 #define CAT4(a,b,c,d)a/**/b/**/c/**/d
58 #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
59 #define STRINGIFY(a)"a"
60 /* If you can get stringification with catify, tell me how! */
63 #define CAT2(a,b)a ## b
64 #define CAT3(a,b,c)a ## b ## c
65 #define CAT4(a,b,c,d)a ## b ## c ## d
66 #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
68 #define STRINGIFY(a)StGiFy(a)
69 #define SCAT2(a,b)StGiFy(a) StGiFy(b)
70 #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
71 #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
72 #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
75 #include "Bletch: How does this C preprocessor catenate tokens?"
79 * This symbol contains the first part of the string which will invoke
80 * the C preprocessor on the standard input and produce to standard
81 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
82 * call a wrapper. See CPPRUN.
85 * This symbol contains the second part of the string which will invoke
86 * the C preprocessor on the standard input and produce to standard
87 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
88 * to specify standard input, otherwise the value is "".
90 #define CPPSTDIN "$cppstdin"
91 #define CPPMINUS "$cppminus"
94 * This symbol, if defined, indicates that the alarm routine is
97 #$d_alarm HAS_ALARM /**/
100 * This symbol indicates the C compiler can check for function attributes,
101 * such as printf formats. This is normally only supported by GNU cc.
103 #$d_attribut HASATTRIBUTE /**/
105 #define __attribute__(_arg_)
109 * This symbol is defined if the bcmp() routine is available to
110 * compare blocks of memory.
112 #$d_bcmp HAS_BCMP /**/
115 * This symbol is defined if the bcopy() routine is available to
116 * copy blocks of memory.
118 #$d_bcopy HAS_BCOPY /**/
121 * This symbol is defined if the bzero() routine is available to
122 * set a memory block to 0.
124 #$d_bzero HAS_BZERO /**/
127 * This symbol is defined if the C compiler can cast negative
128 * or large floating point numbers to 32-bit ints.
130 #$d_casti32 CASTI32 /**/
133 * This symbol is defined if the C compiler can cast negative
134 * numbers to unsigned longs, ints and shorts.
137 * This symbol contains flags that say what difficulties the compiler
138 * has casting odd floating values to unsigned long:
140 * 1 = couldn't cast < 0
141 * 2 = couldn't cast >= 0x80000000
142 * 4 = couldn't cast in argument expression list
144 #$d_castneg CASTNEGFLOAT /**/
145 #define CASTFLAGS $castflags /**/
148 * This symbol, if defined, indicates that the chown routine is
151 #$d_chown HAS_CHOWN /**/
154 * This symbol, if defined, indicates that the chroot routine is
157 #$d_chroot HAS_CHROOT /**/
160 * This symbol, if defined, indicates that the chsize routine is available
161 * to truncate files. You might need a -lx to get this routine.
163 #$d_chsize HAS_CHSIZE /**/
166 * This symbol, if defined, indicates that the closedir() routine
167 * does not return a value.
169 #$d_void_closedir VOID_CLOSEDIR /**/
172 * This symbol, if defined, indicates that this C compiler knows about
173 * the const type. There is no need to actually test for that symbol
174 * within your programs. The mere use of the "const" keyword will
175 * trigger the necessary tests.
177 #$d_const HASCONST /**/
183 * This symbol, if defined, indicates that the crypt routine is available
184 * to encrypt passwords and the like.
186 #$d_crypt HAS_CRYPT /**/
189 * This symbol, if defined, indicates that the cuserid routine is
190 * available to get character login names.
192 #$d_cuserid HAS_CUSERID /**/
195 * This symbol, if defined, indicates that this system's <float.h>
196 * or <limits.h> defines the symbol DBL_DIG, which is the number
197 * of significant digits in a double precision number. If this
198 * symbol is not defined, a guess of 15 is usually pretty good.
200 #$d_dbl_dig HAS_DBL_DIG /* */
203 * This symbol, if defined, indicates that the difftime routine is
206 #$d_difftime HAS_DIFFTIME /**/
209 * This symbol, if defined, indicates that the dlerror routine is
210 * available to return a string describing the last error that
211 * occurred from a call to dlopen(), dlclose() or dlsym().
213 #$d_dlerror HAS_DLERROR /**/
216 * This symbol, if defined, indicates that the dup2 routine is
217 * available to duplicate file descriptors.
219 #$d_dup2 HAS_DUP2 /**/
222 * This symbol, if defined, indicates that the fchmod routine is available
223 * to change mode of opened files. If unavailable, use chmod().
225 #$d_fchmod HAS_FCHMOD /**/
228 * This symbol, if defined, indicates that the fchown routine is available
229 * to change ownership of opened files. If unavailable, use chown().
231 #$d_fchown HAS_FCHOWN /**/
234 * This symbol, if defined, indicates to the C program that
235 * the fcntl() function exists.
237 #$d_fcntl HAS_FCNTL /**/
240 * This symbol, if defined, indicates that the fgetpos routine is
241 * available to get the file position indicator, similar to ftell().
243 #$d_fgetpos HAS_FGETPOS /**/
246 * This symbol, if defined, indicates that the system supports filenames
247 * longer than 14 characters.
249 #$d_flexfnam FLEXFILENAMES /**/
252 * This symbol, if defined, indicates that the flock routine is
253 * available to do file locking.
255 #$d_flock HAS_FLOCK /**/
258 * This symbol, if defined, indicates that the fork routine is
261 #$d_fork HAS_FORK /**/
264 * This symbol, if defined, indicates that the fsetpos routine is
265 * available to set the file position indicator, similar to fseek().
267 #$d_fsetpos HAS_FSETPOS /**/
270 * This symbol, if defined, indicates that the getgroups() routine is
271 * available to get the list of process groups. If unavailable, multiple
272 * groups are probably not supported.
274 #$d_getgrps HAS_GETGROUPS /**/
277 * This symbol, if defined, indicates that the gethostent routine is
278 * available to lookup host names in some data base or other.
280 #$d_gethent HAS_GETHOSTENT /**/
283 * This symbol, if defined, indicates that the C program may use the
284 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
287 #$d_uname HAS_UNAME /**/
290 * This symbol, if defined, indicates that the getlogin routine is
291 * available to get the login name.
293 #$d_getlogin HAS_GETLOGIN /**/
296 * This symbol, if defined, indicates that the getpgrp routine is
297 * available to get the current process group.
299 #$d_getpgrp HAS_GETPGRP /**/
302 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
303 * routine is available to get the current process group.
305 #$d_getpgrp2 HAS_GETPGRP2 /**/
308 * This symbol, if defined, indicates that the getppid routine is
309 * available to get the parent process ID.
311 #$d_getppid HAS_GETPPID /**/
314 * This symbol, if defined, indicates that the getpriority routine is
315 * available to get a process's priority.
317 #$d_getprior HAS_GETPRIORITY /**/
320 * This symbol, if defined, indicates that the htonl() routine (and
321 * friends htons() ntohl() ntohs()) are available to do network
322 * order byte swapping.
325 * This symbol, if defined, indicates that the htons() routine (and
326 * friends htonl() ntohl() ntohs()) are available to do network
327 * order byte swapping.
330 * This symbol, if defined, indicates that the ntohl() routine (and
331 * friends htonl() htons() ntohs()) are available to do network
332 * order byte swapping.
335 * This symbol, if defined, indicates that the ntohs() routine (and
336 * friends htonl() htons() ntohl()) are available to do network
337 * order byte swapping.
339 #$d_htonl HAS_HTONL /**/
340 #$d_htonl HAS_HTONS /**/
341 #$d_htonl HAS_NTOHL /**/
342 #$d_htonl HAS_NTOHS /**/
345 * This manifest constant lets the C program know that isascii
348 #$d_isascii HAS_ISASCII /**/
351 * This symbol, if defined, indicates that the killpg routine is available
352 * to kill process groups. If unavailable, you probably should use kill
353 * with a negative process number.
355 #$d_killpg HAS_KILLPG /**/
358 * This symbol, if defined, indicates that the link routine is
359 * available to create hard links.
361 #$d_link HAS_LINK /**/
364 * This symbol, if defined, indicates that the localeconv routine is
365 * available for numeric and monetary formatting conventions.
367 #$d_locconv HAS_LOCALECONV /**/
370 * This symbol, if defined, indicates that the lockf routine is
371 * available to do file locking.
373 #$d_lockf HAS_LOCKF /**/
376 * This symbol, if defined, indicates that the lstat routine is
377 * available to do file stats on symbolic links.
379 #$d_lstat HAS_LSTAT /**/
382 * This symbol, if defined, indicates that the mblen routine is available
383 * to find the number of bytes in a multibye character.
385 #$d_mblen HAS_MBLEN /**/
388 * This symbol, if defined, indicates that the mbstowcs routine is
389 * available to covert a multibyte string into a wide character string.
391 #$d_mbstowcs HAS_MBSTOWCS /**/
394 * This symbol, if defined, indicates that the mbtowc routine is available
395 * to covert a multibyte to a wide character.
397 #$d_mbtowc HAS_MBTOWC /**/
400 * This symbol, if defined, indicates that the memcmp routine is available
401 * to compare blocks of memory.
403 #$d_memcmp HAS_MEMCMP /**/
406 * This symbol, if defined, indicates that the memcpy routine is available
407 * to copy blocks of memory.
409 #$d_memcpy HAS_MEMCPY /**/
412 * This symbol, if defined, indicates that the memmove routine is available
413 * to copy potentially overlapping blocks of memory. This should be used
414 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
417 #$d_memmove HAS_MEMMOVE /**/
420 * This symbol, if defined, indicates that the memset routine is available
421 * to set blocks of memory.
423 #$d_memset HAS_MEMSET /**/
426 * This symbol, if defined, indicates that the mkdir routine is available
427 * to create directories. Otherwise you should fork off a new process to
430 #$d_mkdir HAS_MKDIR /**/
433 * This symbol, if defined, indicates that the mkfifo routine is
434 * available to create FIFOs. Otherwise, mknod should be able to
435 * do it for you. However, if mkfifo is there, mknod might require
436 * super-user privileges which mkfifo will not.
438 #$d_mkfifo HAS_MKFIFO /**/
441 * This symbol, if defined, indicates that the mktime routine is
444 #$d_mktime HAS_MKTIME /**/
447 * This symbol, if defined, indicates that the entire msg*(2) library is
448 * supported (IPC mechanism based on message queues).
453 * This symbol, if defined, indicates that the nice routine is
456 #$d_nice HAS_NICE /**/
459 * This manifest constant lets the C program know that the three
460 * argument form of open(2) is available.
462 #$d_open3 HAS_OPEN3 /**/
465 * This symbol, if defined, indicates that pathconf() is available
466 * to determine file-system related limits and options associated
467 * with a given filename.
470 * This symbol, if defined, indicates that pathconf() is available
471 * to determine file-system related limits and options associated
472 * with a given open file descriptor.
474 #$d_pathconf HAS_PATHCONF /**/
475 #$d_fpathconf HAS_FPATHCONF /**/
478 * This symbol, if defined, indicates that the pause routine is
479 * available to suspend a process until a signal is received.
481 #$d_pause HAS_PAUSE /**/
484 * This symbol, if defined, indicates that the pipe routine is
485 * available to create an inter-process channel.
487 #$d_pipe HAS_PIPE /**/
490 * This symbol, if defined, indicates that the poll routine is
491 * available to poll active file descriptors.
493 #$d_poll HAS_POLL /**/
496 * This symbol, if defined, indicates that the readdir routine is
497 * available to read directory entries. You may have to include
498 * <dirent.h>. See I_DIRENT.
500 #$d_readdir HAS_READDIR /**/
503 * This symbol, if defined, indicates that the seekdir routine is
504 * available. You may have to include <dirent.h>. See I_DIRENT.
506 #$d_seekdir HAS_SEEKDIR /**/
509 * This symbol, if defined, indicates that the telldir routine is
510 * available. You may have to include <dirent.h>. See I_DIRENT.
512 #$d_telldir HAS_TELLDIR /**/
515 * This symbol, if defined, indicates that the rewinddir routine is
516 * available. You may have to include <dirent.h>. See I_DIRENT.
518 #$d_rewinddir HAS_REWINDDIR /**/
521 * This symbol, if defined, indicates that the readlink routine is
522 * available to read the value of a symbolic link.
524 #$d_readlink HAS_READLINK /**/
527 * This symbol, if defined, indicates that the rename routine is available
528 * to rename files. Otherwise you should do the unlink(), link(), unlink()
531 #$d_rename HAS_RENAME /**/
534 * This symbol, if defined, indicates that the rmdir routine is
535 * available to remove directories. Otherwise you should fork off a
536 * new process to exec /bin/rmdir.
538 #$d_rmdir HAS_RMDIR /**/
541 * This symbol, if defined, indicates that the bcopy routine is available
542 * to copy potentially overlapping memory blocks. Otherwise you should
543 * probably use memmove() or memcpy(). If neither is defined, roll your
546 #$d_safebcpy HAS_SAFE_BCOPY /**/
549 * This symbol, if defined, indicates that the memcpy routine is available
550 * to copy potentially overlapping memory blocks. Otherwise you should
551 * probably use memmove() or memcpy(). If neither is defined, roll your
554 #$d_safemcpy HAS_SAFE_MEMCPY /**/
557 * This symbol, if defined, indicates that the select routine is
558 * available to select active file descriptors. If the timeout field
559 * is used, <sys/time.h> may need to be included.
561 #$d_select HAS_SELECT /**/
564 * This symbol, if defined, indicates that the entire sem*(2) library is
570 * This symbol, if defined, indicates that the setegid routine is available
571 * to change the effective gid of the current program.
573 #$d_setegid HAS_SETEGID /**/
576 * This symbol, if defined, indicates that the seteuid routine is available
577 * to change the effective uid of the current program.
579 #$d_seteuid HAS_SETEUID /**/
582 * This symbol, if defined, indicates that the setlinebuf routine is
583 * available to change stderr or stdout from block-buffered or unbuffered
584 * to a line-buffered mode.
586 #$d_setlinebuf HAS_SETLINEBUF /**/
589 * This symbol, if defined, indicates that the setlocale routine is
590 * available to handle locale-specific ctype implementations.
592 #$d_setlocale HAS_SETLOCALE /**/
595 * This symbol, if defined, indicates that the setpgid routine is
596 * available to set process group ID.
598 #$d_setpgid HAS_SETPGID /**/
601 * This symbol, if defined, indicates that the setpgrp routine is
602 * available to set the current process group.
605 * This symbol, if defined, indicates that the BSD notion of process
606 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
607 * instead of the USG setpgrp().
609 #$d_setpgrp HAS_SETPGRP /**/
610 #$d_bsdpgrp USE_BSDPGRP /**/
613 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
614 * routine is available to set the current process group.
616 #$d_setpgrp2 HAS_SETPGRP2 /**/
619 * This symbol, if defined, indicates that the setpriority routine is
620 * available to set a process's priority.
622 #$d_setprior HAS_SETPRIORITY /**/
625 * This symbol, if defined, indicates that the setregid routine is
626 * available to change the real and effective gid of the current
630 * This symbol, if defined, indicates that the setresgid routine is
631 * available to change the real, effective and saved gid of the current
634 #$d_setregid HAS_SETREGID /**/
635 #$d_setresgid HAS_SETRESGID /**/
638 * This symbol, if defined, indicates that the setreuid routine is
639 * available to change the real and effective uid of the current
643 * This symbol, if defined, indicates that the setresuid routine is
644 * available to change the real, effective and saved uid of the current
647 #$d_setreuid HAS_SETREUID /**/
648 #$d_setresuid HAS_SETRESUID /**/
651 * This symbol, if defined, indicates that the setrgid routine is available
652 * to change the real gid of the current program.
654 #$d_setrgid HAS_SETRGID /**/
657 * This symbol, if defined, indicates that the setruid routine is available
658 * to change the real uid of the current program.
660 #$d_setruid HAS_SETRUID /**/
663 * This symbol, if defined, indicates that the setsid routine is
664 * available to set the process group ID.
666 #$d_setsid HAS_SETSID /**/
669 * This symbol, if defined, indicates that the entire shm*(2) library is
675 * This symbol holds the return type of the shmat() system call.
676 * Usually set to 'void *' or 'char *'.
678 /* HAS_SHMAT_PROTOTYPE:
679 * This symbol, if defined, indicates that the sys/shm.h includes
680 * a prototype for shmat(). Otherwise, it is up to the program to
681 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
682 * but not always right so it should be emitted by the program only
683 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
685 #define Shmat_t $shmattype /**/
686 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
689 * This symbol, if defined, indicates that Vr4's sigaction() routine
692 #$d_sigaction HAS_SIGACTION /**/
695 * This symbol, if defined, indicates that the BSD socket interface is
699 * This symbol, if defined, indicates that the BSD socketpair() call is
702 #$d_socket HAS_SOCKET /**/
703 #$d_sockpair HAS_SOCKETPAIR /**/
706 * This symbol is defined if this system has a stat structure declaring
707 * st_blksize and st_blocks.
709 #$d_statblks USE_STAT_BLOCKS /**/
712 * This symbol is defined if the _ptr and _cnt fields (or similar)
713 * of the stdio FILE structure can be used to access the stdio buffer
714 * for a file handle. If this is defined, then the FILE_ptr(fp)
715 * and FILE_cnt(fp) macros will also be defined and should be used
716 * to access these fields.
719 * This macro is used to access the _ptr field (or equivalent) of the
720 * FILE structure pointed to by its argument. This macro will always be
721 * defined if USE_STDIO_PTR is defined.
724 * This symbol is defined if the FILE_ptr macro can be used as an
728 * This macro is used to access the _cnt field (or equivalent) of the
729 * FILE structure pointed to by its argument. This macro will always be
730 * defined if USE_STDIO_PTR is defined.
733 * This symbol is defined if the FILE_cnt macro can be used as an
737 * This macro is used to access the internal stdio _filbuf function
738 * (or equivalent), if STDIO_CNT_LVALUE and STDIO_PTR_LVALUE
739 * are defined. It is typically either _filbuf or __filbuf.
740 * This macro will only be defined if both STDIO_CNT_LVALUE and
741 * STDIO_PTR_LVALUE are defined.
743 #$d_stdstdio USE_STDIO_PTR /**/
745 #define FILE_ptr(fp) $stdio_ptr
746 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
747 #define FILE_cnt(fp) $stdio_cnt
748 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
749 #if defined(STDIO_PTR_LVALUE) && defined(STDIO_CNT_LVALUE)
750 #define FILE_filbuf(fp) $stdio_filbuf /**/
755 * This symbol is defined if the _base field (or similar) of the
756 * stdio FILE structure can be used to access the stdio buffer for
757 * a file handle. If this is defined, then the FILE_base(fp) macro
758 * will also be defined and should be used to access this field.
759 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
760 * to determine the number of bytes in the buffer. USE_STDIO_BASE
761 * will never be defined unless USE_STDIO_PTR is.
764 * This macro is used to access the _base field (or equivalent) of the
765 * FILE structure pointed to by its argument. This macro will always be
766 * defined if USE_STDIO_BASE is defined.
769 * This macro is used to determine the number of bytes in the I/O
770 * buffer pointed to by _base field (or equivalent) of the FILE
771 * structure pointed to its argument. This macro will always be defined
772 * if USE_STDIO_BASE is defined.
774 #$d_stdiobase USE_STDIO_BASE /**/
775 #ifdef USE_STDIO_BASE
776 #define FILE_base(fp) $stdio_base
777 #define FILE_bufsiz(fp) $stdio_bufsiz
781 * This symbol is defined to indicate that the strchr()/strrchr()
782 * functions are available for string searching. If not, try the
783 * index()/rindex() pair.
786 * This symbol is defined to indicate that the index()/rindex()
787 * functions are available for string searching.
789 #$d_strchr HAS_STRCHR /**/
790 #$d_index HAS_INDEX /**/
793 * This symbol, if defined, indicates that the strcoll routine is
794 * available to compare strings using collating information.
796 #$d_strcoll HAS_STRCOLL /**/
799 * This symbol, if defined, indicates that this C compiler knows how
800 * to copy structures. If undefined, you'll need to use a block copy
801 * routine of some sort instead.
803 #$d_strctcpy USE_STRUCT_COPY /**/
806 * This symbol, if defined, indicates that the strerror routine is
807 * available to translate error numbers to strings. See the writeup
808 * of Strerror() in this file before you try to define your own.
811 * This symbol, if defined, indicates that the sys_errlist array is
812 * available to translate error numbers to strings. The extern int
813 * sys_nerr gives the size of that table.
816 * This preprocessor symbol is defined as a macro if strerror() is
817 * not available to translate error numbers to strings but sys_errlist[]
820 #$d_strerror HAS_STRERROR /**/
821 #$d_syserrlst HAS_SYS_ERRLIST /**/
822 #define Strerror(e) $d_strerrm
825 * This symbol, if defined, indicates that the strxfrm() routine is
826 * available to transform strings.
828 #$d_strxfrm HAS_STRXFRM /**/
831 * This symbol, if defined, indicates that the symlink routine is available
832 * to create symbolic links.
834 #$d_symlink HAS_SYMLINK /**/
837 * This symbol, if defined, indicates that the syscall routine is
838 * available to call arbitrary system calls. If undefined, that's tough.
840 #$d_syscall HAS_SYSCALL /**/
843 * This symbol, if defined, indicates that sysconf() is available
844 * to determine system related limits and options.
846 #$d_sysconf HAS_SYSCONF /**/
849 * This symbol, if defined, indicates that the system routine is
850 * available to issue a shell command.
852 #$d_system HAS_SYSTEM /**/
855 * This symbol, if defined, indicates that the tcgetpgrp routine is
856 * available to get foreground process group ID.
858 #$d_tcgetpgrp HAS_TCGETPGRP /**/
861 * This symbol, if defined, indicates that the tcsetpgrp routine is
862 * available to set foreground process group ID.
864 #$d_tcsetpgrp HAS_TCSETPGRP /**/
867 * This symbol holds the type returned by time(). It can be long,
868 * or time_t on BSD sites (in which case <sys/types.h> should be
871 #define Time_t $timetype /* Time type */
874 * This symbol, if defined, indicates that the times() routine exists.
875 * Note that this became obsolete on some systems (SUNOS), which now
876 * use getrusage(). It may be necessary to include <sys/times.h>.
878 #$d_times HAS_TIMES /**/
881 * This symbol, if defined, indicates that the truncate routine is
882 * available to truncate files.
884 #$d_truncate HAS_TRUNCATE /**/
887 * This symbol, if defined, indicates that the tzname[] array is
888 * available to access timezone names.
890 #$d_tzname HAS_TZNAME /**/
893 * This symbol, if defined, indicates that the umask routine is
894 * available to set and get the value of the file creation mask.
896 #$d_umask HAS_UMASK /**/
899 * This symbol, if defined, indicates that vfork() exists.
901 #$d_vfork HAS_VFORK /**/
904 * This symbol's value is either "void" or "int", corresponding to the
905 * appropriate return type of a signal handler. Thus, you can declare
906 * a signal handler using "Signal_t (*handler)()", and define the
907 * handler using "Signal_t handler(sig)".
909 #define Signal_t $signal_t /* Signal handler's return type */
912 * This symbol, if defined, indicates that this C compiler knows about
913 * the volatile declaration.
915 #$d_volatile HASVOLATILE /**/
921 * This symbol, if defined, indicates that the vprintf routine is available
922 * to printf with a pointer to an argument list. If unavailable, you
923 * may need to write your own, probably in terms of _doprnt().
925 /* USE_CHAR_VSPRINTF:
926 * This symbol is defined if this system has vsprintf() returning type
927 * (char*). The trend seems to be to declare it as "int vsprintf()". It
928 * is up to the package author to declare vsprintf correctly based on the
931 #$d_vprintf HAS_VPRINTF /**/
932 #$d_charvspr USE_CHAR_VSPRINTF /**/
935 * This symbol, if defined, indicates that wait4() exists.
937 #$d_wait4 HAS_WAIT4 /**/
940 * This symbol, if defined, indicates that the waitpid routine is
941 * available to wait for child process.
943 #$d_waitpid HAS_WAITPID /**/
946 * This symbol, if defined, indicates that the wcstombs routine is
947 * available to convert wide character strings to multibyte strings.
949 #$d_wcstombs HAS_WCSTOMBS /**/
952 * This symbol, if defined, indicates that the wctomb routine is available
953 * to covert a wide character to a multibyte.
955 #$d_wctomb HAS_WCTOMB /**/
958 * This symbol holds the type used to declare file positions in libc.
959 * It can be fpos_t, long, uint, etc... It may be necessary to include
960 * <sys/types.h> to get any typedef'ed information.
962 #define Fpos_t $fpostype /* File position type */
965 * This symbol holds the return type of getgid() and the type of
966 * argument to setrgid() and related functions. Typically,
967 * it is the type of group ids in the kernel. It can be int, ushort,
968 * uid_t, etc... It may be necessary to include <sys/types.h> to get
969 * any typedef'ed information.
971 #define Gid_t $gidtype /* Type for getgid(), etc... */
974 * This symbol holds the type used for the second argument to
975 * getgroups(). Usually, this is the same of gidtype, but
976 * sometimes it isn't. It can be int, ushort, uid_t, etc...
977 * It may be necessary to include <sys/types.h> to get any
978 * typedef'ed information. This is only required if you have
982 #define Groups_t $groupstype /* Type for 2nd arg to getgroups() */
986 * This symbol contains the type of the prefix structure element
987 * in the <db.h> header file. In older versions of DB, it was
988 * int, while in newer ones it is u_int32_t.
991 * This symbol contains the type of the prefix structure element
992 * in the <db.h> header file. In older versions of DB, it was
993 * int, while in newer ones it is size_t.
995 #define DB_Hash_t $db_hashtype /**/
996 #define DB_Prefix_t $db_prefixtype /**/
999 * This symbol, if defined, indicates to the C program that it should
1000 * include <dirent.h>. Using this symbol also triggers the definition
1001 * of the Direntry_t define which ends up being 'struct dirent' or
1002 * 'struct direct' depending on the availability of <dirent.h>.
1005 * This symbol, if defined, indicates to the C program that the length
1006 * of directory entry names is provided by a d_namlen field. Otherwise
1007 * you need to do strlen() on the d_name field.
1010 * This symbol is set to 'struct direct' or 'struct dirent' depending on
1011 * whether dirent is available or not. You should use this pseudo type to
1012 * portably declare your directory entries.
1014 #$i_dirent I_DIRENT /**/
1015 #$d_dirnamlen DIRNAMLEN /**/
1016 #define Direntry_t $direntrytype
1019 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1022 #$i_dlfcn I_DLFCN /**/
1025 * This manifest constant tells the C program to include <fcntl.h>.
1027 #$i_fcntl I_FCNTL /**/
1030 * This symbol, if defined, indicates to the C program that it should
1031 * include <float.h> to get definition of symbols like DBL_MAX or
1032 * DBL_MIN, i.e. machine dependent floating point values.
1034 #$i_float I_FLOAT /**/
1037 * This symbol, if defined, indicates to the C program that it should
1043 * This symbol, if defined, indicates to the C program that it should
1044 * include <limits.h> to get definition of symbols like WORD_BIT or
1045 * LONG_MAX, i.e. machine dependant limitations.
1047 #$i_limits I_LIMITS /**/
1050 * This symbol, if defined, indicates to the C program that it should
1053 #$i_math I_MATH /**/
1056 * This symbol, if defined, indicates to the C program that it should
1057 * include <memory.h>.
1059 #$i_memory I_MEMORY /**/
1062 * This symbol, if defined, indicates that <ndbm.h> exists and should
1065 #$i_ndbm I_NDBM /**/
1068 * This symbol, if defined, indicates that <net/errno.h> exists and
1069 * should be included.
1071 #$i_neterrno I_NET_ERRNO /**/
1074 * This symbol, if defined, indicates to the C program that it should
1075 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
1077 #$i_niin I_NETINET_IN /**/
1080 * This symbol, if defined, indicates to the C program that it should
1084 * This symbol, if defined, indicates to the C program that struct passwd
1085 * contains pw_quota.
1088 * This symbol, if defined, indicates to the C program that struct passwd
1092 * This symbol, if defined, indicates to the C program that struct passwd
1093 * contains pw_change.
1096 * This symbol, if defined, indicates to the C program that struct passwd
1097 * contains pw_class.
1100 * This symbol, if defined, indicates to the C program that struct passwd
1101 * contains pw_expire.
1104 * This symbol, if defined, indicates to the C program that struct passwd
1105 * contains pw_comment.
1108 #$d_pwquota PWQUOTA /**/
1109 #$d_pwage PWAGE /**/
1110 #$d_pwchange PWCHANGE /**/
1111 #$d_pwclass PWCLASS /**/
1112 #$d_pwexpire PWEXPIRE /**/
1113 #$d_pwcomment PWCOMMENT /**/
1116 * This symbol, if defined, indicates that <stddef.h> exists and should
1119 #$i_stddef I_STDDEF /**/
1122 * This symbol, if defined, indicates that <stdlib.h> exists and should
1125 #$i_stdlib I_STDLIB /**/
1128 * This symbol, if defined, indicates to the C program that it should
1129 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1131 #$i_string I_STRING /**/
1134 * This symbol, if defined, indicates to the C program that it should
1135 * include <sys/dir.h>.
1137 #$i_sysdir I_SYS_DIR /**/
1140 * This symbol, if defined, indicates to the C program that it should
1141 * include <sys/file.h> to get definition of R_OK and friends.
1143 #$i_sysfile I_SYS_FILE /**/
1146 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1147 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1149 #$i_sysioctl I_SYS_IOCTL /**/
1152 * This symbol, if defined, indicates to the C program that it should
1153 * include <sys/ndir.h>.
1155 #$i_sysndir I_SYS_NDIR /**/
1158 * This symbol, if defined, indicates to the C program that it should
1159 * include <sys/param.h>.
1161 #$i_sysparam I_SYS_PARAM /**/
1164 * This symbol, if defined, indicates to the C program that it should
1165 * include <sys/resource.h>.
1167 #$i_sysresrc I_SYS_RESOURCE /**/
1170 * This symbol, if defined, indicates to the C program that it should
1171 * include <sys/select.h> in order to get definition of struct timeval.
1173 #$i_sysselct I_SYS_SELECT /**/
1176 * This symbol, if defined, indicates to the C program that it should
1177 * include <sys/times.h>.
1179 #$i_systimes I_SYS_TIMES /**/
1182 * This symbol, if defined, indicates to the C program that it should
1183 * include <sys/types.h>.
1185 #$i_systypes I_SYS_TYPES /**/
1188 * This symbol, if defined, indicates to the C program that it should
1189 * include <sys/un.h> to get UNIX domain socket definitions.
1191 #$i_sysun I_SYS_UN /**/
1194 * This symbol, if defined, indicates to the C program that it should
1195 * include <sys/wait.h>.
1197 #$i_syswait I_SYS_WAIT /**/
1200 * This symbol, if defined, indicates that the program should include
1201 * <termio.h> rather than <sgtty.h>. There are also differences in
1202 * the ioctl() calls that depend on the value of this symbol.
1205 * This symbol, if defined, indicates that the program should include
1206 * the POSIX termios.h rather than sgtty.h or termio.h.
1207 * There are also differences in the ioctl() calls that depend on the
1208 * value of this symbol.
1211 * This symbol, if defined, indicates that the program should include
1212 * <sgtty.h> rather than <termio.h>. There are also differences in
1213 * the ioctl() calls that depend on the value of this symbol.
1215 #$i_termio I_TERMIO /**/
1216 #$i_termios I_TERMIOS /**/
1217 #$i_sgtty I_SGTTY /**/
1220 * This symbol, if defined, indicates to the C program that it should
1224 * This symbol, if defined, indicates to the C program that it should
1225 * include <sys/time.h>.
1227 /* I_SYS_TIME_KERNEL:
1228 * This symbol, if defined, indicates to the C program that it should
1229 * include <sys/time.h> with KERNEL defined.
1231 #$i_time I_TIME /**/
1232 #$i_systime I_SYS_TIME /**/
1233 #$i_systimek I_SYS_TIME_KERNEL /**/
1236 * This symbol, if defined, indicates to the C program that it should
1237 * include <unistd.h>.
1239 #$i_unistd I_UNISTD /**/
1242 * This symbol, if defined, indicates to the C program that it should
1243 * include <utime.h>.
1245 #$i_utime I_UTIME /**/
1248 * This symbol, if defined, indicates that <stdarg.h> exists and should
1252 * This symbol, if defined, indicates to the C program that it should
1253 * include <varargs.h>.
1255 #$i_stdarg I_STDARG /**/
1256 #$i_varargs I_VARARGS /**/
1259 * This symbol, if defined, indicates to the C program that it should
1262 #$i_vfork I_VFORK /**/
1265 * This symbol contains the size of an int, so that the C preprocessor
1266 * can make decisions based on it.
1268 #define INTSIZE $intsize /**/
1271 * This symbol holds the type used to declare offsets in the kernel.
1272 * It can be int, long, off_t, etc... It may be necessary to include
1273 * <sys/types.h> to get any typedef'ed information.
1275 #define Off_t $lseektype /* <offset> type */
1278 * This symbol holds the type used to declare file modes
1279 * for systems calls. It is usually mode_t, but may be
1280 * int or unsigned short. It may be necessary to include <sys/types.h>
1281 * to get any typedef'ed information.
1283 #define Mode_t $modetype /* file mode parameter for system calls */
1286 * If defined, this macro indicates that the C compiler can handle
1287 * function prototypes.
1290 * This macro is used to declare function parameters for folks who want
1291 * to make declarations with prototypes using a different style than
1292 * the above macros. Use double parentheses. For example:
1294 * int main _((int argc, char *argv[]));
1296 #$prototype CAN_PROTOTYPE /**/
1297 #ifdef CAN_PROTOTYPE
1298 #define _(args) args
1304 * This symbol contains the number of bits of random number the rand()
1305 * function produces. Usual values are 15, 16, and 31.
1307 #define RANDBITS $randbits /**/
1310 * This symbol holds the name of the directory in which the user wants
1311 * to put publicly executable scripts for the package in question. It
1312 * is often a directory that is mounted across diverse architectures.
1313 * Programs must be prepared to deal with ~name expansion.
1315 #define SCRIPTDIR "$scriptdir" /**/
1318 * This symbol holds the type used for the 2nd, 3rd, and 4th
1319 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1320 * is defined, and 'int *' otherwise. This is only useful if you
1321 * have select(), of course.
1323 #define Select_fd_set_t $selecttype /**/
1326 * This symbol holds the type used to declare length parameters
1327 * for string functions. It is usually size_t, but may be
1328 * unsigned long, int, etc. It may be necessary to include
1329 * <sys/types.h> to get any typedef'ed information.
1331 #define Size_t $sizetype /* length paramater for string functions */
1334 * This symbol is defined to be the type of char used in stdio.h.
1335 * It has the values "unsigned char" or "char".
1337 #define STDCHAR $stdchar /**/
1340 * This symbol holds the type used to declare user ids in the kernel.
1341 * It can be int, ushort, uid_t, etc... It may be necessary to include
1342 * <sys/types.h> to get any typedef'ed information.
1344 #define Uid_t $uidtype /* UID type */
1347 * This symbol holds the complete pathname to the sed program.
1349 #define LOC_SED "$full_sed" /**/
1352 * This symbol contains the name of the operating system, as determined
1353 * by Configure. You shouldn't rely on it too much; the specific
1354 * feature tests from Configure are generally more reliable.
1356 #define OSNAME "$osname" /**/
1359 * This variable, if defined, holds the name of the directory in
1360 * which the user wants to put architecture-dependent public
1361 * library files for $package. It is most often a local directory
1362 * such as /usr/local/lib. Programs using this variable must be
1363 * prepared to deal with filename expansion. If ARCHLIB is the
1364 * same as PRIVLIB, it is not defined, since presumably the
1365 * program already searches PRIVLIB.
1368 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1369 * in programs that are not prepared to deal with ~ expansion at run-time.
1371 #$d_archlib ARCHLIB "$archlib" /**/
1372 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1375 * This symbol holds the hexadecimal constant defined in byteorder,
1376 * i.e. 0x1234 or 0x4321, etc...
1377 * On NeXT 4 (and greater), you can build "Fat" Multiple Architecture
1378 * Binaries (MAB) on either big endian or little endian machines.
1379 * The endian-ness is available at compile-time. This only matters
1380 * for perl, where the config.h can be generated and installed on
1381 * one system, and used by a different architecture to build an
1382 * extension. Older versions of NeXT that might not have
1383 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1384 * so the default case (for NeXT) is big endian to catch them.
1385 * This might matter for NeXT 3.0.
1388 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1390 #ifdef __LITTLE_ENDIAN__
1391 #define BYTEORDER 0x1234
1392 #else /* __BIG_ENDIAN__ */
1393 #define BYTEORDER 0x4321
1394 #endif /* ENDIAN CHECK */
1398 * This symbol, if defined, indicates that the C-shell exists.
1399 * If defined, contains the full pathname of csh.
1401 #$d_csh CSH "$full_csh" /**/
1403 /* DLSYM_NEEDS_UNDERSCORE:
1404 * This symbol, if defined, indicates that we need to prepend an
1405 * underscore to the symbol name before calling dlsym(). This only
1406 * makes sense if you *have* dlsym, which we will presume is the
1407 * case if you're using dl_dlopen.xs.
1409 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /* */
1411 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
1412 * This symbol, if defined, indicates that the bug that prevents
1413 * setuid scripts from being secure is not present in this kernel.
1416 * This symbol, if defined, indicates that the C program should
1417 * check the script that it is executing for setuid/setgid bits, and
1418 * attempt to emulate setuid/setgid on systems that have disabled
1419 * setuid #! scripts because the kernel can't do it securely.
1420 * It is up to the package designer to make sure that this emulation
1421 * is done securely. Among other things, it should do an fstat on
1422 * the script it just opened to make sure it really is a setuid/setgid
1423 * script, it should make sure the arguments passed correspond exactly
1424 * to the argument on the #! line, and it should not trust any
1425 * subprocesses to which it must pass the filename rather than the
1426 * file descriptor of the script to be executed.
1428 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1429 #$d_dosuid DOSUID /**/
1432 * This preprocessor macro is defined to convert a floating point
1433 * number to a string without a trailing decimal point. This
1434 * emulates the behavior of sprintf("%g"), but is sometimes much more
1435 * efficient. If gconvert() is not available, but gcvt() drops the
1436 * trailing decimal point, then gcvt() is used. If all else fails,
1437 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1438 * macro are: value, number of digits, whether trailing zeros should
1439 * be retained, and the output buffer.
1440 * Possible values are:
1441 * d_Gconvert='gconvert((x),(n),(t),(b))'
1442 * d_Gconvert='gcvt((x),(n),(b))'
1443 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1444 * The last two assume trailing zeros should not be kept.
1446 #define Gconvert(x,n,t,b) $d_Gconvert
1449 * This symbol, if defined, indicates that sfio should
1452 #$d_sfio USE_SFIO /**/
1455 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1458 * This macro is used in the same way as sigsetjmp(), but will invoke
1459 * traditional setjmp() if sigsetjmp isn't available.
1460 * See HAS_SIGSETJMP.
1463 * This macro is used in the same way as siglongjmp(), but will invoke
1464 * traditional longjmp() if siglongjmp isn't available.
1465 * See HAS_SIGSETJMP.
1467 #$d_sigsetjmp HAS_SIGSETJMP /**/
1468 #ifdef HAS_SIGSETJMP
1469 #define Sigjmp_buf sigjmp_buf
1470 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1471 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1473 #define Sigjmp_buf jmp_buf
1474 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1475 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1478 /* USE_DYNAMIC_LOADING:
1479 * This symbol, if defined, indicates that dynamic loading of
1480 * some sort is available.
1482 #$usedl USE_DYNAMIC_LOADING /**/
1485 * This symbol, if defined, indicates that <dbm.h> exists and should
1489 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1490 * should be included.
1493 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
1496 * This symbol, if defined, indicates to the C program that it should
1497 * include <locale.h>.
1499 #$i_locale I_LOCALE /**/
1502 * This symbol, if defined, indicates to the C program that it should
1505 #$i_sfio I_SFIO /**/
1508 * This symbol, if defined, indicates to the C program that it should
1509 * include <sys/stat.h>.
1511 #$i_sysstat I_SYS_STAT /**/
1514 * This symbol, if defined, indicates to the C program that it should
1515 * include <values.h> to get definition of symbols like MINFLOAT or
1516 * MAXLONG, i.e. machine dependant limitations. Probably, you
1517 * should use <limits.h> instead, if it is available.
1519 #$i_values I_VALUES /**/
1522 * This variable contains the return type of free(). It is usually
1523 * void, but occasionally int.
1526 * This symbol is the type of pointer returned by malloc and realloc.
1528 #define Malloc_t $malloctype /**/
1529 #define Free_t $freetype /**/
1532 * This symbol, if defined, indicates that we're using our own malloc.
1534 #$d_mymalloc MYMALLOC /**/
1537 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1538 * non-blocking I/O for the file descriptor. Note that there is no way
1539 * back, i.e. you cannot turn it blocking again this way. If you wish to
1540 * alternatively switch between blocking and non-blocking, use the
1541 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1544 * This symbol holds the errno error code set by read() when no data was
1545 * present on the non-blocking file descriptor.
1548 * This symbol holds the return code from read() when no data is present
1549 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1550 * not defined, then you can't distinguish between no data and EOF by
1551 * issuing a read(). You'll have to find another way to tell for sure!
1554 * This symbol, if defined, indicates to the C program that a read() on
1555 * a non-blocking file descriptor will return 0 on EOF, and not the value
1556 * held in RD_NODATA (-1 usually, in that case!).
1558 #define VAL_O_NONBLOCK $o_nonblock
1559 #define VAL_EAGAIN $eagain
1560 #define RD_NODATA $rd_nodata
1561 #$d_eofnblk EOF_NONBLOCK
1564 * This variable, if defined, holds the name of the directory in
1565 * which the user has perl5.000 or perl5.001 architecture-dependent
1566 * public library files for $package. For the most part, these
1567 * files will work with 5.002 (and later), but that is not
1571 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1572 * used in programs that are not prepared to deal with ~ expansion at
1575 #$d_oldarchlib OLDARCHLIB "$oldarchlib" /**/
1576 #$d_oldarchlib OLDARCHLIB_EXP "$oldarchlibexp" /**/
1579 * This symbol contains the name of the private library for this package.
1580 * The library is private in the sense that it needn't be in anyone's
1581 * execution path, but it should be accessible by the world. The program
1582 * should be prepared to do ~ expansion.
1585 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1586 * in programs that are not prepared to deal with ~ expansion at run-time.
1588 #define PRIVLIB "$privlib" /**/
1589 #define PRIVLIB_EXP "$privlibexp" /**/
1592 * This symbol contains the full pathname to the shell used on this
1593 * on this system to execute Bourne shell scripts. Usually, this will be
1594 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1595 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh.
1597 #define SH_PATH "$sh" /**/
1600 * This symbol contains a list of signal names in order of
1601 * signal number. This is intended
1602 * to be used as a static array initialization, like this:
1603 * char *sig_name[] = { SIG_NAME };
1604 * The signals in the list are separated with commas, and each signal
1605 * is surrounded by double quotes. There is no leading SIG in the signal
1606 * name, i.e. SIGQUIT is known as "QUIT".
1607 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1608 * etc., where nn is the actual signal number (e.g. NUM37).
1609 * The signal number for sig_name[i] is stored in sig_num[i].
1610 * The last element is 0 to terminate the list with a NULL. This
1611 * corresponds to the 0 at the end of the sig_num list.
1614 * This symbol contains a list of signal numbers, in the same order as the
1615 * SIG_NAME list. It is suitable for static array initialization, as in:
1616 * int sig_num[] = { SIG_NUM };
1617 * The signals in the list are separated with commas, and the indices
1618 * within that list and the SIG_NAME list match, so it's easy to compute
1619 * the signal name from a number or vice versa at the price of a small
1620 * dynamic linear lookup.
1621 * Duplicates are allowed, but are moved to the end of the list.
1622 * The signal number corresponding to sig_name[i] is sig_number[i].
1623 * if (i < NSIG) then sig_number[i] == i.
1624 * The last element is 0, corresponding to the 0 at the end of
1625 * the sig_name list.
1627 #define SIG_NAME "`echo $sig_name | sed 's/ /","/g'`",0 /**/
1628 #define SIG_NUM `echo $sig_num 0 | sed 's/ /,/g'` /**/
1631 * This symbol contains the name of the private library for this package.
1632 * The library is private in the sense that it needn't be in anyone's
1633 * execution path, but it should be accessible by the world. The program
1634 * should be prepared to do ~ expansion.
1635 * The standard distribution will put nothing in this directory.
1636 * Individual sites may place their own extensions and modules in
1640 * This symbol contains the ~name expanded version of SITEARCH, to be used
1641 * in programs that are not prepared to deal with ~ expansion at run-time.
1643 #define SITEARCH "$sitearch" /**/
1644 #define SITEARCH_EXP "$sitearchexp" /**/
1647 * This symbol contains the name of the private library for this package.
1648 * The library is private in the sense that it needn't be in anyone's
1649 * execution path, but it should be accessible by the world. The program
1650 * should be prepared to do ~ expansion.
1651 * The standard distribution will put nothing in this directory.
1652 * Individual sites may place their own extensions and modules in
1656 * This symbol contains the ~name expanded version of SITELIB, to be used
1657 * in programs that are not prepared to deal with ~ expansion at run-time.
1659 #define SITELIB "$sitelib" /**/
1660 #define SITELIB_EXP "$sitelibexp" /**/
1663 * This symbol holds the type used by functions that return
1664 * a count of bytes or an error condition. It must be a signed type.
1665 * It is usually ssize_t, but may be long or int, etc.
1666 * It may be necessary to include <sys/types.h> or <unistd.h>
1667 * to get any typedef'ed information.
1668 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1670 #define SSize_t $ssizetype /* signed count of bytes */
1673 * This variable contains the string to put in front of a perl
1674 * script to make sure (one hopes) that it runs with perl and not
1677 #define STARTPERL "$startperl" /**/
1680 * This symbol, if defined, indicates that the PerlIO abstraction should
1681 * be used throughout. If not defined, stdio should be
1682 * used in a fully backward compatible manner.
1684 #$useperlio USE_PERLIO /**/
1687 * This symbol indicates how much support of the void type is given by this
1688 * compiler. What various bits mean:
1690 * 1 = supports declaration of void
1691 * 2 = supports arrays of pointers to functions returning void
1692 * 4 = supports comparisons between pointers to void functions and
1693 * addresses of void functions
1694 * 8 = suports declaration of generic void pointers
1696 * The package designer should define VOIDUSED to indicate the requirements
1697 * of the package. This can be done either by #defining VOIDUSED before
1698 * including config.h, or by defining defvoidused in Myinit.U. If the
1699 * latter approach is taken, only those flags will be tested. If the
1700 * level of void support necessary is not present, defines void to int.
1703 #define VOIDUSED $defvoidused
1705 #define VOIDFLAGS $voidflags
1706 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1707 #define void int /* is void to be avoided? */
1708 #define M_VOID /* Xenix strikes again */