1 This file contains a description of all the shell variables whose value is
2 determined by the Configure script. Variables intended for use in C
3 programs (e.g. I_UNISTD) are already described in config_h.SH.
6 This variable defines the extension used for ordinary libraries.
7 For unix, it is '.a'. The '.' is included. Other possible
11 This variable defines the extension used for executable files.
12 For unix it is empty. Other possible values include '.exe'.
15 This variable defines the extension used for object files.
16 For unix, it is '.o'. The '.' is included. Other possible
17 values include '.obj'.
20 This variable is set to 'true' if AFS (Andrew File System) is used
21 on the system, 'false' otherwise. It is possible to override this
22 with a hint value or command line option, but you'd better know
25 alignbytes (alignbytes.U):
26 This variable holds the number of bytes required to align a
27 double. Usual values are 2, 4 and 8.
29 aphostname (d_gethname.U):
30 Thie variable contains the command which can be used to compute the
31 host name. The command is fully qualified by its absolute path, to make
32 it safe when used by a process with super-user privileges.
35 This variable holds the name of the directory in which the user wants
36 to put architecture-dependent public library files for $package.
37 It is most often a local directory such as /usr/local/lib.
38 Programs using this variable must be prepared to deal
39 with filename expansion.
41 archlibexp (archlib.U):
42 This variable is the same as the archlib variable, but is
43 filename expanded at configuration time, for convenient use.
45 archname (archname.U):
46 This variable is a short name to characterize the current
47 architecture. It is used mainly to construct the default archlib.
50 This variable defines any additional objects that must be linked
51 in with the program on this architecture. On unix, it is usually
52 empty. It is typically used to include emulations of unix calls
53 or other facilities. For perl on OS/2, for example, this would
57 The base revision level of this package, from the .package file.
60 This variable holds the name of the directory in which the user wants
61 to put publicly executable images for the package in question. It
62 is most often a local directory such as /usr/local/bin. Programs using
63 this variable must be prepared to deal with ~name substitution.
65 bincompat3 (bincompat3.U):
66 This variable contains y if Perl 5.004 should be binary-compatible
70 This is the same as the bin variable, but is filename expanded at
71 configuration time, for use in your makefiles.
73 byteorder (byteorder.U):
74 This variable holds the byte order. In the following, larger digits
75 indicate more significance. The variable byteorder is either 4321
76 on a big-endian machine, or 1234 on a little-endian, or 87654321
77 on a Cray ... or 3412 with weird order !
80 This variable contains the \c string if that is what causes the echo
81 command to suppress newline. Otherwise it is null. Correct usage is
82 $echo $n "prompt for a question: $c".
84 castflags (d_castneg.U):
85 This variable contains a flag that precise difficulties the
86 compiler has casting odd floating values to unsigned long:
89 2 = couldn't cast >= 0x80000000
90 4 = couldn't cast in argument expression list
93 This variable holds the name of a command to execute a C compiler which
94 can resolve multiple global references that happen to have the same
95 name. Usual values are "cc", "Mcc", "cc -M", and "gcc".
98 This variable contains any special flags that might need to be
99 passed with cc -c to compile modules to be used to create a shared
100 library that will be used for dynamic loading. For hpux, this
101 should be +z. It is up to the makefile to use it.
104 This variable contains any special flags that might need to be
105 passed to cc to link with a shared library for dynamic loading.
106 It is up to the makefile to use it. For sunos 4.1, it should
110 This variable contains any additional C compiler flags desired by
111 the user. It is up to the Makefile to use this.
114 Login name of the person who ran the Configure script and answered the
115 questions. This is used to tag both config.sh and config_h.SH.
117 cf_email (cf_email.U):
118 Electronic mail address of the person who ran Configure. This can be
119 used by units that require the user's e-mail, like MailList.U.
122 Holds the output of the "date" command when the configuration file was
123 produced. This is used to tag both config.sh and config_h.SH.
125 clocktype (d_times.U):
126 This variable holds the type returned by times(). It can be long,
127 or clock_t on BSD sites (in which case <sys/types.h> should be
130 contains (contains.U):
131 This variable holds the command to do a grep with a proper return
132 status. On most sane systems it is simply "grep". On insane systems
133 it is a grep followed by a cat followed by a test. This variable
134 is primarily for the use of other Configure units.
136 cpp_stuff (cpp_stuff.U):
137 This variable contains an identification of the catenation mechanism
138 used by the C preprocessor.
140 cppflags (ccflags.U):
141 This variable holds the flags that will be passed to the C pre-
142 processor. It is up to the Makefile to use it.
144 cpplast (cppstdin.U):
145 This variable has the same functionality as cppminus, only it applies to
146 cpprun and not cppstdin.
148 cppminus (cppstdin.U):
149 This variable contains the second part of the string which will invoke
150 the C preprocessor on the standard input and produce to standard
151 output. This variable will have the value "-" if cppstdin needs a minus
152 to specify standard input, otherwise the value is "".
155 This variable contains the command which will invoke a C preprocessor
156 on standard input and put the output to stdout. It is guaranteed not
157 to be a wrapper and may be a null string if no preprocessor can be
158 made directly available. This preprocessor might be different from the
159 one used by the C compiler. Don't forget to append cpplast after the
160 preprocessor options.
162 cppstdin (cppstdin.U):
163 This variable contains the command which will invoke the C
164 preprocessor on standard input and put the output to stdout.
165 It is primarily used by other Configure units that ask about
166 preprocessor symbols.
168 cryptlib (d_crypt.U):
169 This variable holds -lcrypt or the path to a libcrypt.a archive if
170 the crypt() function is not defined in the standard C library. It is
171 up to the Makefile to use this.
173 d_Gconvert (d_gconvert.U):
174 This variable holds what Gconvert is defined as to convert
175 floating point numbers into strings. It could be 'gconvert'
176 or a more complex macro emulating gconvert with gcvt() or sprintf.
178 d_access (d_access.U):
179 This variable conditionally defines HAS_ACCESS if the access() system
180 call is available to check for access permissions using real IDs.
183 This variable conditionally defines the HAS_ALARM symbol, which
184 indicates to the C program that the alarm() routine is available.
186 d_archlib (archlib.U):
187 This variable conditionally defines ARCHLIB to hold the pathname
188 of architecture-dependent library files for $package. If
189 $archlib is the same as $privlib, then this is set to undef.
192 This variable conditionally defines the HAS_BCMP symbol if
193 the bcmp() routine is available to compare strings.
196 This variable conditionally defines the HAS_BCOPY symbol if
197 the bcopy() routine is available to copy strings.
199 d_bincompat3 (bincompat3.U):
200 This variable conditionally defines BINCOMPAT3 so that embed.h
201 can take special action if Perl 5.004 should be binary-compatible
202 with Perl 5.003. This is impossible for 5.004_50 and later, so
203 it is always $undef for those versions.
206 This symbol conditionally defines the symbol BSD when running on a
209 d_bsdgetpgrp (d_getpgrp.U):
210 This variable conditionally defines USE_BSD_GETPGRP if
211 getpgrp needs one arguments whereas USG one needs none.
214 This variable conditionally defines the HAS_BZERO symbol if
215 the bzero() routine is available to set memory to 0.
217 d_casti32 (d_casti32.U):
218 This variable conditionally defines CASTI32, which indicates
219 whether the C compiler can cast large floats to 32-bit ints.
221 d_castneg (d_castneg.U):
222 This variable conditionally defines CASTNEG, which indicates
223 wether the C compiler can cast negative float to unsigned.
225 d_charvspr (d_vprintf.U):
226 This variable conditionally defines CHARVSPRINTF if this system
227 has vsprintf returning type (char*). The trend seems to be to
228 declare it as "int vsprintf()".
231 This variable conditionally defines the HAS_CHOWN symbol, which
232 indicates to the C program that the chown() routine is available.
234 d_chroot (d_chroot.U):
235 This variable conditionally defines the HAS_CHROOT symbol, which
236 indicates to the C program that the chroot() routine is available.
238 d_chsize (d_chsize.U):
239 This variable conditionally defines the CHSIZE symbol, which
240 indicates to the C program that the chsize() routine is available
241 to truncate files. You might need a -lx to get this routine.
243 d_closedir (d_closedir.U):
244 This variable conditionally defines HAS_CLOSEDIR if closedir() is
248 This variable conditionally defines the HASCONST symbol, which
249 indicates to the C program that this C compiler knows about the
253 This variable conditionally defines the CRYPT symbol, which
254 indicates to the C program that the crypt() routine is available
255 to encrypt passwords and the like.
258 This variable conditionally defines the CSH symbol, which
259 indicates to the C program that the C-shell exists.
261 d_cuserid (d_cuserid.U):
262 This variable conditionally defines the HAS_CUSERID symbol, which
263 indicates to the C program that the cuserid() routine is available
264 to get character login names.
266 d_dbl_dig (d_dbl_dig.U):
267 This variable conditionally defines d_dbl_dig if this system's
268 header files provide DBL_DIG, which is the number of significant
269 digits in a double precision number.
271 d_difftime (d_difftime.U):
272 This variable conditionally defines the HAS_DIFFTIME symbol, which
273 indicates to the C program that the difftime() routine is available.
275 d_dirnamlen (i_dirent.U):
276 This variable conditionally defines DIRNAMLEN, which indicates
277 to the C program that the length of directory entry names is
278 provided by a d_namelen field.
280 d_dlerror (d_dlerror.U):
281 This variable conditionally defines the HAS_DLERROR symbol, which
282 indicates to the C program that the dlerror() routine is available.
284 d_dlopen (d_dlopen.U):
285 This variable conditionally defines the HAS_DLOPEN symbol, which
286 indicates to the C program that the dlopen() routine is available.
288 d_dlsymun (d_dlsymun.U):
289 This variable conditionally defines DLSYM_NEEDS_UNDERSCORE, which
290 indicates that we need to prepend an underscore to the symbol
291 name before calling dlsym().
293 d_dosuid (d_dosuid.U):
294 This variable conditionally defines the symbol DOSUID, which
295 tells the C program that it should insert setuid emulation code
296 on hosts which have setuid #! scripts disabled.
299 This variable conditionally defines HAS_DUP2 if dup2() is
300 available to duplicate file descriptors.
302 d_eofnblk (nblock_io.U):
303 This variable conditionally defines EOF_NONBLOCK if EOF can be seen
304 when reading from a non-blocking I/O source.
307 This variable conditionally defines the symbols EUNICE and VAX, which
308 alerts the C program that it must deal with ideosyncracies of VMS.
310 d_fchmod (d_fchmod.U):
311 This variable conditionally defines the HAS_FCHMOD symbol, which
312 indicates to the C program that the fchmod() routine is available
313 to change mode of opened files.
315 d_fchown (d_fchown.U):
316 This variable conditionally defines the HAS_FCHOWN symbol, which
317 indicates to the C program that the fchown() routine is available
318 to change ownership of opened files.
321 This variable conditionally defines the HAS_FCNTL symbol, and indicates
322 whether the fcntl() function exists
324 d_fd_macros (d_fd_set.U):
325 This variable contains the eventual value of the HAS_FD_MACROS symbol,
326 which indicates if your C compiler knows about the macros which
327 manipulate an fd_set.
329 d_fd_set (d_fd_set.U):
330 This variable contains the eventual value of the HAS_FD_SET symbol,
331 which indicates if your C compiler knows about the fd_set typedef.
333 d_fds_bits (d_fd_set.U):
334 This variable contains the eventual value of the HAS_FDS_BITS symbol,
335 which indicates if your fd_set typedef contains the fds_bits member.
336 If you have an fd_set typedef, but the dweebs who installed it did
337 a half-fast job and neglected to provide the macros to manipulate
338 an fd_set, HAS_FDS_BITS will let us know how to fix the gaffe.
340 d_fgetpos (d_fgetpos.U):
341 This variable conditionally defines HAS_FGETPOS if fgetpos() is
342 available to get the file position indicator.
344 d_flexfnam (d_flexfnam.U):
345 This variable conditionally defines the FLEXFILENAMES symbol, which
346 indicates that the system supports filenames longer than 14 characters.
349 This variable conditionally defines HAS_FLOCK if flock() is
350 available to do file locking.
353 This variable conditionally defines the HAS_FORK symbol, which
354 indicates to the C program that the fork() routine is available.
356 d_fpathconf (d_pathconf.U):
357 This variable conditionally defines the HAS_FPATHCONF symbol, which
358 indicates to the C program that the pathconf() routine is available
359 to determine file-system related limits and options associated
360 with a given open file descriptor.
362 d_fsetpos (d_fsetpos.U):
363 This variable conditionally defines HAS_FSETPOS if fsetpos() is
364 available to set the file position indicator.
367 This variable conditionally defines the HAS_FTIME symbol, which indicates
368 that the ftime() routine exists. The ftime() routine is basically
369 a sub-second accuracy clock.
371 d_getgrps (d_getgrps.U):
372 This variable conditionally defines the HAS_GETGROUPS symbol, which
373 indicates to the C program that the getgroups() routine is available
374 to get the list of process groups.
376 d_gethbyaddr (d_gethbyad.U):
377 This variable conditionally defines the HAS_GETHOSTBYADDR symbol, which
378 indicates to the C program that the gethostbyaddr() routine is available
379 to look up hosts by their IP addresses.
381 d_gethent (d_gethent.U):
382 This variable conditionally defines HAS_GETHOSTENT if gethostent() is
383 available to dup file descriptors.
385 d_gethname (d_gethname.U):
386 This variable conditionally defines the HAS_GETHOSTNAME symbol, which
387 indicates to the C program that the gethostname() routine may be
388 used to derive the host name.
390 d_getlogin (d_getlogin.U):
391 This variable conditionally defines the HAS_GETLOGIN symbol, which
392 indicates to the C program that the getlogin() routine is available
393 to get the login name.
395 d_getnbyaddr (d_getnbyad.U):
396 This variable conditionally defines the HAS_GETNETBYADDR symbol, which
397 indicates to the C program that the getnetbyaddr() routine is available
398 to look up networks by their IP addresses.
400 d_getpgid (d_getpgid.U):
401 This variable conditionally defines the HAS_GETPGID symbol, which
402 indicates to the C program that the getpgid(pid) function
403 is available to get the process group id.
405 d_getpgrp2 (d_getpgrp2.U):
406 This variable conditionally defines the HAS_GETPGRP2 symbol, which
407 indicates to the C program that the getpgrp2() (as in DG/UX) routine
408 is available to get the current process group.
410 d_getpgrp (d_getpgrp.U):
411 This variable conditionally defines HAS_GETPGRP if getpgrp() is
412 available to get the current process group.
414 d_getppid (d_getppid.U):
415 This variable conditionally defines the HAS_GETPPID symbol, which
416 indicates to the C program that the getppid() routine is available
417 to get the parent process ID.
419 d_getprior (d_getprior.U):
420 This variable conditionally defines HAS_GETPRIORITY if getpriority()
421 is available to get a process's priority.
423 d_gettimeod (d_ftime.U):
424 This variable conditionally defines the HAS_GETTIMEOFDAY symbol, which
425 indicates that the gettimeofday() system call exists (to obtain a
426 sub-second accuracy clock). You should probably include <sys/resource.h>.
428 d_gnulibc (d_gnulibc.U):
429 Defined if we're dealing with the GNU C Library.
432 This variable conditionally defines HAS_HTONL if htonl() and its
433 friends are available to do network order byte swapping.
435 d_index (d_strchr.U):
436 This variable conditionally defines HAS_INDEX if index() and
437 rindex() are available for string searching.
439 d_inetaton (d_inetaton.U):
440 This variable conditionally defines the HAS_INET_ATON symbol, which
441 indicates to the C program that the inet_aton() function is available
442 to parse IP address "dotted-quad" strings.
444 d_isascii (d_isascii.U):
445 This variable conditionally defines the HAS_ISASCII constant,
446 which indicates to the C program that isascii() is available.
448 d_killpg (d_killpg.U):
449 This variable conditionally defines the HAS_KILLPG symbol, which
450 indicates to the C program that the killpg() routine is available
451 to kill process groups.
454 This variable conditionally defines HAS_LINK if link() is
455 available to create hard links.
457 d_locconv (d_locconv.U):
458 This variable conditionally defines HAS_LOCALECONV if localeconv() is
459 available for numeric and monetary formatting conventions.
462 This variable conditionally defines HAS_LOCKF if lockf() is
463 available to do file locking.
466 This variable conditionally defines HAS_LSTAT if lstat() is
467 available to do file stats on symbolic links.
470 This variable conditionally defines the HAS_MBLEN symbol, which
471 indicates to the C program that the mblen() routine is available
472 to find the number of bytes in a multibye character.
474 d_mbstowcs (d_mbstowcs.U):
475 This variable conditionally defines the HAS_MBSTOWCS symbol, which
476 indicates to the C program that the mbstowcs() routine is available
477 to convert a multibyte string into a wide character string.
479 d_mbtowc (d_mbtowc.U):
480 This variable conditionally defines the HAS_MBTOWC symbol, which
481 indicates to the C program that the mbtowc() routine is available
482 to convert multibyte to a wide character.
484 d_memcmp (d_memcmp.U):
485 This variable conditionally defines the HAS_MEMCMP symbol, which
486 indicates to the C program that the memcmp() routine is available
487 to compare blocks of memory.
489 d_memcpy (d_memcpy.U):
490 This variable conditionally defines the HAS_MEMCPY symbol, which
491 indicates to the C program that the memcpy() routine is available
492 to copy blocks of memory.
494 d_memmove (d_memmove.U):
495 This variable conditionally defines the HAS_MEMMOVE symbol, which
496 indicates to the C program that the memmove() routine is available
497 to copy potentatially overlapping blocks of memory.
499 d_memset (d_memset.U):
500 This variable conditionally defines the HAS_MEMSET symbol, which
501 indicates to the C program that the memset() routine is available
502 to set blocks of memory.
505 This variable conditionally defines the HAS_MKDIR symbol, which
506 indicates to the C program that the mkdir() routine is available
507 to create directories..
509 d_mkfifo (d_mkfifo.U):
510 This variable conditionally defines the HAS_MKFIFO symbol, which
511 indicates to the C program that the mkfifo() routine is available.
513 d_mktime (d_mktime.U):
514 This variable conditionally defines the HAS_MKTIME symbol, which
515 indicates to the C program that the mktime() routine is available.
518 This variable conditionally defines the HAS_MSG symbol, which
519 indicates that the entire msg*(2) library is present.
521 d_msgctl (d_msgctl.U):
522 This variable conditionally defines the HAS_MSGCTL symbol, which
523 indicates to the C program that the msgctl() routine is available.
525 d_msgget (d_msgget.U):
526 This variable conditionally defines the HAS_MSGGET symbol, which
527 indicates to the C program that the msgget() routine is available.
529 d_msgrcv (d_msgrcv.U):
530 This variable conditionally defines the HAS_MSGRCV symbol, which
531 indicates to the C program that the msgrcv() routine is available.
533 d_msgsnd (d_msgsnd.U):
534 This variable conditionally defines the HAS_MSGSND symbol, which
535 indicates to the C program that the msgsnd() routine is available.
537 d_mymalloc (mallocsrc.U):
538 This variable conditionally defines MYMALLOC in case other parts
539 of the source want to take special action if MYMALLOC is used.
540 This may include different sorts of profiling or error detection.
543 This variable conditionally defines the HAS_NICE symbol, which
544 indicates to the C program that the nice() routine is available.
546 d_oldsock (d_socket.U):
547 This variable conditionally defines the OLDSOCKET symbol, which
548 indicates that the BSD socket interface is based on 4.1c and not 4.2.
551 This variable conditionally defines the HAS_OPEN3 manifest constant,
552 which indicates to the C program that the 3 argument version of
553 the open(2) function is available.
555 d_pathconf (d_pathconf.U):
556 This variable conditionally defines the HAS_PATHCONF symbol, which
557 indicates to the C program that the pathconf() routine is available
558 to determine file-system related limits and options associated
559 with a given filename.
562 This variable conditionally defines the HAS_PAUSE symbol, which
563 indicates to the C program that the pause() routine is available
564 to suspend a process until a signal is received.
566 d_phostname (d_gethname.U):
567 This variable conditionally defines the PHOSTNAME symbol, which
568 contains the shell command which, when fed to popen(), may be
569 used to derive the host name.
572 This variable conditionally defines the HAS_PIPE symbol, which
573 indicates to the C program that the pipe() routine is available
574 to create an inter-process channel.
577 This variable conditionally defines the HAS_POLL symbol, which
578 indicates to the C program that the poll() routine is available
579 to poll active file descriptors.
581 d_portable (d_portable.U):
582 This variable conditionally defines the PORTABLE symbol, which
583 indicates to the C program that it should not assume that it is
584 running on the machine it was compiled on.
586 d_pthread_yield (d_pthread_y.U):
587 This variable conditionally defines the HAS_PTHREAD_YIELD
588 symbol if the pthread_yield routine is available to yield
589 the execution of the current thread.
591 d_pthreads_created_joinable (d_pthreadj.U):
592 This variable conditionally defines the PTHREADS_CREATED_JOINABLE
593 symbol if pthreads are created in the joinable (aka undetached)
597 This varaible conditionally defines PWAGE, which indicates
598 that struct passwd contains pw_age.
600 d_pwchange (i_pwd.U):
601 This varaible conditionally defines PWCHANGE, which indicates
602 that struct passwd contains pw_change.
605 This varaible conditionally defines PWCLASS, which indicates
606 that struct passwd contains pw_class.
608 d_pwcomment (i_pwd.U):
609 This varaible conditionally defines PWCOMMENT, which indicates
610 that struct passwd contains pw_comment.
612 d_pwexpire (i_pwd.U):
613 This varaible conditionally defines PWEXPIRE, which indicates
614 that struct passwd contains pw_expire.
617 This varaible conditionally defines PWQUOTA, which indicates
618 that struct passwd contains pw_quota.
620 d_readdir (d_readdir.U):
621 This variable conditionally defines HAS_READDIR if readdir() is
622 available to read directory entries.
624 d_readlink (d_readlink.U):
625 This variable conditionally defines the HAS_READLINK symbol, which
626 indicates to the C program that the readlink() routine is available
627 to read the value of a symbolic link.
629 d_rename (d_rename.U):
630 This variable conditionally defines the HAS_RENAME symbol, which
631 indicates to the C program that the rename() routine is available
634 d_rewinddir (d_readdir.U):
635 This variable conditionally defines HAS_REWINDDIR if rewinddir() is
639 This variable conditionally defines HAS_RMDIR if rmdir() is
640 available to remove directories.
642 d_safebcpy (d_safebcpy.U):
643 This variable conditionally defines the HAS_SAFE_BCOPY symbol if
644 the bcopy() routine can do overlapping copies.
646 d_safemcpy (d_safemcpy.U):
647 This variable conditionally defines the HAS_SAFE_MEMCPY symbol if
648 the memcpy() routine can do overlapping copies.
650 d_sanemcmp (d_sanemcmp.U):
651 This variable conditionally defines the HAS_SANE_MEMCMP symbol if
652 the memcpy() routine is available and can be used to compare relative
653 magnitudes of chars with their high bits set.
655 d_sched_yield (d_pthread_y.U):
656 This variable conditionally defines the HAS_SCHED_YIELD
657 symbol if the sched_yield routine is available to yield
658 the execution of the current thread.
660 d_seekdir (d_readdir.U):
661 This variable conditionally defines HAS_SEEKDIR if seekdir() is
664 d_select (d_select.U):
665 This variable conditionally defines HAS_SELECT if select() is
666 available to select active file descriptors. A <sys/time.h>
667 inclusion may be necessary for the timeout field.
670 This variable conditionally defines the HAS_SEM symbol, which
671 indicates that the entire sem*(2) library is present.
673 d_semctl (d_semctl.U):
674 This variable conditionally defines the HAS_SEMCTL symbol, which
675 indicates to the C program that the semctl() routine is available.
677 d_semget (d_semget.U):
678 This variable conditionally defines the HAS_SEMGET symbol, which
679 indicates to the C program that the semget() routine is available.
682 This variable conditionally defines the HAS_SEMOP symbol, which
683 indicates to the C program that the semop() routine is available.
685 d_setegid (d_setegid.U):
686 This variable conditionally defines the HAS_SETEGID symbol, which
687 indicates to the C program that the setegid() routine is available
688 to change the effective gid of the current program.
690 d_seteuid (d_seteuid.U):
691 This variable conditionally defines the HAS_SETEUID symbol, which
692 indicates to the C program that the seteuid() routine is available
693 to change the effective uid of the current program.
695 d_setgrps (d_setgrps.U):
696 This variable conditionally defines the HAS_SETGROUPS symbol, which
697 indicates to the C program that the setgroups() routine is available
698 to set the list of process groups.
700 d_setlinebuf (d_setlnbuf.U):
701 This variable conditionally defines the HAS_SETLINEBUF symbol, which
702 indicates to the C program that the setlinebuf() routine is available
703 to change stderr or stdout from block-buffered or unbuffered to a
706 d_setlocale (d_setlocale.U):
707 This variable conditionally defines HAS_SETLOCALE if setlocale() is
708 available to handle locale-specific ctype implementations.
710 d_setpgid (d_setpgid.U):
711 This variable conditionally defines the HAS_SETPGID symbol if the
712 setpgid(pid, gpid) function is available to set process group ID.
714 d_setpgrp2 (d_setpgrp2.U):
715 This variable conditionally defines the HAS_SETPGRP2 symbol, which
716 indicates to the C program that the setpgrp2() (as in DG/UX) routine
717 is available to set the current process group.
719 d_setpgrp (d_setpgrp.U):
720 This variable conditionally defines HAS_SETPGRP if setpgrp() is
721 available to set the current process group.
723 d_setprior (d_setprior.U):
724 This variable conditionally defines HAS_SETPRIORITY if setpriority()
725 is available to set a process's priority.
727 d_setregid (d_setregid.U):
728 This variable conditionally defines HAS_SETREGID if setregid() is
729 available to change the real and effective gid of the current
732 d_setresgid (d_setregid.U):
733 This variable conditionally defines HAS_SETRESGID if setresgid() is
734 available to change the real, effective and saved gid of the current
737 d_setresuid (d_setreuid.U):
738 This variable conditionally defines HAS_SETREUID if setresuid() is
739 available to change the real, effective and saved uid of the current
742 d_setreuid (d_setreuid.U):
743 This variable conditionally defines HAS_SETREUID if setreuid() is
744 available to change the real and effective uid of the current
747 d_setrgid (d_setrgid.U):
748 This variable conditionally defines the HAS_SETRGID symbol, which
749 indicates to the C program that the setrgid() routine is available
750 to change the real gid of the current program.
752 d_setruid (d_setruid.U):
753 This variable conditionally defines the HAS_SETRUID symbol, which
754 indicates to the C program that the setruid() routine is available
755 to change the real uid of the current program.
757 d_setsid (d_setsid.U):
758 This variable conditionally defines HAS_SETSID if setsid() is
759 available to set the process group ID.
762 This variable conditionally defines the USE_SFIO symbol,
763 and indicates whether sfio is available (and should be used).
766 This variable conditionally defines the HAS_SHM symbol, which
767 indicates that the entire shm*(2) library is present.
770 This variable conditionally defines the HAS_SHMAT symbol, which
771 indicates to the C program that the shmat() routine is available.
773 d_shmatprototype (d_shmat.U):
774 This variable conditionally defines the HAS_SHMAT_PROTOTYPE
775 symbol, which indicates that sys/shm.h has a prototype for
778 d_shmctl (d_shmctl.U):
779 This variable conditionally defines the HAS_SHMCTL symbol, which
780 indicates to the C program that the shmctl() routine is available.
783 This variable conditionally defines the HAS_SHMDT symbol, which
784 indicates to the C program that the shmdt() routine is available.
786 d_shmget (d_shmget.U):
787 This variable conditionally defines the HAS_SHMGET symbol, which
788 indicates to the C program that the shmget() routine is available.
790 d_sigaction (d_sigaction.U):
791 This variable conditionally defines the HAS_SIGACTION symbol, which
792 indicates that the Vr4 sigaction() routine is available.
794 d_sigsetjmp (d_sigsetjmp.U):
795 This variable conditionally defines the HAS_SIGSETJMP symbol,
796 which indicates that the sigsetjmp() routine is available to
797 call setjmp() and optionally save the process's signal mask.
799 d_socket (d_socket.U):
800 This variable conditionally defines HAS_SOCKET, which indicates
801 that the BSD socket interface is supported.
803 d_sockpair (d_socket.U):
804 This variable conditionally defines the HAS_SOCKETPAIR symbol, which
805 indicates that the BSD socketpair() is supported.
807 d_statblks (d_statblks.U):
808 This variable conditionally defines USE_STAT_BLOCKS if this system
809 has a stat structure declaring st_blksize and st_blocks.
811 d_stdio_cnt_lval (d_stdstdio.U):
812 This variable conditionally defines STDIO_CNT_LVALUE if the
813 FILE_cnt macro can be used as an lvalue.
815 d_stdio_ptr_lval (d_stdstdio.U):
816 This variable conditionally defines STDIO_PTR_LVALUE if the
817 FILE_ptr macro can be used as an lvalue.
819 d_stdiobase (d_stdstdio.U):
820 This variable conditionally defines USE_STDIO_BASE if this system
821 has a FILE structure declaring a usable _base field (or equivalent)
824 d_stdstdio (d_stdstdio.U):
825 This variable conditionally defines USE_STDIO_PTR if this system
826 has a FILE structure declaring usable _ptr and _cnt fields (or
827 equivalent) in stdio.h.
829 d_strchr (d_strchr.U):
830 This variable conditionally defines HAS_STRCHR if strchr() and
831 strrchr() are available for string searching.
833 d_strcoll (d_strcoll.U):
834 This variable conditionally defines HAS_STRCOLL if strcoll() is
835 available to compare strings using collating information.
837 d_strctcpy (d_strctcpy.U):
838 This variable conditionally defines the USE_STRUCT_COPY symbol, which
839 indicates to the C program that this C compiler knows how to copy
842 d_strerrm (d_strerror.U):
843 This variable holds what Strerrr is defined as to translate an error
844 code condition into an error message string. It could be 'strerror'
845 or a more complex macro emulating strrror with sys_errlist[], or the
846 "unknown" string when both strerror and sys_errlist are missing.
848 d_strerror (d_strerror.U):
849 This variable conditionally defines HAS_STRERROR if strerror() is
850 available to translate error numbers to strings.
852 d_strtod (d_strtod.U):
853 This variable conditionally defines the HAS_STRTOD symbol, which
854 indicates to the C program that the strtod() routine is available
855 to provide better numeric string conversion than atof().
857 d_strtol (d_strtol.U):
858 This variable conditionally defines the HAS_STRTOL symbol, which
859 indicates to the C program that the strtol() routine is available
860 to provide better numeric string conversion than atoi() and friends.
862 d_strtoul (d_strtoul.U):
863 This variable conditionally defines the HAS_STRTOUL symbol, which
864 indicates to the C program that the strtoul() routine is available
865 to provide conversion of strings to unsigned long.
867 d_strxfrm (d_strxfrm.U):
868 This variable conditionally defines HAS_STRXFRM if strxfrm() is
869 available to transform strings.
871 d_suidsafe (d_dosuid.U):
872 This variable conditionally defines SETUID_SCRIPTS_ARE_SECURE_NOW
873 if setuid scripts can be secure. This test looks in /dev/fd/.
875 d_symlink (d_symlink.U):
876 This variable conditionally defines the HAS_SYMLINK symbol, which
877 indicates to the C program that the symlink() routine is available
878 to create symbolic links.
880 d_syscall (d_syscall.U):
881 This variable conditionally defines HAS_SYSCALL if syscall() is
882 available call arbitrary system calls.
884 d_sysconf (d_sysconf.U):
885 This variable conditionally defines the HAS_SYSCONF symbol, which
886 indicates to the C program that the sysconf() routine is available
887 to determine system related limits and options.
889 d_sysernlst (d_strerror.U):
890 This variable conditionally defines HAS_SYS_ERRNOLIST if sys_errnolist[]
891 is available to translate error numbers to the symbolic name.
893 d_syserrlst (d_strerror.U):
894 This variable conditionally defines HAS_SYS_ERRLIST if sys_errlist[] is
895 available to translate error numbers to strings.
897 d_system (d_system.U):
898 This variable conditionally defines HAS_SYSTEM if system() is
899 available to issue a shell command.
901 d_tcgetpgrp (d_tcgtpgrp.U):
902 This variable conditionally defines the HAS_TCGETPGRP symbol, which
903 indicates to the C program that the tcgetpgrp() routine is available.
904 to get foreground process group ID.
906 d_tcsetpgrp (d_tcstpgrp.U):
907 This variable conditionally defines the HAS_TCSETPGRP symbol, which
908 indicates to the C program that the tcsetpgrp() routine is available
909 to set foreground process group ID.
911 d_telldir (d_readdir.U):
912 This variable conditionally defines HAS_TELLDIR if telldir() is
916 This variable conditionally defines the HAS_TIME symbol, which indicates
917 that the time() routine exists. The time() routine is normaly
918 provided on UNIX systems.
921 This variable conditionally defines the HAS_TIMES symbol, which indicates
922 that the times() routine exists. The times() routine is normaly
923 provided on UNIX systems. You may have to include <sys/times.h>.
925 d_truncate (d_truncate.U):
926 This variable conditionally defines HAS_TRUNCATE if truncate() is
927 available to truncate files.
929 d_tzname (d_tzname.U):
930 This variable conditionally defines HAS_TZNAME if tzname[] is
931 available to access timezone names.
934 This variable conditionally defines the HAS_UMASK symbol, which
935 indicates to the C program that the umask() routine is available.
936 to set and get the value of the file creation mask.
938 d_uname (d_gethname.U):
939 This variable conditionally defines the HAS_UNAME symbol, which
940 indicates to the C program that the uname() routine may be
941 used to derive the host name.
944 This variable conditionally defines the HAS_VFORK symbol, which
945 indicates the vfork() routine is available.
947 d_void_closedir (d_closedir.U):
948 This variable conditionally defines VOID_CLOSEDIR if closedir()
949 does not return a value.
951 d_voidsig (d_voidsig.U):
952 This variable conditionally defines VOIDSIG if this system
953 declares "void (*signal(...))()" in signal.h. The old way was to
954 declare it as "int (*signal(...))()".
956 d_voidtty (i_sysioctl.U):
957 This variable conditionally defines USE_IOCNOTTY to indicate that the
958 ioctl() call with TIOCNOTTY should be used to void tty association.
959 Otherwise (on USG probably), it is enough to close the standard file
960 decriptors and do a setpgrp().
962 d_volatile (d_volatile.U):
963 This variable conditionally defines the HASVOLATILE symbol, which
964 indicates to the C program that this C compiler knows about the
965 volatile declaration.
967 d_vprintf (d_vprintf.U):
968 This variable conditionally defines the HAS_VPRINTF symbol, which
969 indicates to the C program that the vprintf() routine is available
970 to printf with a pointer to an argument list.
973 This variable conditionally defines the HAS_WAIT4 symbol, which
974 indicates the wait4() routine is available.
976 d_waitpid (d_waitpid.U):
977 This variable conditionally defines HAS_WAITPID if waitpid() is
978 available to wait for child process.
980 d_wcstombs (d_wcstombs.U):
981 This variable conditionally defines the HAS_WCSTOMBS symbol, which
982 indicates to the C program that the wcstombs() routine is available
983 to convert wide character strings to multibyte strings.
985 d_wctomb (d_wctomb.U):
986 This variable conditionally defines the HAS_WCTOMB symbol, which
987 indicates to the C program that the wctomb() routine is available
988 to convert a wide character to a multibyte.
991 This variable conditionally defines the symbol XENIX, which alerts
992 the C program that it runs under Xenix.
994 db_hashtype (i_db.U):
995 This variable contains the type of the hash structure element
996 in the <db.h> header file. In older versions of DB, it was
997 int, while in newer ones it is u_int32_t.
999 db_prefixtype (i_db.U):
1000 This variable contains the type of the prefix structure element
1001 in the <db.h> header file. In older versions of DB, it was
1002 int, while in newer ones it is size_t.
1004 direntrytype (i_dirent.U):
1005 This symbol is set to 'struct direct' or 'struct dirent' depending on
1006 whether dirent is available or not. You should use this pseudo type to
1007 portably declare your directory entries.
1010 This variable contains the extension that is to be used for the
1011 dynamically loaded modules that perl generaties.
1014 This variable contains the name of the dynamic loading file that
1015 will be used with the package.
1017 dynamic_ext (Extensions.U):
1018 This variable holds a list of extension files we want to
1019 link dynamically into the package. It is used by Makefile.
1021 eagain (nblock_io.U):
1022 This variable bears the symbolic errno code set by read() when no
1023 data is present on the file and non-blocking I/O was enabled (otherwise,
1024 read() blocks naturally).
1027 When running under Eunice this variable contains a command which will
1028 convert a shell script to the proper form of text file for it to be
1029 executable by the shell. On other systems it is a no-op.
1032 This is an old synonym for _exe.
1034 extensions (Extensions.U):
1035 This variable holds a list of all extension files
1036 linked into the package. It is propagated to Config.pm
1037 and is typically used to test whether a particular extesion
1040 firstmakefile (Unix.U):
1041 This variable defines the first file searched by make. On unix,
1042 it is makefile (then Makefile). On case-insensitive systems,
1043 it might be something else. This is only used to deal with
1044 convoluted make depend tricks.
1046 fpostype (fpostype.U):
1047 This variable defines Fpos_t to be something like fpost_t, long,
1048 uint, or whatever type is used to declare file positions in libc.
1050 freetype (mallocsrc.U):
1051 This variable contains the return type of free(). It is usually
1052 void, but occasionally int.
1055 This variable contains the full pathname to 'csh', whether or
1056 not the user has specified 'portability'. This is only used
1057 in the compiled C program, and we assume that all systems which
1058 can share this executable will have the same full pathname to
1061 full_sed (Loc_sed.U):
1062 This variable contains the full pathname to 'sed', whether or
1063 not the user has specified 'portability'. This is only used
1064 in the compiled C program, and we assume that all systems which
1065 can share this executable will have the same full pathname to
1069 If GNU cc (gcc) is used, this variable holds '1' or '2' to
1070 indicate whether the compiler is version 1 or 2. This is used in
1071 setting some of the default cflags. It is set to '' if not gcc.
1073 gidtype (gidtype.U):
1074 This variable defines Gid_t to be something like gid_t, int,
1075 ushort, or whatever type is used to declare the return type
1076 of getgid(). Typically, it is the type of group ids in the kernel.
1079 This variable contains a command that produces the text of the
1080 /etc/group file. This is normally "cat /etc/group", but can be
1081 "ypcat group" when NIS is used.
1083 groupstype (groupstype.U):
1084 This variable defines Groups_t to be something like gid_t, int,
1085 ushort, or whatever type is used for the second argument to
1086 getgroups() and setgroups(). Usually, this is the same as
1087 gidtype (gid_t), but sometimes it isn't.
1089 h_fcntl (h_fcntl.U):
1090 This is variable gets set in various places to tell i_fcntl that
1091 <fcntl.h> should be included.
1093 h_sysfile (h_sysfile.U):
1094 This is variable gets set in various places to tell i_sys_file that
1095 <sys/file.h> should be included.
1098 Gives the type of hints used for previous answers. May be one of
1099 "default", "recommended" or "previous".
1102 This variable contains a command that produces the text of the
1103 /etc/hosts file. This is normally "cat /etc/hosts", but can be
1104 "ypcat hosts" when NIS is used.
1107 This variable contains a flag which will tell the C compiler and loader
1108 to produce a program running with a huge memory model. If the
1109 huge model is not supported, contains the flag to produce large
1110 model programs. It is up to the Makefile to use this.
1112 i_bsdioctl (i_sysioctl.U):
1113 This variable conditionally defines the I_SYS_BSDIOCTL symbol, which
1114 indicates to the C program that <sys/bsdioctl.h> exists and should
1118 This variable conditionally defines the I_DB symbol, and indicates
1119 whether a C program may include Berkeley's DB include file <db.h>.
1121 i_dirent (i_dirent.U):
1122 This variable conditionally defines I_DIRENT, which indicates
1123 to the C program that it should include <dirent.h>.
1126 This variable conditionally defines the I_DLD symbol, which
1127 indicates to the C program that <dld.h> (GNU dynamic loading)
1128 exists and should be included.
1130 i_dlfcn (i_dlfcn.U):
1131 This variable conditionally defines the I_DLFCN symbol, which
1132 indicates to the C program that <dlfcn.h> exists and should
1135 i_fcntl (i_fcntl.U):
1136 This variable controls the value of I_FCNTL (which tells
1137 the C program to include <fcntl.h>).
1139 i_float (i_float.U):
1140 This variable conditionally defines the I_FLOAT symbol, and indicates
1141 whether a C program may include <float.h> to get symbols like DBL_MAX
1142 or DBL_MIN, i.e. machine dependent floating point values.
1145 This variable conditionally defines the I_GRP symbol, and indicates
1146 whether a C program should include <grp.h>.
1148 i_limits (i_limits.U):
1149 This variable conditionally defines the I_LIMITS symbol, and indicates
1150 whether a C program may include <limits.h> to get symbols like WORD_BIT
1153 i_locale (i_locale.U):
1154 This variable conditionally defines the I_LOCALE symbol,
1155 and indicates whether a C program should include <locale.h>.
1157 i_malloc (i_malloc.U):
1158 This variable conditionally defines the I_MALLOC symbol, and indicates
1159 whether a C program should include <malloc.h>.
1162 This variable conditionally defines the I_MATH symbol, and indicates
1163 whether a C program may include <math.h>.
1165 i_memory (i_memory.U):
1166 This variable conditionally defines the I_MEMORY symbol, and indicates
1167 whether a C program should include <memory.h>.
1169 i_netdb (i_netdb.U):
1170 This variable conditionally defines the I_NETDB symbol, and indicates
1171 whether a C program should include <netdb.h>.
1173 i_neterrno (i_neterrno.U):
1174 This variable conditionally defines the I_NET_ERRNO symbol, which
1175 indicates to the C program that <net/errno.h> exists and should
1179 This variable conditionally defines I_NETINET_IN, which indicates
1180 to the C program that it should include <netinet/in.h>. Otherwise,
1181 you may try <sys/in.h>.
1184 This variable conditionally defines I_PWD, which indicates
1185 to the C program that it should include <pwd.h>.
1187 i_rpcsvcdbm (i_dbm.U):
1188 This variable conditionally defines the I_RPCSVC_DBM symbol, which
1189 indicates to the C program that <rpcsvc/dbm.h> exists and should
1190 be included. Some System V systems might need this instead of <dbm.h>.
1193 This variable conditionally defines the I_SFIO symbol,
1194 and indicates whether a C program should include <sfio.h>.
1196 i_sgtty (i_termio.U):
1197 This variable conditionally defines the I_SGTTY symbol, which
1198 indicates to the C program that it should include <sgtty.h> rather
1201 i_stdarg (i_varhdr.U):
1202 This variable conditionally defines the I_STDARG symbol, which
1203 indicates to the C program that <stdarg.h> exists and should
1206 i_stddef (i_stddef.U):
1207 This variable conditionally defines the I_STDDEF symbol, which
1208 indicates to the C program that <stddef.h> exists and should
1211 i_stdlib (i_stdlib.U):
1212 This variable conditionally defines the I_STDLIB symbol, which
1213 indicates to the C program that <stdlib.h> exists and should
1216 i_string (i_string.U):
1217 This variable conditionally defines the I_STRING symbol, which
1218 indicates that <string.h> should be included rather than <strings.h>.
1220 i_sysdir (i_sysdir.U):
1221 This variable conditionally defines the I_SYS_DIR symbol, and indicates
1222 whether a C program should include <sys/dir.h>.
1224 i_sysfile (i_sysfile.U):
1225 This variable conditionally defines the I_SYS_FILE symbol, and indicates
1226 whether a C program should include <sys/file.h> to get R_OK and friends.
1228 i_sysfilio (i_sysioctl.U):
1229 This variable conditionally defines the I_SYS_FILIO symbol, which
1230 indicates to the C program that <sys/filio.h> exists and should
1231 be included in preference to <sys/ioctl.h>.
1234 This variable conditionally defines I_SYS_IN, which indicates
1235 to the C program that it should include <sys/in.h> instead of
1238 i_sysioctl (i_sysioctl.U):
1239 This variable conditionally defines the I_SYS_IOCTL symbol, which
1240 indicates to the C program that <sys/ioctl.h> exists and should
1243 i_sysndir (i_sysndir.U):
1244 This variable conditionally defines the I_SYS_NDIR symbol, and indicates
1245 whether a C program should include <sys/ndir.h>.
1247 i_sysparam (i_sysparam.U):
1248 This variable conditionally defines the I_SYS_PARAM symbol, and indicates
1249 whether a C program should include <sys/param.h>.
1251 i_sysresrc (i_sysresrc.U):
1252 This variable conditionally defines the I_SYS_RESOURCE symbol,
1253 and indicates whether a C program should include <sys/resource.h>.
1255 i_sysselct (i_sysselct.U):
1256 This variable conditionally defines I_SYS_SELECT, which indicates
1257 to the C program that it should include <sys/select.h> in order to
1258 get the definition of struct timeval.
1260 i_syssockio (i_sysioctl.U):
1261 This variable conditionally defines I_SYS_SOCKIO to indicate to the
1262 C program that socket ioctl codes may be found in <sys/sockio.h>
1263 instead of <sys/ioctl.h>.
1265 i_sysstat (i_sysstat.U):
1266 This variable conditionally defines the I_SYS_STAT symbol,
1267 and indicates whether a C program should include <sys/stat.h>.
1269 i_systime (i_time.U):
1270 This variable conditionally defines I_SYS_TIME, which indicates
1271 to the C program that it should include <sys/time.h>.
1273 i_systimek (i_time.U):
1274 This variable conditionally defines I_SYS_TIME_KERNEL, which
1275 indicates to the C program that it should include <sys/time.h>
1276 with KERNEL defined.
1278 i_systimes (i_systimes.U):
1279 This variable conditionally defines the I_SYS_TIMES symbol, and indicates
1280 whether a C program should include <sys/times.h>.
1282 i_systypes (i_systypes.U):
1283 This variable conditionally defines the I_SYS_TYPES symbol,
1284 and indicates whether a C program should include <sys/types.h>.
1286 i_sysun (i_sysun.U):
1287 This variable conditionally defines I_SYS_UN, which indicates
1288 to the C program that it should include <sys/un.h> to get UNIX
1289 domain socket definitions.
1291 i_syswait (i_syswait.U):
1292 This variable conditionally defines I_SYS_WAIT, which indicates
1293 to the C program that it should include <sys/wait.h>.
1295 i_termio (i_termio.U):
1296 This variable conditionally defines the I_TERMIO symbol, which
1297 indicates to the C program that it should include <termio.h> rather
1300 i_termios (i_termio.U):
1301 This variable conditionally defines the I_TERMIOS symbol, which
1302 indicates to the C program that the POSIX <termios.h> file is
1306 This variable conditionally defines I_TIME, which indicates
1307 to the C program that it should include <time.h>.
1309 i_unistd (i_unistd.U):
1310 This variable conditionally defines the I_UNISTD symbol, and indicates
1311 whether a C program should include <unistd.h>.
1313 i_utime (i_utime.U):
1314 This variable conditionally defines the I_UTIME symbol, and indicates
1315 whether a C program should include <utime.h>.
1317 i_values (i_values.U):
1318 This variable conditionally defines the I_VALUES symbol, and indicates
1319 whether a C program may include <values.h> to get symbols like MAXLONG
1322 i_varargs (i_varhdr.U):
1323 This variable conditionally defines I_VARARGS, which indicates
1324 to the C program that it should include <varargs.h>.
1326 i_varhdr (i_varhdr.U):
1327 Contains the name of the header to be included to get va_dcl definition.
1328 Typically one of varargs.h or stdarg.h.
1330 i_vfork (i_vfork.U):
1331 This variable conditionally defines the I_VFORK symbol, and indicates
1332 whether a C program should include vfork.h.
1335 This variable must preceed the normal include path to get hte
1336 right one, as in "$incpath/usr/include" or "$incpath/usr/lib".
1337 Value can be "" or "/bsd43" on mips.
1339 installarchlib (archlib.U):
1340 This variable is really the same as archlibexp but may differ on
1341 those systems using AFS. For extra portability, only this variable
1342 should be used in makefiles.
1345 This variable is the same as binexp unless AFS is running in which case
1346 the user is explicitely prompted for it. This variable should always
1347 be used in your makefiles for maximum portability.
1349 installman1dir (man1dir.U):
1350 This variable is really the same as man1direxp, unless you are using
1351 AFS in which case it points to the read/write location whereas
1352 man1direxp only points to the read-only access location. For extra
1353 portability, you should only use this variable within your makefiles.
1355 installman3dir (man3dir.U):
1356 This variable is really the same as man3direxp, unless you are using
1357 AFS in which case it points to the read/write location whereas
1358 man3direxp only points to the read-only access location. For extra
1359 portability, you should only use this variable within your makefiles.
1361 installprivlib (privlib.U):
1362 This variable is really the same as privlibexp but may differ on
1363 those systems using AFS. For extra portability, only this variable
1364 should be used in makefiles.
1366 installscript (scriptdir.U):
1367 This variable is usually the same as scriptdirexp, unless you are on
1368 a system running AFS, in which case they may differ slightly. You
1369 should always use this variable within your makefiles for portability.
1371 installsitearch (sitearch.U):
1372 This variable is really the same as sitearchexp but may differ on
1373 those systems using AFS. For extra portability, only this variable
1374 should be used in makefiles.
1376 installsitelib (sitelib.U):
1377 This variable is really the same as sitelibexp but may differ on
1378 those systems using AFS. For extra portability, only this variable
1379 should be used in makefiles.
1381 intsize (intsize.U):
1382 This variable contains the value of the INTSIZE symbol, which
1383 indicates to the C program how many bytes there are in an int.
1385 known_extensions (Extensions.U):
1386 This variable holds a list of all extensions included in
1390 This variable contains a flag which will tell the C compiler and loader
1391 to produce a program running with a large memory model. It is up to
1392 the Makefile to use this.
1395 This variable indicates the program to be used to link
1396 libraries for dynamic loading. On some systems, it is 'ld'.
1397 On ELF systems, it should be $cc. Mostly, we'll try to respect
1398 the hint file setting.
1400 lddlflags (dlsrc.U):
1401 This variable contains any special flags that might need to be
1402 passed to $ld to create a shared library suitable for dynamic
1403 loading. It is up to the makefile to use it. For hpux, it
1404 should be -b. For sunos 4.1, it is empty.
1406 ldflags (ccflags.U):
1407 This variable contains any additional C loader flags desired by
1408 the user. It is up to the Makefile to use this.
1411 This is an old synonym for _a.
1414 This variable contains the location of the C library.
1416 libperl (libperl.U):
1417 The perl executable is obtained by linking perlmain.c with
1418 libperl, any static extensions (usually just DynaLoader),
1419 and any other libraries needed on this system. libperl
1420 is usually libperl.a, but can also be libperl.so.xxx if
1421 the user wishes to build a perl executable with a shared
1425 This variable holds the general path used to find libraries. It is
1426 intended to be used by other units.
1429 This variable holds the additional libraries we want to use.
1430 It is up to the Makefile to deal with it.
1432 libswanted (Myinit.U):
1433 This variable holds a list of all the libraries we want to
1434 search. The order is chosen to pick up the c library
1435 ahead of ucb or bsd libraries for SVR4.
1437 lkflags (ccflags.U):
1438 This variable contains any additional C partial linker flags desired by
1439 the user. It is up to the Makefile to use this.
1442 This variable holds the name of the command to make
1443 symbolic links (if they are supported). It can be used
1444 in the Makefile. It is either 'ln -s' or 'ln'
1446 locincpth (ccflags.U):
1447 This variable contains a list of additional directories to be
1448 searched by the compiler. The appropriate -I directives will
1449 be added to ccflags. This is intended to simplify setting
1450 local directories from the Configure command line.
1451 It's not much, but it parallels the loclibpth stuff in libpth.U.
1453 loclibpth (libpth.U):
1454 This variable holds the paths used to find local libraries. It is
1455 prepended to libpth, and is intended to be easily set from the
1458 longsize (intsize.U):
1459 This variable contains the value of the LONGSIZE symbol, which
1460 indicates to the C program how many bytes there are in a long.
1462 lseektype (lseektype.U):
1463 This variable defines lseektype to be something like off_t, long,
1464 or whatever type is used to declare lseek offset's type in the
1465 kernel (which also appears to be lseek's return type).
1467 make_set_make (make.U):
1468 Some versions of 'make' set the variable MAKE. Others do not.
1469 This variable contains the string to be included in Makefile.SH
1470 so that MAKE is set if needed, and not if not needed.
1471 Possible values are:
1472 make_set_make='#' # If your make program handles this for you,
1473 make_set_make="MAKE=$make" # if it doesn't.
1474 I used a comment character so that we can distinguish a
1475 'set' value (from a previous config.sh or Configure -D option)
1476 from an uncomputed value.
1478 mallocobj (mallocsrc.U):
1479 This variable contains the name of the malloc.o that this package
1480 generates, if that malloc.o is preferred over the system malloc.
1481 Otherwise the value is null. This variable is intended for generating
1482 Makefiles. See mallocsrc.
1484 mallocsrc (mallocsrc.U):
1485 This variable contains the name of the malloc.c that comes with
1486 the package, if that malloc.c is preferred over the system malloc.
1487 Otherwise the value is null. This variable is intended for generating
1490 malloctype (mallocsrc.U):
1491 This variable contains the kind of ptr returned by malloc and realloc.
1493 man1dir (man1dir.U):
1494 This variable contains the name of the directory in which manual
1495 source pages are to be put. It is the responsibility of the
1496 Makefile.SH to get the value of this into the proper command.
1497 You must be prepared to do the ~name expansion yourself.
1499 man1direxp (man1dir.U):
1500 This variable is the same as the man1dir variable, but is filename
1501 expanded at configuration time, for convenient use in makefiles.
1503 man1ext (man1dir.U):
1504 This variable contains the extension that the manual page should
1505 have: one of 'n', 'l', or '1'. The Makefile must supply the '.'.
1508 man3dir (man3dir.U):
1509 This variable contains the name of the directory in which manual
1510 source pages are to be put. It is the responsibility of the
1511 Makefile.SH to get the value of this into the proper command.
1512 You must be prepared to do the ~name expansion yourself.
1514 man3direxp (man3dir.U):
1515 This variable is the same as the man3dir variable, but is filename
1516 expanded at configuration time, for convenient use in makefiles.
1518 man3ext (man3dir.U):
1519 This variable contains the extension that the manual page should
1520 have: one of 'n', 'l', or '3'. The Makefile must supply the '.'.
1524 This variable contains a flag which will tell the C compiler and loader
1525 to produce a program running with a medium memory model. If the
1526 medium model is not supported, contains the flag to produce large
1527 model programs. It is up to the Makefile to use this.
1529 mips_type (usrinc.U):
1530 This variable holds the environment type for the mips system.
1531 Possible values are "BSD 4.3" and "System V".
1534 This variable contains the list of memory models supported by this
1535 system. Possible component values are none, split, unsplit, small,
1536 medium, large, and huge. The component values are space separated.
1538 modetype (modetype.U):
1539 This variable defines modetype to be something like mode_t,
1540 int, unsigned short, or whatever type is used to declare file
1541 modes for system calls.
1543 myarchname (archname.U):
1544 This variable holds the architecture name computed by Configure in
1545 a previous run. It is not intended to be perused by any user and
1546 should never be set in a hint file.
1548 mydomain (myhostname.U):
1549 This variable contains the eventual value of the MYDOMAIN symbol,
1550 which is the domain of the host the program is going to run on.
1551 The domain must be appended to myhostname to form a complete host name.
1552 The dot comes with mydomain, and need not be supplied by the program.
1554 myuname (Oldconfig.U):
1555 The output of 'uname -a' if available, otherwise the hostname. On Xenix,
1556 pseudo variables assignments in the output are stripped, thank you. The
1557 whole thing is then lower-cased.
1560 This variable contains the -n flag if that is what causes the echo
1561 command to suppress newline. Otherwise it is null. Correct usage is
1562 $echo $n "prompt for a question: $c".
1564 netdb_hlen_type (netdbtype.U):
1565 This variable holds the type used for the 2nd argument to
1566 gethostbyaddr(). Usually, this is int or size_t or unsigned.
1567 This is only useful if you have gethostbyaddr(), naturally.
1569 netdb_host_type (netdbtype.U):
1570 This variable holds the type used for the 1st argument to
1571 gethostbyaddr(). Usually, this is char * or void *, possibly
1572 with or without a const prefix.
1573 This is only useful if you have gethostbyaddr(), naturally.
1575 netdb_name_type (netdbtype.U):
1576 This variable holds the type used for the argument to
1577 gethostbyname(). Usually, this is char * or const char *.
1578 This is only useful if you have gethostbyname(), naturally.
1580 netdb_net_type (netdbtype.U):
1581 This variable holds the type used for the 1st argument to
1582 getnetbyaddr(). Usually, this is int or long.
1583 This is only useful if you have getnetbyaddr(), naturally.
1586 This variable holds the options that may be necessary for nm.
1588 nm_so_opt (usenm.U):
1589 This variable holds the options that may be necessary for nm
1590 to work on a shared library but that can not be used on an
1591 archive library. Currently, this is only used by Linux, where
1592 nm --dynamic is *required* to get symbols from an ELF library which
1593 has been stripped, but nm --dynamic is *fatal* on an archive library.
1594 Maybe Linux should just always set usenm=false.
1596 o_nonblock (nblock_io.U):
1597 This variable bears the symbol value to be used during open() or fcntl()
1598 to turn on non-blocking I/O for a file descriptor. If you wish to switch
1599 between blocking and non-blocking, you may try ioctl(FIOSNBIO) instead,
1600 but that is only supported by some devices.
1603 This is an old synonym for _o.
1605 optimize (ccflags.U):
1606 This variable contains any optimizer/debugger flag that should be used.
1607 It is up to the Makefile to use it.
1609 orderlib (orderlib.U):
1610 This variable is "true" if the components of libraries must be ordered
1611 (with `lorder $* | tsort`) before placing them in an archive. Set to
1612 "false" if ranlib or ar can generate random libraries.
1614 osname (Oldconfig.U):
1615 This variable contains the operating system name (e.g. sunos,
1616 solaris, hpux, etc.). It can be useful later on for setting
1617 defaults. Any spaces are replaced with underscores. It is set
1618 to a null string if we can't figure it out.
1620 osvers (Oldconfig.U):
1621 This variable contains the operating system version (e.g.
1622 4.1.3, 5.2, etc.). It is primarily used for helping select
1623 an appropriate hints file, but might be useful elsewhere for
1624 setting defaults. It is set to '' if we can't figure it out.
1625 We try to be flexible about how much of the version number
1626 to keep, e.g. if 4.1.1, 4.1.2, and 4.1.3 are essentially the
1627 same for this package, hints files might just be os_4.0 or
1628 os_4.1, etc., not keeping separate files for each little release.
1630 package (package.U):
1631 This variable contains the name of the package being constructed.
1632 It is primarily intended for the use of later Configure units.
1635 This variable contains the name of the preferred pager on the system.
1636 Usual values are (the full pathnames of) more, less, pg, or cat.
1639 This variable contains a command that produces the text of the
1640 /etc/passwd file. This is normally "cat /etc/passwd", but can be
1641 "ypcat passwd" when NIS is used.
1643 patchlevel (patchlevel.U):
1644 The patchlevel level of this package.
1645 The value of patchlevel comes from the patchlevel.h file.
1648 This is an old synonym for p_ in Head.U, the character
1649 used to separate elements in the command shell search PATH.
1651 perladmin (perladmin.U):
1652 Electronic mail address of the perl5 administrator.
1654 perlpath (perlpath.U):
1655 This variable contains the eventual value of the PERLPATH symbol,
1656 which contains the name of the perl interpreter to be used in
1657 shell scripts and in the "eval 'exec'" idiom.
1659 phostname (myhostname.U):
1660 This variable contains the eventual value of the PHOSTNAME symbol,
1661 which is a command that can be fed to popen() to get the host name.
1662 The program should probably not presume that the domain is or isn't
1665 pidtype (pidtype.U):
1666 This variable defines PIDTYPE to be something like pid_t, int,
1667 ushort, or whatever type is used to declare process ids in the kernel.
1670 Holds the private path used by Configure to find out the libraries.
1671 Its value is prepend to libpth. This variable takes care of special
1672 machines, like the mips. Usually, it should be empty.
1675 This variable holds the name of the directory below which the
1676 user will install the package. Usually, this is /usr/local, and
1677 executables go in /usr/local/bin, library stuff in /usr/local/lib,
1678 man pages in /usr/local/man, etc. It is only used to set defaults
1679 for things in bin.U, mansrc.U, privlib.U, or scriptdir.U.
1681 prefixexp (prefix.U):
1682 This variable holds the full absolute path of the directory below
1683 which the user will install the package. Derived from prefix.
1685 privlib (privlib.U):
1686 This variable contains the eventual value of the PRIVLIB symbol,
1687 which is the name of the private library for this package. It may
1688 have a ~ on the front. It is up to the makefile to eventually create
1689 this directory while performing installation (with ~ substitution).
1691 privlibexp (privlib.U):
1692 This variable is the ~name expanded version of privlib, so that you
1693 may use it directly in Makefiles or shell scripts.
1695 prototype (prototype.U):
1696 This variable holds the eventual value of CAN_PROTOTYPE, which
1697 indicates the C compiler can handle funciton prototypes.
1699 randbits (randbits.U):
1700 This variable contains the eventual value of the RANDBITS symbol,
1701 which indicates to the C program how many bits of random number
1702 the rand() function produces.
1704 ranlib (orderlib.U):
1705 This variable is set to the pathname of the ranlib program, if it is
1706 needed to generate random libraries. Set to ":" if ar can generate
1707 random libraries or if random libraries are not supported
1709 rd_nodata (nblock_io.U):
1710 This variable holds the return code from read() when no data is
1711 present. It should be -1, but some systems return 0 when O_NDELAY is
1712 used, which is a shame because you cannot make the difference between
1713 no data and an EOF.. Sigh!
1716 This variable contains 'true' or 'false' depending whether the
1717 nm extraction should be performed or not, according to the value
1718 of usenm and the flags on the Configure command line.
1720 scriptdir (scriptdir.U):
1721 This variable holds the name of the directory in which the user wants
1722 to put publicly scripts for the package in question. It is either
1723 the same directory as for binaries, or a special one that can be
1724 mounted across different architectures, like /usr/share. Programs
1725 must be prepared to deal with ~name expansion.
1727 scriptdirexp (scriptdir.U):
1728 This variable is the same as scriptdir, but is filename expanded
1729 at configuration time, for programs not wanting to bother with it.
1731 selecttype (selecttype.U):
1732 This variable holds the type used for the 2nd, 3rd, and 4th
1733 arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1734 is defined, and 'int *' otherwise. This is only useful if you
1735 have select(), naturally.
1738 This variable contains the full pathname of the shell used
1739 on this system to execute Bourne shell scripts. Usually, this will be
1740 /bin/sh, though it's possible that some systems will have /bin/ksh,
1741 /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1743 This unit comes before Options.U, so you can't set sh with a -D
1744 option, though you can override this (and startsh)
1745 with -O -Dsh=/bin/whatever -Dstartsh=whatever
1747 sharpbang (spitshell.U):
1748 This variable contains the string #! if this system supports that
1751 shmattype (d_shmat.U):
1752 This symbol contains the type of pointer returned by shmat().
1753 It can be 'void *' or 'char *'.
1755 shortsize (intsize.U):
1756 This variable contains the value of the SHORTSIZE symbol which
1757 indicates to the C program how many bytes there are in a short.
1759 shrpenv (libperl.U):
1760 If the user builds a shared libperl.so, then we need to tell the
1761 'perl' executable where it will be able to find the installed libperl.so.
1762 One way to do this on some systems is to set the environment variable
1763 LD_RUN_PATH to the directory that will be the final location of the
1764 shared libperl.so. The makefile can use this with something like
1765 $shrpenv $(CC) -o perl perlmain.o $libperl $libs
1767 shrpenv="env LD_RUN_PATH=$archlibexp/CORE"
1770 See the main perl Makefile.SH for actual working usage.
1771 Alternatively, we might be able to use a command line option such
1772 as -R $archlibexp/CORE (Solaris, NetBSD) or -Wl,-rpath
1773 $archlibexp/CORE (Linux).
1775 shsharp (spitshell.U):
1776 This variable tells further Configure units whether your sh can
1779 sig_name (sig_name.U):
1780 This variable holds the signal names, space separated. The leading
1781 SIG in signal name is removed. A ZERO is prepended to the
1782 list. This is currently not used.
1784 sig_name_init (sig_name.U):
1785 This variable holds the signal names, enclosed in double quotes and
1786 separated by commas, suitable for use in the SIG_NAME definition
1787 below. A "ZERO" is prepended to the list, and the list is
1788 terminated with a plain 0. The leading SIG in signal names
1789 is removed. See sig_num.
1791 sig_num (sig_name.U):
1792 This variable holds the signal numbers, comma separated. A 0 is
1793 prepended to the list (corresponding to the fake SIGZERO), and
1794 the list is terminated with a 0. Those numbers correspond to
1795 the value of the signal listed in the same place within the
1798 signal_t (d_voidsig.U):
1799 This variable holds the type of the signal handler (void or int).
1801 sitearch (sitearch.U):
1802 This variable contains the eventual value of the SITEARCH symbol,
1803 which is the name of the private library for this package. It may
1804 have a ~ on the front. It is up to the makefile to eventually create
1805 this directory while performing installation (with ~ substitution).
1807 sitearchexp (sitearch.U):
1808 This variable is the ~name expanded version of sitearch, so that you
1809 may use it directly in Makefiles or shell scripts.
1811 sitelib (sitelib.U):
1812 This variable contains the eventual value of the SITELIB symbol,
1813 which is the name of the private library for this package. It may
1814 have a ~ on the front. It is up to the makefile to eventually create
1815 this directory while performing installation (with ~ substitution).
1817 sitelibexp (sitelib.U):
1818 This variable is the ~name expanded version of sitelib, so that you
1819 may use it directly in Makefiles or shell scripts.
1821 sizetype (sizetype.U):
1822 This variable defines sizetype to be something like size_t,
1823 unsigned long, or whatever type is used to declare length
1824 parameters for string functions.
1827 This variable contains a flag which will tell the C compiler and loader
1828 to produce a program running with a small memory model. It is up to
1829 the Makefile to use this.
1832 This variable holds the extension used to identify shared libraries
1833 (also known as shared objects) on the system. Usually set to 'so'.
1835 sockethdr (d_socket.U):
1836 This variable has any cpp -I flags needed for socket support.
1838 socketlib (d_socket.U):
1839 This variable has the names of any libraries needed for socket support.
1841 spackage (package.U):
1842 This variable contains the name of the package being constructed,
1843 with the first letter uppercased, i.e. suitable for starting
1846 spitshell (spitshell.U):
1847 This variable contains the command necessary to spit out a runnable
1848 shell on this system. It is either cat or a grep -v for # comments.
1851 This variable contains a flag which will tell the C compiler and loader
1852 to produce a program that will run in separate I and D space, for those
1853 machines that support separation of instruction and data space. It is
1854 up to the Makefile to use this.
1856 ssizetype (ssizetype.U):
1857 This variable defines ssizetype to be something like ssize_t,
1858 long or int. It is used by functions that return a count
1859 of bytes or an error condition. It must be a signed type.
1860 We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1862 startperl (startperl.U):
1863 This variable contains the string to put on the front of a perl
1864 script to make sure (hopefully) that it runs with perl and not some
1865 shell. Of course, that leading line must be followed by the classical
1867 eval 'exec perl -S $0 ${1+"$@"}'
1868 if $running_under_some_shell;
1869 to guarantee perl startup should the shell execute the script. Note
1870 that this magic incatation is not understood by csh.
1872 startsh (startsh.U):
1873 This variable contains the string to put on the front of a shell
1874 script to make sure (hopefully) that it runs with sh and not some
1877 static_ext (Extensions.U):
1878 This variable holds a list of extension files we want to
1879 link statically into the package. It is used by Makefile.
1881 stdchar (stdchar.U):
1882 This variable conditionally defines STDCHAR to be the type of char
1883 used in stdio.h. It has the values "unsigned char" or "char".
1885 stdio_base (d_stdstdio.U):
1886 This variable defines how, given a FILE pointer, fp, to access the
1887 _base field (or equivalent) of stdio.h's FILE structure. This will
1888 be used to define the macro FILE_base(fp).
1890 stdio_bufsiz (d_stdstdio.U):
1891 This variable defines how, given a FILE pointer, fp, to determine
1892 the number of bytes store in the I/O buffer pointer to by the
1893 _base field (or equivalent) of stdio.h's FILE structure. This will
1894 be used to define the macro FILE_bufsiz(fp).
1896 stdio_cnt (d_stdstdio.U):
1897 This variable defines how, given a FILE pointer, fp, to access the
1898 _cnt field (or equivalent) of stdio.h's FILE structure. This will
1899 be used to define the macro FILE_cnt(fp).
1901 stdio_filbuf (d_stdstdio.U):
1902 This variable defines how, given a FILE pointer, fp, to tell
1903 stdio to refill it's internal buffers (?). This will
1904 be used to define the macro FILE_filbuf(fp).
1906 stdio_ptr (d_stdstdio.U):
1907 This variable defines how, given a FILE pointer, fp, to access the
1908 _ptr field (or equivalent) of stdio.h's FILE structure. This will
1909 be used to define the macro FILE_ptr(fp).
1911 strings (i_string.U):
1912 This variable holds the full path of the string header that will be
1913 used. Typically /usr/include/string.h or /usr/include/strings.h.
1915 subversion (patchlevel.U):
1916 The subversion level of this package.
1917 The value of subversion comes from the patchlevel.h file.
1918 This is unique to perl.
1921 This variable holds the place where the manual is located on this
1922 system. It is not the place where the user wants to put his manual
1923 pages. Rather it is the place where Configure may look to find manual
1924 for unix commands (section 1 of the manual usually). See mansrc.
1926 timeincl (i_time.U):
1927 This variable holds the full path of the included time header(s).
1929 timetype (d_time.U):
1930 This variable holds the type returned by time(). It can be long,
1931 or time_t on BSD sites (in which case <sys/types.h> should be
1932 included). Anyway, the type Time_t should be used.
1934 uidtype (uidtype.U):
1935 This variable defines Uid_t to be something like uid_t, int,
1936 ushort, or whatever type is used to declare user ids in the kernel.
1939 This variable indicates if the the system supports dynamic
1940 loading of some sort. See also dlsrc and dlobj.
1942 usemymalloc (mallocsrc.U):
1943 This variable contains y if the malloc that comes with this package
1944 is desired over the system's version of malloc. People often include
1945 special versions of malloc for effiency, but such versions are often
1946 less portable. See also mallocsrc and mallocobj.
1947 If this is 'y', then -lmalloc is removed from $libs.
1950 This variable contains 'true' or 'false' depending whether the
1951 nm extraction is wanted or not.
1953 useopcode (Extensions.U):
1954 This variable holds either 'true' or 'false' to indicate
1955 whether the Opcode extension should be used. The sole
1956 use for this currently is to allow an easy mechanism
1957 for users to skip the Opcode extension from the Configure
1960 useperlio (useperlio.U):
1961 This variable conditionally defines the USE_PERLIO symbol,
1962 and indicates that the PerlIO abstraction should be
1965 useposix (Extensions.U):
1966 This variable holds either 'true' or 'false' to indicate
1967 whether the POSIX extension should be used. The sole
1968 use for this currently is to allow an easy mechanism
1969 for hints files to indicate that POSIX will not compile
1970 on a particular system.
1973 This variable is set to true when the user agrees to use sfio.
1974 It is set to false when sfio is not available or when the user
1975 explicitely requests not to use sfio. It is here primarily so
1976 that command-line settings can override the auto-detection of
1977 d_sfio without running into a "WHOA THERE".
1979 useshrplib (libperl.U):
1980 This variable is set to 'yes' if the user wishes
1981 to build a shared libperl, and 'no' otherwise.
1983 usethreads (usethreads.U):
1984 This variable conditionally defines the USE_THREADS symbol,
1985 and indicates that Perl should be built to use threads.
1987 usevfork (d_vfork.U):
1988 This variable is set to true when the user accepts to use vfork.
1989 It is set to false when no vfork is available or when the user
1990 explicitely requests not to use vfork.
1993 This variable holds the path of the include files, which is
1994 usually /usr/include. It is mainly used by other Configure units.
1996 voidflags (voidflags.U):
1997 This variable contains the eventual value of the VOIDFLAGS symbol,
1998 which indicates how much support of the void type is given by this
1999 compiler. See VOIDFLAGS for more info.