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.5 1997/02/28 14:57:43 ram Exp $
32 * Package name : $package
33 * Source directory : $src
34 * Configuration time: $cf_time
35 * Configured by : $cf_by
36 * Target system : $myuname
43 * This symbol holds the complete pathname to the sed program.
45 #define LOC_SED "$full_sed" /**/
48 * This symbol holds the path of the bin directory where the package will
49 * be installed. Program must be prepared to deal with ~name substitution.
52 * This symbol is the filename expanded version of the BIN symbol, for
53 * programs that do not want to deal with that at run-time.
55 #define BIN "$bin" /**/
56 #define BIN_EXP "$binexp" /**/
59 * This symbol contains the first part of the string which will invoke
60 * the C preprocessor on the standard input and produce to standard
61 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
62 * call a wrapper. See CPPRUN.
65 * This symbol contains the second part of the string which will invoke
66 * the C preprocessor on the standard input and produce to standard
67 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
68 * to specify standard input, otherwise the value is "".
70 #define CPPSTDIN "$cppstdin"
71 #define CPPMINUS "$cppminus"
74 * This symbol, if defined, indicates that the alarm routine is
77 #$d_alarm HAS_ALARM /**/
80 * This symbol indicates the C compiler can check for function attributes,
81 * such as printf formats. This is normally only supported by GNU cc.
83 #$d_attribut HASATTRIBUTE /**/
85 #define __attribute__(_arg_)
89 * This symbol is defined if the bcmp() routine is available to
90 * compare blocks of memory.
92 #$d_bcmp HAS_BCMP /**/
95 * This symbol is defined if the bcopy() routine is available to
96 * copy blocks of memory.
98 #$d_bcopy HAS_BCOPY /**/
101 * This symbol is defined if the bzero() routine is available to
102 * set a memory block to 0.
104 #$d_bzero HAS_BZERO /**/
107 * This symbol, if defined, indicates that the chown routine is
110 #$d_chown HAS_CHOWN /**/
113 * This symbol, if defined, indicates that the chroot routine is
116 #$d_chroot HAS_CHROOT /**/
119 * This symbol, if defined, indicates that the chsize routine is available
120 * to truncate files. You might need a -lx to get this routine.
122 #$d_chsize HAS_CHSIZE /**/
125 * This symbol, if defined, indicates that this C compiler knows about
126 * the const type. There is no need to actually test for that symbol
127 * within your programs. The mere use of the "const" keyword will
128 * trigger the necessary tests.
130 #$d_const HASCONST /**/
136 * This symbol, if defined, indicates that the crypt routine is available
137 * to encrypt passwords and the like.
139 #$d_crypt HAS_CRYPT /**/
142 * This symbol, if defined, indicates that the cuserid routine is
143 * available to get character login names.
145 #$d_cuserid HAS_CUSERID /**/
148 * This symbol, if defined, indicates that this system's <float.h>
149 * or <limits.h> defines the symbol DBL_DIG, which is the number
150 * of significant digits in a double precision number. If this
151 * symbol is not defined, a guess of 15 is usually pretty good.
153 #$d_dbl_dig HAS_DBL_DIG /* */
156 * This symbol, if defined, indicates that the difftime routine is
159 #$d_difftime HAS_DIFFTIME /**/
162 * This symbol, if defined, indicates that the dlerror routine is
163 * available to return a string describing the last error that
164 * occurred from a call to dlopen(), dlclose() or dlsym().
166 #$d_dlerror HAS_DLERROR /**/
168 /* SETUID_SCRIPTS_ARE_SECURE_NOW:
169 * This symbol, if defined, indicates that the bug that prevents
170 * setuid scripts from being secure is not present in this kernel.
173 * This symbol, if defined, indicates that the C program should
174 * check the script that it is executing for setuid/setgid bits, and
175 * attempt to emulate setuid/setgid on systems that have disabled
176 * setuid #! scripts because the kernel can't do it securely.
177 * It is up to the package designer to make sure that this emulation
178 * is done securely. Among other things, it should do an fstat on
179 * the script it just opened to make sure it really is a setuid/setgid
180 * script, it should make sure the arguments passed correspond exactly
181 * to the argument on the #! line, and it should not trust any
182 * subprocesses to which it must pass the filename rather than the
183 * file descriptor of the script to be executed.
185 #$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
186 #$d_dosuid DOSUID /**/
189 * This symbol, if defined, indicates that the dup2 routine is
190 * available to duplicate file descriptors.
192 #$d_dup2 HAS_DUP2 /**/
195 * This symbol, if defined, indicates that the fchmod routine is available
196 * to change mode of opened files. If unavailable, use chmod().
198 #$d_fchmod HAS_FCHMOD /**/
201 * This symbol, if defined, indicates that the fchown routine is available
202 * to change ownership of opened files. If unavailable, use chown().
204 #$d_fchown HAS_FCHOWN /**/
207 * This symbol, if defined, indicates to the C program that
208 * the fcntl() function exists.
210 #$d_fcntl HAS_FCNTL /**/
213 * This symbol, if defined, indicates that the fgetpos routine is
214 * available to get the file position indicator, similar to ftell().
216 #$d_fgetpos HAS_FGETPOS /**/
219 * This symbol, if defined, indicates that the system supports filenames
220 * longer than 14 characters.
222 #$d_flexfnam FLEXFILENAMES /**/
225 * This symbol, if defined, indicates that the flock routine is
226 * available to do file locking.
228 #$d_flock HAS_FLOCK /**/
231 * This symbol, if defined, indicates that the fork routine is
234 #$d_fork HAS_FORK /**/
237 * This symbol, if defined, indicates that the fsetpos routine is
238 * available to set the file position indicator, similar to fseek().
240 #$d_fsetpos HAS_FSETPOS /**/
243 * This symbol, if defined, indicates that the gettimeofday() system
244 * call is available for a sub-second accuracy clock. Usually, the file
245 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
246 * The type "Timeval" should be used to refer to "struct timeval".
248 #$d_gettimeod HAS_GETTIMEOFDAY /**/
249 #ifdef HAS_GETTIMEOFDAY
250 #define Timeval struct timeval /* Structure used by gettimeofday() */
254 * This symbol, if defined, indicates that the getgroups() routine is
255 * available to get the list of process groups. If unavailable, multiple
256 * groups are probably not supported.
258 #$d_getgrps HAS_GETGROUPS /**/
261 * This symbol, if defined, indicates that the gethostent routine is
262 * available to lookup host names in some data base or other.
264 #$d_gethent HAS_GETHOSTENT /**/
267 * This symbol, if defined, indicates that the C program may use the
268 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
271 #$d_uname HAS_UNAME /**/
274 * This symbol, if defined, indicates that the getlogin routine is
275 * available to get the login name.
277 #$d_getlogin HAS_GETLOGIN /**/
280 * This symbol, if defined, indicates to the C program that
281 * the getpgid(pid) function is available to get the
284 #$d_getpgid HAS_GETPGID /**/
287 * This symbol, if defined, indicates that the getpgrp routine is
288 * available to get the current process group.
291 * This symbol, if defined, indicates that getpgrp needs one
292 * arguments whereas USG one needs none.
294 #$d_getpgrp HAS_GETPGRP /**/
295 #$d_bsdgetpgrp USE_BSD_GETPGRP /**/
298 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
299 * routine is available to get the current process group.
301 #$d_getpgrp2 HAS_GETPGRP2 /**/
304 * This symbol, if defined, indicates that the getppid routine is
305 * available to get the parent process ID.
307 #$d_getppid HAS_GETPPID /**/
310 * This symbol, if defined, indicates that the getpriority routine is
311 * available to get a process's priority.
313 #$d_getprior HAS_GETPRIORITY /**/
316 * This symbol, if defined, indicates that the htonl() routine (and
317 * friends htons() ntohl() ntohs()) are available to do network
318 * order byte swapping.
321 * This symbol, if defined, indicates that the htons() routine (and
322 * friends htonl() ntohl() ntohs()) are available to do network
323 * order byte swapping.
326 * This symbol, if defined, indicates that the ntohl() routine (and
327 * friends htonl() htons() ntohs()) are available to do network
328 * order byte swapping.
331 * This symbol, if defined, indicates that the ntohs() routine (and
332 * friends htonl() htons() ntohl()) are available to do network
333 * order byte swapping.
335 #$d_htonl HAS_HTONL /**/
336 #$d_htonl HAS_HTONS /**/
337 #$d_htonl HAS_NTOHL /**/
338 #$d_htonl HAS_NTOHS /**/
341 * This symbol, if defined, indicates to the C program that the
342 * inet_aton() function is available to parse IP address "dotted-quad"
345 #$d_inetaton HAS_INET_ATON /**/
348 * This symbol, if defined, indicates that the killpg routine is available
349 * to kill process groups. If unavailable, you probably should use kill
350 * with a negative process number.
352 #$d_killpg HAS_KILLPG /**/
355 * This symbol, if defined, indicates that the link routine is
356 * available to create hard links.
358 #$d_link HAS_LINK /**/
361 * This symbol, if defined, indicates that the localeconv routine is
362 * available for numeric and monetary formatting conventions.
364 #$d_locconv HAS_LOCALECONV /**/
367 * This symbol, if defined, indicates that the lockf routine is
368 * available to do file locking.
370 #$d_lockf HAS_LOCKF /**/
373 * This symbol, if defined, indicates that the lstat routine is
374 * available to do file stats on symbolic links.
376 #$d_lstat HAS_LSTAT /**/
379 * This symbol, if defined, indicates that the mblen routine is available
380 * to find the number of bytes in a multibye character.
382 #$d_mblen HAS_MBLEN /**/
385 * This symbol, if defined, indicates that the mbstowcs routine is
386 * available to covert a multibyte string into a wide character string.
388 #$d_mbstowcs HAS_MBSTOWCS /**/
391 * This symbol, if defined, indicates that the mbtowc routine is available
392 * to covert a multibyte to a wide character.
394 #$d_mbtowc HAS_MBTOWC /**/
397 * This symbol, if defined, indicates that the memcmp routine is available
398 * to compare blocks of memory.
400 #$d_memcmp HAS_MEMCMP /**/
403 * This symbol, if defined, indicates that the memcpy routine is available
404 * to copy blocks of memory.
406 #$d_memcpy HAS_MEMCPY /**/
409 * This symbol, if defined, indicates that the memmove routine is available
410 * to copy potentially overlapping blocks of memory. This should be used
411 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
414 #$d_memmove HAS_MEMMOVE /**/
417 * This symbol, if defined, indicates that the memset routine is available
418 * to set blocks of memory.
420 #$d_memset HAS_MEMSET /**/
423 * This symbol, if defined, indicates that the mkdir routine is available
424 * to create directories. Otherwise you should fork off a new process to
427 #$d_mkdir HAS_MKDIR /**/
430 * This symbol, if defined, indicates that the mkfifo routine is
431 * available to create FIFOs. Otherwise, mknod should be able to
432 * do it for you. However, if mkfifo is there, mknod might require
433 * super-user privileges which mkfifo will not.
435 #$d_mkfifo HAS_MKFIFO /**/
438 * This symbol, if defined, indicates that the mktime routine is
441 #$d_mktime HAS_MKTIME /**/
444 * This symbol, if defined, indicates that the entire msg*(2) library is
445 * supported (IPC mechanism based on message queues).
450 * This symbol, if defined, indicates that the nice routine is
453 #$d_nice HAS_NICE /**/
456 * This symbol, if defined, indicates that pathconf() is available
457 * to determine file-system related limits and options associated
458 * with a given filename.
461 * This symbol, if defined, indicates that pathconf() is available
462 * to determine file-system related limits and options associated
463 * with a given open file descriptor.
465 #$d_pathconf HAS_PATHCONF /**/
466 #$d_fpathconf HAS_FPATHCONF /**/
469 * This symbol, if defined, indicates that the pause routine is
470 * available to suspend a process until a signal is received.
472 #$d_pause HAS_PAUSE /**/
475 * This symbol, if defined, indicates that the pipe routine is
476 * available to create an inter-process channel.
478 #$d_pipe HAS_PIPE /**/
481 * This symbol, if defined, indicates that the poll routine is
482 * available to poll active file descriptors. You may safely
483 * include <poll.h> when this symbol is defined.
485 #$d_poll HAS_POLL /**/
488 * This symbol, if defined, indicates that the readdir routine is
489 * available to read directory entries. You may have to include
490 * <dirent.h>. See I_DIRENT.
492 #$d_readdir HAS_READDIR /**/
495 * This symbol, if defined, indicates that the seekdir routine is
496 * available. You may have to include <dirent.h>. See I_DIRENT.
498 #$d_seekdir HAS_SEEKDIR /**/
501 * This symbol, if defined, indicates that the telldir routine is
502 * available. You may have to include <dirent.h>. See I_DIRENT.
504 #$d_telldir HAS_TELLDIR /**/
507 * This symbol, if defined, indicates that the rewinddir routine is
508 * available. You may have to include <dirent.h>. See I_DIRENT.
510 #$d_rewinddir HAS_REWINDDIR /**/
513 * This symbol, if defined, indicates that the readlink routine is
514 * available to read the value of a symbolic link.
516 #$d_readlink HAS_READLINK /**/
519 * This symbol, if defined, indicates that the rename routine is available
520 * to rename files. Otherwise you should do the unlink(), link(), unlink()
523 #$d_rename HAS_RENAME /**/
526 * This symbol, if defined, indicates that the rmdir routine is
527 * available to remove directories. Otherwise you should fork off a
528 * new process to exec /bin/rmdir.
530 #$d_rmdir HAS_RMDIR /**/
533 * This symbol, if defined, indicates that the select routine is
534 * available to select active file descriptors. If the timeout field
535 * is used, <sys/time.h> may need to be included.
537 #$d_select HAS_SELECT /**/
540 * This symbol, if defined, indicates that the entire sem*(2) library is
546 * This symbol, if defined, indicates that the setegid routine is available
547 * to change the effective gid of the current program.
549 #$d_setegid HAS_SETEGID /**/
552 * This symbol, if defined, indicates that the seteuid routine is available
553 * to change the effective uid of the current program.
555 #$d_seteuid HAS_SETEUID /**/
558 * This symbol, if defined, indicates that the setlinebuf routine is
559 * available to change stderr or stdout from block-buffered or unbuffered
560 * to a line-buffered mode.
562 #$d_setlinebuf HAS_SETLINEBUF /**/
565 * This symbol, if defined, indicates that the setlocale routine is
566 * available to handle locale-specific ctype implementations.
568 #$d_setlocale HAS_SETLOCALE /**/
571 * This symbol, if defined, indicates that the setpgid(pid, gpid)
572 * routine is available to set process group ID.
574 #$d_setpgid HAS_SETPGID /**/
577 * This symbol, if defined, indicates that the setpgrp routine is
578 * available to set the current process group.
581 * This symbol, if defined, indicates that setpgrp needs two
582 * arguments whereas USG one needs none. See also HAS_SETPGID
583 * for a POSIX interface.
585 #$d_setpgrp HAS_SETPGRP /**/
586 #$d_bsdsetpgrp USE_BSD_SETPGRP /**/
589 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
590 * routine is available to set the current process group.
592 #$d_setpgrp2 HAS_SETPGRP2 /**/
595 * This symbol, if defined, indicates that the setpriority routine is
596 * available to set a process's priority.
598 #$d_setprior HAS_SETPRIORITY /**/
601 * This symbol, if defined, indicates that the setregid routine is
602 * available to change the real and effective gid of the current
606 * This symbol, if defined, indicates that the setresgid routine is
607 * available to change the real, effective and saved gid of the current
610 #$d_setregid HAS_SETREGID /**/
611 #$d_setresgid HAS_SETRESGID /**/
614 * This symbol, if defined, indicates that the setreuid routine is
615 * available to change the real and effective uid of the current
619 * This symbol, if defined, indicates that the setresuid routine is
620 * available to change the real, effective and saved uid of the current
623 #$d_setreuid HAS_SETREUID /**/
624 #$d_setresuid HAS_SETRESUID /**/
627 * This symbol, if defined, indicates that the setrgid routine is available
628 * to change the real gid of the current program.
630 #$d_setrgid HAS_SETRGID /**/
633 * This symbol, if defined, indicates that the setruid routine is available
634 * to change the real uid of the current program.
636 #$d_setruid HAS_SETRUID /**/
639 * This symbol, if defined, indicates that the setsid routine is
640 * available to set the process group ID.
642 #$d_setsid HAS_SETSID /**/
645 * This symbol, if defined, indicates that the entire shm*(2) library is
651 * This symbol holds the return type of the shmat() system call.
652 * Usually set to 'void *' or 'char *'.
654 /* HAS_SHMAT_PROTOTYPE:
655 * This symbol, if defined, indicates that the sys/shm.h includes
656 * a prototype for shmat(). Otherwise, it is up to the program to
657 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
658 * but not always right so it should be emitted by the program only
659 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
661 #define Shmat_t $shmattype /**/
662 #$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
665 * This symbol, if defined, indicates that the BSD socket interface is
669 * This symbol, if defined, indicates that the BSD socketpair() call is
672 #$d_socket HAS_SOCKET /**/
673 #$d_sockpair HAS_SOCKETPAIR /**/
676 * This symbol is defined if this system has a stat structure declaring
677 * st_blksize and st_blocks.
679 #$d_statblks USE_STAT_BLOCKS /**/
682 * This symbol is defined to indicate that the strchr()/strrchr()
683 * functions are available for string searching. If not, try the
684 * index()/rindex() pair.
687 * This symbol is defined to indicate that the index()/rindex()
688 * functions are available for string searching.
690 #$d_strchr HAS_STRCHR /**/
691 #$d_index HAS_INDEX /**/
694 * This symbol, if defined, indicates that the strcoll routine is
695 * available to compare strings using collating information.
697 #$d_strcoll HAS_STRCOLL /**/
700 * This symbol, if defined, indicates that this C compiler knows how
701 * to copy structures. If undefined, you'll need to use a block copy
702 * routine of some sort instead.
704 #$d_strctcpy USE_STRUCT_COPY /**/
707 * This symbol, if defined, indicates that the strerror routine is
708 * available to translate error numbers to strings. See the writeup
709 * of Strerror() in this file before you try to define your own.
712 * This symbol, if defined, indicates that the sys_errlist array is
713 * available to translate error numbers to strings. The extern int
714 * sys_nerr gives the size of that table.
717 * This preprocessor symbol is defined as a macro if strerror() is
718 * not available to translate error numbers to strings but sys_errlist[]
721 #$d_strerror HAS_STRERROR /**/
722 #$d_syserrlst HAS_SYS_ERRLIST /**/
723 #define Strerror(e) $d_strerrm
726 * This symbol, if defined, indicates that the strtod routine is
727 * available to provide better numeric string conversion than atof().
729 #$d_strtod HAS_STRTOD /**/
732 * This symbol, if defined, indicates that the strtol routine is available
733 * to provide better numeric string conversion than atoi() and friends.
735 #$d_strtol HAS_STRTOL /**/
738 * This symbol, if defined, indicates that the strtoul routine is
739 * available to provide conversion of strings to unsigned long.
741 #$d_strtoul HAS_STRTOUL /**/
744 * This symbol, if defined, indicates that the strxfrm() routine is
745 * available to transform strings.
747 #$d_strxfrm HAS_STRXFRM /**/
750 * This symbol, if defined, indicates that the symlink routine is available
751 * to create symbolic links.
753 #$d_symlink HAS_SYMLINK /**/
756 * This symbol, if defined, indicates that the syscall routine is
757 * available to call arbitrary system calls. If undefined, that's tough.
759 #$d_syscall HAS_SYSCALL /**/
762 * This symbol, if defined, indicates that sysconf() is available
763 * to determine system related limits and options.
765 #$d_sysconf HAS_SYSCONF /**/
768 * This symbol, if defined, indicates that the system routine is
769 * available to issue a shell command.
771 #$d_system HAS_SYSTEM /**/
774 * This symbol, if defined, indicates that the tcgetpgrp routine is
775 * available to get foreground process group ID.
777 #$d_tcgetpgrp HAS_TCGETPGRP /**/
780 * This symbol, if defined, indicates that the tcsetpgrp routine is
781 * available to set foreground process group ID.
783 #$d_tcsetpgrp HAS_TCSETPGRP /**/
786 * This symbol holds the type returned by time(). It can be long,
787 * or time_t on BSD sites (in which case <sys/types.h> should be
790 #define Time_t $timetype /* Time type */
793 * This symbol, if defined, indicates that the times() routine exists.
794 * Note that this became obsolete on some systems (SUNOS), which now
795 * use getrusage(). It may be necessary to include <sys/times.h>.
797 #$d_times HAS_TIMES /**/
800 * This symbol, if defined, indicates that the truncate routine is
801 * available to truncate files.
803 #$d_truncate HAS_TRUNCATE /**/
806 * This symbol, if defined, indicates that the tzname[] array is
807 * available to access timezone names.
809 #$d_tzname HAS_TZNAME /**/
812 * This symbol, if defined, indicates that the umask routine is
813 * available to set and get the value of the file creation mask.
815 #$d_umask HAS_UMASK /**/
818 * This symbol, if defined, indicates that vfork() exists.
820 #$d_vfork HAS_VFORK /**/
823 * This symbol, if defined, indicates that this C compiler knows about
824 * the volatile declaration.
826 #$d_volatile HASVOLATILE /**/
832 * This symbol, if defined, indicates that wait4() exists.
834 #$d_wait4 HAS_WAIT4 /**/
837 * This symbol, if defined, indicates that the waitpid routine is
838 * available to wait for child process.
840 #$d_waitpid HAS_WAITPID /**/
843 * This symbol, if defined, indicates that the wcstombs routine is
844 * available to convert wide character strings to multibyte strings.
846 #$d_wcstombs HAS_WCSTOMBS /**/
849 * This symbol, if defined, indicates that the wctomb routine is available
850 * to covert a wide character to a multibyte.
852 #$d_wctomb HAS_WCTOMB /**/
855 * This symbol holds the type used to declare file positions in libc.
856 * It can be fpos_t, long, uint, etc... It may be necessary to include
857 * <sys/types.h> to get any typedef'ed information.
859 #define Fpos_t $fpostype /* File position type */
862 * This symbol holds the return type of getgid() and the type of
863 * argument to setrgid() and related functions. Typically,
864 * it is the type of group ids in the kernel. It can be int, ushort,
865 * uid_t, etc... It may be necessary to include <sys/types.h> to get
866 * any typedef'ed information.
868 #define Gid_t $gidtype /* Type for getgid(), etc... */
871 * This symbol, if defined, indicates that <dbm.h> exists and should
875 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
876 * should be included.
879 #$i_rpcsvcdbm I_RPCSVC_DBM /**/
882 * This symbol, if defined, indicates to the C program that it should
883 * include <dirent.h>. Using this symbol also triggers the definition
884 * of the Direntry_t define which ends up being 'struct dirent' or
885 * 'struct direct' depending on the availability of <dirent.h>.
888 * This symbol, if defined, indicates to the C program that the length
889 * of directory entry names is provided by a d_namlen field. Otherwise
890 * you need to do strlen() on the d_name field.
893 * This symbol is set to 'struct direct' or 'struct dirent' depending on
894 * whether dirent is available or not. You should use this pseudo type to
895 * portably declare your directory entries.
897 #$i_dirent I_DIRENT /**/
898 #$d_dirnamlen DIRNAMLEN /**/
899 #define Direntry_t $direntrytype
902 * This symbol, if defined, indicates that <dlfcn.h> exists and should
905 #$i_dlfcn I_DLFCN /**/
908 * This manifest constant tells the C program to include <fcntl.h>.
910 #$i_fcntl I_FCNTL /**/
913 * This symbol, if defined, indicates to the C program that it should
914 * include <float.h> to get definition of symbols like DBL_MAX or
915 * DBL_MIN, i.e. machine dependent floating point values.
917 #$i_float I_FLOAT /**/
920 * This symbol, if defined, indicates to the C program that it should
926 * This symbol, if defined, indicates to the C program that it should
927 * include <limits.h> to get definition of symbols like WORD_BIT or
928 * LONG_MAX, i.e. machine dependant limitations.
930 #$i_limits I_LIMITS /**/
933 * This symbol, if defined, indicates to the C program that it should
934 * include <locale.h>.
936 #$i_locale I_LOCALE /**/
939 * This symbol, if defined, indicates to the C program that it should
945 * This symbol, if defined, indicates to the C program that it should
946 * include <memory.h>.
948 #$i_memory I_MEMORY /**/
951 * This symbol, if defined, indicates that <ndbm.h> exists and should
957 * This symbol, if defined, indicates that <net/errno.h> exists and
958 * should be included.
960 #$i_neterrno I_NET_ERRNO /**/
963 * This symbol, if defined, indicates to the C program that it should
964 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
966 #$i_niin I_NETINET_IN /**/
969 * This symbol, if defined, indicates to the C program that it should
973 * This symbol, if defined, indicates to the C program that struct passwd
977 * This symbol, if defined, indicates to the C program that struct passwd
981 * This symbol, if defined, indicates to the C program that struct passwd
982 * contains pw_change.
985 * This symbol, if defined, indicates to the C program that struct passwd
989 * This symbol, if defined, indicates to the C program that struct passwd
990 * contains pw_expire.
993 * This symbol, if defined, indicates to the C program that struct passwd
994 * contains pw_comment.
997 #$d_pwquota PWQUOTA /**/
999 #$d_pwchange PWCHANGE /**/
1000 #$d_pwclass PWCLASS /**/
1001 #$d_pwexpire PWEXPIRE /**/
1002 #$d_pwcomment PWCOMMENT /**/
1005 * This symbol, if defined, indicates to the C program that it should
1008 #$i_sfio I_SFIO /**/
1011 * This symbol, if defined, indicates that <stddef.h> exists and should
1014 #$i_stddef I_STDDEF /**/
1017 * This symbol, if defined, indicates that <stdlib.h> exists and should
1020 #$i_stdlib I_STDLIB /**/
1023 * This symbol, if defined, indicates to the C program that it should
1024 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
1026 #$i_string I_STRING /**/
1029 * This symbol, if defined, indicates to the C program that it should
1030 * include <sys/dir.h>.
1032 #$i_sysdir I_SYS_DIR /**/
1035 * This symbol, if defined, indicates to the C program that it should
1036 * include <sys/file.h> to get definition of R_OK and friends.
1038 #$i_sysfile I_SYS_FILE /**/
1041 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1042 * be included. Otherwise, include <sgtty.h> or <termio.h>.
1044 #$i_sysioctl I_SYS_IOCTL /**/
1047 * This symbol, if defined, indicates to the C program that it should
1048 * include <sys/ndir.h>.
1050 #$i_sysndir I_SYS_NDIR /**/
1053 * This symbol, if defined, indicates to the C program that it should
1054 * include <sys/param.h>.
1056 #$i_sysparam I_SYS_PARAM /**/
1059 * This symbol, if defined, indicates to the C program that it should
1060 * include <sys/resource.h>.
1062 #$i_sysresrc I_SYS_RESOURCE /**/
1065 * This symbol, if defined, indicates to the C program that it should
1066 * include <sys/select.h> in order to get definition of struct timeval.
1068 #$i_sysselct I_SYS_SELECT /**/
1071 * This symbol, if defined, indicates to the C program that it should
1072 * include <sys/stat.h>.
1074 #$i_sysstat I_SYS_STAT /**/
1077 * This symbol, if defined, indicates to the C program that it should
1078 * include <sys/times.h>.
1080 #$i_systimes I_SYS_TIMES /**/
1083 * This symbol, if defined, indicates to the C program that it should
1084 * include <sys/types.h>.
1086 #$i_systypes I_SYS_TYPES /**/
1089 * This symbol, if defined, indicates to the C program that it should
1090 * include <sys/un.h> to get UNIX domain socket definitions.
1092 #$i_sysun I_SYS_UN /**/
1095 * This symbol, if defined, indicates to the C program that it should
1096 * include <sys/wait.h>.
1098 #$i_syswait I_SYS_WAIT /**/
1101 * This symbol, if defined, indicates that the program should include
1102 * <termio.h> rather than <sgtty.h>. There are also differences in
1103 * the ioctl() calls that depend on the value of this symbol.
1106 * This symbol, if defined, indicates that the program should include
1107 * the POSIX termios.h rather than sgtty.h or termio.h.
1108 * There are also differences in the ioctl() calls that depend on the
1109 * value of this symbol.
1112 * This symbol, if defined, indicates that the program should include
1113 * <sgtty.h> rather than <termio.h>. There are also differences in
1114 * the ioctl() calls that depend on the value of this symbol.
1116 #$i_termio I_TERMIO /**/
1117 #$i_termios I_TERMIOS /**/
1118 #$i_sgtty I_SGTTY /**/
1121 * This symbol, if defined, indicates to the C program that it should
1122 * include <unistd.h>.
1124 #$i_unistd I_UNISTD /**/
1127 * This symbol, if defined, indicates to the C program that it should
1128 * include <utime.h>.
1130 #$i_utime I_UTIME /**/
1133 * This symbol, if defined, indicates to the C program that it should
1134 * include <values.h> to get definition of symbols like MINFLOAT or
1135 * MAXLONG, i.e. machine dependant limitations. Probably, you
1136 * should use <limits.h> instead, if it is available.
1138 #$i_values I_VALUES /**/
1141 * This symbol, if defined, indicates that <stdarg.h> exists and should
1145 * This symbol, if defined, indicates to the C program that it should
1146 * include <varargs.h>.
1148 #$i_stdarg I_STDARG /**/
1149 #$i_varargs I_VARARGS /**/
1152 * This symbol, if defined, indicates to the C program that it should
1155 #$i_vfork I_VFORK /**/
1158 * This symbol holds the type used to declare offsets in the kernel.
1159 * It can be int, long, off_t, etc... It may be necessary to include
1160 * <sys/types.h> to get any typedef'ed information.
1162 #define Off_t $lseektype /* <offset> type */
1165 * This variable contains the return type of free(). It is usually
1166 * void, but occasionally int.
1169 * This symbol is the type of pointer returned by malloc and realloc.
1171 #define Malloc_t $malloctype /**/
1172 #define Free_t $freetype /**/
1175 * This symbol, if defined, indicates that we're using our own malloc.
1177 #$d_mymalloc MYMALLOC /**/
1180 * This symbol holds the type used to declare file modes
1181 * for systems calls. It is usually mode_t, but may be
1182 * int or unsigned short. It may be necessary to include <sys/types.h>
1183 * to get any typedef'ed information.
1185 #define Mode_t $modetype /* file mode parameter for system calls */
1188 * This symbol holds the type used to declare process ids in the kernel.
1189 * It can be int, uint, pid_t, etc... It may be necessary to include
1190 * <sys/types.h> to get any typedef'ed information.
1192 #define Pid_t $pidtype /* PID type */
1195 * If defined, this macro indicates that the C compiler can handle
1196 * function prototypes.
1199 * This macro is used to declare function parameters for folks who want
1200 * to make declarations with prototypes using a different style than
1201 * the above macros. Use double parentheses. For example:
1203 * int main _((int argc, char *argv[]));
1205 #$prototype CAN_PROTOTYPE /**/
1206 #ifdef CAN_PROTOTYPE
1207 #define _(args) args
1213 * This symbol contains the full pathname to the shell used on this
1214 * on this system to execute Bourne shell scripts. Usually, this will be
1215 * /bin/sh, though it's possible that some systems will have /bin/ksh,
1216 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1219 #define SH_PATH "$sh" /**/
1222 * This symbol holds the type used to declare length parameters
1223 * for string functions. It is usually size_t, but may be
1224 * unsigned long, int, etc. It may be necessary to include
1225 * <sys/types.h> to get any typedef'ed information.
1227 #define Size_t $sizetype /* length paramater for string functions */
1230 * This symbol is defined to be the type of char used in stdio.h.
1231 * It has the values "unsigned char" or "char".
1233 #define STDCHAR $stdchar /**/
1236 * This symbol holds the type used to declare user ids in the kernel.
1237 * It can be int, ushort, uid_t, etc... It may be necessary to include
1238 * <sys/types.h> to get any typedef'ed information.
1240 #define Uid_t $uidtype /* UID type */
1243 * This symbol indicates how much support of the void type is given by this
1244 * compiler. What various bits mean:
1246 * 1 = supports declaration of void
1247 * 2 = supports arrays of pointers to functions returning void
1248 * 4 = supports comparisons between pointers to void functions and
1249 * addresses of void functions
1250 * 8 = suports declaration of generic void pointers
1252 * The package designer should define VOIDUSED to indicate the requirements
1253 * of the package. This can be done either by #defining VOIDUSED before
1254 * including config.h, or by defining defvoidused in Myinit.U. If the
1255 * latter approach is taken, only those flags will be tested. If the
1256 * level of void support necessary is not present, defines void to int.
1259 #define VOIDUSED $defvoidused
1261 #define VOIDFLAGS $voidflags
1262 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1263 #define void int /* is void to be avoided? */
1264 #define M_VOID /* Xenix strikes again */
1268 * This symbol contains the number of bytes required to align a
1269 * double. Usual values are 2, 4 and 8.
1270 * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
1271 * Binaries (MAB) for targets with varying alignment. This only matters
1272 * for perl, where the config.h can be generated and installed on one
1273 * system, and used by a different architecture to build an extension.
1274 * The default is eight, for safety.
1276 #define MEM_ALIGNBYTES $alignbytes /**/
1279 * This symbol holds the hexadecimal constant defined in byteorder,
1280 * i.e. 0x1234 or 0x4321, etc...
1281 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1282 * Binaries (MAB) on either big endian or little endian machines.
1283 * The endian-ness is available at compile-time. This only matters
1284 * for perl, where the config.h can be generated and installed on
1285 * one system, and used by a different architecture to build an
1286 * extension. Older versions of NeXT that might not have
1287 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1288 * so the default case (for NeXT) is big endian to catch them.
1289 * This might matter for NeXT 3.0.
1292 #define BYTEORDER 0x$byteorder /* large digits for MSB */
1294 #ifdef __LITTLE_ENDIAN__
1295 #define BYTEORDER 0x1234
1296 #else /* __BIG_ENDIAN__ */
1297 #define BYTEORDER 0x4321
1298 #endif /* ENDIAN CHECK */
1302 * This symbol is defined if the C compiler can cast negative
1303 * or large floating point numbers to 32-bit ints.
1305 #$d_casti32 CASTI32 /**/
1308 * This symbol is defined if the C compiler can cast negative
1309 * numbers to unsigned longs, ints and shorts.
1312 * This symbol contains flags that say what difficulties the compiler
1313 * has casting odd floating values to unsigned long:
1315 * 1 = couldn't cast < 0
1316 * 2 = couldn't cast >= 0x80000000
1317 * 4 = couldn't cast in argument expression list
1319 #$d_castneg CASTNEGFLOAT /**/
1320 #define CASTFLAGS $castflags /**/
1323 * This symbol, if defined, indicates that the closedir() routine
1324 * does not return a value.
1326 #$d_void_closedir VOID_CLOSEDIR /**/
1329 * This preprocessor macro is defined to convert a floating point
1330 * number to a string without a trailing decimal point. This
1331 * emulates the behavior of sprintf("%g"), but is sometimes much more
1332 * efficient. If gconvert() is not available, but gcvt() drops the
1333 * trailing decimal point, then gcvt() is used. If all else fails,
1334 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1335 * macro are: value, number of digits, whether trailing zeros should
1336 * be retained, and the output buffer.
1337 * Possible values are:
1338 * d_Gconvert='gconvert((x),(n),(t),(b))'
1339 * d_Gconvert='gcvt((x),(n),(b))'
1340 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1341 * The last two assume trailing zeros should not be kept.
1343 #define Gconvert(x,n,t,b) $d_Gconvert
1346 * This symbol, if defined, indicates to the C program that
1347 * the GNU C library is being used.
1349 #$d_gnulibc HAS_GNULIBC /**/
1351 * This manifest constant lets the C program know that isascii
1354 #$d_isascii HAS_ISASCII /**/
1357 * This manifest constant lets the C program know that the three
1358 * argument form of open(2) is available.
1360 #$d_open3 HAS_OPEN3 /**/
1363 * This symbol, if defined, indicates that the bcopy routine is available
1364 * to copy potentially overlapping memory blocks. Otherwise you should
1365 * probably use memmove() or memcpy(). If neither is defined, roll your
1368 #$d_safebcpy HAS_SAFE_BCOPY /**/
1371 * This symbol, if defined, indicates that the memcpy routine is available
1372 * to copy potentially overlapping memory blocks. Otherwise you should
1373 * probably use memmove() or memcpy(). If neither is defined, roll your
1376 #$d_safemcpy HAS_SAFE_MEMCPY /**/
1379 * This symbol, if defined, indicates that the memcmp routine is available
1380 * and can be used to compare relative magnitudes of chars with their high
1381 * bits set. If it is not defined, roll your own version.
1383 #$d_sanemcmp HAS_SANE_MEMCMP /**/
1386 * This symbol, if defined, indicates that Vr4's sigaction() routine
1389 #$d_sigaction HAS_SIGACTION /**/
1392 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1395 * This macro is used in the same way as sigsetjmp(), but will invoke
1396 * traditional setjmp() if sigsetjmp isn't available.
1397 * See HAS_SIGSETJMP.
1400 * This macro is used in the same way as siglongjmp(), but will invoke
1401 * traditional longjmp() if siglongjmp isn't available.
1402 * See HAS_SIGSETJMP.
1404 #$d_sigsetjmp HAS_SIGSETJMP /**/
1405 #ifdef HAS_SIGSETJMP
1406 #define Sigjmp_buf sigjmp_buf
1407 #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1408 #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1410 #define Sigjmp_buf jmp_buf
1411 #define Sigsetjmp(buf,save_mask) setjmp((buf))
1412 #define Siglongjmp(buf,retval) longjmp((buf),(retval))
1416 * This symbol is defined if the _ptr and _cnt fields (or similar)
1417 * of the stdio FILE structure can be used to access the stdio buffer
1418 * for a file handle. If this is defined, then the FILE_ptr(fp)
1419 * and FILE_cnt(fp) macros will also be defined and should be used
1420 * to access these fields.
1423 * This macro is used to access the _ptr field (or equivalent) of the
1424 * FILE structure pointed to by its argument. This macro will always be
1425 * defined if USE_STDIO_PTR is defined.
1427 /* STDIO_PTR_LVALUE:
1428 * This symbol is defined if the FILE_ptr macro can be used as an
1432 * This macro is used to access the _cnt field (or equivalent) of the
1433 * FILE structure pointed to by its argument. This macro will always be
1434 * defined if USE_STDIO_PTR is defined.
1436 /* STDIO_CNT_LVALUE:
1437 * This symbol is defined if the FILE_cnt macro can be used as an
1440 #$d_stdstdio USE_STDIO_PTR /**/
1441 #ifdef USE_STDIO_PTR
1442 #define FILE_ptr(fp) $stdio_ptr
1443 #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
1444 #define FILE_cnt(fp) $stdio_cnt
1445 #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
1449 * This symbol is defined if the _base field (or similar) of the
1450 * stdio FILE structure can be used to access the stdio buffer for
1451 * a file handle. If this is defined, then the FILE_base(fp) macro
1452 * will also be defined and should be used to access this field.
1453 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1454 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1455 * will never be defined unless USE_STDIO_PTR is.
1458 * This macro is used to access the _base field (or equivalent) of the
1459 * FILE structure pointed to by its argument. This macro will always be
1460 * defined if USE_STDIO_BASE is defined.
1463 * This macro is used to determine the number of bytes in the I/O
1464 * buffer pointed to by _base field (or equivalent) of the FILE
1465 * structure pointed to its argument. This macro will always be defined
1466 * if USE_STDIO_BASE is defined.
1468 #$d_stdiobase USE_STDIO_BASE /**/
1469 #ifdef USE_STDIO_BASE
1470 #define FILE_base(fp) $stdio_base
1471 #define FILE_bufsiz(fp) $stdio_bufsiz
1475 * This symbol, if defined, indicates that the vprintf routine is available
1476 * to printf with a pointer to an argument list. If unavailable, you
1477 * may need to write your own, probably in terms of _doprnt().
1479 /* USE_CHAR_VSPRINTF:
1480 * This symbol is defined if this system has vsprintf() returning type
1481 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1482 * is up to the package author to declare vsprintf correctly based on the
1485 #$d_vprintf HAS_VPRINTF /**/
1486 #$d_charvspr USE_CHAR_VSPRINTF /**/
1489 * This symbol, if defined, indicates to the C program that it should
1493 * This symbol, if defined, indicates to the C program that it should
1494 * include <sys/time.h>.
1496 /* I_SYS_TIME_KERNEL:
1497 * This symbol, if defined, indicates to the C program that it should
1498 * include <sys/time.h> with KERNEL defined.
1500 #$i_time I_TIME /**/
1501 #$i_systime I_SYS_TIME /**/
1502 #$i_systimek I_SYS_TIME_KERNEL /**/
1505 * This symbol contains the value of sizeof(int) so that the C
1506 * preprocessor can make decisions based on it.
1509 * This symbol contains the value of sizeof(long) so that the C
1510 * preprocessor can make decisions based on it.
1513 * This symbol contains the value of sizeof(short) so that the C
1514 * preprocessor can make decisions based on it.
1516 #define INTSIZE $intsize /**/
1517 #define LONGSIZE $longsize /**/
1518 #define SHORTSIZE $shortsize /**/
1521 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1522 * non-blocking I/O for the file descriptor. Note that there is no way
1523 * back, i.e. you cannot turn it blocking again this way. If you wish to
1524 * alternatively switch between blocking and non-blocking, use the
1525 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1528 * This symbol holds the errno error code set by read() when no data was
1529 * present on the non-blocking file descriptor.
1532 * This symbol holds the return code from read() when no data is present
1533 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1534 * not defined, then you can't distinguish between no data and EOF by
1535 * issuing a read(). You'll have to find another way to tell for sure!
1538 * This symbol, if defined, indicates to the C program that a read() on
1539 * a non-blocking file descriptor will return 0 on EOF, and not the value
1540 * held in RD_NODATA (-1 usually, in that case!).
1542 #define VAL_O_NONBLOCK $o_nonblock
1543 #define VAL_EAGAIN $eagain
1544 #define RD_NODATA $rd_nodata
1545 #$d_eofnblk EOF_NONBLOCK
1548 * This symbol contains the number of bits of random number the rand()
1549 * function produces. Usual values are 15, 16, and 31.
1551 #define RANDBITS $randbits /**/
1554 * This symbol holds the type used by functions that return
1555 * a count of bytes or an error condition. It must be a signed type.
1556 * It is usually ssize_t, but may be long or int, etc.
1557 * It may be necessary to include <sys/types.h> or <unistd.h>
1558 * to get any typedef'ed information.
1559 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1561 #define SSize_t $ssizetype /* signed count of bytes */
1564 * This symbol contains the name of the operating system, as determined
1565 * by Configure. You shouldn't rely on it too much; the specific
1566 * feature tests from Configure are generally more reliable.
1568 #define OSNAME "$osname" /**/
1571 * This variable, if defined, holds the name of the directory in
1572 * which the user wants to put architecture-dependent public
1573 * library files for $package. It is most often a local directory
1574 * such as /usr/local/lib. Programs using this variable must be
1575 * prepared to deal with filename expansion. If ARCHLIB is the
1576 * same as PRIVLIB, it is not defined, since presumably the
1577 * program already searches PRIVLIB.
1580 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1581 * in programs that are not prepared to deal with ~ expansion at run-time.
1583 #$d_archlib ARCHLIB "$archlib" /**/
1584 #$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1587 * This macro catenates 2 tokens together.
1590 * This macro surrounds its token with double quotes.
1593 #define CAT2(a,b)a/**/b
1594 #define STRINGIFY(a)"a"
1595 /* If you can get stringification with catify, tell me how! */
1597 #if $cpp_stuff == 42
1598 #define CAT2(a,b)a ## b
1599 #define StGiFy(a)# a
1600 #define STRINGIFY(a)StGiFy(a)
1602 #if $cpp_stuff != 1 && $cpp_stuff != 42
1603 #include "Bletch: How does this C preprocessor catenate tokens?"
1607 * This symbol, if defined, indicates that the C-shell exists.
1608 * If defined, contains the full pathname of csh.
1610 #$d_csh CSH "$full_csh" /**/
1613 * This symbol, if defined, indicates that the setgroups() routine is
1614 * available to set the list of process groups. If unavailable, multiple
1615 * groups are probably not supported.
1617 #$d_setgrps HAS_SETGROUPS /**/
1620 * This symbol's value is either "void" or "int", corresponding to the
1621 * appropriate return type of a signal handler. Thus, you can declare
1622 * a signal handler using "Signal_t (*handler)()", and define the
1623 * handler using "Signal_t handler(sig)".
1625 #define Signal_t $signal_t /* Signal handler's return type */
1628 * This symbol holds the type used for the second argument to
1629 * getgroups() and setgropus(). Usually, this is the same as
1630 * gidtype (gid_t) , but sometimes it isn't.
1631 * It can be int, ushort, uid_t, etc...
1632 * It may be necessary to include <sys/types.h> to get any
1633 * typedef'ed information. This is only required if you have
1634 * getgroups() or setgropus()..
1636 #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1637 #define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
1641 * This symbol, if defined, indicates that <netdb.h> exists and
1642 * should be included.
1644 #$i_netdb I_NETDB /**/
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.
1653 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1654 * in programs that are not prepared to deal with ~ expansion at run-time.
1656 #define PRIVLIB "$privlib" /**/
1657 #define PRIVLIB_EXP "$privlibexp" /**/
1660 * This symbol contains a list of signal names in order of
1661 * signal number. This is intended
1662 * to be used as a static array initialization, like this:
1663 * char *sig_name[] = { SIG_NAME };
1664 * The signals in the list are separated with commas, and each signal
1665 * is surrounded by double quotes. There is no leading SIG in the signal
1666 * name, i.e. SIGQUIT is known as "QUIT".
1667 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1668 * etc., where nn is the actual signal number (e.g. NUM37).
1669 * The signal number for sig_name[i] is stored in sig_num[i].
1670 * The last element is 0 to terminate the list with a NULL. This
1671 * corresponds to the 0 at the end of the sig_num list.
1674 * This symbol contains a list of signal numbers, in the same order as the
1675 * SIG_NAME list. It is suitable for static array initialization, as in:
1676 * int sig_num[] = { SIG_NUM };
1677 * The signals in the list are separated with commas, and the indices
1678 * within that list and the SIG_NAME list match, so it's easy to compute
1679 * the signal name from a number or vice versa at the price of a small
1680 * dynamic linear lookup.
1681 * Duplicates are allowed, but are moved to the end of the list.
1682 * The signal number corresponding to sig_name[i] is sig_number[i].
1683 * if (i < NSIG) then sig_number[i] == i.
1684 * The last element is 0, corresponding to the 0 at the end of
1685 * the sig_name list.
1687 #define SIG_NAME $sig_name_init /**/
1688 #define SIG_NUM $sig_num /**/
1691 * This symbol contains the name of the private library for this package.
1692 * The library is private in the sense that it needn't be in anyone's
1693 * execution path, but it should be accessible by the world. The program
1694 * should be prepared to do ~ expansion.
1695 * The standard distribution will put nothing in this directory.
1696 * Individual sites may place their own extensions and modules in
1700 * This symbol contains the ~name expanded version of SITEARCH, to be used
1701 * in programs that are not prepared to deal with ~ expansion at run-time.
1703 #define SITEARCH "$sitearch" /**/
1704 #define SITEARCH_EXP "$sitearchexp" /**/
1707 * This symbol contains the name of the private library for this package.
1708 * The library is private in the sense that it needn't be in anyone's
1709 * execution path, but it should be accessible by the world. The program
1710 * should be prepared to do ~ expansion.
1711 * The standard distribution will put nothing in this directory.
1712 * Individual sites may place their own extensions and modules in
1716 * This symbol contains the ~name expanded version of SITELIB, to be used
1717 * in programs that are not prepared to deal with ~ expansion at run-time.
1719 #define SITELIB "$sitelib" /**/
1720 #define SITELIB_EXP "$sitelibexp" /**/
1722 /* DLSYM_NEEDS_UNDERSCORE:
1723 * This symbol, if defined, indicates that we need to prepend an
1724 * underscore to the symbol name before calling dlsym(). This only
1725 * makes sense if you *have* dlsym, which we will presume is the
1726 * case if you're using dl_dlopen.xs.
1728 #$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
1731 * This symbol, if defined, indicates that sfio should
1734 #$d_sfio USE_SFIO /**/
1736 /* USE_DYNAMIC_LOADING:
1737 * This symbol, if defined, indicates that dynamic loading of
1738 * some sort is available.
1740 #$usedl USE_DYNAMIC_LOADING /**/
1743 * This symbol contains the type of the prefix structure element
1744 * in the <db.h> header file. In older versions of DB, it was
1745 * int, while in newer ones it is u_int32_t.
1748 * This symbol contains the type of the prefix structure element
1749 * in the <db.h> header file. In older versions of DB, it was
1750 * int, while in newer ones it is size_t.
1752 #define DB_Hash_t $db_hashtype /**/
1753 #define DB_Prefix_t $db_prefixtype /**/
1756 * This variable contains the string to put in front of a perl
1757 * script to make sure (one hopes) that it runs with perl and not
1760 #define STARTPERL "$startperl" /**/
1763 * This symbol, if defined, indicates that the PerlIO abstraction should
1764 * be used throughout. If not defined, stdio should be
1765 * used in a fully backward compatible manner.
1767 #$useperlio USE_PERLIO /**/
1770 * This symbol holds the type used for the 1st argument
1771 * to gethostbyaddr().
1774 * This symbol holds the type used for the 2nd argument
1775 * to gethostbyaddr().
1778 * This symbol holds the type used for the argument to
1782 * This symbol holds the type used for the 1st argument to
1785 #define Netdb_host_t $netdb_host_type /**/
1786 #define Netdb_hlen_t $netdb_hlen_type /**/
1787 #define Netdb_name_t $netdb_name_type /**/
1788 #define Netdb_net_t $netdb_net_type /**/
1791 * This symbol holds the type used for the 2nd, 3rd, and 4th
1792 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1793 * is defined, and 'int *' otherwise. This is only useful if you
1794 * have select(), of course.
1796 #define Select_fd_set_t $selecttype /**/
1799 * This symbol holds a string representing the architecture name.
1800 * It may be used to construct an architecture-dependant pathname
1801 * where library files may be held under a private library, for
1804 #define ARCHNAME "$archname" /**/
1806 /* HAS_PTHREAD_YIELD:
1807 * This symbol, if defined, indicates that the pthread_yield
1808 * routine is available to yield the execution of the current
1811 #$d_pthread_yield HAS_PTHREAD_YIELD /**/
1813 /* PTHREADS_CREATED_JOINABLE:
1814 * This symbol, if defined, indicates that pthreads are created
1815 * in the joinable (aka undetached) state.
1817 #$d_pthreads_created_joinable PTHREADS_CREATED_JOINABLE /**/
1820 * This symbol, if defined, indicates that Perl should
1821 * be built to use threads.
1823 #$usethreads USE_THREADS /**/