Movatterモバイル変換


[0]ホーム

URL:


Config
(source,CPAN)
You are viewing the version of this documentation from Perl 5.005_01.View the latest version

CONTENTS

#NAME

Config - access Perl configuration information

#SYNOPSIS

    use Config;    if ($Config{'cc'} =~ /gcc/) {print "built by gcc\n";    }     use Config qw(myconfig config_sh config_vars);    print myconfig();    print config_sh();    config_vars(qw(osname archname));

#DESCRIPTION

The Config module contains all the information that was available to theConfigure program at Perl build time (over 900 values).

Shell variables from theconfig.sh file (written by Configure) are stored in the readonly-variable%Config, indexed by their names.

Values stored in config.sh as 'undef' are returned as undefined values. The perlexists function can be used to check if a named variable exists.

#myconfig()

Returns a textual summary of the major perl configuration values. See also-V in"Switches" in perlrun.

#config_sh()

Returns the entire perl configuration information in the form of the original config.sh shell variable assignment script.

#config_vars(@names)

Prints to STDOUT the values of the named configuration variable. Each is printed on a separate line in the form:

name='value';

Names which are unknown are output asname='UNKNOWN';. See also-V:name in"Switches" in perlrun.

#EXAMPLE

Here's a more sophisticated example of using %Config:

    use Config;    use strict;    my %sig_num;    my @sig_name;    unless($Config{sig_name} && $Config{sig_num}) {die "No sigs?";    } else {my @names = split ' ', $Config{sig_name};@sig_num{@names} = split ' ', $Config{sig_num};foreach (@names) {    $sig_name[$sig_num{$_}] ||= $_;}       }    print "signal #17 = $sig_name[17]\n";    if ($sig_num{ALRM}) { print "SIGALRM is $sig_num{ALRM}\n";    }

#WARNING

Because this information is not stored within the perl executable itself it is possible (but unlikely) that the information does not relate to the actual perl binary which is being used to access it.

The Config module is installed into the architecture and version specific library directory ($Config{installarchlib}) and it checks the perl version number when loaded.

The values stored in config.sh may be either single-quoted or double-quoted. Double-quoted strings are handy for those cases where you need to include escape sequences in the strings. To avoid runtime variable interpolation, any$ and@ characters are replaced by\$ and\@, respectively. This isn't foolproof, of course, so don't embed\$ or\@ in double-quoted strings unless you're willing to deal with the consequences. (The slashes will end up escaped and the$ or@ will trigger variable interpolation)

#GLOSSARY

MostConfig variables are determined by theConfigure script on platforms supported by it (which is most UNIX platforms). Some platforms have custom-madeConfig variables, and may thus not have some of the variables described below, or may have extraneous variables specific to that particular port. See the port specific documentation in such cases.

#M

#Mcc

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the Mcc program. After Configure runs, the value is reset to a plainMcc and is not useful.

#_

#_a

FromUnix.U:

This variable defines the extension used for ordinary libraries. For unix, it is.a. The. is included. Other possible values include.lib.

#_exe

FromUnix.U:

This variable defines the extension used for executable files. For unix it is empty. Other possible values include.exe.

#_o

FromUnix.U:

This variable defines the extension used for object files. For unix, it is.o. The. is included. Other possible values include.obj.

#a

#afs

Fromafs.U:

This variable is set totrue ifAFS (Andrew File System) is used on the system,false otherwise. It is possible to override this with a hint value or command line option, but you'd better know what you are doing.

#alignbytes

Fromalignbytes.U:

This variable holds the number of bytes required to align a double. Usual values are 2, 4 and 8.

#ansi2knr

Fromansi2knr.U:

This variable is set if the user needs to run ansi2knr. Currently, this is not supported, so we just abort.

#aphostname

Fromd_gethname.U:

Thie variable contains the command which can be used to compute the host name. The command is fully qualified by its absolute path, to make it safe when used by a process with super-user privileges.

#apiversion

Frompatchlevel.U:

This is a number which identifies the lowest version of perl to have anAPI (forXS extensions) compatible with the present version. For example, for 5.005_01, the apiversion should be 5.005, since 5.005_01 should be binary compatible with 5.005. This should probably be incremented manually somehow, perhaps frompatchlevel.h. For now, we'll guess maintenance subversions will retain binary compatibility.

#ar

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the ar program. After Configure runs, the value is reset to a plainar and is not useful.

#archlib

Fromarchlib.U:

This variable holds the name of the directory in which the user wants to put architecture-dependent public library files for $package. It is most often a local directory such as/usr/local/lib. Programs using this variable must be prepared to deal with filename expansion.

#archlibexp

Fromarchlib.U:

This variable is the same as the archlib variable, but is filename expanded at configuration time, for convenient use.

#archname

Fromarchname.U:

This variable is a short name to characterize the current architecture. It is used mainly to construct the default archlib.

#archobjs

FromUnix.U:

This variable defines any additional objects that must be linked in with the program on this architecture. On unix, it is usually empty. It is typically used to include emulations of unix calls or other facilities. For perl onOS/2, for example, this would includeos2/os2.obj.

#awk

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the awk program. After Configure runs, the value is reset to a plainawk and is not useful.

#b

#baserev

Frombaserev.U:

The base revision level of this package, from the.package file.

#bash

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#bin

Frombin.U:

This variable holds the name of the directory in which the user wants to put publicly executable images for the package in question. It is most often a local directory such as/usr/local/bin. Programs using this variable must be prepared to deal with~name substitution.

#binexp

Frombin.U:

This is the same as the bin variable, but is filename expanded at configuration time, for use in your makefiles.

#bison

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#byacc

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the byacc program. After Configure runs, the value is reset to a plainbyacc and is not useful.

#byteorder

Frombyteorder.U:

This variable holds the byte order. In the following, larger digits indicate more significance. The variable byteorder is either 4321 on a big-endian machine, or 1234 on a little-endian, or 87654321 on a Cray ... or 3412 with weird order !

#c

#c

Fromn.U:

This variable contains the \c string if that is what causes the echo command to suppress newline. Otherwise it is null. Correct usage is

$echo $n "prompt for a question: $c".
#castflags

Fromd_castneg.U:

This variable contains a flag that precise difficulties the compiler has casting odd floating values to unsigned long:

0 = ok1 = couldn't cast < 02 = couldn't cast >= 0x800000004 = couldn't cast in argument expression list
#cat

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the cat program. After Configure runs, the value is reset to a plaincat and is not useful.

#cc

Fromcc.U:

This variable holds the name of a command to execute a C compiler which can resolve multiple global references that happen to have the same name. Usual values arecc,Mcc,cc -M, andgcc.

#cccdlflags

Fromdlsrc.U:

This variable contains any special flags that might need to be passed withcc -c to compile modules to be used to create a shared library that will be used for dynamic loading. For hpux, this should be +z. It is up to the makefile to use it.

#ccdlflags

Fromdlsrc.U:

This variable contains any special flags that might need to be passed to cc to link with a shared library for dynamic loading. It is up to the makefile to use it. For sunos 4.1, it should be empty.

#ccflags

Fromccflags.U:

This variable contains any additional C compiler flags desired by the user. It is up to the Makefile to use this.

#cf_by

Fromcf_who.U:

Login name of the person who ran the Configure script and answered the questions. This is used to tag bothconfig.sh andconfig_h.SH.

#cf_email

Fromcf_email.U:

Electronic mail address of the person who ran Configure. This can be used by units that require the user's e-mail, likeMailList.U.

#cf_time

Fromcf_who.U:

Holds the output of thedate command when the configuration file was produced. This is used to tag bothconfig.sh andconfig_h.SH.

#chgrp

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#chmod

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#chown

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#clocktype

Fromd_times.U:

This variable holds the type returned by times(). It can be long, or clock_t onBSD sites (in which case <sys/types.h> should be included).

#comm

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the comm program. After Configure runs, the value is reset to a plaincomm and is not useful.

#compress

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#contains

Fromcontains.U:

This variable holds the command to do a grep with a proper return status. On most sane systems it is simplygrep. On insane systems it is a grep followed by a cat followed by a test. This variable is primarily for the use of other Configure units.

#cp

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the cp program. After Configure runs, the value is reset to a plaincp and is not useful.

#cpio

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#cpp

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the cpp program. After Configure runs, the value is reset to a plaincpp and is not useful.

#cpp_stuff

Fromcpp_stuff.U:

This variable contains an identification of the catenation mechanism used by the C preprocessor.

#cppflags

Fromccflags.U:

This variable holds the flags that will be passed to the C pre- processor. It is up to the Makefile to use it.

#cpplast

Fromcppstdin.U:

This variable has the same functionality as cppminus, only it applies to cpprun and not cppstdin.

#cppminus

Fromcppstdin.U:

This variable contains the second part of the string which will invoke the C preprocessor on the standard input and produce to standard output. This variable will have the value- if cppstdin needs a minus to specify standard input, otherwise the value is "".

#cpprun

Fromcppstdin.U:

This variable contains the command which will invoke a C preprocessor on standard input and put the output to stdout. It is guaranteed not to be a wrapper and may be a null string if no preprocessor can be made directly available. This preprocessor might be different from the one used by the C compiler. Don't forget to append cpplast after the preprocessor options.

#cppstdin

Fromcppstdin.U:

This variable contains the command which will invoke the C preprocessor on standard input and put the output to stdout. It is primarily used by other Configure units that ask about preprocessor symbols.

#cryptlib

Fromd_crypt.U:

This variable holds -lcrypt or the path to alibcrypt.a archive if the crypt() function is not defined in the standard C library. It is up to the Makefile to use this.

#csh

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the csh program. After Configure runs, the value is reset to a plaincsh and is not useful.

#d

#d_Gconvert

Fromd_gconvert.U:

This variable holds what Gconvert is defined as to convert floating point numbers into strings. It could begconvert or a morecomplex macro emulating gconvert with gcvt() or sprintf.

#d_access

Fromd_access.U:

This variable conditionally definesHAS_ACCESS if the access() system call is available to check for access permissions using real IDs.

#d_alarm

Fromd_alarm.U:

This variable conditionally defines theHAS_ALARM symbol, which indicates to the C program that the alarm() routine is available.

#d_archlib

Fromarchlib.U:

This variable conditionally definesARCHLIB to hold the pathname of architecture-dependent library files for $package. If $archlib is the same as $privlib, then this is set to undef.

#d_attribut

Fromd_attribut.U:

This variable conditionally definesHASATTRIBUTE, which indicates the C compiler can check for function attributes, such as printf formats.

#d_bcmp

Fromd_bcmp.U:

This variable conditionally defines theHAS_BCMP symbol if the bcmp() routine is available to compare strings.

#d_bcopy

Fromd_bcopy.U:

This variable conditionally defines theHAS_BCOPY symbol if the bcopy() routine is available to copy strings.

#d_bsd

FromGuess.U:

This symbol conditionally defines the symbolBSD when running on aBSD system.

#d_bsdgetpgrp

Fromd_getpgrp.U:

This variable conditionally definesUSE_BSD_GETPGRP if getpgrp needs one arguments whereasUSG one needs none.

#d_bsdsetpgrp

Fromd_setpgrp.U:

This variable conditionally definesUSE_BSD_SETPGRP if setpgrp needs two arguments whereasUSG one needs none. See also d_setpgid for aPOSIX interface.

#d_bzero

Fromd_bzero.U:

This variable conditionally defines theHAS_BZERO symbol if the bzero() routine is available to set memory to 0.

#d_casti32

Fromd_casti32.U:

This variable conditionally defines CASTI32, which indicates whether the C compiler can cast large floats to 32-bit ints.

#d_castneg

Fromd_castneg.U:

This variable conditionally definesCASTNEG, which indicates wether the C compiler can cast negative float to unsigned.

#d_charvspr

Fromd_vprintf.U:

This variable conditionally definesCHARVSPRINTF if this system has vsprintf returning type (char*). The trend seems to be to declare it as "int vsprintf()".

#d_chown

Fromd_chown.U:

This variable conditionally defines theHAS_CHOWN symbol, which indicates to the C program that the chown() routine is available.

#d_chroot

Fromd_chroot.U:

This variable conditionally defines theHAS_CHROOT symbol, which indicates to the C program that the chroot() routine is available.

#d_chsize

Fromd_chsize.U:

This variable conditionally defines theCHSIZE symbol, which indicates to the C program that the chsize() routine is available to truncate files. You might need a -lx to get this routine.

#d_closedir

Fromd_closedir.U:

This variable conditionally definesHAS_CLOSEDIR if closedir() is available.

#d_const

Fromd_const.U:

This variable conditionally defines theHASCONST symbol, which indicates to the C program that this C compiler knows about the const type.

#d_crypt

Fromd_crypt.U:

This variable conditionally defines theCRYPT symbol, which indicates to the C program that the crypt() routine is available to encrypt passwords and the like.

#d_csh

Fromd_csh.U:

This variable conditionally defines theCSH symbol, which indicates to the C program that the C-shell exists.

#d_cuserid

Fromd_cuserid.U:

This variable conditionally defines theHAS_CUSERID symbol, which indicates to the C program that the cuserid() routine is available to get character login names.

#d_dbl_dig

Fromd_dbl_dig.U:

This variable conditionally defines d_dbl_dig if this system's header files provideDBL_DIG, which is the number of significant digits in a double precision number.

#d_difftime

Fromd_difftime.U:

This variable conditionally defines theHAS_DIFFTIME symbol, which indicates to the C program that the difftime() routine is available.

#d_dirnamlen

Fromi_dirent.U:

This variable conditionally definesDIRNAMLEN, which indicates to the C program that the length of directory entry names is provided by a d_namelen field.

#d_dlerror

Fromd_dlerror.U:

This variable conditionally defines theHAS_DLERROR symbol, which indicates to the C program that the dlerror() routine is available.

#d_dlopen

Fromd_dlopen.U:

This variable conditionally defines theHAS_DLOPEN symbol, which indicates to the C program that the dlopen() routine is available.

#d_dlsymun

Fromd_dlsymun.U:

This variable conditionally definesDLSYM_NEEDS_UNDERSCORE, which indicates that we need to prepend an underscore to the symbol name before calling dlsym().

#d_dosuid

Fromd_dosuid.U:

This variable conditionally defines the symbolDOSUID, which tells the C program that it should insert setuid emulation code on hosts which have setuid #! scripts disabled.

#d_dup2

Fromd_dup2.U:

This variable conditionally defines HAS_DUP2 if dup2() is available to duplicate file descriptors.

#d_endgrent

Fromd_endgrent.U:

This variable conditionally defines theHAS_ENDGRENT symbol, which indicates to the C program that the endgrent() routine is available for sequential access of the group database.

#d_endhent

Fromd_endhent.U:

This variable conditionally definesHAS_ENDHOSTENT if endhostent() is available to close whatever was being used for host queries.

#d_endnent

Fromd_endnent.U:

This variable conditionally definesHAS_ENDNETENT if endnetent() is available to close whatever was being used for network queries.

#d_endpent

Fromd_endpent.U:

This variable conditionally definesHAS_ENDPROTOENT if endprotoent() is available to close whatever was being used for protocol queries.

#d_endpwent

Fromd_endpwent.U:

This variable conditionally defines theHAS_ENDPWENT symbol, which indicates to the C program that the endpwent() routine is available for sequential access of the passwd database.

#d_endsent

Fromd_endsent.U:

This variable conditionally definesHAS_ENDSERVENT if endservent() is available to close whatever was being used for service queries.

#d_eofnblk

Fromnblock_io.U:

This variable conditionally definesEOF_NONBLOCK ifEOF can be seen when reading from a non-blockingI/O source.

#d_eunice

FromGuess.U:

This variable conditionally defines the symbolsEUNICE andVAX, which alerts the C program that it must deal with ideosyncracies ofVMS.

#d_fchmod

Fromd_fchmod.U:

This variable conditionally defines theHAS_FCHMOD symbol, which indicates to the C program that the fchmod() routine is available to change mode of opened files.

#d_fchown

Fromd_fchown.U:

This variable conditionally defines theHAS_FCHOWN symbol, which indicates to the C program that the fchown() routine is available to change ownership of opened files.

#d_fcntl

Fromd_fcntl.U:

This variable conditionally defines theHAS_FCNTL symbol, and indicates whether the fcntl() function exists

#d_fd_macros

Fromd_fd_set.U:

This variable contains the eventual value of theHAS_FD_MACROS symbol, which indicates if your C compiler knows about the macros which manipulate an fd_set.

#d_fd_set

Fromd_fd_set.U:

This variable contains the eventual value of theHAS_FD_SET symbol, which indicates if your C compiler knows about the fd_set typedef.

#d_fds_bits

Fromd_fd_set.U:

This variable contains the eventual value of theHAS_FDS_BITS symbol, which indicates if your fd_set typedef contains the fds_bits member. If you have an fd_set typedef, but the dweebs who installed it did a half-fast job and neglected to provide the macros to manipulate an fd_set,HAS_FDS_BITS will let us know how to fix the gaffe.

#d_fgetpos

Fromd_fgetpos.U:

This variable conditionally definesHAS_FGETPOS if fgetpos() is available to get the file position indicator.

#d_flexfnam

Fromd_flexfnam.U:

This variable conditionally defines theFLEXFILENAMES symbol, which indicates that the system supports filenames longer than 14 characters.

#d_flock

Fromd_flock.U:

This variable conditionally definesHAS_FLOCK if flock() is available to do file locking.

#d_fork

Fromd_fork.U:

This variable conditionally defines theHAS_FORK symbol, which indicates to the C program that the fork() routine is available.

#d_fpathconf

Fromd_pathconf.U:

This variable conditionally defines theHAS_FPATHCONF symbol, which indicates to the C program that the pathconf() routine is available to determine file-system related limits and options associated with a given open file descriptor.

#d_fsetpos

Fromd_fsetpos.U:

This variable conditionally definesHAS_FSETPOS if fsetpos() is available to set the file position indicator.

#d_ftime

Fromd_ftime.U:

This variable conditionally defines theHAS_FTIME symbol, which indicates that the ftime() routine exists. The ftime() routine is basically a sub-second accuracy clock.

#d_getgrent

Fromd_getgrent.U:

This variable conditionally defines theHAS_GETGRENT symbol, which indicates to the C program that the getgrent() routine is available for sequential access of the group database.

#d_getgrps

Fromd_getgrps.U:

This variable conditionally defines theHAS_GETGROUPS symbol, which indicates to the C program that the getgroups() routine is available to get the list of process groups.

#d_gethbyaddr

Fromd_gethbyad.U:

This variable conditionally defines theHAS_GETHOSTBYADDR symbol, which indicates to the C program that the gethostbyaddr() routine is available to look up hosts by theirIP addresses.

#d_gethbyname

Fromd_gethbynm.U:

This variable conditionally defines theHAS_GETHOSTBYNAME symbol, which indicates to the C program that the gethostbyname() routine is available to look up host names in some data base or other.

#d_gethent

Fromd_gethent.U:

This variable conditionally definesHAS_GETHOSTENT if gethostent() is available to look up host names in some data base or another.

#d_gethname

Fromd_gethname.U:

This variable conditionally defines theHAS_GETHOSTNAME symbol, which indicates to the C program that the gethostname() routine may be used to derive the host name.

#d_gethostprotos

Fromd_gethostprotos.U:

This variable conditionally defines theHAS_GETHOST_PROTOS symbol, which indicates to the C program that <netdb.h> supplies prototypes for the various gethost*() functions. See alsonetdbtype.U for probing for various netdb types.

#d_getlogin

Fromd_getlogin.U:

This variable conditionally defines theHAS_GETLOGIN symbol, which indicates to the C program that the getlogin() routine is available to get the login name.

#d_getnbyaddr

Fromd_getnbyad.U:

This variable conditionally defines theHAS_GETNETBYADDR symbol, which indicates to the C program that the getnetbyaddr() routine is available to look up networks by theirIP addresses.

#d_getnbyname

Fromd_getnbynm.U:

This variable conditionally defines theHAS_GETNETBYNAME symbol, which indicates to the C program that the getnetbyname() routine is available to look up networks by their names.

#d_getnent

Fromd_getnent.U:

This variable conditionally definesHAS_GETNETENT if getnetent() is available to look up network names in some data base or another.

#d_getnetprotos

Fromd_getnetprotos.U:

This variable conditionally defines theHAS_GETNET_PROTOS symbol, which indicates to the C program that <netdb.h> supplies prototypes for the various getnet*() functions. See alsonetdbtype.U for probing for various netdb types.

#d_getpbyname

Fromd_getprotby.U:

This variable conditionally defines theHAS_GETPROTOBYNAME symbol, which indicates to the C program that the getprotobyname() routine is available to look up protocols by their name.

#d_getpbynumber

Fromd_getprotby.U:

This variable conditionally defines theHAS_GETPROTOBYNUMBER symbol, which indicates to the C program that the getprotobynumber() routine is available to look up protocols by their number.

#d_getpent

Fromd_getpent.U:

This variable conditionally definesHAS_GETPROTOENT if getprotoent() is available to look up protocols in some data base or another.

#d_getpgid

Fromd_getpgid.U:

This variable conditionally defines theHAS_GETPGID symbol, which indicates to the C program that the getpgid(pid) function is available to get the process group id.

#d_getpgrp2

Fromd_getpgrp2.U:

This variable conditionally defines the HAS_GETPGRP2 symbol, which indicates to the C program that the getpgrp2() (as inDG/UX) routine is available to get the current process group.

#d_getpgrp

Fromd_getpgrp.U:

This variable conditionally definesHAS_GETPGRP if getpgrp() is available to get the current process group.

#d_getppid

Fromd_getppid.U:

This variable conditionally defines theHAS_GETPPID symbol, which indicates to the C program that the getppid() routine is available to get the parent processID.

#d_getprior

Fromd_getprior.U:

This variable conditionally definesHAS_GETPRIORITY if getpriority() is available to get a process's priority.

#d_getprotoprotos

Fromd_getprotoprotos.U:

This variable conditionally defines theHAS_GETPROTO_PROTOS symbol, which indicates to the C program that <netdb.h> supplies prototypes for the various getproto*() functions. See alsonetdbtype.U for probing for various netdb types.

#d_getpwent

Fromd_getpwent.U:

This variable conditionally defines theHAS_GETPWENT symbol, which indicates to the C program that the getpwent() routine is available for sequential access of the passwd database.

#d_getsbyname

Fromd_getsrvby.U:

This variable conditionally defines theHAS_GETSERVBYNAME symbol, which indicates to the C program that the getservbyname() routine is available to look up services by their name.

#d_getsbyport

Fromd_getsrvby.U:

This variable conditionally defines theHAS_GETSERVBYPORT symbol, which indicates to the C program that the getservbyport() routine is available to look up services by their port.

#d_getsent

Fromd_getsent.U:

This variable conditionally definesHAS_GETSERVENT if getservent() is available to look up network services in some data base or another.

#d_getservprotos

Fromd_getservprotos.U:

This variable conditionally defines theHAS_GETSERV_PROTOS symbol, which indicates to the C program that <netdb.h> supplies prototypes for the various getserv*() functions. See alsonetdbtype.U for probing for various netdb types.

#d_gettimeod

Fromd_ftime.U:

This variable conditionally defines theHAS_GETTIMEOFDAY symbol, which indicates that the gettimeofday() system call exists (to obtain a sub-second accuracy clock). You should probably include <sys/resource.h>.

#d_gnulibc

Fromd_gnulibc.U:

Defined if we're dealing with theGNU C Library.

#d_grpasswd

Fromi_grp.U:

This variable conditionally definesGRPASSWD, which indicates that struct group in <grp.h> contains gr_passwd.

#d_htonl

Fromd_htonl.U:

This variable conditionally definesHAS_HTONL if htonl() and its friends are available to do network order byte swapping.

#d_index

Fromd_strchr.U:

This variable conditionally definesHAS_INDEX if index() and rindex() are available for string searching.

#d_inetaton

Fromd_inetaton.U:

This variable conditionally defines theHAS_INET_ATON symbol, which indicates to the C program that the inet_aton() function is available to parseIP addressdotted-quad strings.

#d_isascii

Fromd_isascii.U:

This variable conditionally defines theHAS_ISASCII constant, which indicates to the C program that isascii() is available.

#d_killpg

Fromd_killpg.U:

This variable conditionally defines theHAS_KILLPG symbol, which indicates to the C program that the killpg() routine is available to kill process groups.

#d_lchown

Fromd_lchown.U:

This variable conditionally defines theHAS_LCHOWN symbol, which indicates to the C program that the lchown() routine is available to operate on a symbolic link (instead of following the link).

#d_link

Fromd_link.U:

This variable conditionally definesHAS_LINK if link() is available to create hard links.

#d_locconv

Fromd_locconv.U:

This variable conditionally definesHAS_LOCALECONV if localeconv() is available for numeric and monetary formatting conventions.

#d_lockf

Fromd_lockf.U:

This variable conditionally definesHAS_LOCKF if lockf() is available to do file locking.

#d_longdbl

Fromd_longdbl.U:

This variable conditionally definesHAS_LONG_DOUBLE if the long double type is supported.

#d_longlong

Fromd_longlong.U:

This variable conditionally definesHAS_LONG_LONG if the long long type is supported.

#d_lstat

Fromd_lstat.U:

This variable conditionally definesHAS_LSTAT if lstat() is available to do file stats on symbolic links.

#d_mblen

Fromd_mblen.U:

This variable conditionally defines theHAS_MBLEN symbol, which indicates to the C program that the mblen() routine is available to find the number of bytes in a multibye character.

#d_mbstowcs

Fromd_mbstowcs.U:

This variable conditionally defines theHAS_MBSTOWCS symbol, which indicates to the C program that the mbstowcs() routine is available to convert a multibyte string into a wide character string.

#d_mbtowc

Fromd_mbtowc.U:

This variable conditionally defines theHAS_MBTOWC symbol, which indicates to the C program that the mbtowc() routine is available to convert multibyte to a wide character.

#d_memcmp

Fromd_memcmp.U:

This variable conditionally defines theHAS_MEMCMP symbol, which indicates to the C program that the memcmp() routine is available to compare blocks of memory.

#d_memcpy

Fromd_memcpy.U:

This variable conditionally defines theHAS_MEMCPY symbol, which indicates to the C program that the memcpy() routine is available to copy blocks of memory.

#d_memmove

Fromd_memmove.U:

This variable conditionally defines theHAS_MEMMOVE symbol, which indicates to the C program that the memmove() routine is available to copy potentatially overlapping blocks of memory.

#d_memset

Fromd_memset.U:

This variable conditionally defines theHAS_MEMSET symbol, which indicates to the C program that the memset() routine is available to set blocks of memory.

#d_mkdir

Fromd_mkdir.U:

This variable conditionally defines theHAS_MKDIR symbol, which indicates to the C program that the mkdir() routine is available to createdirectories..

#d_mkfifo

Fromd_mkfifo.U:

This variable conditionally defines theHAS_MKFIFO symbol, which indicates to the C program that the mkfifo() routine is available.

#d_mktime

Fromd_mktime.U:

This variable conditionally defines theHAS_MKTIME symbol, which indicates to the C program that the mktime() routine is available.

#d_msg

Fromd_msg.U:

This variable conditionally defines theHAS_MSG symbol, which indicates that the entire msg*(2) library is present.

#d_msgctl

Fromd_msgctl.U:

This variable conditionally defines theHAS_MSGCTL symbol, which indicates to the C program that the msgctl() routine is available.

#d_msgget

Fromd_msgget.U:

This variable conditionally defines theHAS_MSGGET symbol, which indicates to the C program that the msgget() routine is available.

#d_msgrcv

Fromd_msgrcv.U:

This variable conditionally defines theHAS_MSGRCV symbol, which indicates to the C program that the msgrcv() routine is available.

#d_msgsnd

Fromd_msgsnd.U:

This variable conditionally defines theHAS_MSGSND symbol, which indicates to the C program that the msgsnd() routine is available.

#d_mymalloc

Frommallocsrc.U:

This variable conditionally definesMYMALLOC in case other parts of the source want to take special action ifMYMALLOC is used. This may include different sorts of profiling or error detection.

#d_nice

Fromd_nice.U:

This variable conditionally defines theHAS_NICE symbol, which indicates to the C program that the nice() routine is available.

#d_oldpthreads

Fromusethreads.U:

This variable conditionally defines theOLD_PTHREADS_API symbol, and indicates that Perl should be built to use the old draftPOSIX threadsAPI. This is only potneially meaningful if usethreads is set.

#d_oldsock

Fromd_socket.U:

This variable conditionally defines theOLDSOCKET symbol, which indicates that theBSD socket interface is based on 4.1c and not 4.2.

#d_open3

Fromd_open3.U:

This variable conditionally defines the HAS_OPEN3 manifest constant, which indicates to the C program that the 3 argument version of the open(2) function is available.

#d_pathconf

Fromd_pathconf.U:

This variable conditionally defines theHAS_PATHCONF symbol, which indicates to the C program that the pathconf() routine is available to determine file-system related limits and options associated with a given filename.

#d_pause

Fromd_pause.U:

This variable conditionally defines theHAS_PAUSE symbol, which indicates to the C program that the pause() routine is available to suspend a process until a signal is received.

#d_phostname

Fromd_gethname.U:

This variable conditionally defines thePHOSTNAME symbol, which contains the shell command which, when fed to popen(), may be used to derive the host name.

#d_pipe

Fromd_pipe.U:

This variable conditionally defines theHAS_PIPE symbol, which indicates to the C program that the pipe() routine is available to create an inter-process channel.

#d_poll

Fromd_poll.U:

This variable conditionally defines theHAS_POLL symbol, which indicates to the C program that the poll() routine is available to poll active file descriptors.

#d_portable

Fromd_portable.U:

This variable conditionally defines thePORTABLE symbol, which indicates to the C program that it should not assume that it is running on the machine it was compiled on.

#d_pthread_yield

Fromd_pthread_y.U:

This variable conditionally defines theHAS_PTHREAD_YIELD symbol if the pthread_yield routine is available to yield the execution of the current thread.

#d_pthreads_created_joinable

Fromd_pthreadj.U:

This variable conditionally defines thePTHREADS_CREATED_JOINABLE symbol if pthreads are created in the joinable (aka undetached) state.

#d_pwage

Fromi_pwd.U:

This variable conditionally definesPWAGE, which indicates that struct passwd contains pw_age.

#d_pwchange

Fromi_pwd.U:

This variable conditionally definesPWCHANGE, which indicates that struct passwd contains pw_change.

#d_pwclass

Fromi_pwd.U:

This variable conditionally definesPWCLASS, which indicates that struct passwd contains pw_class.

#d_pwcomment

Fromi_pwd.U:

This variable conditionally definesPWCOMMENT, which indicates that struct passwd contains pw_comment.

#d_pwexpire

Fromi_pwd.U:

This variable conditionally definesPWEXPIRE, which indicates that struct passwd contains pw_expire.

#d_pwgecos

Fromi_pwd.U:

This variable conditionally definesPWGECOS, which indicates that struct passwd contains pw_gecos.

#d_pwpasswd

Fromi_pwd.U:

This variable conditionally definesPWPASSWD, which indicates that struct passwd contains pw_passwd.

#d_pwquota

Fromi_pwd.U:

This variable conditionally definesPWQUOTA, which indicates that struct passwd contains pw_quota.

#d_readdir

Fromd_readdir.U:

This variable conditionally definesHAS_READDIR if readdir() is available to read directory entries.

#d_readlink

Fromd_readlink.U:

This variable conditionally defines theHAS_READLINK symbol, which indicates to the C program that the readlink() routine is available to read the value of a symbolic link.

#d_rename

Fromd_rename.U:

This variable conditionally defines theHAS_RENAME symbol, which indicates to the C program that the rename() routine is available to rename files.

#d_rewinddir

Fromd_readdir.U:

This variable conditionally definesHAS_REWINDDIR if rewinddir() is available.

#d_rmdir

Fromd_rmdir.U:

This variable conditionally definesHAS_RMDIR if rmdir() is available to remove directories.

#d_safebcpy

Fromd_safebcpy.U:

This variable conditionally defines theHAS_SAFE_BCOPY symbol if the bcopy() routine can do overlapping copies.

#d_safemcpy

Fromd_safemcpy.U:

This variable conditionally defines theHAS_SAFE_MEMCPY symbol if the memcpy() routine can do overlapping copies.

#d_sanemcmp

Fromd_sanemcmp.U:

This variable conditionally defines theHAS_SANE_MEMCMP symbol if the memcpy() routine is available and can be used to compare relative magnitudes of chars with their high bits set.

#d_sched_yield

Fromd_pthread_y.U:

This variable conditionally defines theHAS_SCHED_YIELD symbol if the sched_yield routine is available to yield the execution of the current thread.

#d_seekdir

Fromd_readdir.U:

This variable conditionally definesHAS_SEEKDIR if seekdir() is available.

#d_select

Fromd_select.U:

This variable conditionally definesHAS_SELECT if select() is available to select active file descriptors. A <sys/time.h> inclusion may be necessary for the timeout field.

#d_sem

Fromd_sem.U:

This variable conditionally defines theHAS_SEM symbol, which indicates that the entire sem*(2) library is present.

#d_semctl

Fromd_semctl.U:

This variable conditionally defines theHAS_SEMCTL symbol, which indicates to the C program that the semctl() routine is available.

#d_semctl_semid_ds

Fromd_union_senum.U:

This variable conditionally definesUSE_SEMCTL_SEMID_DS, which indicates that struct semid_ds * is to be used for semctlIPC_STAT.

#d_semctl_semun

Fromd_union_senum.U:

This variable conditionally definesUSE_SEMCTL_SEMUN, which indicates that union semun is to be used for semctlIPC_STAT.

#d_semget

Fromd_semget.U:

This variable conditionally defines theHAS_SEMGET symbol, which indicates to the C program that the semget() routine is available.

#d_semop

Fromd_semop.U:

This variable conditionally defines theHAS_SEMOP symbol, which indicates to the C program that the semop() routine is available.

#d_setegid

Fromd_setegid.U:

This variable conditionally defines theHAS_SETEGID symbol, which indicates to the C program that the setegid() routine is available to change the effective gid of the current program.

#d_seteuid

Fromd_seteuid.U:

This variable conditionally defines theHAS_SETEUID symbol, which indicates to the C program that the seteuid() routine is available to change the effective uid of the current program.

#d_setgrent

Fromd_setgrent.U:

This variable conditionally defines theHAS_SETGRENT symbol, which indicates to the C program that the setgrent() routine is available for initializing sequential access to the group database.

#d_setgrps

Fromd_setgrps.U:

This variable conditionally defines theHAS_SETGROUPS symbol, which indicates to the C program that the setgroups() routine is available to set the list of process groups.

#d_sethent

Fromd_sethent.U:

This variable conditionally definesHAS_SETHOSTENT if sethostent() is available.

#d_setlinebuf

Fromd_setlnbuf.U:

This variable conditionally defines theHAS_SETLINEBUF symbol, which indicates to the C program that the setlinebuf() routine is available to change stderr or stdout from block-buffered or unbuffered to a line-buffered mode.

#d_setlocale

Fromd_setlocale.U:

This variable conditionally definesHAS_SETLOCALE if setlocale() is available to handle locale-specific ctype implementations.

#d_setnent

Fromd_setnent.U:

This variable conditionally definesHAS_SETNETENT if setnetent() is available.

#d_setpent

Fromd_setpent.U:

This variable conditionally definesHAS_SETPROTOENT if setprotoent() is available.

#d_setpgid

Fromd_setpgid.U:

This variable conditionally defines theHAS_SETPGID symbol if the setpgid(pid, gpid) function is available to set process groupID.

#d_setpgrp2

Fromd_setpgrp2.U:

This variable conditionally defines the HAS_SETPGRP2 symbol, which indicates to the C program that the setpgrp2() (as inDG/UX) routine is available to set the current process group.

#d_setpgrp

Fromd_setpgrp.U:

This variable conditionally definesHAS_SETPGRP if setpgrp() is available to set the current process group.

#d_setprior

Fromd_setprior.U:

This variable conditionally definesHAS_SETPRIORITY if setpriority() is available to set a process's priority.

#d_setpwent

Fromd_setpwent.U:

This variable conditionally defines theHAS_SETPWENT symbol, which indicates to the C program that the setpwent() routine is available for initializing sequential access to the passwd database.

#d_setregid

Fromd_setregid.U:

This variable conditionally definesHAS_SETREGID if setregid() is available to change the real and effective gid of the current process.

#d_setresgid

Fromd_setregid.U:

This variable conditionally definesHAS_SETRESGID if setresgid() is available to change the real, effective and saved gid of the current process.

#d_setresuid

Fromd_setreuid.U:

This variable conditionally definesHAS_SETREUID if setresuid() is available to change the real, effective and saved uid of the current process.

#d_setreuid

Fromd_setreuid.U:

This variable conditionally definesHAS_SETREUID if setreuid() is available to change the real and effective uid of the current process.

#d_setrgid

Fromd_setrgid.U:

This variable conditionally defines theHAS_SETRGID symbol, which indicates to the C program that the setrgid() routine is available to change the real gid of the current program.

#d_setruid

Fromd_setruid.U:

This variable conditionally defines theHAS_SETRUID symbol, which indicates to the C program that the setruid() routine is available to change the real uid of the current program.

#d_setsent

Fromd_setsent.U:

This variable conditionally definesHAS_SETSERVENT if setservent() is available.

#d_setsid

Fromd_setsid.U:

This variable conditionally definesHAS_SETSID if setsid() is available to set the process groupID.

#d_setvbuf

Fromd_setvbuf.U:

This variable conditionally defines theHAS_SETVBUF symbol, which indicates to the C program that the setvbuf() routine is available to change buffering on an open stdio stream.

#d_sfio

Fromd_sfio.U:

This variable conditionally defines theUSE_SFIO symbol, and indicates whether sfio is available (and should be used).

#d_shm

Fromd_shm.U:

This variable conditionally defines theHAS_SHM symbol, which indicates that the entire shm*(2) library is present.

#d_shmat

Fromd_shmat.U:

This variable conditionally defines theHAS_SHMAT symbol, which indicates to the C program that the shmat() routine is available.

#d_shmatprototype

Fromd_shmat.U:

This variable conditionally defines theHAS_SHMAT_PROTOTYPE symbol, which indicates thatsys/shm.h has a prototype for shmat.

#d_shmctl

Fromd_shmctl.U:

This variable conditionally defines theHAS_SHMCTL symbol, which indicates to the C program that the shmctl() routine is available.

#d_shmdt

Fromd_shmdt.U:

This variable conditionally defines theHAS_SHMDT symbol, which indicates to the C program that the shmdt() routine is available.

#d_shmget

Fromd_shmget.U:

This variable conditionally defines theHAS_SHMGET symbol, which indicates to the C program that the shmget() routine is available.

#d_sigaction

Fromd_sigaction.U:

This variable conditionally defines theHAS_SIGACTION symbol, which indicates that the Vr4 sigaction() routine is available.

#d_sigsetjmp

Fromd_sigsetjmp.U:

This variable conditionally defines theHAS_SIGSETJMP symbol, which indicates that the sigsetjmp() routine is available to call setjmp() and optionally save the process's signal mask.

#d_socket

Fromd_socket.U:

This variable conditionally definesHAS_SOCKET, which indicates that theBSD socket interface is supported.

#d_sockpair

Fromd_socket.U:

This variable conditionally defines theHAS_SOCKETPAIR symbol, which indicates that theBSD socketpair() is supported.

#d_statblks

Fromd_statblks.U:

This variable conditionally definesUSE_STAT_BLOCKS if this system has a stat structure declaring st_blksize and st_blocks.

#d_stdio_cnt_lval

Fromd_stdstdio.U:

This variable conditionally definesSTDIO_CNT_LVALUE if theFILE_cnt macro can be used as an lvalue.

#d_stdio_ptr_lval

Fromd_stdstdio.U:

This variable conditionally definesSTDIO_PTR_LVALUE if theFILE_ptr macro can be used as an lvalue.

#d_stdiobase

Fromd_stdstdio.U:

This variable conditionally definesUSE_STDIO_BASE if this system has aFILE structure declaring a usable _base field (or equivalent) instdio.h.

#d_stdstdio

Fromd_stdstdio.U:

This variable conditionally definesUSE_STDIO_PTR if this system has aFILE structure declaring usable _ptr and _cnt fields (or equivalent) instdio.h.

#d_strchr

Fromd_strchr.U:

This variable conditionally definesHAS_STRCHR if strchr() and strrchr() are available for string searching.

#d_strcoll

Fromd_strcoll.U:

This variable conditionally definesHAS_STRCOLL if strcoll() is available to compare strings using collating information.

#d_strctcpy

Fromd_strctcpy.U:

This variable conditionally defines theUSE_STRUCT_COPY symbol, which indicates to the C program that this C compiler knows how to copy structures.

#d_strerrm

Fromd_strerror.U:

This variable holds what Strerrr is defined as to translate an error code condition into an error message string. It could bestrerror or a morecomplex macro emulating strrror with sys_errlist[], or theunknown string when both strerror and sys_errlist are missing.

#d_strerror

Fromd_strerror.U:

This variable conditionally definesHAS_STRERROR if strerror() is available to translate error numbers to strings.

#d_strtod

Fromd_strtod.U:

This variable conditionally defines theHAS_STRTOD symbol, which indicates to the C program that the strtod() routine is available to provide better numeric string conversion than atof().

#d_strtol

Fromd_strtol.U:

This variable conditionally defines theHAS_STRTOL symbol, which indicates to the C program that the strtol() routine is available to provide better numeric string conversion than atoi() and friends.

#d_strtoul

Fromd_strtoul.U:

This variable conditionally defines theHAS_STRTOUL symbol, which indicates to the C program that the strtoul() routine is available to provide conversion of strings to unsigned long.

#d_strxfrm

Fromd_strxfrm.U:

This variable conditionally definesHAS_STRXFRM if strxfrm() is available to transform strings.

#d_suidsafe

Fromd_dosuid.U:

This variable conditionally definesSETUID_SCRIPTS_ARE_SECURE_NOW if setuid scripts can be secure. This test looks in/dev/fd/.

#d_symlink

Fromd_symlink.U:

This variable conditionally defines theHAS_SYMLINK symbol, which indicates to the C program that the symlink() routine is available to create symbolic links.

#d_syscall

Fromd_syscall.U:

This variable conditionally definesHAS_SYSCALL if syscall() is available call arbitrary system calls.

#d_sysconf

Fromd_sysconf.U:

This variable conditionally defines theHAS_SYSCONF symbol, which indicates to the C program that the sysconf() routine is available to determine system related limits and options.

#d_sysernlst

Fromd_strerror.U:

This variable conditionally definesHAS_SYS_ERRNOLIST if sys_errnolist[] is available to translate error numbers to the symbolic name.

#d_syserrlst

Fromd_strerror.U:

This variable conditionally definesHAS_SYS_ERRLIST if sys_errlist[] is available to translate error numbers to strings.

#d_system

Fromd_system.U:

This variable conditionally definesHAS_SYSTEM if system() is available to issue a shell command.

#d_tcgetpgrp

Fromd_tcgtpgrp.U:

This variable conditionally defines theHAS_TCGETPGRP symbol, which indicates to the C program that the tcgetpgrp() routine is available. to get foreground process groupID.

#d_tcsetpgrp

Fromd_tcstpgrp.U:

This variable conditionally defines theHAS_TCSETPGRP symbol, which indicates to the C program that the tcsetpgrp() routine is available to set foreground process groupID.

#d_telldir

Fromd_readdir.U:

This variable conditionally definesHAS_TELLDIR if telldir() is available.

#d_time

Fromd_time.U:

This variable conditionally defines theHAS_TIME symbol, which indicates that the time() routine exists. The time() routine is normaly provided onUNIX systems.

#d_times

Fromd_times.U:

This variable conditionally defines theHAS_TIMES symbol, which indicates that the times() routine exists. The times() routine is normaly provided onUNIX systems. You may have to include <sys/times.h>.

#d_truncate

Fromd_truncate.U:

This variable conditionally definesHAS_TRUNCATE if truncate() is available to truncate files.

#d_tzname

Fromd_tzname.U:

This variable conditionally definesHAS_TZNAME if tzname[] is available to access timezone names.

#d_umask

Fromd_umask.U:

This variable conditionally defines theHAS_UMASK symbol, which indicates to the C program that the umask() routine is available. to set and get the value of the file creation mask.

#d_uname

Fromd_gethname.U:

This variable conditionally defines theHAS_UNAME symbol, which indicates to the C program that the uname() routine may be used to derive the host name.

#d_union_semun

Fromd_union_senum.U:

This variable conditionally definesHAS_UNION_SEMUN if the union semun is defined by including <sys/sem.h>.

#d_vfork

Fromd_vfork.U:

This variable conditionally defines theHAS_VFORK symbol, which indicates the vfork() routine is available.

#d_void_closedir

Fromd_closedir.U:

This variable conditionally definesVOID_CLOSEDIR if closedir() does not return a value.

#d_voidsig

Fromd_voidsig.U:

This variable conditionally definesVOIDSIG if this system declares "void (*signal(...))()" insignal.h. The old way was to declare it as "int (*signal(...))()".

#d_voidtty

Fromi_sysioctl.U:

This variable conditionally definesUSE_IOCNOTTY to indicate that the ioctl() call withTIOCNOTTY should be used to void tty association. Otherwise (onUSG probably), it is enough to close the standard file decriptors and do a setpgrp().

#d_volatile

Fromd_volatile.U:

This variable conditionally defines theHASVOLATILE symbol, which indicates to the C program that this C compiler knows about the volatile declaration.

#d_vprintf

Fromd_vprintf.U:

This variable conditionally defines theHAS_VPRINTF symbol, which indicates to the C program that the vprintf() routine is available to printf with a pointer to an argument list.

#d_wait4

Fromd_wait4.U:

This variable conditionally defines the HAS_WAIT4 symbol, which indicates the wait4() routine is available.

#d_waitpid

Fromd_waitpid.U:

This variable conditionally definesHAS_WAITPID if waitpid() is available to wait for child process.

#d_wcstombs

Fromd_wcstombs.U:

This variable conditionally defines theHAS_WCSTOMBS symbol, which indicates to the C program that the wcstombs() routine is available to convert wide character strings to multibyte strings.

#d_wctomb

Fromd_wctomb.U:

This variable conditionally defines theHAS_WCTOMB symbol, which indicates to the C program that the wctomb() routine is available to convert a wide character to a multibyte.

#d_xenix

FromGuess.U:

This variable conditionally defines the symbolXENIX, which alerts the C program that it runs under Xenix.

#date

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the date program. After Configure runs, the value is reset to a plaindate and is not useful.

#db_hashtype

Fromi_db.U:

This variable contains the type of the hash structure element in the <db.h> header file. In older versions ofDB, it was int, while in newer ones it is u_int32_t.

#db_prefixtype

Fromi_db.U:

This variable contains the type of the prefix structure element in the <db.h> header file. In older versions ofDB, it was int, while in newer ones it is size_t.

#direntrytype

Fromi_dirent.U:

This symbol is set tostruct direct orstruct dirent depending on whether dirent is available or not. You should use this pseudo type to portably declare your directory entries.

#dlext

Fromdlext.U:

This variable contains the extension that is to be used for the dynamically loaded modules that perl generaties.

#dlsrc

Fromdlsrc.U:

This variable contains the name of the dynamic loading file that will be used with the package.

#doublesize

Fromdoublesize.U:

This variable contains the value of theDOUBLESIZE symbol, which indicates to the C program how many bytes there are in a double.

#dynamic_ext

FromExtensions.U:

This variable holds a list ofXS extension files we want to link dynamically into the package. It is used by Makefile.

#e

#eagain

Fromnblock_io.U:

This variable bears the symbolic errno code set by read() when no data is present on the file and non-blockingI/O was enabled (otherwise, read() blocks naturally).

#ebcdic

Fromebcdic.U:

This variable conditionally definesEBCDIC if this system usesEBCDIC encoding. Among other things, this means that the character ranges are not contiguous. Seetrnl.U

#echo

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the echo program. After Configure runs, the value is reset to a plainecho and is not useful.

#egrep

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the egrep program. After Configure runs, the value is reset to a plainegrep and is not useful.

#emacs

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#eunicefix

FromInit.U:

When running under Eunice this variable contains a command which will convert a shell script to the proper form of text file for it to be executable by the shell. On other systems it is a no-op.

#exe_ext

FromUnix.U:

This is an old synonym for _exe.

#expr

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the expr program. After Configure runs, the value is reset to a plainexpr and is not useful.

#extensions

FromExtensions.U:

This variable holds a list of all extension files (bothXS and non-xs linked into the package. It is propagated toConfig.pm and is typically used to test whether a particular extesion is available.

#f

#find

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the find program. After Configure runs, the value is reset to a plainfind and is not useful.

#firstmakefile

FromUnix.U:

This variable defines the first file searched by make. On unix, it is makefile (then Makefile). On case-insensitive systems, it might be something else. This is only used to deal with convoluted make depend tricks.

#flex

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#fpostype

Fromfpostype.U:

This variable defines Fpos_t to be something like fpost_t, long, uint, or whatever type is used to declare file positions in libc.

#freetype

Frommallocsrc.U:

This variable contains the return type of free(). It is usually void, but occasionally int.

#full_csh

Fromd_csh.U:

This variable contains the full pathname tocsh, whether or not the user has specifiedportability. This is only used in the compiled C program, and we assume that all systems which can share this executable will have the same full pathname tocsh.

#full_sed

FromLoc_sed.U:

This variable contains the full pathname tosed, whether or not the user has specifiedportability. This is only used in the compiled C program, and we assume that all systems which can share this executable will have the same full pathname tosed.

#g

#gccversion

Fromcc.U:

IfGNU cc (gcc) is used, this variable holds1 or2 to indicate whether the compiler is version 1 or 2. This is used in setting some of the default cflags. It is set to '' if not gcc.

#gidtype

Fromgidtype.U:

This variable defines Gid_t to be something like gid_t, int, ushort, or whatever type is used to declare the return type of getgid(). Typically, it is the type of group ids in the kernel.

#grep

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the grep program. After Configure runs, the value is reset to a plaingrep and is not useful.

#groupcat

Fromnis.U:

This variable contains a command that produces the text of the/etc/group file. This is normally "cat/etc/group", but can be "ypcat group" whenNIS is used.

#groupstype

Fromgroupstype.U:

This variable defines Groups_t to be something like gid_t, int, ushort, or whatever type is used for the second argument to getgroups() and setgroups(). Usually, this is the same as gidtype (gid_t), but sometimes it isn't.

#gzip

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the gzip program. After Configure runs, the value is reset to a plaingzip and is not useful.

#h

#h_fcntl

Fromh_fcntl.U:

This is variable gets set in various places to tell i_fcntl that <fcntl.h> should be included.

#h_sysfile

Fromh_sysfile.U:

This is variable gets set in various places to tell i_sys_file that <sys/file.h> should be included.

#hint

FromOldconfig.U:

Gives the type of hints used for previous answers. May be one ofdefault,recommended orprevious.

#hostcat

Fromnis.U:

This variable contains a command that produces the text of the/etc/hosts file. This is normally "cat/etc/hosts", but can be "ypcat hosts" whenNIS is used.

#huge

Frommodels.U:

This variable contains a flag which will tell the C compiler and loader to produce a program running with a huge memory model. If the huge model is not supported, contains the flag to produce large model programs. It is up to the Makefile to use this.

#i

#i_arpainet

Fromi_arpainet.U:

This variable conditionally defines theI_ARPA_INET symbol, and indicates whether a C program should include <arpa/inet.h>.

#i_bsdioctl

Fromi_sysioctl.U:

This variable conditionally defines theI_SYS_BSDIOCTL symbol, which indicates to the C program that <sys/bsdioctl.h> exists and should be included.

#i_db

Fromi_db.U:

This variable conditionally defines theI_DB symbol, and indicates whether a C program may include Berkeley'sDB include file <db.h>.

#i_dbm

Fromi_dbm.U:

This variable conditionally defines theI_DBM symbol, which indicates to the C program that <dbm.h> exists and should be included.

#i_dirent

Fromi_dirent.U:

This variable conditionally definesI_DIRENT, which indicates to the C program that it should include <dirent.h>.

#i_dld

Fromi_dld.U:

This variable conditionally defines theI_DLD symbol, which indicates to the C program that <dld.h> (GNU dynamic loading) exists and should be included.

#i_dlfcn

Fromi_dlfcn.U:

This variable conditionally defines theI_DLFCN symbol, which indicates to the C program that <dlfcn.h> exists and should be included.

#i_fcntl

Fromi_fcntl.U:

This variable controls the value ofI_FCNTL (which tells the C program to include <fcntl.h>).

#i_float

Fromi_float.U:

This variable conditionally defines theI_FLOAT symbol, and indicates whether a C program may include <float.h> to get symbols likeDBL_MAX orDBL_MIN,i.e. machine dependent floating point values.

#i_gdbm

Fromi_gdbm.U:

This variable conditionally defines theI_GDBM symbol, which indicates to the C program that <gdbm.h> exists and should be included.

#i_grp

Fromi_grp.U:

This variable conditionally defines theI_GRP symbol, and indicates whether a C program should include <grp.h>.

#i_limits

Fromi_limits.U:

This variable conditionally defines theI_LIMITS symbol, and indicates whether a C program may include <limits.h> to get symbols likeWORD_BIT and friends.

#i_locale

Fromi_locale.U:

This variable conditionally defines theI_LOCALE symbol, and indicates whether a C program should include <locale.h>.

#i_malloc

Fromi_malloc.U:

This variable conditionally defines theI_MALLOC symbol, and indicates whether a C program should include <malloc.h>.

#i_math

Fromi_math.U:

This variable conditionally defines theI_MATH symbol, and indicates whether a C program may include <math.h>.

#i_memory

Fromi_memory.U:

This variable conditionally defines theI_MEMORY symbol, and indicates whether a C program should include <memory.h>.

#i_ndbm

Fromi_ndbm.U:

This variable conditionally defines theI_NDBM symbol, which indicates to the C program that <ndbm.h> exists and should be included.

#i_netdb

Fromi_netdb.U:

This variable conditionally defines theI_NETDB symbol, and indicates whether a C program should include <netdb.h>.

#i_neterrno

Fromi_neterrno.U:

This variable conditionally defines theI_NET_ERRNO symbol, which indicates to the C program that <net/errno.h> exists and should be included.

#i_niin

Fromi_niin.U:

This variable conditionally definesI_NETINET_IN, which indicates to the C program that it should include <netinet/in.h>. Otherwise, you may try <sys/in.h>.

#i_pwd

Fromi_pwd.U:

This variable conditionally definesI_PWD, which indicates to the C program that it should include <pwd.h>.

#i_rpcsvcdbm

Fromi_dbm.U:

This variable conditionally defines theI_RPCSVC_DBM symbol, which indicates to the C program that <rpcsvc/dbm.h> exists and should be included. Some System V systems might need this instead of <dbm.h>.

#i_sfio

Fromi_sfio.U:

This variable conditionally defines theI_SFIO symbol, and indicates whether a C program should include <sfio.h>.

#i_sgtty

Fromi_termio.U:

This variable conditionally defines theI_SGTTY symbol, which indicates to the C program that it should include <sgtty.h> rather than <termio.h>.

#i_stdarg

Fromi_varhdr.U:

This variable conditionally defines theI_STDARG symbol, which indicates to the C program that <stdarg.h> exists and should be included.

#i_stddef

Fromi_stddef.U:

This variable conditionally defines theI_STDDEF symbol, which indicates to the C program that <stddef.h> exists and should be included.

#i_stdlib

Fromi_stdlib.U:

This variable conditionally defines theI_STDLIB symbol, which indicates to the C program that <stdlib.h> exists and should be included.

#i_string

Fromi_string.U:

This variable conditionally defines theI_STRING symbol, which indicates that <string.h> should be included rather than <strings.h>.

#i_sysdir

Fromi_sysdir.U:

This variable conditionally defines theI_SYS_DIR symbol, and indicates whether a C program should include <sys/dir.h>.

#i_sysfile

Fromi_sysfile.U:

This variable conditionally defines theI_SYS_FILE symbol, and indicates whether a C program should include <sys/file.h> to getR_OK and friends.

#i_sysfilio

Fromi_sysioctl.U:

This variable conditionally defines theI_SYS_FILIO symbol, which indicates to the C program that <sys/filio.h> exists and should be included in preference to <sys/ioctl.h>.

#i_sysin

Fromi_niin.U:

This variable conditionally definesI_SYS_IN, which indicates to the C program that it should include <sys/in.h> instead of <netinet/in.h>.

#i_sysioctl

Fromi_sysioctl.U:

This variable conditionally defines theI_SYS_IOCTL symbol, which indicates to the C program that <sys/ioctl.h> exists and should be included.

#i_sysndir

Fromi_sysndir.U:

This variable conditionally defines theI_SYS_NDIR symbol, and indicates whether a C program should include <sys/ndir.h>.

#i_sysparam

Fromi_sysparam.U:

This variable conditionally defines theI_SYS_PARAM symbol, and indicates whether a C program should include <sys/param.h>.

#i_sysresrc

Fromi_sysresrc.U:

This variable conditionally defines theI_SYS_RESOURCE symbol, and indicates whether a C program should include <sys/resource.h>.

#i_sysselct

Fromi_sysselct.U:

This variable conditionally definesI_SYS_SELECT, which indicates to the C program that it should include <sys/select.h> in order to get the definition of struct timeval.

#i_syssockio

Fromi_sysioctl.U:

This variable conditionally definesI_SYS_SOCKIO to indicate to the C program that socket ioctl codes may be found in <sys/sockio.h> instead of <sys/ioctl.h>.

#i_sysstat

Fromi_sysstat.U:

This variable conditionally defines theI_SYS_STAT symbol, and indicates whether a C program should include <sys/stat.h>.

#i_systime

Fromi_time.U:

This variable conditionally definesI_SYS_TIME, which indicates to the C program that it should include <sys/time.h>.

#i_systimek

Fromi_time.U:

This variable conditionally definesI_SYS_TIME_KERNEL, which indicates to the C program that it should include <sys/time.h> withKERNEL defined.

#i_systimes

Fromi_systimes.U:

This variable conditionally defines theI_SYS_TIMES symbol, and indicates whether a C program should include <sys/times.h>.

#i_systypes

Fromi_systypes.U:

This variable conditionally defines theI_SYS_TYPES symbol, and indicates whether a C program should include <sys/types.h>.

#i_sysun

Fromi_sysun.U:

This variable conditionally definesI_SYS_UN, which indicates to the C program that it should include <sys/un.h> to getUNIX domain socket definitions.

#i_syswait

Fromi_syswait.U:

This variable conditionally definesI_SYS_WAIT, which indicates to the C program that it should include <sys/wait.h>.

#i_termio

Fromi_termio.U:

This variable conditionally defines theI_TERMIO symbol, which indicates to the C program that it should include <termio.h> rather than <sgtty.h>.

#i_termios

Fromi_termio.U:

This variable conditionally defines theI_TERMIOS symbol, which indicates to the C program that thePOSIX <termios.h> file is to be included.

#i_time

Fromi_time.U:

This variable conditionally definesI_TIME, which indicates to the C program that it should include <time.h>.

#i_unistd

Fromi_unistd.U:

This variable conditionally defines theI_UNISTD symbol, and indicates whether a C program should include <unistd.h>.

#i_utime

Fromi_utime.U:

This variable conditionally defines theI_UTIME symbol, and indicates whether a C program should include <utime.h>.

#i_values

Fromi_values.U:

This variable conditionally defines theI_VALUES symbol, and indicates whether a C program may include <values.h> to get symbols likeMAXLONG and friends.

#i_varargs

Fromi_varhdr.U:

This variable conditionally definesI_VARARGS, which indicates to the C program that it should include <varargs.h>.

#i_varhdr

Fromi_varhdr.U:

Contains the name of the header to be included to get va_dcl definition. Typically one ofvarargs.h orstdarg.h.

#i_vfork

Fromi_vfork.U:

This variable conditionally defines theI_VFORK symbol, and indicates whether a C program should includevfork.h.

#incpath

Fromusrinc.U:

This variable must preceed the normal include path to get hte right one, as in$incpath/usr/include or$incpath/usr/lib. Value can be "" or/bsd43 on mips.

#inews

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#installarchlib

Fromarchlib.U:

This variable is really the same as archlibexp but may differ on those systems usingAFS. For extra portability, only this variable should be used in makefiles.

#installbin

Frombin.U:

This variable is the same as binexp unlessAFS is running in which case the user is explicitely prompted for it. This variable should always be used in your makefiles for maximum portability.

#installman1dir

Fromman1dir.U:

This variable is really the same as man1direxp, unless you are usingAFS in which case it points to theread/write location whereas man1direxp only points to the read-only access location. For extra portability, you should only use this variable within your makefiles.

#installman3dir

Fromman3dir.U:

This variable is really the same as man3direxp, unless you are usingAFS in which case it points to theread/write location whereas man3direxp only points to the read-only access location. For extra portability, you should only use this variable within your makefiles.

#installprivlib

Fromprivlib.U:

This variable is really the same as privlibexp but may differ on those systems usingAFS. For extra portability, only this variable should be used in makefiles.

#installscript

Fromscriptdir.U:

This variable is usually the same as scriptdirexp, unless you are on a system runningAFS, in which case they may differ slightly. You should always use this variable within your makefiles for portability.

#installsitearch

Fromsitearch.U:

This variable is really the same as sitearchexp but may differ on those systems usingAFS. For extra portability, only this variable should be used in makefiles.

#installsitelib

Fromsitelib.U:

This variable is really the same as sitelibexp but may differ on those systems usingAFS. For extra portability, only this variable should be used in makefiles.

#intsize

Fromintsize.U:

This variable contains the value of theINTSIZE symbol, which indicates to the C program how many bytes there are in an int.

#k

#known_extensions

FromExtensions.U:

This variable holds a list of allXS extensions included in the package.

#ksh

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#l

#large

Frommodels.U:

This variable contains a flag which will tell the C compiler and loader to produce a program running with a large memory model. It is up to the Makefile to use this.

#ld

Fromdlsrc.U:

This variable indicates the program to be used to link libraries for dynamic loading. On some systems, it isld. OnELF systems, it should be $cc. Mostly, we'll try to respect the hint file setting.

#lddlflags

Fromdlsrc.U:

This variable contains any special flags that might need to be passed to $ld to create a shared library suitable for dynamic loading. It is up to the makefile to use it. For hpux, it should be-b. For sunos 4.1, it is empty.

#ldflags

Fromccflags.U:

This variable contains any additional C loader flags desired by the user. It is up to the Makefile to use this.

#less

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the less program. After Configure runs, the value is reset to a plainless and is not useful.

#lib_ext

FromUnix.U:

This is an old synonym for _a.

#libc

Fromlibc.U:

This variable contains the location of the C library.

#libperl

Fromlibperl.U:

The perl executable is obtained by linkingperlmain.c with libperl, any static extensions (usually just DynaLoader), and any other libraries needed on this system. libperl is usuallylibperl.a, but can also belibperl.so.xxx if the user wishes to build a perl executable with a shared library.

#libpth

Fromlibpth.U:

This variable holds the general path used to find libraries. It is intended to be used by other units.

#libs

Fromlibs.U:

This variable holds the additional libraries we want to use. It is up to the Makefile to deal with it.

#libswanted

FromMyinit.U:

This variable holds a list of all the libraries we want to search. The order is chosen to pick up the c library ahead of ucb or bsd libraries for SVR4.

#line

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the line program. After Configure runs, the value is reset to a plainline and is not useful.

#lint

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#lkflags

Fromccflags.U:

This variable contains any additional C partial linker flags desired by the user. It is up to the Makefile to use this.

#ln

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the ln program. After Configure runs, the value is reset to a plainln and is not useful.

#lns

Fromlns.U:

This variable holds the name of the command to make symbolic links (if they are supported). It can be used in the Makefile. It is eitherln -s orln

#locincpth

Fromccflags.U:

This variable contains a list of additional directories to be searched by the compiler. The appropriate-I directives will be added to ccflags. This is intended to simplify setting local directories from the Configure command line. It's not much, but it parallels the loclibpth stuff inlibpth.U.

#loclibpth

Fromlibpth.U:

This variable holds the paths used to find local libraries. It is prepended to libpth, and is intended to be easily set from the command line.

#longdblsize

Fromd_longdbl.U:

This variable contains the value of theLONG_DOUBLESIZE symbol, which indicates to the C program how many bytes there are in a long double, if this system supports long doubles.

#longlongsize

Fromd_longlong.U:

This variable contains the value of theLONGLONGSIZE symbol, which indicates to the C program how many bytes there are in a long long, if this system supports long long.

#longsize

Fromintsize.U:

This variable contains the value of theLONGSIZE symbol, which indicates to the C program how many bytes there are in a long.

#lp

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#lpr

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#ls

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the ls program. After Configure runs, the value is reset to a plainls and is not useful.

#lseektype

Fromlseektype.U:

This variable defines lseektype to be something like off_t, long, or whatever type is used to declare lseek offset's type in the kernel (which also appears to be lseek's return type).

#m

#mail

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#mailx

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#make

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the make program. After Configure runs, the value is reset to a plainmake and is not useful.

#make_set_make

Frommake.U:

Some versions ofmake set the variableMAKE. Others do not. This variable contains the string to be included inMakefile.SH so thatMAKE is set if needed, and not if not needed. Possible values are: make_set_make=# # If your make program handles this for you, make_set_make=MAKE=$make # if it doesn't. I used a comment character so that we can distinguish aset value (from a previousconfig.sh or Configure-D option) from an uncomputed value.

#mallocobj

Frommallocsrc.U:

This variable contains the name of themalloc.o that this package generates, if thatmalloc.o is preferred over the system malloc. Otherwise the value is null. This variable is intended for generating Makefiles. See mallocsrc.

#mallocsrc

Frommallocsrc.U:

This variable contains the name of themalloc.c that comes with the package, if thatmalloc.c is preferred over the system malloc. Otherwise the value is null. This variable is intended for generating Makefiles.

#malloctype

Frommallocsrc.U:

This variable contains the kind of ptr returned by malloc and realloc.

#man1dir

Fromman1dir.U:

This variable contains the name of the directory in which manual source pages are to be put. It is the responsibility of theMakefile.SH to get the value of this into the proper command. You must be prepared to do the~name expansion yourself.

#man1direxp

Fromman1dir.U:

This variable is the same as the man1dir variable, but is filename expanded at configuration time, for convenient use in makefiles.

#man1ext

Fromman1dir.U:

This variable contains the extension that the manual page should have: one ofn,l, or1. The Makefile must supply the.. See man1dir.

#man3dir

Fromman3dir.U:

This variable contains the name of the directory in which manual source pages are to be put. It is the responsibility of theMakefile.SH to get the value of this into the proper command. You must be prepared to do the~name expansion yourself.

#man3direxp

Fromman3dir.U:

This variable is the same as the man3dir variable, but is filename expanded at configuration time, for convenient use in makefiles.

#man3ext

Fromman3dir.U:

This variable contains the extension that the manual page should have: one ofn,l, or3. The Makefile must supply the.. See man3dir.

#medium

Frommodels.U:

This variable contains a flag which will tell the C compiler and loader to produce a program running with a medium memory model. If the medium model is not supported, contains the flag to produce large model programs. It is up to the Makefile to use this.

#mips_type

Fromusrinc.U:

This variable holds the environment type for the mips system. Possible values are "BSD 4.3" and "System V".

#mkdir

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the mkdir program. After Configure runs, the value is reset to a plainmkdir and is not useful.

#models

Frommodels.U:

This variable contains the list of memory models supported by this system. Possible component values are none, split, unsplit, small, medium, large, and huge. The component values are space separated.

#modetype

Frommodetype.U:

This variable defines modetype to be something like mode_t, int, unsigned short, or whatever type is used to declare file modes for system calls.

#more

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the more program. After Configure runs, the value is reset to a plainmore and is not useful.

#mv

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#myarchname

Fromarchname.U:

This variable holds the architecture name computed by Configure in a previous run. It is not intended to be perused by any user and should never be set in a hint file.

#mydomain

Frommyhostname.U:

This variable contains the eventual value of theMYDOMAIN symbol, which is the domain of the host the program is going to run on. The domain must be appended to myhostname to form a complete host name. The dot comes with mydomain, and need not be supplied by the program.

#myhostname

Frommyhostname.U:

This variable contains the eventual value of theMYHOSTNAME symbol, which is the name of the host the program is going to run on. The domain is not kept with hostname, but must be gotten from mydomain. The dot comes with mydomain, and need not be supplied by the program.

#myuname

FromOldconfig.U:

The output ofuname -a if available, otherwise the hostname. On Xenix, pseudo variables assignments in the output are stripped, thank you. The whole thing is then lower-cased.

#n

#n

Fromn.U:

This variable contains the-n flag if that is what causes the echo command to suppress newline. Otherwise it is null. Correct usage is

$echo $n "prompt for a question: $c".
#netdb_hlen_type

Fromnetdbtype.U:

This variable holds the type used for the 2nd argument to gethostbyaddr(). Usually, this is int or size_t or unsigned. This is only useful if you have gethostbyaddr(), naturally.

#netdb_host_type

Fromnetdbtype.U:

This variable holds the type used for the 1st argument to gethostbyaddr(). Usually, this is char * or void *, possibly with or without a const prefix. This is only useful if you have gethostbyaddr(), naturally.

#netdb_name_type

Fromnetdbtype.U:

This variable holds the type used for the argument to gethostbyname(). Usually, this is char * or const char *. This is only useful if you have gethostbyname(), naturally.

#netdb_net_type

Fromnetdbtype.U:

This variable holds the type used for the 1st argument to getnetbyaddr(). Usually, this is int or long. This is only useful if you have getnetbyaddr(), naturally.

#nm

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the nm program. After Configure runs, the value is reset to a plainnm and is not useful.

#nm_opt

Fromusenm.U:

This variable holds the options that may be necessary for nm.

#nm_so_opt

Fromusenm.U:

This variable holds the options that may be necessary for nm to work on a shared library but that can not be used on an archive library. Currently, this is only used by Linux, where nm --dynamic is *required* to get symbols from anELF library which has been stripped, but nm --dynamic is *fatal* on an archive library. Maybe Linux should just always set usenm=false.

#nonxs_ext

FromExtensions.U:

This variable holds a list of all non-xs extensions included in the package. All of them will be built.

#nroff

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the nroff program. After Configure runs, the value is reset to a plainnroff and is not useful.

#o

#o_nonblock

Fromnblock_io.U:

This variable bears the symbol value to be used during open() or fcntl() to turn on non-blockingI/O for a file descriptor. If you wish to switch between blocking and non-blocking, you may try ioctl(FIOSNBIO) instead, but that is only supported by some devices.

#obj_ext

FromUnix.U:

This is an old synonym for _o.

#optimize

Fromccflags.U:

This variable contains anyoptimizer/debugger flag that should be used. It is up to the Makefile to use it.

#orderlib

Fromorderlib.U:

This variable istrue if the components of libraries must be ordered (with `lorder $* | tsort`) before placing them in an archive. Set tofalse if ranlib or ar can generate random libraries.

#osname

FromOldconfig.U:

This variable contains the operating system name (e.g. sunos, solaris, hpux,etc.). It can be useful later on for setting defaults. Any spaces are replaced with underscores. It is set to a null string if we can't figure it out.

#osvers

FromOldconfig.U:

This variable contains the operating system version (e.g. 4.1.3, 5.2,etc.). It is primarily used for helping select an appropriate hints file, but might be useful elsewhere for setting defaults. It is set to '' if we can't figure it out. We try to be flexible about how much of the version number to keep, e.g. if 4.1.1, 4.1.2, and 4.1.3 are essentially the same for this package, hints files might just beos_4.0 oros_4.1,etc., not keeping separate files for each little release.

#p

#package

Frompackage.U:

This variable contains the name of the package being constructed. It is primarily intended for the use of later Configure units.

#pager

Frompager.U:

This variable contains the name of the preferred pager on the system. Usual values are (the full pathnames of) more, less, pg, or cat.

#passcat

Fromnis.U:

This variable contains a command that produces the text of the/etc/passwd file. This is normally "cat/etc/passwd", but can be "ypcat passwd" whenNIS is used.

#patchlevel

Frompatchlevel.U:

The patchlevel level of this package. The value of patchlevel comes from thepatchlevel.h file.

#path_sep

FromUnix.U:

This is an old synonym for p_ inHead.U, the character used to separate elements in the command shell searchPATH.

#perl

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the perl program. After Configure runs, the value is reset to a plainperl and is not useful.

#perladmin

Fromperladmin.U:

Electronic mail address of the perl5 administrator.

#perlpath

Fromperlpath.U:

This variable contains the eventual value of thePERLPATH symbol, which contains the name of the perl interpreter to be used in shell scripts and in the "evalexec" idiom.

#pg

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the pg program. After Configure runs, the value is reset to a plainpg and is not useful.

#phostname

Frommyhostname.U:

This variable contains the eventual value of thePHOSTNAME symbol, which is a command that can be fed to popen() to get the host name. The program should probably not presume that the domain is or isn't there already.

#pidtype

Frompidtype.U:

This variable definesPIDTYPE to be something like pid_t, int, ushort, or whatever type is used to declare process ids in the kernel.

#plibpth

Fromlibpth.U:

Holds the private path used by Configure to find out the libraries. Its value is prepend to libpth. This variable takes care of special machines, like the mips. Usually, it should be empty.

#pmake

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#pr

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#prefix

Fromprefix.U:

This variable holds the name of the directory below which the user will install the package. Usually, this is/usr/local, and executables go in/usr/local/bin, library stuff in/usr/local/lib, man pages in/usr/local/man, etc. It is only used to set defaults for things inbin.U,mansrc.U,privlib.U, orscriptdir.U.

#prefixexp

Fromprefix.U:

This variable holds the full absolute path of the directory below which the user will install the package. Derived from prefix.

#privlib

Fromprivlib.U:

This variable contains the eventual value of thePRIVLIB symbol, which is the name of the private library for this package. It may have a~ on the front. It is up to the makefile to eventually create this directory while performing installation (with~ substitution).

#privlibexp

Fromprivlib.U:

This variable is the~name expanded version of privlib, so that you may use it directly in Makefiles or shell scripts.

#prototype

Fromprototype.U:

This variable holds the eventual value ofCAN_PROTOTYPE, which indicates the C compiler can handle funciton prototypes.

#ptrsize

Fromptrsize.U:

This variable contains the value of thePTRSIZE symbol, which indicates to the C program how many bytes there are in a pointer.

#r

#randbits

Fromrandbits.U:

This variable contains the eventual value of theRANDBITS symbol, which indicates to the C program how many bits of random number the rand() function produces.

#ranlib

Fromorderlib.U:

This variable is set to the pathname of the ranlib program, if it is needed to generate random libraries. Set to: if ar can generate random libraries or if random libraries are not supported

#rd_nodata

Fromnblock_io.U:

This variable holds the return code from read() when no data is present. It should be -1, but some systems return 0 whenO_NDELAY is used, which is a shame because you cannot make the difference between no data and anEOF.. Sigh!

#rm

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the rm program. After Configure runs, the value is reset to a plainrm and is not useful.

#rmail

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#runnm

Fromusenm.U:

This variable containstrue orfalse depending whether the nm extraction should be performed or not, according to the value of usenm and the flags on the Configure command line.

#s

#scriptdir

Fromscriptdir.U:

This variable holds the name of the directory in which the user wants to put publicly scripts for the package in question. It is either the same directory as for binaries, or a special one that can be mounted across different architectures, like/usr/share. Programs must be prepared to deal with~name expansion.

#scriptdirexp

Fromscriptdir.U:

This variable is the same as scriptdir, but is filename expanded at configuration time, for programs not wanting to bother with it.

#sed

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the sed program. After Configure runs, the value is reset to a plainsed and is not useful.

#selecttype

Fromselecttype.U:

This variable holds the type used for the 2nd, 3rd, and 4th arguments to select. Usually, this isfd_set *, ifHAS_FD_SET is defined, andint * otherwise. This is only useful if you have select(), naturally.

#sendmail

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the sendmail program. After Configure runs, the value is reset to a plainsendmail and is not useful.

#sh

Fromsh.U:

This variable contains the full pathname of the shell used on this system to execute Bourne shell scripts. Usually, this will be/bin/sh, though it's possible that some systems will have/bin/ksh,/bin/pdksh,/bin/ash,/bin/bash, or even something such as D:/bin/sh.exe. This unit comes beforeOptions.U, so you can't set sh with a-D option, though you can override this (and startsh) with-O -Dsh=/bin/whatever -Dstartsh=whatever

#shar

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#sharpbang

Fromspitshell.U:

This variable contains the string #! if this system supports that construct.

#shmattype

Fromd_shmat.U:

This symbol contains the type of pointer returned by shmat(). It can bevoid * orchar *.

#shortsize

Fromintsize.U:

This variable contains the value of theSHORTSIZE symbol which indicates to the C program how many bytes there are in a short.

#shrpenv

Fromlibperl.U:

If the user builds a sharedlibperl.so, then we need to tell theperl executable where it will be able to find the installedlibperl.so. One way to do this on some systems is to set the environment variableLD_RUN_PATH to the directory that will be the final location of the sharedlibperl.so. The makefile can use this with something like

$shrpenv $(C<CC>) -o perl F<perlmain.o> $libperl $libsTypical values areshrpenv="env C<LD_RUN_PATH>=$F<archlibexp/C<CORE>>"orshrpenv=''See the main perl F<Makefile.SH> for actual working usage.Alternatively, we might be able to use a command line option suchas -R $F<archlibexp/C<CORE>> (Solaris, NetBSD) or -Wl,-rpath$F<archlibexp/C<CORE>> (Linux).
#shsharp

Fromspitshell.U:

This variable tells further Configure units whether your sh can handle # comments.

#sig_name

Fromsig_name.U:

This variable holds the signal names, space separated. The leadingSIG in signal name is removed. AZERO is prepended to the list. This is currently not used.

#sig_name_init

Fromsig_name.U:

This variable holds the signal names, enclosed in double quotes and separated by commas, suitable for use in theSIG_NAME definition below. AZERO is prepended to the list, and the list is terminated with a plain 0. The leadingSIG in signal names is removed. See sig_num.

#sig_num

Fromsig_name.U:

This variable holds the signal numbers, comma separated. A 0 is prepended to the list (corresponding to the fakeSIGZERO), and the list is terminated with a 0. Those numbers correspond to the value of the signal listed in the same place within the sig_name list.

#signal_t

Fromd_voidsig.U:

This variable holds the type of the signal handler (void or int).

#sitearch

Fromsitearch.U:

This variable contains the eventual value of theSITEARCH symbol, which is the name of the private library for this package. It may have a~ on the front. It is up to the makefile to eventually create this directory while performing installation (with~ substitution).

#sitearchexp

Fromsitearch.U:

This variable is the~name expanded version of sitearch, so that you may use it directly in Makefiles or shell scripts.

#sitelib

Fromsitelib.U:

This variable contains the eventual value of theSITELIB symbol, which is the name of the private library for this package. It may have a~ on the front. It is up to the makefile to eventually create this directory while performing installation (with~ substitution).

#sitelibexp

Fromsitelib.U:

This variable is the~name expanded version of sitelib, so that you may use it directly in Makefiles or shell scripts.

#sizetype

Fromsizetype.U:

This variable defines sizetype to be something like size_t, unsigned long, or whatever type is used to declare length parameters for string functions.

#sleep

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#smail

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#small

Frommodels.U:

This variable contains a flag which will tell the C compiler and loader to produce a program running with a small memory model. It is up to the Makefile to use this.

#so

Fromso.U:

This variable holds the extension used to identify shared libraries (also known as shared objects) on the system. Usually set toso.

#sockethdr

Fromd_socket.U:

This variable has any cpp-I flags needed for socket support.

#socketlib

Fromd_socket.U:

This variable has the names of any libraries needed for socket support.

#sort

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the sort program. After Configure runs, the value is reset to a plainsort and is not useful.

#spackage

Frompackage.U:

This variable contains the name of the package being constructed, with the first letter uppercased,i.e. suitable for starting sentences.

#spitshell

Fromspitshell.U:

This variable contains the command necessary to spit out a runnable shell on this system. It is either cat or a grep-v for # comments.

#split

Frommodels.U:

This variable contains a flag which will tell the C compiler and loader to produce a program that will run in separate I and D space, for those machines that support separation of instruction and data space. It is up to the Makefile to use this.

#src

Fromsrc.U:

This variable holds the path to the package source. It is up to the Makefile to use this variable and setVPATH accordingly to find the sources remotely.

#ssizetype

Fromssizetype.U:

This variable defines ssizetype to be something like ssize_t, long or int. It is used by functions that return a count of bytes or an error condition. It must be a signed type. We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).

#startperl

Fromstartperl.U:

This variable contains the string to put on the front of a perl script to make sure (hopefully) that it runs with perl and not some shell. Of course, that leading line must be followed by the classical perl idiom:

eval 'exec perl -S $0 ${1+C<$@>}'if $running_under_some_shell;to guarantee perl startup should the shell execute the script. Notethat this magic incatation is not understood by csh.
#startsh

Fromstartsh.U:

This variable contains the string to put on the front of a shell script to make sure (hopefully) that it runs with sh and not some other shell.

#static_ext

FromExtensions.U:

This variable holds a list ofXS extension files we want to link statically into the package. It is used by Makefile.

#stdchar

Fromstdchar.U:

This variable conditionally definesSTDCHAR to be the type of char used instdio.h. It has the values "unsigned char" orchar.

#stdio_base

Fromd_stdstdio.U:

This variable defines how, given aFILE pointer, fp, to access the _base field (or equivalent) ofstdio.h'sFILE structure. This will be used to define the macro FILE_base(fp).

#stdio_bufsiz

Fromd_stdstdio.U:

This variable defines how, given aFILE pointer, fp, to determine the number of bytes store in theI/O buffer pointer to by the _base field (or equivalent) ofstdio.h'sFILE structure. This will be used to define the macro FILE_bufsiz(fp).

#stdio_cnt

Fromd_stdstdio.U:

This variable defines how, given aFILE pointer, fp, to access the _cnt field (or equivalent) ofstdio.h'sFILE structure. This will be used to define the macro FILE_cnt(fp).

#stdio_filbuf

Fromd_stdstdio.U:

This variable defines how, given aFILE pointer, fp, to tell stdio to refill it's internal buffers (?). This will be used to define the macro FILE_filbuf(fp).

#stdio_ptr

Fromd_stdstdio.U:

This variable defines how, given aFILE pointer, fp, to access the _ptr field (or equivalent) ofstdio.h'sFILE structure. This will be used to define the macro FILE_ptr(fp).

#strings

Fromi_string.U:

This variable holds the full path of the string header that will be used. Typically/usr/include/string.h or/usr/include/strings.h.

#submit

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#subversion

Frompatchlevel.U:

The subversion level of this package. The value of subversion comes from thepatchlevel.h file. This is unique to perl.

#sysman

Fromsysman.U:

This variable holds the place where the manual is located on this system. It is not the place where the user wants to put his manual pages. Rather it is the place where Configure may look to find manual for unix commands (section 1 of the manual usually). See mansrc.

#t

#tail

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#tar

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#tbl

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#tee

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the tee program. After Configure runs, the value is reset to a plaintee and is not useful.

#test

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the test program. After Configure runs, the value is reset to a plaintest and is not useful.

#timeincl

Fromi_time.U:

This variable holds the full path of the included time header(s).

#timetype

Fromd_time.U:

This variable holds the type returned by time(). It can be long, or time_t onBSD sites (in which case <sys/types.h> should be included). Anyway, the type Time_t should be used.

#touch

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the touch program. After Configure runs, the value is reset to a plaintouch and is not useful.

#tr

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the tr program. After Configure runs, the value is reset to a plaintr and is not useful.

#trnl

Fromtrnl.U:

This variable contains the value to be passed to the tr(1) command to transliterate a newline. Typical values are\012 and\n. This is needed forEBCDIC systems where newline is not necessarily\012.

#troff

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#u

#uidtype

Fromuidtype.U:

This variable defines Uid_t to be something like uid_t, int, ushort, or whatever type is used to declare user ids in the kernel.

#uname

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the uname program. After Configure runs, the value is reset to a plainuname and is not useful.

#uniq

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the uniq program. After Configure runs, the value is reset to a plainuniq and is not useful.

#usedl

Fromdlsrc.U:

This variable indicates if the the system supports dynamic loading of some sort. See also dlsrc and dlobj.

#usemymalloc

Frommallocsrc.U:

This variable contains y if the malloc that comes with this package is desired over the system's version of malloc. People often include special versions of malloc for effiency, but such versions are often less portable. See also mallocsrc and mallocobj. If this isy, then -lmalloc is removed from $libs.

#usenm

Fromusenm.U:

This variable containstrue orfalse depending whether the nm extraction is wanted or not.

#useopcode

FromExtensions.U:

This variable holds eithertrue orfalse to indicate whether the Opcode extension should be used. The sole use for this currently is to allow an easy mechanism for users to skip the Opcode extension from the Configure command line.

#useperlio

Fromuseperlio.U:

This variable conditionally defines theUSE_PERLIO symbol, and indicates that the PerlIO abstraction should be used throughout.

#useposix

FromExtensions.U:

This variable holds eithertrue orfalse to indicate whether thePOSIX extension should be used. The sole use for this currently is to allow an easy mechanism for hints files to indicate thatPOSIX will not compile on a particular system.

#usesfio

Fromd_sfio.U:

This variable is set to true when the user agrees to use sfio. It is set to false when sfio is not available or when the user explicitely requests not to use sfio. It is here primarily so that command-line settings can override the auto-detection of d_sfio without running into a "WHOA THERE".

#useshrplib

Fromlibperl.U:

This variable is set toyes if the user wishes to build a shared libperl, andno otherwise.

#usethreads

Fromusethreads.U:

This variable conditionally defines theUSE_THREADS symbol, and indicates that Perl should be built to use threads.

#usevfork

Fromd_vfork.U:

This variable is set to true when the user accepts to use vfork. It is set to false when no vfork is available or when the user explicitely requests not to use vfork.

#usrinc

Fromusrinc.U:

This variable holds the path of the include files, which is usually/usr/include. It is mainly used by other Configure units.

#uuname

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#v

#version

Frompatchlevel.U:

The full version number of this package. This combines baserev, patchlevel, and subversion to get the full version number, including any possible subversions. Care is taken to use the C locale in order to get something like 5.004 instead of 5,004. This is unique to perl.

#vi

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#voidflags

Fromvoidflags.U:

This variable contains the eventual value of theVOIDFLAGS symbol, which indicates how much support of the void type is given by this compiler. SeeVOIDFLAGS for more info.

#z

#zcat

FromLoc.U:

This variable is defined but not used by Configure. The value is a plain '' and is not useful.

#zip

FromLoc.U:

This variable is be used internally by Configure to determine the full pathname (if any) of the zip program. After Configure runs, the value is reset to a plainzip and is not useful.

#NOTE

This module contains a good example of how to use tie to implement a cache and an example of how to make a tied variable readonly to those outside of it.

Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.

The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.


[8]ページ先頭

©2009-2025 Movatter.jp