home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Updates / Perl / RPC / !Perl / lib / zip / Config.pm < prev    next >
Encoding:
Perl POD Document  |  1999-04-05  |  129.9 KB  |  5,390 lines

  1. package Config;
  2. use Exporter ();
  3. @ISA = (Exporter);
  4. @EXPORT = qw(%Config);
  5. @EXPORT_OK = qw(myconfig config_sh config_vars);
  6.  
  7. $] == 5.00503
  8.   or die "Perl lib version (5.00503) doesn't match executable version ($])";
  9.  
  10. # This file was created by configpm when Perl was built. Any changes
  11. # made to this file will be lost the next time perl is built.
  12.  
  13. ##
  14. ## This file was produced by running the Configure script. It holds all the
  15. ## definitions figured out by Configure. Should you modify one of these values,
  16. ## do not forget to propagate your changes by running "Configure -der". You may
  17. ## instead choose to run each of the .SH files by yourself, or "Configure -S".
  18. ##
  19. #
  20. ## Package name      : perl5
  21. ## Source directory  : .
  22. ## Configuration time: Mon Mar 29 15:07:10 BST 1999
  23. ## Configured by     : nick
  24. ## Target system     : linux bagpuss.unfortu.net 2.2.3 #5 thu mar 28 18:41:07 gmt 2002 armv4l 
  25. #
  26. ##archlib='/<PerlArchLib$Path>'
  27. ##bin='/<Perl$Path>'
  28. ## Note that you actually need to compile with -g to prevent the test being
  29. ## optimised away by Norcroft!
  30. ##installarchlib='/<PerlArchLib$Path>'
  31. ##installbin='/<Perl$Path>'
  32. ##installprivlib='/<PerlPrivLib$Path>'
  33. ##installscript='/<PerlScript$Path>'
  34. ##installsitearch='/<PerlArchLib$Path>'
  35. ##installsitelib='/<PerlSiteLib$Path>'
  36. ##prefix='/<Perl$Path>'
  37. ##privlib='/<PerlPrivLib$Path>'
  38. ##scriptdir='/<PerlScript$Path>'
  39. ##sitearch='/<PerlSiteArchLib$Path>'
  40. ##sitelib='/<PerlSiteLib$Path>'
  41. ## Configure command line arguments.
  42. ## Variables propagated from previous config.sh file.
  43. ## c/o the Amiga porters for a test in t/io/fs.t
  44.  
  45. my $config_sh = <<'!END!';
  46. archlibexp='/PerlArchLib:'
  47. archname='arm-riscos'
  48. cc='gcc'
  49. ccflags='-O2 -mthrowback -munixlib -IUnix: -I. -ILib:Zlib -DCONSERVATIVE -DDEBUGGING -DNICK_SIG_HACK -DREQUIRE_CAN_UNZIP'
  50. cppflags=''
  51. dlsrc='dl_dlopen.xs'
  52. dynamic_ext='Data/Dumper Fcntl IO Opcode POSIX SDBM_File Socket attrs re'
  53. extensions='Data/Dumper Fcntl IO Opcode POSIX SDBM_File Socket attrs re Errno'
  54. installarchlib='/PerlArchLib:'
  55. installprivlib='/PerlPrivLib:'
  56. libpth=' '
  57. libs=' '
  58. osname='riscos'
  59. osvers='3.7'
  60. prefix='/Perl:'
  61. privlibexp='/PerlPrivLib:'
  62. sharpbang='|#!'
  63. shsharp='false'
  64. sig_name='ZERO HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM USR1 USR2 CHLD PWR WINCH URG IO STOP TSTP CONT TTIN TTOU VTALRM PROF XCPU XFSZ WAITING LWP FREEZE THAW CANCEL RTMIN NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 RTMAX IOT CLD POLL'
  65. sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 6 18 22'
  66. so='no'
  67. startsh='#!/bin/sh'
  68. static_ext=' '
  69. Author=''
  70. CONFIG='true'
  71. Date='$Date'
  72. Header=''
  73. Id='$Id'
  74. Locker=''
  75. Log='$Log'
  76. Mcc='Mcc'
  77. PATCHLEVEL='5'
  78. RCSfile='$RCSfile'
  79. Revision='$Revision'
  80. SUBVERSION='3'
  81. Source=''
  82. State=''
  83. _a='.a'
  84. _exe=''
  85. _o='.o'
  86. afs='false'
  87. alignbytes='4'
  88. ansi2knr=''
  89. aphostname=''
  90. apiversion='5.005'
  91. ar='miniperl /PerlDev:unix_ar'
  92. archlib='/PerlArchLib:'
  93. archobjs=''
  94. awk='awk'
  95. baserev='5.0'
  96. bash=''
  97. bin='/Perl:'
  98. binexp='/Perl:'
  99. bison=''
  100. byacc=''
  101. byteorder='1234'
  102. c='\c'
  103. castflags='3'
  104. cat='perl -pe "" '
  105. cccdlflags=''
  106. ccdlflags=''
  107. cf_by='nick'
  108. cf_email='nick@unfortu.net'
  109. cf_time='Mon Mar 29 11:00:33 GMT 1999'
  110. chgrp=''
  111. chmod=''
  112. chown=''
  113. clocktype='int'
  114. comm='comm'
  115. compress=''
  116. config_arg0='./Configure'
  117. config_argc='0'
  118. config_args=''
  119. contains='grep'
  120. cp='miniperl /PerlDev:unix_cp'
  121. cpio=''
  122. cpp='cpp'
  123. cpp_stuff='42'
  124. cpplast='-'
  125. cppminus=''
  126. cpprun='cpp'
  127. cppstdin='cpp'
  128. cryptlib=''
  129. csh=''
  130. d_Gconvert='sprintf((b),"%.*g",(n),(x))'
  131. d_access='undef'
  132. d_alarm='define'
  133. d_archlib='define'
  134. d_attribut='define'
  135. d_bcmp='define'
  136. d_bcopy='define'
  137. d_bsd='define'
  138. d_bsdgetpgrp='undef'
  139. d_bsdsetpgrp='undef'
  140. d_bzero='define'
  141. d_casti32='undef'
  142. d_castneg='define'
  143. d_charvspr='undef'
  144. d_chown='undef'
  145. d_chroot='undef'
  146. d_chsize='undef'
  147. d_closedir='undef'
  148. d_const='define'
  149. d_crypt='define'
  150. d_csh='undef'
  151. d_cuserid='undef'
  152. d_dbl_dig='define'
  153. d_difftime='define'
  154. d_dirnamlen='define'
  155. d_dlerror='define'
  156. d_dlopen='define'
  157. d_dlsymun='undef'
  158. d_dosuid='undef'
  159. d_dup2='define'
  160. d_endgrent='define'
  161. d_endhent='define'
  162. d_endnent='define'
  163. d_endpent='define'
  164. d_endpwent='define'
  165. d_endsent='define'
  166. d_eofnblk='define'
  167. d_eunice='undef'
  168. d_fchmod='define'
  169. d_fchown='undef'
  170. d_fcntl='define'
  171. d_fd_macros='define'
  172. d_fd_set='define'
  173. d_fds_bits='define'
  174. d_fgetpos='define'
  175. d_flexfnam='undef'
  176. d_flock='undef'
  177. d_fork='undef'
  178. d_fpathconf='undef'
  179. d_fsetpos='define'
  180. d_fstatfs='undef'
  181. d_fstatvfs='undef'
  182. d_ftime='undef'
  183. d_getgrent='undef'
  184. d_getgrps='undef'
  185. d_gethbyaddr='define'
  186. d_gethbyname='define'
  187. d_gethent='define'
  188. d_gethname='define'
  189. d_gethostprotos='define'
  190. d_getlogin='undef'
  191. d_getmntent='undef'
  192. d_getnbyaddr='define'
  193. d_getnbyname='define'
  194. d_getnent='define'
  195. d_getnetprotos='define'
  196. d_getpbyname='define'
  197. d_getpbynumber='define'
  198. d_getpent='define'
  199. d_getpgid='undef'
  200. d_getpgrp2='undef'
  201. d_getpgrp='undef'
  202. d_getppid='undef'
  203. d_getprior='undef'
  204. d_getprotoprotos='define'
  205. d_getpwent='define'
  206. d_getsbyname='define'
  207. d_getsbyport='define'
  208. d_getsent='define'
  209. d_getservprotos='define'
  210. d_gettimeod='define'
  211. d_gnulibc='undef'
  212. d_grpasswd='undef'
  213. d_hasmntopt='undef'
  214. d_htonl='define'
  215. d_index='define'
  216. d_inetaton='define'
  217. d_isascii='define'
  218. d_killpg='undef'
  219. d_lchown='undef'
  220. d_link='undef'
  221. d_locconv='define'
  222. d_lockf='undef'
  223. d_longdbl='define'
  224. d_longlong='define'
  225. d_lstat='undef'
  226. d_mblen='define'
  227. d_mbstowcs='define'
  228. d_mbtowc='define'
  229. d_memcmp='define'
  230. d_memcpy='define'
  231. d_memmove='define'
  232. d_memset='define'
  233. d_mkdir='define'
  234. d_mkfifo='undef'
  235. d_mktime='define'
  236. d_msg='undef'
  237. d_msgctl='undef'
  238. d_msgget='undef'
  239. d_msgrcv='undef'
  240. d_msgsnd='undef'
  241. d_mymalloc='undef'
  242. d_nice='undef'
  243. d_oldpthreads='undef'
  244. d_oldsock='undef'
  245. d_open3='define'
  246. d_pathconf='undef'
  247. d_pause='define'
  248. d_phostname='undef'
  249. d_pipe='define'
  250. d_poll='undef'
  251. d_portable='define'
  252. d_pthread_yield='undef'
  253. d_pthreads_created_joinable='undef'
  254. d_pwage='undef'
  255. d_pwchange='undef'
  256. d_pwclass='undef'
  257. d_pwcomment='undef'
  258. d_pwexpire='undef'
  259. d_pwgecos='undef'
  260. d_pwpasswd='define'
  261. d_pwquota='undef'
  262. d_readdir='define'
  263. d_readlink='undef'
  264. d_rename='define'
  265. d_rewinddir='define'
  266. d_rmdir='define'
  267. d_safebcpy='undef'
  268. d_safemcpy='define'
  269. d_sanemcmp='define'
  270. d_sched_yield='undef'
  271. d_seekdir='define'
  272. d_select='define'
  273. d_sem='undef'
  274. d_semctl='undef'
  275. d_semctl_semid_ds='undef'
  276. d_semctl_semun='undef'
  277. d_semget='undef'
  278. d_semop='undef'
  279. d_setegid='undef'
  280. d_seteuid='undef'
  281. d_setgrent='undef'
  282. d_setgrps='undef'
  283. d_sethent='undef'
  284. d_setlinebuf='define'
  285. d_setlocale='define'
  286. d_setnent='undef'
  287. d_setpent='undef'
  288. d_setpgid='undef'
  289. d_setpgrp2='undef'
  290. d_setpgrp='undef'
  291. d_setprior='undef'
  292. d_setpwent='undef'
  293. d_setregid='undef'
  294. d_setresgid='undef'
  295. d_setresuid='undef'
  296. d_setreuid='undef'
  297. d_setrgid='undef'
  298. d_setruid='undef'
  299. d_setsent='undef'
  300. d_setsid='undef'
  301. d_setvbuf='define'
  302. d_sfio='undef'
  303. d_shm='undef'
  304. d_shmat='undef'
  305. d_shmatprototype='undef'
  306. d_shmctl='undef'
  307. d_shmdt='undef'
  308. d_shmget='undef'
  309. d_sigaction='define'
  310. d_sigsetjmp='undef'
  311. d_socket='define'
  312. d_sockpair='undef'
  313. d_statblks='define'
  314. d_statfsflags='undef'
  315. d_stdio_cnt_lval='undef'
  316. d_stdio_ptr_lval='undef'
  317. d_stdiobase='undef'
  318. d_stdstdio='undef'
  319. d_strchr='define'
  320. d_strcoll='define'
  321. d_strctcpy='define'
  322. d_strerrm='strerror(e)'
  323. d_strerror='define'
  324. d_strtod='define'
  325. d_strtol='define'
  326. d_strtoul='define'
  327. d_strxfrm='undef'
  328. d_suidsafe='undef'
  329. d_symlink='undef'
  330. d_syscall='undef'
  331. d_sysconf='undef'
  332. d_sysernlst=''
  333. d_syserrlst='define'
  334. d_system='define'
  335. d_tcgetpgrp='undef'
  336. d_tcsetpgrp='undef'
  337. d_telldir='define'
  338. d_time='undef'
  339. d_times='define'
  340. d_truncate='define'
  341. d_tzname='define'
  342. d_umask='define'
  343. d_uname='define'
  344. d_union_semun='undef'
  345. d_vfork='define'
  346. d_void_closedir='undef'
  347. d_voidsig='define'
  348. d_voidtty=''
  349. d_volatile='define'
  350. d_vprintf='define'
  351. d_wait4='define'
  352. d_waitpid='define'
  353. d_wcstombs='define'
  354. d_wctomb='define'
  355. d_xenix='undef'
  356. date='date'
  357. db_hashtype='int'
  358. db_prefixtype='int'
  359. defvoidused='15'
  360. direntrytype='struct dirent'
  361. dlext='ro'
  362. dont_use_nlink='define'
  363. doublesize='8'
  364. eagain='EWOULDBLOCK'
  365. ebcdic='undef'
  366. echo='echo'
  367. egrep='egrep'
  368. emacs=''
  369. eunicefix=':'
  370. exe_ext=''
  371. expr=''
  372. find=''
  373. firstmakefile='Makefile0'
  374. flex=''
  375. fpostype='fpos_t'
  376. freetype='void'
  377. full_csh='undef'
  378. full_sed='sed'
  379. gccversion='2.7.2'
  380. gidtype='gid_t'
  381. glibpth=''
  382. grep='grep'
  383. groupcat=''
  384. groupstype='gid_t'
  385. gzip='gzip'
  386. h_fcntl='true'
  387. h_sysfile='false'
  388. hint='recommended'
  389. hostcat='type Inet:files.hosts'
  390. huge=''
  391. i_arpainet='define'
  392. i_bsdioctl=''
  393. i_db='undef'
  394. i_dbm='undef'
  395. i_dirent='define'
  396. i_dld='undef'
  397. i_dlfcn='define'
  398. i_fcntl='define'
  399. i_float='define'
  400. i_gdbm='undef'
  401. i_grp='undef'
  402. i_limits='define'
  403. i_locale='define'
  404. i_machcthreads='undef'
  405. i_malloc='define'
  406. i_math='define'
  407. i_memory='undef'
  408. i_mntent='undef'
  409. i_ndbm='undef'
  410. i_netdb='define'
  411. i_neterrno='undef'
  412. i_niin='define'
  413. i_pthread='undef'
  414. i_pwd='define'
  415. i_rpcsvcdbm='undef'
  416. i_sfio='undef'
  417. i_sgtty='undef'
  418. i_stdarg='define'
  419. i_stddef='define'
  420. i_stdlib='define'
  421. i_string='define'
  422. i_sysdir='define'
  423. i_sysfile='define'
  424. i_sysfilio='define'
  425. i_sysin='undef'
  426. i_sysioctl='define'
  427. i_sysmount='undef'
  428. i_sysndir='undef'
  429. i_sysparam='define'
  430. i_sysresrc='define'
  431. i_sysselct='define'
  432. i_syssockio=''
  433. i_sysstat='define'
  434. i_sysstatvfs='undef'
  435. i_systime='define'
  436. i_systimek='undef'
  437. i_systimes='define'
  438. i_systypes='define'
  439. i_sysun='undef'
  440. i_syswait='define'
  441. i_termio='undef'
  442. i_termios='define'
  443. i_time='define'
  444. i_unistd='define'
  445. i_utime='define'
  446. i_values='undef'
  447. i_varargs='undef'
  448. i_varhdr='stdarg.h'
  449. i_vfork='undef'
  450. ignore_versioned_solibs='y'
  451. incpath=''
  452. inews=''
  453. installbin='/Perl:'
  454. installman1dir=''
  455. installman3dir=''
  456. installscript='/PerlScript:'
  457. installsitearch='/PerlArchLib:'
  458. installsitelib='/PerlSiteLib:'
  459. installusrbinperl='undef'
  460. intsize='4'
  461. known_extensions='B DB_File Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Thread attrs re'
  462. ksh=''
  463. large=''
  464. ld='drlink'
  465. lddlflags=''
  466. ldflags='-o $@ -rescan'
  467. less=''
  468. lib_ext='.a'
  469. libc=''
  470. libperl='libperl.a'
  471. libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb BSD PW x'
  472. line=''
  473. lint=''
  474. lkflags=''
  475. ln=''
  476. lns=''
  477. locincpth=''
  478. loclibpth=''
  479. longdblsize='8'
  480. longlongsize='8'
  481. longsize='4'
  482. lp=''
  483. lpr=''
  484. ls='ls'
  485. lseektype='__off_t'
  486. mail=''
  487. mailx=''
  488. make='make'
  489. make_set_make='#'
  490. mallocobj=''
  491. mallocsrc=''
  492. malloctype='void *'
  493. man1dir=' '
  494. man1direxp=''
  495. man1ext='0'
  496. man3dir=' '
  497. man3direxp=''
  498. man3ext='0'
  499. medium=''
  500. mips=''
  501. mips_type=''
  502. mkdir='mkdir'
  503. models='none'
  504. modetype='mode_t'
  505. more='more'
  506. mv=''
  507. myarchname='arm-riscos'
  508. mydomain='.unfortu.net'
  509. myhostname='bagpuss'
  510. myuname='riscos bagpuss.unfortu.net 3.7 ROMPatches2.04 arc arm StrongARM,riscpc'
  511. n=''
  512. netdb_hlen_type='int'
  513. netdb_host_type='const char *'
  514. netdb_name_type='const char *'
  515. netdb_net_type='long'
  516. nm='miniperl /PerlDev:unix_nm'
  517. nm_opt='-p'
  518. nm_so_opt=''
  519. nonxs_ext='Errno'
  520. nroff=''
  521. o_nonblock='O_NONBLOCK'
  522. obj_ext='.o'
  523. optimize='-O2'
  524. orderlib='true'
  525. package='perl5'
  526. pager=''
  527. passcat=''
  528. patchlevel='5'
  529. path_sep=':'
  530. perl='perl'
  531. perladmin='nick@unfortu.net'
  532. perlpath='/<Perl$Dir>.perl'
  533. pg='pg'
  534. phostname=''
  535. pidtype='pid_t'
  536. plibpth=''
  537. pmake=''
  538. pr=''
  539. prefixexp='/Perl:'
  540. privlib='/PerlPrivLib:'
  541. prototype='define'
  542. ptrsize='4'
  543. randbits='31'
  544. ranlib='*| ranlib not needed'
  545. rd_nodata='-1'
  546. rm='rm'
  547. rmail=''
  548. runnm='false'
  549. scriptdir='/PerlScript:'
  550. scriptdirexp='/PerlScript:'
  551. sed='sed'
  552. selectminbits='0'
  553. selecttype='fd_set *'
  554. sendmail=''
  555. sh='no flipping shell'
  556. shar=''
  557. shmattype='char *'
  558. shortsize='2'
  559. shrpenv=''
  560. sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "USR1", "USR2", "CHLD", "PWR", "WINCH", "URG", "IO", "STOP", "TSTP", "CONT", "TTIN", "TTOU", "VTALRM", "PROF", "XCPU", "XFSZ", "WAITING", "LWP", "FREEZE", "THAW", "CANCEL", "RTMIN", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "RTMAX", "IOT", "CLD", "POLL", 0'
  561. sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 6, 18, 22, 0'
  562. signal_t='void'
  563. sitearch='/PerlSiteArchLib:'
  564. sitearchexp='/PerlSiteArchLib:'
  565. sitelib='/PerlSiteLib:'
  566. sitelibexp='/PerlSiteLib:'
  567. sizetype='size_t'
  568. sleep=''
  569. smail=''
  570. small=''
  571. sockethdr=''
  572. socketlib=''
  573. sort=''
  574. spackage='Perl5'
  575. spitshell=''
  576. split=''
  577. src='.'
  578. ssizetype='ssize_t'
  579. startperl='|!# perl'
  580. stdchar='unsigned char'
  581. stdio_base='((fp)->_base)'
  582. stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)'
  583. stdio_cnt='((fp)->_cnt)'
  584. stdio_filbuf=''
  585. stdio_ptr='((fp)->_ptr)'
  586. strings=''
  587. submit=''
  588. subversion='3'
  589. sysman=''
  590. tail=''
  591. tar=''
  592. tbl=''
  593. tee=''
  594. test=''
  595. timeincl=''
  596. timetype='time_t'
  597. touch=''
  598. tr=''
  599. trnl='\n'
  600. troff=''
  601. uidtype='uid_t'
  602. uname=''
  603. uniq=''
  604. usedl='define'
  605. usemymalloc='n'
  606. usenm='false'
  607. useopcode='true'
  608. useperlio='undef'
  609. useposix='true'
  610. usesfio='false'
  611. useshrplib='false'
  612. usethreads='undef'
  613. usevfork='true'
  614. usrinc=''
  615. uuname=''
  616. version='5.00503'
  617. vi=''
  618. voidflags='15'
  619. xlibpth=''
  620. zcat=''
  621. zip='zip'
  622. !END!
  623.  
  624. my $summary = <<'!END!';
  625. Summary of my $package ($baserev patchlevel $PATCHLEVEL subversion $SUBVERSION) configuration:
  626.   Platform:
  627.     osname=$osname, osvers=$osvers, archname=$archname
  628.     uname='$myuname'
  629.     hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction
  630.     usethreads=$usethreads useperlio=$useperlio d_sfio=$d_sfio
  631.   Compiler:
  632.     cc='$cc', optimize='$optimize', gccversion=$gccversion
  633.     cppflags='$cppflags'
  634.     ccflags ='$ccflags'
  635.     stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork
  636.     intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize
  637.     d_longlong=$d_longlong, longlongsize=$longlongsize, d_longdbl=$d_longdbl, longdblsize=$longdblsize
  638.     alignbytes=$alignbytes, usemymalloc=$usemymalloc, prototype=$prototype
  639.   Linker and Libraries:
  640.     ld='$ld', ldflags ='$ldflags'
  641.     libpth=$libpth
  642.     libs=$libs
  643.     libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl
  644.   Dynamic Linking:
  645.     dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags'
  646.     cccdlflags='$cccdlflags', lddlflags='$lddlflags'
  647.  
  648. !END!
  649. my $summary_expanded = 0;
  650.  
  651. sub myconfig {
  652.     return $summary if $summary_expanded;
  653.     $summary =~ s{\$(\w+)}
  654.              { my $c = $Config{$1}; defined($c) ? $c : 'undef' }ge;
  655.     $summary_expanded = 1;
  656.     $summary;
  657. }
  658.  
  659. sub FETCH { 
  660.     # check for cached value (which may be undef so we use exists not defined)
  661.     return $_[0]->{$_[1]} if (exists $_[0]->{$_[1]});
  662.  
  663.     # Search for it in the big string 
  664.     my($value, $start, $marker, $quote_type);
  665.     $marker = "$_[1]=";
  666.     $quote_type = "'";
  667.     # return undef unless (($value) = $config_sh =~ m/^$_[1]='(.*)'\s*$/m);
  668.     # Check for the common case, ' delimeted
  669.     $start = index($config_sh, "\n$marker$quote_type");
  670.     # If that failed, check for " delimited
  671.     if ($start == -1) {
  672.       $quote_type = '"';
  673.       $start = index($config_sh, "\n$marker$quote_type");
  674.     }
  675.     return undef if ( ($start == -1) &&  # in case it's first 
  676.         (substr($config_sh, 0, length($marker)) ne $marker) );
  677.     if ($start == -1) { 
  678.       # It's the very first thing we found. Skip $start forward
  679.       # and figure out the quote mark after the =.
  680.       $start = length($marker) + 1;
  681.       $quote_type = substr($config_sh, $start - 1, 1);
  682.     } 
  683.     else { 
  684.       $start += length($marker) + 2;
  685.     }
  686.     $value = substr($config_sh, $start, 
  687.         index($config_sh, "$quote_type\n", $start) - $start);
  688.  
  689.     # If we had a double-quote, we'd better eval it so escape
  690.     # sequences and such can be interpolated. Since the incoming
  691.     # value is supposed to follow shell rules and not perl rules,
  692.     # we escape any perl variable markers
  693.     if ($quote_type eq '"') {
  694.       $value =~ s/\$/\\\$/g;
  695.       $value =~ s/\@/\\\@/g;
  696.       eval "\$value = \"$value\"";
  697.     }
  698.     #$value = sprintf($value) if $quote_type eq '"';
  699.     $value = undef if $value eq 'undef'; # So we can say "if $Config{'foo'}".
  700.     $_[0]->{$_[1]} = $value; # cache it
  701.     return $value;
  702. }
  703.  
  704. my $prevpos = 0;
  705.  
  706. sub FIRSTKEY {
  707.     $prevpos = 0;
  708.     # my($key) = $config_sh =~ m/^(.*?)=/;
  709.     substr($config_sh, 0, index($config_sh, '=') );
  710.     # $key;
  711. }
  712.  
  713. sub NEXTKEY {
  714.     # Find out how the current key's quoted so we can skip to its end.
  715.     my $quote = substr($config_sh, index($config_sh, "=", $prevpos)+1, 1);
  716.     my $pos = index($config_sh, qq($quote\n), $prevpos) + 2;
  717.     my $len = index($config_sh, "=", $pos) - $pos;
  718.     $prevpos = $pos;
  719.     $len > 0 ? substr($config_sh, $pos, $len) : undef;
  720. }
  721.  
  722. sub EXISTS { 
  723.     # exists($_[0]->{$_[1]})  or  $config_sh =~ m/^$_[1]=/m;
  724.     exists($_[0]->{$_[1]}) or
  725.     index($config_sh, "\n$_[1]='") != -1 or
  726.     substr($config_sh, 0, length($_[1])+2) eq "$_[1]='" or
  727.     index($config_sh, "\n$_[1]=\"") != -1 or
  728.     substr($config_sh, 0, length($_[1])+2) eq "$_[1]=\"";
  729. }
  730.  
  731. sub STORE  { die "\%Config::Config is read-only\n" }
  732. sub DELETE { &STORE }
  733. sub CLEAR  { &STORE }
  734.  
  735.  
  736. sub config_sh {
  737.     $config_sh
  738. }
  739.  
  740. sub config_re {
  741.     my $re = shift;
  742.     my @matches = ($config_sh =~ /^$re=.*\n/mg);
  743.     @matches ? (print @matches) : print "$re: not found\n";
  744. }
  745.  
  746. sub config_vars {
  747.     foreach(@_){
  748.     config_re($_), next if /\W/;
  749.     my $v=(exists $Config{$_}) ? $Config{$_} : 'UNKNOWN';
  750.     $v='undef' unless defined $v;
  751.     print "$_='$v';\n";
  752.     }
  753. }
  754.  
  755. sub TIEHASH { bless {} }
  756.  
  757. # avoid Config..Exporter..UNIVERSAL search for DESTROY then AUTOLOAD
  758. sub DESTROY { }
  759.  
  760. tie %Config, 'Config';
  761.  
  762. 1;
  763. __END__
  764.  
  765. =head1 NAME
  766.  
  767. Config - access Perl configuration information
  768.  
  769. =head1 SYNOPSIS
  770.  
  771.     use Config;
  772.     if ($Config{'cc'} =~ /gcc/) {
  773.     print "built by gcc\n";
  774.     } 
  775.  
  776.     use Config qw(myconfig config_sh config_vars);
  777.  
  778.     print myconfig();
  779.  
  780.     print config_sh();
  781.  
  782.     config_vars(qw(osname archname));
  783.  
  784.  
  785. =head1 DESCRIPTION
  786.  
  787. The Config module contains all the information that was available to
  788. the C<Configure> program at Perl build time (over 900 values).
  789.  
  790. Shell variables from the F<config.sh> file (written by Configure) are
  791. stored in the readonly-variable C<%Config>, indexed by their names.
  792.  
  793. Values stored in config.sh as 'undef' are returned as undefined
  794. values.  The perl C<exists> function can be used to check if a
  795. named variable exists.
  796.  
  797. =over 4
  798.  
  799. =item myconfig()
  800.  
  801. Returns a textual summary of the major perl configuration values.
  802. See also C<-V> in L<perlrun/Switches>.
  803.  
  804. =item config_sh()
  805.  
  806. Returns the entire perl configuration information in the form of the
  807. original config.sh shell variable assignment script.
  808.  
  809. =item config_vars(@names)
  810.  
  811. Prints to STDOUT the values of the named configuration variable. Each is
  812. printed on a separate line in the form:
  813.  
  814.   name='value';
  815.  
  816. Names which are unknown are output as C<name='UNKNOWN';>.
  817. See also C<-V:name> in L<perlrun/Switches>.
  818.  
  819. =back
  820.  
  821. =head1 EXAMPLE
  822.  
  823. Here's a more sophisticated example of using %Config:
  824.  
  825.     use Config;
  826.     use strict;
  827.  
  828.     my %sig_num;
  829.     my @sig_name;
  830.     unless($Config{sig_name} && $Config{sig_num}) {
  831.     die "No sigs?";
  832.     } else {
  833.     my @names = split ' ', $Config{sig_name};
  834.     @sig_num{@names} = split ' ', $Config{sig_num};
  835.     foreach (@names) {
  836.         $sig_name[$sig_num{$_}] ||= $_;
  837.     }   
  838.     }
  839.  
  840.     print "signal #17 = $sig_name[17]\n";
  841.     if ($sig_num{ALRM}) { 
  842.     print "SIGALRM is $sig_num{ALRM}\n";
  843.     }   
  844.  
  845. =head1 WARNING
  846.  
  847. Because this information is not stored within the perl executable
  848. itself it is possible (but unlikely) that the information does not
  849. relate to the actual perl binary which is being used to access it.
  850.  
  851. The Config module is installed into the architecture and version
  852. specific library directory ($Config{installarchlib}) and it checks the
  853. perl version number when loaded.
  854.  
  855. The values stored in config.sh may be either single-quoted or
  856. double-quoted. Double-quoted strings are handy for those cases where you
  857. need to include escape sequences in the strings. To avoid runtime variable
  858. interpolation, any C<$> and C<@> characters are replaced by C<\$> and
  859. C<\@>, respectively. This isn't foolproof, of course, so don't embed C<\$>
  860. or C<\@> in double-quoted strings unless you're willing to deal with the
  861. consequences. (The slashes will end up escaped and the C<$> or C<@> will
  862. trigger variable interpolation)
  863.  
  864. =head1 GLOSSARY
  865.  
  866. Most C<Config> variables are determined by the C<Configure> script
  867. on platforms supported by it (which is most UNIX platforms).  Some
  868. platforms have custom-made C<Config> variables, and may thus not have
  869. some of the variables described below, or may have extraneous variables
  870. specific to that particular port.  See the port specific documentation
  871. in such cases.
  872.  
  873. =head2 M
  874.  
  875. =over
  876.  
  877. =item C<Mcc>
  878.  
  879. From F<Loc.U>:
  880.  
  881. This variable is used internally by Configure to determine the
  882. full pathname (if any) of the Mcc program.  After Configure runs,
  883. the value is reset to a plain C<Mcc> and is not useful.
  884.  
  885. =back
  886.  
  887. =head2 _
  888.  
  889. =over
  890.  
  891. =item C<_a>
  892.  
  893. From F<Unix.U>:
  894.  
  895. This variable defines the extension used for ordinary libraries.
  896. For unix, it is F<.a>.  The F<.> is included.  Other possible
  897. values include F<.lib>.
  898.  
  899. =item C<_exe>
  900.  
  901. From F<Unix.U>:
  902.  
  903. This variable defines the extension used for executable files.
  904. For unix it is empty.  Other possible values include F<.exe>.
  905.  
  906. =item C<_o>
  907.  
  908. From F<Unix.U>:
  909.  
  910. This variable defines the extension used for object files.
  911. For unix, it is F<.o>.  The F<.> is included.  Other possible
  912. values include F<.obj>.
  913.  
  914. =back
  915.  
  916. =head2 a
  917.  
  918. =over
  919.  
  920. =item C<afs>
  921.  
  922. From F<afs.U>:
  923.  
  924. This variable is set to C<true> if C<AFS> (Andrew File System) is used
  925. on the system, C<false> otherwise.  It is possible to override this
  926. with a hint value or command line option, but you'd better know
  927. what you are doing.
  928.  
  929. =item C<alignbytes>
  930.  
  931. From F<alignbytes.U>:
  932.  
  933. This variable holds the number of bytes required to align a
  934. double. Usual values are 2, 4 and 8.
  935.  
  936. =item C<ansi2knr>
  937.  
  938. From F<ansi2knr.U>:
  939.  
  940. This variable is set if the user needs to run ansi2knr.  
  941. Currently, this is not supported, so we just abort.
  942.  
  943. =item C<aphostname>
  944.  
  945. From F<d_gethname.U>:
  946.  
  947. Thie variable contains the command which can be used to compute the
  948. host name. The command is fully qualified by its absolute path, to make
  949. it safe when used by a process with super-user privileges.
  950.  
  951. =item C<apiversion>
  952.  
  953. From F<patchlevel.U>:
  954.  
  955. This is a number which identifies the lowest version of perl
  956. to have an C<API> (for C<XS> extensions) compatible with the present
  957. version.  For example, for 5.005_01, the apiversion should be
  958. 5.005, since 5.005_01 should be binary compatible with 5.005.
  959. This should probably be incremented manually somehow, perhaps
  960. from F<patchlevel.h>.  For now, we'll guess maintenance subversions
  961. will retain binary compatibility.
  962.  
  963. =item C<ar>
  964.  
  965. From F<Loc.U>:
  966.  
  967. This variable is used internally by Configure to determine the
  968. full pathname (if any) of the ar program.  After Configure runs,
  969. the value is reset to a plain C<ar> and is not useful.
  970.  
  971. =item C<archlib>
  972.  
  973. From F<archlib.U>:
  974.  
  975. This variable holds the name of the directory in which the user wants
  976. to put architecture-dependent public library files for $package.
  977. It is most often a local directory such as F</usr/local/lib>.
  978. Programs using this variable must be prepared to deal
  979. with filename expansion.
  980.  
  981. =item C<archlibexp>
  982.  
  983. From F<archlib.U>:
  984.  
  985. This variable is the same as the archlib variable, but is
  986. filename expanded at configuration time, for convenient use.
  987.  
  988. =item C<archname>
  989.  
  990. From F<archname.U>:
  991.  
  992. This variable is a short name to characterize the current
  993. architecture.  It is used mainly to construct the default archlib.
  994.  
  995. =item C<archobjs>
  996.  
  997. From F<Unix.U>:
  998.  
  999. This variable defines any additional objects that must be linked
  1000. in with the program on this architecture.  On unix, it is usually
  1001. empty.  It is typically used to include emulations of unix calls
  1002. or other facilities.  For perl on F<OS/2>, for example, this would
  1003. include F<os2/os2.obj>.
  1004.  
  1005. =item C<awk>
  1006.  
  1007. From F<Loc.U>:
  1008.  
  1009. This variable is used internally by Configure to determine the
  1010. full pathname (if any) of the awk program.  After Configure runs,
  1011. the value is reset to a plain C<awk> and is not useful.
  1012.  
  1013. =back
  1014.  
  1015. =head2 b
  1016.  
  1017. =over
  1018.  
  1019. =item C<baserev>
  1020.  
  1021. From F<baserev.U>:
  1022.  
  1023. The base revision level of this package, from the F<.package> file.
  1024.  
  1025. =item C<bash>
  1026.  
  1027. From F<Loc.U>:
  1028.  
  1029. This variable is defined but not used by Configure.
  1030. The value is a plain '' and is not useful.
  1031.  
  1032. =item C<bin>
  1033.  
  1034. From F<bin.U>:
  1035.  
  1036. This variable holds the name of the directory in which the user wants
  1037. to put publicly executable images for the package in question.  It
  1038. is most often a local directory such as F</usr/local/bin>. Programs using
  1039. this variable must be prepared to deal with F<~name> substitution.
  1040.  
  1041. =item C<binexp>
  1042.  
  1043. From F<bin.U>:
  1044.  
  1045. This is the same as the bin variable, but is filename expanded at
  1046. configuration time, for use in your makefiles.
  1047.  
  1048. =item C<bison>
  1049.  
  1050. From F<Loc.U>:
  1051.  
  1052. This variable is defined but not used by Configure.
  1053. The value is a plain '' and is not useful.
  1054.  
  1055. =item C<byacc>
  1056.  
  1057. From F<Loc.U>:
  1058.  
  1059. This variable is used internally by Configure to determine the
  1060. full pathname (if any) of the byacc program.  After Configure runs,
  1061. the value is reset to a plain C<byacc> and is not useful.
  1062.  
  1063. =item C<byteorder>
  1064.  
  1065. From F<byteorder.U>:
  1066.  
  1067. This variable holds the byte order. In the following, larger digits
  1068. indicate more significance.  The variable byteorder is either 4321
  1069. on a big-endian machine, or 1234 on a little-endian, or 87654321
  1070. on a Cray ... or 3412 with weird order !
  1071.  
  1072. =back
  1073.  
  1074. =head2 c
  1075.  
  1076. =over
  1077.  
  1078. =item C<c>
  1079.  
  1080. From F<n.U>:
  1081.  
  1082. This variable contains the \c string if that is what causes the echo
  1083. command to suppress newline.  Otherwise it is null.  Correct usage is
  1084.  
  1085.     $echo $n "prompt for a question: $c".
  1086.  
  1087.  
  1088. =item C<castflags>
  1089.  
  1090. From F<d_castneg.U>:
  1091.  
  1092. This variable contains a flag that precise difficulties the
  1093. compiler has casting odd floating values to unsigned long:
  1094.  
  1095.     0 = ok
  1096.  
  1097.  
  1098.     1 = couldn't cast < 0
  1099.  
  1100.  
  1101.     2 = couldn't cast >= 0x80000000
  1102.  
  1103.  
  1104.     4 = couldn't cast in argument expression list
  1105.  
  1106.  
  1107. =item C<cat>
  1108.  
  1109. From F<Loc.U>:
  1110.  
  1111. This variable is used internally by Configure to determine the
  1112. full pathname (if any) of the cat program.  After Configure runs,
  1113. the value is reset to a plain C<cat> and is not useful.
  1114.  
  1115. =item C<cc>
  1116.  
  1117. From F<cc.U>:
  1118.  
  1119. This variable holds the name of a command to execute a C compiler which
  1120. can resolve multiple global references that happen to have the same
  1121. name.  Usual values are C<cc>, C<Mcc>, C<cc -M>, and C<gcc>.
  1122.  
  1123. =item C<cccdlflags>
  1124.  
  1125. From F<dlsrc.U>:
  1126.  
  1127. This variable contains any special flags that might need to be
  1128. passed with C<cc -c> to compile modules to be used to create a shared
  1129. library that will be used for dynamic loading.  For hpux, this
  1130. should be +z.  It is up to the makefile to use it.
  1131.  
  1132. =item C<ccdlflags>
  1133.  
  1134. From F<dlsrc.U>:
  1135.  
  1136. This variable contains any special flags that might need to be
  1137. passed to cc to link with a shared library for dynamic loading.
  1138. It is up to the makefile to use it.  For sunos 4.1, it should
  1139. be empty.
  1140.  
  1141. =item C<ccflags>
  1142.  
  1143. From F<ccflags.U>:
  1144.  
  1145. This variable contains any additional C compiler flags desired by
  1146. the user.  It is up to the Makefile to use this.
  1147.  
  1148. =item C<ccsymbols>
  1149.  
  1150. From F<Cppsym.U>:
  1151.  
  1152. The variable contains the symbols defined by the C compiler alone.
  1153. The symbols defined by cpp or by cc when it calls cpp are not in
  1154. this list, see cppsymbols and cppccsymbols.
  1155. The list is a space-separated list of symbol=value tokens.
  1156.  
  1157. =item C<cf_by>
  1158.  
  1159. From F<cf_who.U>:
  1160.  
  1161. Login name of the person who ran the Configure script and answered the
  1162. questions. This is used to tag both F<config.sh> and F<config_h.SH>.
  1163.  
  1164. =item C<cf_email>
  1165.  
  1166. From F<cf_email.U>:
  1167.  
  1168. Electronic mail address of the person who ran Configure. This can be
  1169. used by units that require the user's e-mail, like F<MailList.U>.
  1170.  
  1171. =item C<cf_time>
  1172.  
  1173. From F<cf_who.U>:
  1174.  
  1175. Holds the output of the C<date> command when the configuration file was
  1176. produced. This is used to tag both F<config.sh> and F<config_h.SH>.
  1177.  
  1178. =item C<chgrp>
  1179.  
  1180. From F<Loc.U>:
  1181.  
  1182. This variable is defined but not used by Configure.
  1183. The value is a plain '' and is not useful.
  1184.  
  1185. =item C<chmod>
  1186.  
  1187. From F<Loc.U>:
  1188.  
  1189. This variable is defined but not used by Configure.
  1190. The value is a plain '' and is not useful.
  1191.  
  1192. =item C<chown>
  1193.  
  1194. From F<Loc.U>:
  1195.  
  1196. This variable is defined but not used by Configure.
  1197. The value is a plain '' and is not useful.
  1198.  
  1199. =item C<clocktype>
  1200.  
  1201. From F<d_times.U>:
  1202.  
  1203. This variable holds the type returned by times(). It can be long,
  1204. or clock_t on C<BSD> sites (in which case <sys/types.h> should be
  1205. included).
  1206.  
  1207. =item C<comm>
  1208.  
  1209. From F<Loc.U>:
  1210.  
  1211. This variable is used internally by Configure to determine the
  1212. full pathname (if any) of the comm program.  After Configure runs,
  1213. the value is reset to a plain C<comm> and is not useful.
  1214.  
  1215. =item C<compress>
  1216.  
  1217. From F<Loc.U>:
  1218.  
  1219. This variable is defined but not used by Configure.
  1220. The value is a plain '' and is not useful.
  1221.  
  1222. =item C<contains>
  1223.  
  1224. From F<contains.U>:
  1225.  
  1226. This variable holds the command to do a grep with a proper return
  1227. status.  On most sane systems it is simply C<grep>.  On insane systems
  1228. it is a grep followed by a cat followed by a test.  This variable
  1229. is primarily for the use of other Configure units.
  1230.  
  1231. =item C<cp>
  1232.  
  1233. From F<Loc.U>:
  1234.  
  1235. This variable is used internally by Configure to determine the
  1236. full pathname (if any) of the cp program.  After Configure runs,
  1237. the value is reset to a plain C<cp> and is not useful.
  1238.  
  1239. =item C<cpio>
  1240.  
  1241. From F<Loc.U>:
  1242.  
  1243. This variable is defined but not used by Configure.
  1244. The value is a plain '' and is not useful.
  1245.  
  1246. =item C<cpp>
  1247.  
  1248. From F<Loc.U>:
  1249.  
  1250. This variable is used internally by Configure to determine the
  1251. full pathname (if any) of the cpp program.  After Configure runs,
  1252. the value is reset to a plain C<cpp> and is not useful.
  1253.  
  1254. =item C<cpp_stuff>
  1255.  
  1256. From F<cpp_stuff.U>:
  1257.  
  1258. This variable contains an identification of the catenation mechanism
  1259. used by the C preprocessor.
  1260.  
  1261. =item C<cppflags>
  1262.  
  1263. From F<ccflags.U>:
  1264.  
  1265. This variable holds the flags that will be passed to the C pre-
  1266. processor. It is up to the Makefile to use it.
  1267.  
  1268. =item C<cpplast>
  1269.  
  1270. From F<cppstdin.U>:
  1271.  
  1272. This variable has the same functionality as cppminus, only it applies to
  1273. cpprun and not cppstdin.
  1274.  
  1275. =item C<cppminus>
  1276.  
  1277. From F<cppstdin.U>:
  1278.  
  1279. This variable contains the second part of the string which will invoke
  1280. the C preprocessor on the standard input and produce to standard
  1281. output.  This variable will have the value C<-> if cppstdin needs a minus
  1282. to specify standard input, otherwise the value is "".
  1283.  
  1284. =item C<cpprun>
  1285.  
  1286. From F<cppstdin.U>:
  1287.  
  1288. This variable contains the command which will invoke a C preprocessor
  1289. on standard input and put the output to stdout. It is guaranteed not
  1290. to be a wrapper and may be a null string if no preprocessor can be
  1291. made directly available. This preprocessor might be different from the
  1292. one used by the C compiler. Don't forget to append cpplast after the
  1293. preprocessor options.
  1294.  
  1295. =item C<cppstdin>
  1296.  
  1297. From F<cppstdin.U>:
  1298.  
  1299. This variable contains the command which will invoke the C
  1300. preprocessor on standard input and put the output to stdout.
  1301. It is primarily used by other Configure units that ask about
  1302. preprocessor symbols.
  1303.  
  1304. =item C<cppsymbols>
  1305.  
  1306. From F<Cppsym.U>:
  1307.  
  1308. The variable contains the symbols defined by the C preprocessor
  1309. alone.  The symbols defined by cc or by cc when it calls cpp are
  1310. not in this list, see ccsymbols and cppccsymbols.
  1311. The list is a space-separated list of symbol=value tokens.
  1312.  
  1313. =item C<cppccsymbols>
  1314.  
  1315. From F<Cppsym.U>:
  1316.  
  1317. The variable contains the symbols defined by the C compiler when
  1318. when it calls cpp.  The symbols defined by the cc alone or cpp
  1319. alone are not in this list, see ccsymbols and cppsymbols.
  1320. The list is a space-separated list of symbol=value tokens.
  1321.  
  1322. =item C<cryptlib>
  1323.  
  1324. From F<d_crypt.U>:
  1325.  
  1326. This variable holds -lcrypt or the path to a F<libcrypt.a> archive if
  1327. the crypt() function is not defined in the standard C library. It is
  1328. up to the Makefile to use this.
  1329.  
  1330. =item C<csh>
  1331.  
  1332. From F<Loc.U>:
  1333.  
  1334. This variable is used internally by Configure to determine the
  1335. full pathname (if any) of the csh program.  After Configure runs,
  1336. the value is reset to a plain C<csh> and is not useful.
  1337.  
  1338. =back
  1339.  
  1340. =head2 d
  1341.  
  1342. =over
  1343.  
  1344. =item C<d_Gconvert>
  1345.  
  1346. From F<d_gconvert.U>:
  1347.  
  1348. This variable holds what Gconvert is defined as to convert
  1349. floating point numbers into strings. It could be C<gconvert>
  1350. or a more C<complex> macro emulating gconvert with gcvt() or sprintf.
  1351.  
  1352. =item C<d_access>
  1353.  
  1354. From F<d_access.U>:
  1355.  
  1356. This variable conditionally defines C<HAS_ACCESS> if the access() system
  1357. call is available to check for access permissions using real IDs.
  1358.  
  1359. =item C<d_alarm>
  1360.  
  1361. From F<d_alarm.U>:
  1362.  
  1363. This variable conditionally defines the C<HAS_ALARM> symbol, which
  1364. indicates to the C program that the alarm() routine is available.
  1365.  
  1366. =item C<d_archlib>
  1367.  
  1368. From F<archlib.U>:
  1369.  
  1370. This variable conditionally defines C<ARCHLIB> to hold the pathname
  1371. of architecture-dependent library files for $package.  If
  1372. $archlib is the same as $privlib, then this is set to undef.
  1373.  
  1374. =item C<d_attribut>
  1375.  
  1376. From F<d_attribut.U>:
  1377.  
  1378. This variable conditionally defines C<HASATTRIBUTE>, which
  1379. indicates the C compiler can check for function attributes,
  1380. such as printf formats.
  1381.  
  1382. =item C<d_bcmp>
  1383.  
  1384. From F<d_bcmp.U>:
  1385.  
  1386. This variable conditionally defines the C<HAS_BCMP> symbol if
  1387. the bcmp() routine is available to compare strings.
  1388.  
  1389. =item C<d_bcopy>
  1390.  
  1391. From F<d_bcopy.U>:
  1392.  
  1393. This variable conditionally defines the C<HAS_BCOPY> symbol if
  1394. the bcopy() routine is available to copy strings.
  1395.  
  1396. =item C<d_bsd>
  1397.  
  1398. From F<Guess.U>:
  1399.  
  1400. This symbol conditionally defines the symbol C<BSD> when running on a
  1401. C<BSD> system.
  1402.  
  1403. =item C<d_bsdgetpgrp>
  1404.  
  1405. From F<d_getpgrp.U>:
  1406.  
  1407. This variable conditionally defines C<USE_BSD_GETPGRP> if
  1408. getpgrp needs one arguments whereas C<USG> one needs none.
  1409.  
  1410. =item C<d_bsdsetpgrp>
  1411.  
  1412. From F<d_setpgrp.U>:
  1413.  
  1414. This variable conditionally defines C<USE_BSD_SETPGRP> if
  1415. setpgrp needs two arguments whereas C<USG> one needs none.
  1416. See also d_setpgid for a C<POSIX> interface.
  1417.  
  1418. =item C<d_bzero>
  1419.  
  1420. From F<d_bzero.U>:
  1421.  
  1422. This variable conditionally defines the C<HAS_BZERO> symbol if
  1423. the bzero() routine is available to set memory to 0.
  1424.  
  1425. =item C<d_casti32>
  1426.  
  1427. From F<d_casti32.U>:
  1428.  
  1429. This variable conditionally defines CASTI32, which indicates
  1430. whether the C compiler can cast large floats to 32-bit ints.
  1431.  
  1432. =item C<d_castneg>
  1433.  
  1434. From F<d_castneg.U>:
  1435.  
  1436. This variable conditionally defines C<CASTNEG>, which indicates
  1437. wether the C compiler can cast negative float to unsigned.
  1438.  
  1439. =item C<d_charvspr>
  1440.  
  1441. From F<d_vprintf.U>:
  1442.  
  1443. This variable conditionally defines C<CHARVSPRINTF> if this system
  1444. has vsprintf returning type (char*).  The trend seems to be to
  1445. declare it as "int vsprintf()".
  1446.  
  1447. =item C<d_chown>
  1448.  
  1449. From F<d_chown.U>:
  1450.  
  1451. This variable conditionally defines the C<HAS_CHOWN> symbol, which
  1452. indicates to the C program that the chown() routine is available.
  1453.  
  1454. =item C<d_chroot>
  1455.  
  1456. From F<d_chroot.U>:
  1457.  
  1458. This variable conditionally defines the C<HAS_CHROOT> symbol, which
  1459. indicates to the C program that the chroot() routine is available.
  1460.  
  1461. =item C<d_chsize>
  1462.  
  1463. From F<d_chsize.U>:
  1464.  
  1465. This variable conditionally defines the C<CHSIZE> symbol, which
  1466. indicates to the C program that the chsize() routine is available
  1467. to truncate files.  You might need a -lx to get this routine.
  1468.  
  1469. =item C<d_closedir>
  1470.  
  1471. From F<d_closedir.U>:
  1472.  
  1473. This variable conditionally defines C<HAS_CLOSEDIR> if closedir() is
  1474. available.
  1475.  
  1476. =item C<d_const>
  1477.  
  1478. From F<d_const.U>:
  1479.  
  1480. This variable conditionally defines the C<HASCONST> symbol, which
  1481. indicates to the C program that this C compiler knows about the
  1482. const type.
  1483.  
  1484. =item C<d_crypt>
  1485.  
  1486. From F<d_crypt.U>:
  1487.  
  1488. This variable conditionally defines the C<CRYPT> symbol, which
  1489. indicates to the C program that the crypt() routine is available
  1490. to encrypt passwords and the like.
  1491.  
  1492. =item C<d_csh>
  1493.  
  1494. From F<d_csh.U>:
  1495.  
  1496. This variable conditionally defines the C<CSH> symbol, which
  1497. indicates to the C program that the C-shell exists.
  1498.  
  1499. =item C<d_cuserid>
  1500.  
  1501. From F<d_cuserid.U>:
  1502.  
  1503. This variable conditionally defines the C<HAS_CUSERID> symbol, which
  1504. indicates to the C program that the cuserid() routine is available
  1505. to get character login names.
  1506.  
  1507. =item C<d_dbl_dig>
  1508.  
  1509. From F<d_dbl_dig.U>:
  1510.  
  1511. This variable conditionally defines d_dbl_dig if this system's
  1512. header files provide C<DBL_DIG>, which is the number of significant
  1513. digits in a double precision number.
  1514.  
  1515. =item C<d_difftime>
  1516.  
  1517. From F<d_difftime.U>:
  1518.  
  1519. This variable conditionally defines the C<HAS_DIFFTIME> symbol, which
  1520. indicates to the C program that the difftime() routine is available.
  1521.  
  1522. =item C<d_dirnamlen>
  1523.  
  1524. From F<i_dirent.U>:
  1525.  
  1526. This variable conditionally defines C<DIRNAMLEN>, which indicates
  1527. to the C program that the length of directory entry names is
  1528. provided by a d_namelen field.
  1529.  
  1530. =item C<d_dlerror>
  1531.  
  1532. From F<d_dlerror.U>:
  1533.  
  1534. This variable conditionally defines the C<HAS_DLERROR> symbol, which
  1535. indicates to the C program that the dlerror() routine is available.
  1536.  
  1537. =item C<d_dlopen>
  1538.  
  1539. From F<d_dlopen.U>:
  1540.  
  1541. This variable conditionally defines the C<HAS_DLOPEN> symbol, which
  1542. indicates to the C program that the dlopen() routine is available.
  1543.  
  1544. =item C<d_dlsymun>
  1545.  
  1546. From F<d_dlsymun.U>:
  1547.  
  1548. This variable conditionally defines C<DLSYM_NEEDS_UNDERSCORE>, which
  1549. indicates that we need to prepend an underscore to the symbol
  1550. name before calling dlsym().
  1551.  
  1552. =item C<d_dosuid>
  1553.  
  1554. From F<d_dosuid.U>:
  1555.  
  1556. This variable conditionally defines the symbol C<DOSUID>, which
  1557. tells the C program that it should insert setuid emulation code
  1558. on hosts which have setuid #! scripts disabled.
  1559.  
  1560. =item C<d_dup2>
  1561.  
  1562. From F<d_dup2.U>:
  1563.  
  1564. This variable conditionally defines HAS_DUP2 if dup2() is
  1565. available to duplicate file descriptors.
  1566.  
  1567. =item C<d_endgrent>
  1568.  
  1569. From F<d_endgrent.U>:
  1570.  
  1571. This variable conditionally defines the C<HAS_ENDGRENT> symbol, which
  1572. indicates to the C program that the endgrent() routine is available
  1573. for sequential access of the group database.
  1574.  
  1575. =item C<d_endhent>
  1576.  
  1577. From F<d_endhent.U>:
  1578.  
  1579. This variable conditionally defines C<HAS_ENDHOSTENT> if endhostent() is
  1580. available to close whatever was being used for host queries.
  1581.  
  1582. =item C<d_endnent>
  1583.  
  1584. From F<d_endnent.U>:
  1585.  
  1586. This variable conditionally defines C<HAS_ENDNETENT> if endnetent() is
  1587. available to close whatever was being used for network queries.
  1588.  
  1589. =item C<d_endpent>
  1590.  
  1591. From F<d_endpent.U>:
  1592.  
  1593. This variable conditionally defines C<HAS_ENDPROTOENT> if endprotoent() is
  1594. available to close whatever was being used for protocol queries.
  1595.  
  1596. =item C<d_endpwent>
  1597.  
  1598. From F<d_endpwent.U>:
  1599.  
  1600. This variable conditionally defines the C<HAS_ENDPWENT> symbol, which
  1601. indicates to the C program that the endpwent() routine is available
  1602. for sequential access of the passwd database.
  1603.  
  1604. =item C<d_endsent>
  1605.  
  1606. From F<d_endsent.U>:
  1607.  
  1608. This variable conditionally defines C<HAS_ENDSERVENT> if endservent() is
  1609. available to close whatever was being used for service queries.
  1610.  
  1611. =item C<d_eofnblk>
  1612.  
  1613. From F<nblock_io.U>:
  1614.  
  1615. This variable conditionally defines C<EOF_NONBLOCK> if C<EOF> can be seen
  1616. when reading from a non-blocking F<I/O> source.
  1617.  
  1618. =item C<d_eunice>
  1619.  
  1620. From F<Guess.U>:
  1621.  
  1622. This variable conditionally defines the symbols C<EUNICE> and C<VAX>, which
  1623. alerts the C program that it must deal with ideosyncracies of C<VMS>.
  1624.  
  1625. =item C<d_fchmod>
  1626.  
  1627. From F<d_fchmod.U>:
  1628.  
  1629. This variable conditionally defines the C<HAS_FCHMOD> symbol, which
  1630. indicates to the C program that the fchmod() routine is available
  1631. to change mode of opened files.
  1632.  
  1633. =item C<d_fchown>
  1634.  
  1635. From F<d_fchown.U>:
  1636.  
  1637. This variable conditionally defines the C<HAS_FCHOWN> symbol, which
  1638. indicates to the C program that the fchown() routine is available
  1639. to change ownership of opened files.
  1640.  
  1641. =item C<d_fcntl>
  1642.  
  1643. From F<d_fcntl.U>:
  1644.  
  1645. This variable conditionally defines the C<HAS_FCNTL> symbol, and indicates
  1646. whether the fcntl() function exists
  1647.  
  1648. =item C<d_fd_macros>
  1649.  
  1650. From F<d_fd_set.U>:
  1651.  
  1652. This variable contains the eventual value of the C<HAS_FD_MACROS> symbol,
  1653. which indicates if your C compiler knows about the macros which
  1654. manipulate an fd_set.
  1655.  
  1656. =item C<d_fd_set>
  1657.  
  1658. From F<d_fd_set.U>:
  1659.  
  1660. This variable contains the eventual value of the C<HAS_FD_SET> symbol,
  1661. which indicates if your C compiler knows about the fd_set typedef.
  1662.  
  1663. =item C<d_fds_bits>
  1664.  
  1665. From F<d_fd_set.U>:
  1666.  
  1667. This variable contains the eventual value of the C<HAS_FDS_BITS> symbol,
  1668. which indicates if your fd_set typedef contains the fds_bits member.
  1669. If you have an fd_set typedef, but the dweebs who installed it did
  1670. a half-fast job and neglected to provide the macros to manipulate
  1671. an fd_set, C<HAS_FDS_BITS> will let us know how to fix the gaffe.
  1672.  
  1673. =item C<d_fgetpos>
  1674.  
  1675. From F<d_fgetpos.U>:
  1676.  
  1677. This variable conditionally defines C<HAS_FGETPOS> if fgetpos() is
  1678. available to get the file position indicator.
  1679.  
  1680. =item C<d_flexfnam>
  1681.  
  1682. From F<d_flexfnam.U>:
  1683.  
  1684. This variable conditionally defines the C<FLEXFILENAMES> symbol, which
  1685. indicates that the system supports filenames longer than 14 characters.
  1686.  
  1687. =item C<d_flock>
  1688.  
  1689. From F<d_flock.U>:
  1690.  
  1691. This variable conditionally defines C<HAS_FLOCK> if flock() is
  1692. available to do file locking.
  1693.  
  1694. =item C<d_fork>
  1695.  
  1696. From F<d_fork.U>:
  1697.  
  1698. This variable conditionally defines the C<HAS_FORK> symbol, which
  1699. indicates to the C program that the fork() routine is available.
  1700.  
  1701. =item C<d_fpathconf>
  1702.  
  1703. From F<d_pathconf.U>:
  1704.  
  1705. This variable conditionally defines the C<HAS_FPATHCONF> symbol, which
  1706. indicates to the C program that the pathconf() routine is available
  1707. to determine file-system related limits and options associated
  1708. with a given open file descriptor.
  1709.  
  1710. =item C<d_fsetpos>
  1711.  
  1712. From F<d_fsetpos.U>:
  1713.  
  1714. This variable conditionally defines C<HAS_FSETPOS> if fsetpos() is
  1715. available to set the file position indicator.
  1716.  
  1717. =item C<d_fstatfs>
  1718.  
  1719. From F<d_statfs.U>:
  1720.  
  1721. This variable conditionally defines the C<HAS_FSTATFS> symbol, which
  1722. indicates to the C program that the fstatfs() routine is available.
  1723.  
  1724. =item C<d_fstatvfs>
  1725.  
  1726. From F<d_statvfs.U>:
  1727.  
  1728. This variable conditionally defines the C<HAS_FSTATVFS> symbol, which
  1729. indicates to the C program that the fstatvfs() routine is available.
  1730.  
  1731. =item C<d_ftime>
  1732.  
  1733. From F<d_ftime.U>:
  1734.  
  1735. This variable conditionally defines the C<HAS_FTIME> symbol, which indicates
  1736. that the ftime() routine exists.  The ftime() routine is basically
  1737. a sub-second accuracy clock.
  1738.  
  1739. =item C<d_getgrent>
  1740.  
  1741. From F<d_getgrent.U>:
  1742.  
  1743. This variable conditionally defines the C<HAS_GETGRENT> symbol, which
  1744. indicates to the C program that the getgrent() routine is available
  1745. for sequential access of the group database.
  1746.  
  1747. =item C<d_getgrps>
  1748.  
  1749. From F<d_getgrps.U>:
  1750.  
  1751. This variable conditionally defines the C<HAS_GETGROUPS> symbol, which
  1752. indicates to the C program that the getgroups() routine is available
  1753. to get the list of process groups.
  1754.  
  1755. =item C<d_gethbyaddr>
  1756.  
  1757. From F<d_gethbyad.U>:
  1758.  
  1759. This variable conditionally defines the C<HAS_GETHOSTBYADDR> symbol, which
  1760. indicates to the C program that the gethostbyaddr() routine is available
  1761. to look up hosts by their C<IP> addresses.
  1762.  
  1763. =item C<d_gethbyname>
  1764.  
  1765. From F<d_gethbynm.U>:
  1766.  
  1767. This variable conditionally defines the C<HAS_GETHOSTBYNAME> symbol, which
  1768. indicates to the C program that the gethostbyname() routine is available
  1769. to look up host names in some data base or other.
  1770.  
  1771. =item C<d_gethent>
  1772.  
  1773. From F<d_gethent.U>:
  1774.  
  1775. This variable conditionally defines C<HAS_GETHOSTENT> if gethostent() is
  1776. available to look up host names in some data base or another.
  1777.  
  1778. =item C<d_gethname>
  1779.  
  1780. From F<d_gethname.U>:
  1781.  
  1782. This variable conditionally defines the C<HAS_GETHOSTNAME> symbol, which
  1783. indicates to the C program that the gethostname() routine may be
  1784. used to derive the host name.
  1785.  
  1786. =item C<d_gethostprotos>
  1787.  
  1788. From F<d_gethostprotos.U>:
  1789.  
  1790. This variable conditionally defines the C<HAS_GETHOST_PROTOS> symbol,
  1791. which indicates to the C program that <netdb.h> supplies
  1792. prototypes for the various gethost*() functions.  
  1793. See also F<netdbtype.U> for probing for various netdb types.
  1794.  
  1795. =item C<d_getlogin>
  1796.  
  1797. From F<d_getlogin.U>:
  1798.  
  1799. This variable conditionally defines the C<HAS_GETLOGIN> symbol, which
  1800. indicates to the C program that the getlogin() routine is available
  1801. to get the login name.
  1802.  
  1803. =item C<d_getmntent>
  1804.  
  1805. From F<d_getmntent.U>:
  1806.  
  1807. This variable conditionally defines the C<HAS_GETMNTENT> symbol, which
  1808. indicates to the C program that the getmntent() routine is available
  1809. to iterate through mounted files.
  1810.  
  1811. =item C<d_getnbyaddr>
  1812.  
  1813. From F<d_getnbyad.U>:
  1814.  
  1815. This variable conditionally defines the C<HAS_GETNETBYADDR> symbol, which
  1816. indicates to the C program that the getnetbyaddr() routine is available
  1817. to look up networks by their C<IP> addresses.
  1818.  
  1819. =item C<d_getnbyname>
  1820.  
  1821. From F<d_getnbynm.U>:
  1822.  
  1823. This variable conditionally defines the C<HAS_GETNETBYNAME> symbol, which
  1824. indicates to the C program that the getnetbyname() routine is available
  1825. to look up networks by their names.
  1826.  
  1827. =item C<d_getnent>
  1828.  
  1829. From F<d_getnent.U>:
  1830.  
  1831. This variable conditionally defines C<HAS_GETNETENT> if getnetent() is
  1832. available to look up network names in some data base or another.
  1833.  
  1834. =item C<d_getnetprotos>
  1835.  
  1836. From F<d_getnetprotos.U>:
  1837.  
  1838. This variable conditionally defines the C<HAS_GETNET_PROTOS> symbol,
  1839. which indicates to the C program that <netdb.h> supplies
  1840. prototypes for the various getnet*() functions.  
  1841. See also F<netdbtype.U> for probing for various netdb types.
  1842.  
  1843. =item C<d_getpbyname>
  1844.  
  1845. From F<d_getprotby.U>:
  1846.  
  1847. This variable conditionally defines the C<HAS_GETPROTOBYNAME> 
  1848. symbol, which indicates to the C program that the 
  1849. getprotobyname() routine is available to look up protocols
  1850. by their name.
  1851.  
  1852. =item C<d_getpbynumber>
  1853.  
  1854. From F<d_getprotby.U>:
  1855.  
  1856. This variable conditionally defines the C<HAS_GETPROTOBYNUMBER> 
  1857. symbol, which indicates to the C program that the 
  1858. getprotobynumber() routine is available to look up protocols
  1859. by their number.
  1860.  
  1861. =item C<d_getpent>
  1862.  
  1863. From F<d_getpent.U>:
  1864.  
  1865. This variable conditionally defines C<HAS_GETPROTOENT> if getprotoent() is
  1866. available to look up protocols in some data base or another.
  1867.  
  1868. =item C<d_getpgid>
  1869.  
  1870. From F<d_getpgid.U>:
  1871.  
  1872. This variable conditionally defines the C<HAS_GETPGID> symbol, which
  1873. indicates to the C program that the getpgid(pid) function
  1874. is available to get the process group id.
  1875.  
  1876. =item C<d_getpgrp2>
  1877.  
  1878. From F<d_getpgrp2.U>:
  1879.  
  1880. This variable conditionally defines the HAS_GETPGRP2 symbol, which
  1881. indicates to the C program that the getpgrp2() (as in F<DG/C<UX>>) routine
  1882. is available to get the current process group.
  1883.  
  1884. =item C<d_getpgrp>
  1885.  
  1886. From F<d_getpgrp.U>:
  1887.  
  1888. This variable conditionally defines C<HAS_GETPGRP> if getpgrp() is
  1889. available to get the current process group.
  1890.  
  1891. =item C<d_getppid>
  1892.  
  1893. From F<d_getppid.U>:
  1894.  
  1895. This variable conditionally defines the C<HAS_GETPPID> symbol, which
  1896. indicates to the C program that the getppid() routine is available
  1897. to get the parent process C<ID>.
  1898.  
  1899. =item C<d_getprior>
  1900.  
  1901. From F<d_getprior.U>:
  1902.  
  1903. This variable conditionally defines C<HAS_GETPRIORITY> if getpriority()
  1904. is available to get a process's priority.
  1905.  
  1906. =item C<d_getprotoprotos>
  1907.  
  1908. From F<d_getprotoprotos.U>:
  1909.  
  1910. This variable conditionally defines the C<HAS_GETPROTO_PROTOS> symbol,
  1911. which indicates to the C program that <netdb.h> supplies
  1912. prototypes for the various getproto*() functions.  
  1913. See also F<netdbtype.U> for probing for various netdb types.
  1914.  
  1915. =item C<d_getpwent>
  1916.  
  1917. From F<d_getpwent.U>:
  1918.  
  1919. This variable conditionally defines the C<HAS_GETPWENT> symbol, which
  1920. indicates to the C program that the getpwent() routine is available
  1921. for sequential access of the passwd database.
  1922.  
  1923. =item C<d_getsbyname>
  1924.  
  1925. From F<d_getsrvby.U>:
  1926.  
  1927. This variable conditionally defines the C<HAS_GETSERVBYNAME> 
  1928. symbol, which indicates to the C program that the 
  1929. getservbyname() routine is available to look up services
  1930. by their name.
  1931.  
  1932. =item C<d_getsbyport>
  1933.  
  1934. From F<d_getsrvby.U>:
  1935.  
  1936. This variable conditionally defines the C<HAS_GETSERVBYPORT> 
  1937. symbol, which indicates to the C program that the 
  1938. getservbyport() routine is available to look up services
  1939. by their port.
  1940.  
  1941. =item C<d_getsent>
  1942.  
  1943. From F<d_getsent.U>:
  1944.  
  1945. This variable conditionally defines C<HAS_GETSERVENT> if getservent() is
  1946. available to look up network services in some data base or another.
  1947.  
  1948. =item C<d_getservprotos>
  1949.  
  1950. From F<d_getservprotos.U>:
  1951.  
  1952. This variable conditionally defines the C<HAS_GETSERV_PROTOS> symbol,
  1953. which indicates to the C program that <netdb.h> supplies
  1954. prototypes for the various getserv*() functions.  
  1955. See also F<netdbtype.U> for probing for various netdb types.
  1956.  
  1957. =item C<d_gettimeod>
  1958.  
  1959. From F<d_ftime.U>:
  1960.  
  1961. This variable conditionally defines the C<HAS_GETTIMEOFDAY> symbol, which
  1962. indicates that the gettimeofday() system call exists (to obtain a
  1963. sub-second accuracy clock). You should probably include <sys/resource.h>.
  1964.  
  1965. =item C<d_gnulibc>
  1966.  
  1967. From F<d_gnulibc.U>:
  1968.  
  1969. Defined if we're dealing with the C<GNU> C Library.
  1970.  
  1971. =item C<d_grpasswd>
  1972.  
  1973. From F<i_grp.U>:
  1974.  
  1975. This variable conditionally defines C<GRPASSWD>, which indicates
  1976. that struct group in <grp.h> contains gr_passwd.
  1977.  
  1978. =item C<d_hasmntopt>
  1979.  
  1980. From F<d_hasmntopt.U>:
  1981.  
  1982. This variable conditionally defines the C<HAS_HASMNTOPT> symbol, which
  1983. indicates to the C program that the hasmntopt() routine is available
  1984. to query the mount options of file systems.
  1985.  
  1986. =item C<d_htonl>
  1987.  
  1988. From F<d_htonl.U>:
  1989.  
  1990. This variable conditionally defines C<HAS_HTONL> if htonl() and its
  1991. friends are available to do network order byte swapping.
  1992.  
  1993. =item C<d_index>
  1994.  
  1995. From F<d_strchr.U>:
  1996.  
  1997. This variable conditionally defines C<HAS_INDEX> if index() and
  1998. rindex() are available for string searching.
  1999.  
  2000. =item C<d_inetaton>
  2001.  
  2002. From F<d_inetaton.U>:
  2003.  
  2004. This variable conditionally defines the C<HAS_INET_ATON> symbol, which
  2005. indicates to the C program that the inet_aton() function is available
  2006. to parse C<IP> address C<dotted-quad> strings.
  2007.  
  2008. =item C<d_isascii>
  2009.  
  2010. From F<d_isascii.U>:
  2011.  
  2012. This variable conditionally defines the C<HAS_ISASCII> constant,
  2013. which indicates to the C program that isascii() is available.
  2014.  
  2015. =item C<d_killpg>
  2016.  
  2017. From F<d_killpg.U>:
  2018.  
  2019. This variable conditionally defines the C<HAS_KILLPG> symbol, which
  2020. indicates to the C program that the killpg() routine is available
  2021. to kill process groups.
  2022.  
  2023. =item C<d_lchown>
  2024.  
  2025. From F<d_lchown.U>:
  2026.  
  2027. This variable conditionally defines the C<HAS_LCHOWN> symbol, which
  2028. indicates to the C program that the lchown() routine is available
  2029. to operate on a symbolic link (instead of following the link).
  2030.  
  2031. =item C<d_link>
  2032.  
  2033. From F<d_link.U>:
  2034.  
  2035. This variable conditionally defines C<HAS_LINK> if link() is
  2036. available to create hard links.
  2037.  
  2038. =item C<d_locconv>
  2039.  
  2040. From F<d_locconv.U>:
  2041.  
  2042. This variable conditionally defines C<HAS_LOCALECONV> if localeconv() is
  2043. available for numeric and monetary formatting conventions.
  2044.  
  2045. =item C<d_lockf>
  2046.  
  2047. From F<d_lockf.U>:
  2048.  
  2049. This variable conditionally defines C<HAS_LOCKF> if lockf() is
  2050. available to do file locking.
  2051.  
  2052. =item C<d_longdbl>
  2053.  
  2054. From F<d_longdbl.U>:
  2055.  
  2056. This variable conditionally defines C<HAS_LONG_DOUBLE> if 
  2057. the long double type is supported.
  2058.  
  2059. =item C<d_longlong>
  2060.  
  2061. From F<d_longlong.U>:
  2062.  
  2063. This variable conditionally defines C<HAS_LONG_LONG> if 
  2064. the long long type is supported.
  2065.  
  2066. =item C<d_lstat>
  2067.  
  2068. From F<d_lstat.U>:
  2069.  
  2070. This variable conditionally defines C<HAS_LSTAT> if lstat() is
  2071. available to do file stats on symbolic links.
  2072.  
  2073. =item C<d_mblen>
  2074.  
  2075. From F<d_mblen.U>:
  2076.  
  2077. This variable conditionally defines the C<HAS_MBLEN> symbol, which
  2078. indicates to the C program that the mblen() routine is available
  2079. to find the number of bytes in a multibye character.
  2080.  
  2081. =item C<d_mbstowcs>
  2082.  
  2083. From F<d_mbstowcs.U>:
  2084.  
  2085. This variable conditionally defines the C<HAS_MBSTOWCS> symbol, which
  2086. indicates to the C program that the mbstowcs() routine is available
  2087. to convert a multibyte string into a wide character string.
  2088.  
  2089. =item C<d_mbtowc>
  2090.  
  2091. From F<d_mbtowc.U>:
  2092.  
  2093. This variable conditionally defines the C<HAS_MBTOWC> symbol, which
  2094. indicates to the C program that the mbtowc() routine is available
  2095. to convert multibyte to a wide character.
  2096.  
  2097. =item C<d_memcmp>
  2098.  
  2099. From F<d_memcmp.U>:
  2100.  
  2101. This variable conditionally defines the C<HAS_MEMCMP> symbol, which
  2102. indicates to the C program that the memcmp() routine is available
  2103. to compare blocks of memory.
  2104.  
  2105. =item C<d_memcpy>
  2106.  
  2107. From F<d_memcpy.U>:
  2108.  
  2109. This variable conditionally defines the C<HAS_MEMCPY> symbol, which
  2110. indicates to the C program that the memcpy() routine is available
  2111. to copy blocks of memory.
  2112.  
  2113. =item C<d_memmove>
  2114.  
  2115. From F<d_memmove.U>:
  2116.  
  2117. This variable conditionally defines the C<HAS_MEMMOVE> symbol, which
  2118. indicates to the C program that the memmove() routine is available
  2119. to copy potentatially overlapping blocks of memory.
  2120.  
  2121. =item C<d_memset>
  2122.  
  2123. From F<d_memset.U>:
  2124.  
  2125. This variable conditionally defines the C<HAS_MEMSET> symbol, which
  2126. indicates to the C program that the memset() routine is available
  2127. to set blocks of memory.
  2128.  
  2129. =item C<d_mkdir>
  2130.  
  2131. From F<d_mkdir.U>:
  2132.  
  2133. This variable conditionally defines the C<HAS_MKDIR> symbol, which
  2134. indicates to the C program that the mkdir() routine is available
  2135. to create F<directories.>.
  2136.  
  2137. =item C<d_mkfifo>
  2138.  
  2139. From F<d_mkfifo.U>:
  2140.  
  2141. This variable conditionally defines the C<HAS_MKFIFO> symbol, which
  2142. indicates to the C program that the mkfifo() routine is available.
  2143.  
  2144. =item C<d_mktime>
  2145.  
  2146. From F<d_mktime.U>:
  2147.  
  2148. This variable conditionally defines the C<HAS_MKTIME> symbol, which
  2149. indicates to the C program that the mktime() routine is available.
  2150.  
  2151. =item C<d_msg>
  2152.  
  2153. From F<d_msg.U>:
  2154.  
  2155. This variable conditionally defines the C<HAS_MSG> symbol, which
  2156. indicates that the entire msg*(2) library is present.
  2157.  
  2158. =item C<d_msgctl>
  2159.  
  2160. From F<d_msgctl.U>:
  2161.  
  2162. This variable conditionally defines the C<HAS_MSGCTL> symbol, which
  2163. indicates to the C program that the msgctl() routine is available.
  2164.  
  2165. =item C<d_msgget>
  2166.  
  2167. From F<d_msgget.U>:
  2168.  
  2169. This variable conditionally defines the C<HAS_MSGGET> symbol, which
  2170. indicates to the C program that the msgget() routine is available.
  2171.  
  2172. =item C<d_msgrcv>
  2173.  
  2174. From F<d_msgrcv.U>:
  2175.  
  2176. This variable conditionally defines the C<HAS_MSGRCV> symbol, which
  2177. indicates to the C program that the msgrcv() routine is available.
  2178.  
  2179. =item C<d_msgsnd>
  2180.  
  2181. From F<d_msgsnd.U>:
  2182.  
  2183. This variable conditionally defines the C<HAS_MSGSND> symbol, which
  2184. indicates to the C program that the msgsnd() routine is available.
  2185.  
  2186. =item C<d_mymalloc>
  2187.  
  2188. From F<mallocsrc.U>:
  2189.  
  2190. This variable conditionally defines C<MYMALLOC> in case other parts
  2191. of the source want to take special action if C<MYMALLOC> is used.
  2192. This may include different sorts of profiling or error detection.
  2193.  
  2194. =item C<d_nice>
  2195.  
  2196. From F<d_nice.U>:
  2197.  
  2198. This variable conditionally defines the C<HAS_NICE> symbol, which
  2199. indicates to the C program that the nice() routine is available.
  2200.  
  2201. =item C<d_oldpthreads>
  2202.  
  2203. From F<usethreads.U>:
  2204.  
  2205. This variable conditionally defines the C<OLD_PTHREADS_API> symbol,
  2206. and indicates that Perl should be built to use the old
  2207. draft C<POSIX> threads C<API>.  This is only potneially meaningful if
  2208. usethreads is set.
  2209.  
  2210. =item C<d_oldsock>
  2211.  
  2212. From F<d_socket.U>:
  2213.  
  2214. This variable conditionally defines the C<OLDSOCKET> symbol, which
  2215. indicates that the C<BSD> socket interface is based on 4.1c and not 4.2.
  2216.  
  2217. =item C<d_open3>
  2218.  
  2219. From F<d_open3.U>:
  2220.  
  2221. This variable conditionally defines the HAS_OPEN3 manifest constant,
  2222. which indicates to the C program that the 3 argument version of
  2223. the open(2) function is available.
  2224.  
  2225. =item C<d_pathconf>
  2226.  
  2227. From F<d_pathconf.U>:
  2228.  
  2229. This variable conditionally defines the C<HAS_PATHCONF> symbol, which
  2230. indicates to the C program that the pathconf() routine is available
  2231. to determine file-system related limits and options associated
  2232. with a given filename.
  2233.  
  2234. =item C<d_pause>
  2235.  
  2236. From F<d_pause.U>:
  2237.  
  2238. This variable conditionally defines the C<HAS_PAUSE> symbol, which
  2239. indicates to the C program that the pause() routine is available
  2240. to suspend a process until a signal is received.
  2241.  
  2242. =item C<d_phostname>
  2243.  
  2244. From F<d_gethname.U>:
  2245.  
  2246. This variable conditionally defines the C<PHOSTNAME> symbol, which
  2247. contains the shell command which, when fed to popen(), may be
  2248. used to derive the host name.
  2249.  
  2250. =item C<d_pipe>
  2251.  
  2252. From F<d_pipe.U>:
  2253.  
  2254. This variable conditionally defines the C<HAS_PIPE> symbol, which
  2255. indicates to the C program that the pipe() routine is available
  2256. to create an inter-process channel.
  2257.  
  2258. =item C<d_poll>
  2259.  
  2260. From F<d_poll.U>:
  2261.  
  2262. This variable conditionally defines the C<HAS_POLL> symbol, which
  2263. indicates to the C program that the poll() routine is available
  2264. to poll active file descriptors.
  2265.  
  2266. =item C<d_portable>
  2267.  
  2268. From F<d_portable.U>:
  2269.  
  2270. This variable conditionally defines the C<PORTABLE> symbol, which
  2271. indicates to the C program that it should not assume that it is
  2272. running on the machine it was compiled on.
  2273.  
  2274. =item C<d_pthread_yield>
  2275.  
  2276. From F<d_pthread_y.U>:
  2277.  
  2278. This variable conditionally defines the C<HAS_PTHREAD_YIELD>
  2279. symbol if the pthread_yield routine is available to yield
  2280. the execution of the current thread.
  2281.  
  2282. =item C<d_pthreads_created_joinable>
  2283.  
  2284. From F<d_pthreadj.U>:
  2285.  
  2286. This variable conditionally defines the C<PTHREADS_CREATED_JOINABLE>
  2287. symbol if pthreads are created in the joinable (aka undetached) 
  2288. state.
  2289.  
  2290. =item C<d_pwage>
  2291.  
  2292. From F<i_pwd.U>:
  2293.  
  2294. This variable conditionally defines C<PWAGE>, which indicates
  2295. that struct passwd contains pw_age.
  2296.  
  2297. =item C<d_pwchange>
  2298.  
  2299. From F<i_pwd.U>:
  2300.  
  2301. This variable conditionally defines C<PWCHANGE>, which indicates
  2302. that struct passwd contains pw_change.
  2303.  
  2304. =item C<d_pwclass>
  2305.  
  2306. From F<i_pwd.U>:
  2307.  
  2308. This variable conditionally defines C<PWCLASS>, which indicates
  2309. that struct passwd contains pw_class.
  2310.  
  2311. =item C<d_pwcomment>
  2312.  
  2313. From F<i_pwd.U>:
  2314.  
  2315. This variable conditionally defines C<PWCOMMENT>, which indicates
  2316. that struct passwd contains pw_comment.
  2317.  
  2318. =item C<d_pwexpire>
  2319.  
  2320. From F<i_pwd.U>:
  2321.  
  2322. This variable conditionally defines C<PWEXPIRE>, which indicates
  2323. that struct passwd contains pw_expire.
  2324.  
  2325. =item C<d_pwgecos>
  2326.  
  2327. From F<i_pwd.U>:
  2328.  
  2329. This variable conditionally defines C<PWGECOS>, which indicates
  2330. that struct passwd contains pw_gecos.
  2331.  
  2332. =item C<d_pwpasswd>
  2333.  
  2334. From F<i_pwd.U>:
  2335.  
  2336. This variable conditionally defines C<PWPASSWD>, which indicates
  2337. that struct passwd contains pw_passwd.
  2338.  
  2339. =item C<d_pwquota>
  2340.  
  2341. From F<i_pwd.U>:
  2342.  
  2343. This variable conditionally defines C<PWQUOTA>, which indicates
  2344. that struct passwd contains pw_quota.
  2345.  
  2346. =item C<d_readdir>
  2347.  
  2348. From F<d_readdir.U>:
  2349.  
  2350. This variable conditionally defines C<HAS_READDIR> if readdir() is
  2351. available to read directory entries.
  2352.  
  2353. =item C<d_readlink>
  2354.  
  2355. From F<d_readlink.U>:
  2356.  
  2357. This variable conditionally defines the C<HAS_READLINK> symbol, which
  2358. indicates to the C program that the readlink() routine is available
  2359. to read the value of a symbolic link.
  2360.  
  2361. =item C<d_rename>
  2362.  
  2363. From F<d_rename.U>:
  2364.  
  2365. This variable conditionally defines the C<HAS_RENAME> symbol, which
  2366. indicates to the C program that the rename() routine is available
  2367. to rename files.
  2368.  
  2369. =item C<d_rewinddir>
  2370.  
  2371. From F<d_readdir.U>:
  2372.  
  2373. This variable conditionally defines C<HAS_REWINDDIR> if rewinddir() is
  2374. available.
  2375.  
  2376. =item C<d_rmdir>
  2377.  
  2378. From F<d_rmdir.U>:
  2379.  
  2380. This variable conditionally defines C<HAS_RMDIR> if rmdir() is
  2381. available to remove directories.
  2382.  
  2383. =item C<d_safebcpy>
  2384.  
  2385. From F<d_safebcpy.U>:
  2386.  
  2387. This variable conditionally defines the C<HAS_SAFE_BCOPY> symbol if
  2388. the bcopy() routine can do overlapping copies.
  2389.  
  2390. =item C<d_safemcpy>
  2391.  
  2392. From F<d_safemcpy.U>:
  2393.  
  2394. This variable conditionally defines the C<HAS_SAFE_MEMCPY> symbol if
  2395. the memcpy() routine can do overlapping copies.
  2396.  
  2397. =item C<d_sanemcmp>
  2398.  
  2399. From F<d_sanemcmp.U>:
  2400.  
  2401. This variable conditionally defines the C<HAS_SANE_MEMCMP> symbol if
  2402. the memcpy() routine is available and can be used to compare relative
  2403. magnitudes of chars with their high bits set.
  2404.  
  2405. =item C<d_sched_yield>
  2406.  
  2407. From F<d_pthread_y.U>:
  2408.  
  2409. This variable conditionally defines the C<HAS_SCHED_YIELD>
  2410. symbol if the sched_yield routine is available to yield
  2411. the execution of the current thread.
  2412.  
  2413. =item C<d_seekdir>
  2414.  
  2415. From F<d_readdir.U>:
  2416.  
  2417. This variable conditionally defines C<HAS_SEEKDIR> if seekdir() is
  2418. available.
  2419.  
  2420. =item C<d_select>
  2421.  
  2422. From F<d_select.U>:
  2423.  
  2424. This variable conditionally defines C<HAS_SELECT> if select() is
  2425. available to select active file descriptors. A <sys/time.h>
  2426. inclusion may be necessary for the timeout field.
  2427.  
  2428. =item C<d_sem>
  2429.  
  2430. From F<d_sem.U>:
  2431.  
  2432. This variable conditionally defines the C<HAS_SEM> symbol, which
  2433. indicates that the entire sem*(2) library is present.
  2434.  
  2435. =item C<d_semctl>
  2436.  
  2437. From F<d_semctl.U>:
  2438.  
  2439. This variable conditionally defines the C<HAS_SEMCTL> symbol, which
  2440. indicates to the C program that the semctl() routine is available.
  2441.  
  2442. =item C<d_semctl_semid_ds>
  2443.  
  2444. From F<d_union_senum.U>:
  2445.  
  2446. This variable conditionally defines C<USE_SEMCTL_SEMID_DS>, which
  2447. indicates that struct semid_ds * is to be used for semctl C<IPC_STAT>.
  2448.  
  2449. =item C<d_semctl_semun>
  2450.  
  2451. From F<d_union_senum.U>:
  2452.  
  2453. This variable conditionally defines C<USE_SEMCTL_SEMUN>, which
  2454. indicates that union semun is to be used for semctl C<IPC_STAT>.
  2455.  
  2456. =item C<d_semget>
  2457.  
  2458. From F<d_semget.U>:
  2459.  
  2460. This variable conditionally defines the C<HAS_SEMGET> symbol, which
  2461. indicates to the C program that the semget() routine is available.
  2462.  
  2463. =item C<d_semop>
  2464.  
  2465. From F<d_semop.U>:
  2466.  
  2467. This variable conditionally defines the C<HAS_SEMOP> symbol, which
  2468. indicates to the C program that the semop() routine is available.
  2469.  
  2470. =item C<d_setegid>
  2471.  
  2472. From F<d_setegid.U>:
  2473.  
  2474. This variable conditionally defines the C<HAS_SETEGID> symbol, which
  2475. indicates to the C program that the setegid() routine is available
  2476. to change the effective gid of the current program.
  2477.  
  2478. =item C<d_seteuid>
  2479.  
  2480. From F<d_seteuid.U>:
  2481.  
  2482. This variable conditionally defines the C<HAS_SETEUID> symbol, which
  2483. indicates to the C program that the seteuid() routine is available
  2484. to change the effective uid of the current program.
  2485.  
  2486. =item C<d_setgrent>
  2487.  
  2488. From F<d_setgrent.U>:
  2489.  
  2490. This variable conditionally defines the C<HAS_SETGRENT> symbol, which
  2491. indicates to the C program that the setgrent() routine is available
  2492. for initializing sequential access to the group database.
  2493.  
  2494. =item C<d_setgrps>
  2495.  
  2496. From F<d_setgrps.U>:
  2497.  
  2498. This variable conditionally defines the C<HAS_SETGROUPS> symbol, which
  2499. indicates to the C program that the setgroups() routine is available
  2500. to set the list of process groups.
  2501.  
  2502. =item C<d_sethent>
  2503.  
  2504. From F<d_sethent.U>:
  2505.  
  2506. This variable conditionally defines C<HAS_SETHOSTENT> if sethostent() is
  2507. available.
  2508.  
  2509. =item C<d_setlinebuf>
  2510.  
  2511. From F<d_setlnbuf.U>:
  2512.  
  2513. This variable conditionally defines the C<HAS_SETLINEBUF> symbol, which
  2514. indicates to the C program that the setlinebuf() routine is available
  2515. to change stderr or stdout from block-buffered or unbuffered to a
  2516. line-buffered mode.
  2517.  
  2518. =item C<d_setlocale>
  2519.  
  2520. From F<d_setlocale.U>:
  2521.  
  2522. This variable conditionally defines C<HAS_SETLOCALE> if setlocale() is
  2523. available to handle locale-specific ctype implementations.
  2524.  
  2525. =item C<d_setnent>
  2526.  
  2527. From F<d_setnent.U>:
  2528.  
  2529. This variable conditionally defines C<HAS_SETNETENT> if setnetent() is
  2530. available.
  2531.  
  2532. =item C<d_setpent>
  2533.  
  2534. From F<d_setpent.U>:
  2535.  
  2536. This variable conditionally defines C<HAS_SETPROTOENT> if setprotoent() is
  2537. available.
  2538.  
  2539. =item C<d_setpgid>
  2540.  
  2541. From F<d_setpgid.U>:
  2542.  
  2543. This variable conditionally defines the C<HAS_SETPGID> symbol if the
  2544. setpgid(pid, gpid) function is available to set process group C<ID>.
  2545.  
  2546. =item C<d_setpgrp2>
  2547.  
  2548. From F<d_setpgrp2.U>:
  2549.  
  2550. This variable conditionally defines the HAS_SETPGRP2 symbol, which
  2551. indicates to the C program that the setpgrp2() (as in F<DG/C<UX>>) routine
  2552. is available to set the current process group.
  2553.  
  2554. =item C<d_setpgrp>
  2555.  
  2556. From F<d_setpgrp.U>:
  2557.  
  2558. This variable conditionally defines C<HAS_SETPGRP> if setpgrp() is
  2559. available to set the current process group.
  2560.  
  2561. =item C<d_setprior>
  2562.  
  2563. From F<d_setprior.U>:
  2564.  
  2565. This variable conditionally defines C<HAS_SETPRIORITY> if setpriority()
  2566. is available to set a process's priority.
  2567.  
  2568. =item C<d_setpwent>
  2569.  
  2570. From F<d_setpwent.U>:
  2571.  
  2572. This variable conditionally defines the C<HAS_SETPWENT> symbol, which
  2573. indicates to the C program that the setpwent() routine is available
  2574. for initializing sequential access to the passwd database.
  2575.  
  2576. =item C<d_setregid>
  2577.  
  2578. From F<d_setregid.U>:
  2579.  
  2580. This variable conditionally defines C<HAS_SETREGID> if setregid() is
  2581. available to change the real and effective gid of the current
  2582. process.
  2583.  
  2584. =item C<d_setresgid>
  2585.  
  2586. From F<d_setregid.U>:
  2587.  
  2588. This variable conditionally defines C<HAS_SETRESGID> if setresgid() is
  2589. available to change the real, effective and saved gid of the current
  2590. process.
  2591.  
  2592. =item C<d_setresuid>
  2593.  
  2594. From F<d_setreuid.U>:
  2595.  
  2596. This variable conditionally defines C<HAS_SETREUID> if setresuid() is
  2597. available to change the real, effective and saved uid of the current
  2598. process.
  2599.  
  2600. =item C<d_setreuid>
  2601.  
  2602. From F<d_setreuid.U>:
  2603.  
  2604. This variable conditionally defines C<HAS_SETREUID> if setreuid() is
  2605. available to change the real and effective uid of the current
  2606. process.
  2607.  
  2608. =item C<d_setrgid>
  2609.  
  2610. From F<d_setrgid.U>:
  2611.  
  2612. This variable conditionally defines the C<HAS_SETRGID> symbol, which
  2613. indicates to the C program that the setrgid() routine is available
  2614. to change the real gid of the current program.
  2615.  
  2616. =item C<d_setruid>
  2617.  
  2618. From F<d_setruid.U>:
  2619.  
  2620. This variable conditionally defines the C<HAS_SETRUID> symbol, which
  2621. indicates to the C program that the setruid() routine is available
  2622. to change the real uid of the current program.
  2623.  
  2624. =item C<d_setsent>
  2625.  
  2626. From F<d_setsent.U>:
  2627.  
  2628. This variable conditionally defines C<HAS_SETSERVENT> if setservent() is
  2629. available.
  2630.  
  2631. =item C<d_setsid>
  2632.  
  2633. From F<d_setsid.U>:
  2634.  
  2635. This variable conditionally defines C<HAS_SETSID> if setsid() is
  2636. available to set the process group C<ID>.
  2637.  
  2638. =item C<d_setvbuf>
  2639.  
  2640. From F<d_setvbuf.U>:
  2641.  
  2642. This variable conditionally defines the C<HAS_SETVBUF> symbol, which
  2643. indicates to the C program that the setvbuf() routine is available
  2644. to change buffering on an open stdio stream.
  2645.  
  2646. =item C<d_sfio>
  2647.  
  2648. From F<d_sfio.U>:
  2649.  
  2650. This variable conditionally defines the C<USE_SFIO> symbol,
  2651. and indicates whether sfio is available (and should be used).
  2652.  
  2653. =item C<d_shm>
  2654.  
  2655. From F<d_shm.U>:
  2656.  
  2657. This variable conditionally defines the C<HAS_SHM> symbol, which
  2658. indicates that the entire shm*(2) library is present.
  2659.  
  2660. =item C<d_shmat>
  2661.  
  2662. From F<d_shmat.U>:
  2663.  
  2664. This variable conditionally defines the C<HAS_SHMAT> symbol, which
  2665. indicates to the C program that the shmat() routine is available.
  2666.  
  2667. =item C<d_shmatprototype>
  2668.  
  2669. From F<d_shmat.U>:
  2670.  
  2671. This variable conditionally defines the C<HAS_SHMAT_PROTOTYPE> 
  2672. symbol, which indicates that F<sys/shm.h> has a prototype for
  2673. shmat.
  2674.  
  2675. =item C<d_shmctl>
  2676.  
  2677. From F<d_shmctl.U>:
  2678.  
  2679. This variable conditionally defines the C<HAS_SHMCTL> symbol, which
  2680. indicates to the C program that the shmctl() routine is available.
  2681.  
  2682. =item C<d_shmdt>
  2683.  
  2684. From F<d_shmdt.U>:
  2685.  
  2686. This variable conditionally defines the C<HAS_SHMDT> symbol, which
  2687. indicates to the C program that the shmdt() routine is available.
  2688.  
  2689. =item C<d_shmget>
  2690.  
  2691. From F<d_shmget.U>:
  2692.  
  2693. This variable conditionally defines the C<HAS_SHMGET> symbol, which
  2694. indicates to the C program that the shmget() routine is available.
  2695.  
  2696. =item C<d_sigaction>
  2697.  
  2698. From F<d_sigaction.U>:
  2699.  
  2700. This variable conditionally defines the C<HAS_SIGACTION> symbol, which
  2701. indicates that the Vr4 sigaction() routine is available.
  2702.  
  2703. =item C<d_sigsetjmp>
  2704.  
  2705. From F<d_sigsetjmp.U>:
  2706.  
  2707. This variable conditionally defines the C<HAS_SIGSETJMP> symbol,
  2708. which indicates that the sigsetjmp() routine is available to
  2709. call setjmp() and optionally save the process's signal mask.
  2710.  
  2711. =item C<d_socket>
  2712.  
  2713. From F<d_socket.U>:
  2714.  
  2715. This variable conditionally defines C<HAS_SOCKET>, which indicates
  2716. that the C<BSD> socket interface is supported.
  2717.  
  2718. =item C<d_sockpair>
  2719.  
  2720. From F<d_socket.U>:
  2721.  
  2722. This variable conditionally defines the C<HAS_SOCKETPAIR> symbol, which
  2723. indicates that the C<BSD> socketpair() is supported.
  2724.  
  2725. =item C<d_statblks>
  2726.  
  2727. From F<d_statblks.U>:
  2728.  
  2729. This variable conditionally defines C<USE_STAT_BLOCKS> if this system
  2730. has a stat structure declaring st_blksize and st_blocks.
  2731.  
  2732. =item C<d_statfsflags>
  2733.  
  2734. From F<d_statfs.U>:
  2735.  
  2736. This variable conditionally defines the C<HAS_STRUCT_STATFS_FLAGS>
  2737. symbol, which indicates to struct statfs from has f_flags member.
  2738. This kind of struct statfs is coming from F<sys/mount.h> (C<BSD>),
  2739. not from F<sys/statfs.h> (C<SYSV>).
  2740.  
  2741. =item C<d_statvfs>
  2742.  
  2743. From F<d_statvfs.U>:
  2744.  
  2745. This variable conditionally defines the C<HAS_STATVFS> symbol, which
  2746. indicates to the C program that the statvfs() routine is available.
  2747.  
  2748. =item C<d_stdio_cnt_lval>
  2749.  
  2750. From F<d_stdstdio.U>:
  2751.  
  2752. This variable conditionally defines C<STDIO_CNT_LVALUE> if the
  2753. C<FILE_cnt> macro can be used as an lvalue.
  2754.  
  2755. =item C<d_stdio_ptr_lval>
  2756.  
  2757. From F<d_stdstdio.U>:
  2758.  
  2759. This variable conditionally defines C<STDIO_PTR_LVALUE> if the
  2760. C<FILE_ptr> macro can be used as an lvalue.
  2761.  
  2762. =item C<d_stdiobase>
  2763.  
  2764. From F<d_stdstdio.U>:
  2765.  
  2766. This variable conditionally defines C<USE_STDIO_BASE> if this system
  2767. has a C<FILE> structure declaring a usable _base field (or equivalent)
  2768. in F<stdio.h>.
  2769.  
  2770. =item C<d_stdstdio>
  2771.  
  2772. From F<d_stdstdio.U>:
  2773.  
  2774. This variable conditionally defines C<USE_STDIO_PTR> if this system
  2775. has a C<FILE> structure declaring usable _ptr and _cnt fields (or
  2776. equivalent) in F<stdio.h>.
  2777.  
  2778. =item C<d_strchr>
  2779.  
  2780. From F<d_strchr.U>:
  2781.  
  2782. This variable conditionally defines C<HAS_STRCHR> if strchr() and
  2783. strrchr() are available for string searching.
  2784.  
  2785. =item C<d_strcoll>
  2786.  
  2787. From F<d_strcoll.U>:
  2788.  
  2789. This variable conditionally defines C<HAS_STRCOLL> if strcoll() is
  2790. available to compare strings using collating information.
  2791.  
  2792. =item C<d_strctcpy>
  2793.  
  2794. From F<d_strctcpy.U>:
  2795.  
  2796. This variable conditionally defines the C<USE_STRUCT_COPY> symbol, which
  2797. indicates to the C program that this C compiler knows how to copy
  2798. structures.
  2799.  
  2800. =item C<d_strerrm>
  2801.  
  2802. From F<d_strerror.U>:
  2803.  
  2804. This variable holds what Strerrr is defined as to translate an error
  2805. code condition into an error message string. It could be C<strerror>
  2806. or a more C<complex> macro emulating strrror with sys_errlist[], or the
  2807. C<unknown> string when both strerror and sys_errlist are missing.
  2808.  
  2809. =item C<d_strerror>
  2810.  
  2811. From F<d_strerror.U>:
  2812.  
  2813. This variable conditionally defines C<HAS_STRERROR> if strerror() is
  2814. available to translate error numbers to strings.
  2815.  
  2816. =item C<d_strtod>
  2817.  
  2818. From F<d_strtod.U>:
  2819.  
  2820. This variable conditionally defines the C<HAS_STRTOD> symbol, which
  2821. indicates to the C program that the strtod() routine is available
  2822. to provide better numeric string conversion than atof().
  2823.  
  2824. =item C<d_strtol>
  2825.  
  2826. From F<d_strtol.U>:
  2827.  
  2828. This variable conditionally defines the C<HAS_STRTOL> symbol, which
  2829. indicates to the C program that the strtol() routine is available
  2830. to provide better numeric string conversion than atoi() and friends.
  2831.  
  2832. =item C<d_strtoul>
  2833.  
  2834. From F<d_strtoul.U>:
  2835.  
  2836. This variable conditionally defines the C<HAS_STRTOUL> symbol, which
  2837. indicates to the C program that the strtoul() routine is available
  2838. to provide conversion of strings to unsigned long.
  2839.  
  2840. =item C<d_strxfrm>
  2841.  
  2842. From F<d_strxfrm.U>:
  2843.  
  2844. This variable conditionally defines C<HAS_STRXFRM> if strxfrm() is
  2845. available to transform strings.
  2846.  
  2847. =item C<d_suidsafe>
  2848.  
  2849. From F<d_dosuid.U>:
  2850.  
  2851. This variable conditionally defines C<SETUID_SCRIPTS_ARE_SECURE_NOW>
  2852. if setuid scripts can be secure.  This test looks in F</dev/fd/>.
  2853.  
  2854. =item C<d_symlink>
  2855.  
  2856. From F<d_symlink.U>:
  2857.  
  2858. This variable conditionally defines the C<HAS_SYMLINK> symbol, which
  2859. indicates to the C program that the symlink() routine is available
  2860. to create symbolic links.
  2861.  
  2862. =item C<d_syscall>
  2863.  
  2864. From F<d_syscall.U>:
  2865.  
  2866. This variable conditionally defines C<HAS_SYSCALL> if syscall() is
  2867. available call arbitrary system calls.
  2868.  
  2869. =item C<d_sysconf>
  2870.  
  2871. From F<d_sysconf.U>:
  2872.  
  2873. This variable conditionally defines the C<HAS_SYSCONF> symbol, which
  2874. indicates to the C program that the sysconf() routine is available
  2875. to determine system related limits and options.
  2876.  
  2877. =item C<d_sysernlst>
  2878.  
  2879. From F<d_strerror.U>:
  2880.  
  2881. This variable conditionally defines C<HAS_SYS_ERRNOLIST> if sys_errnolist[]
  2882. is available to translate error numbers to the symbolic name.
  2883.  
  2884. =item C<d_syserrlst>
  2885.  
  2886. From F<d_strerror.U>:
  2887.  
  2888. This variable conditionally defines C<HAS_SYS_ERRLIST> if sys_errlist[] is
  2889. available to translate error numbers to strings.
  2890.  
  2891. =item C<d_system>
  2892.  
  2893. From F<d_system.U>:
  2894.  
  2895. This variable conditionally defines C<HAS_SYSTEM> if system() is
  2896. available to issue a shell command.
  2897.  
  2898. =item C<d_tcgetpgrp>
  2899.  
  2900. From F<d_tcgtpgrp.U>:
  2901.  
  2902. This variable conditionally defines the C<HAS_TCGETPGRP> symbol, which
  2903. indicates to the C program that the tcgetpgrp() routine is available.
  2904. to get foreground process group C<ID>.
  2905.  
  2906. =item C<d_tcsetpgrp>
  2907.  
  2908. From F<d_tcstpgrp.U>:
  2909.  
  2910. This variable conditionally defines the C<HAS_TCSETPGRP> symbol, which
  2911. indicates to the C program that the tcsetpgrp() routine is available
  2912. to set foreground process group C<ID>.
  2913.  
  2914. =item C<d_telldir>
  2915.  
  2916. From F<d_readdir.U>:
  2917.  
  2918. This variable conditionally defines C<HAS_TELLDIR> if telldir() is
  2919. available.
  2920.  
  2921. =item C<d_time>
  2922.  
  2923. From F<d_time.U>:
  2924.  
  2925. This variable conditionally defines the C<HAS_TIME> symbol, which indicates
  2926. that the time() routine exists.  The time() routine is normaly
  2927. provided on C<UNIX> systems.
  2928.  
  2929. =item C<d_times>
  2930.  
  2931. From F<d_times.U>:
  2932.  
  2933. This variable conditionally defines the C<HAS_TIMES> symbol, which indicates
  2934. that the times() routine exists.  The times() routine is normaly
  2935. provided on C<UNIX> systems. You may have to include <sys/times.h>.
  2936.  
  2937. =item C<d_truncate>
  2938.  
  2939. From F<d_truncate.U>:
  2940.  
  2941. This variable conditionally defines C<HAS_TRUNCATE> if truncate() is
  2942. available to truncate files.
  2943.  
  2944. =item C<d_tzname>
  2945.  
  2946. From F<d_tzname.U>:
  2947.  
  2948. This variable conditionally defines C<HAS_TZNAME> if tzname[] is
  2949. available to access timezone names.
  2950.  
  2951. =item C<d_umask>
  2952.  
  2953. From F<d_umask.U>:
  2954.  
  2955. This variable conditionally defines the C<HAS_UMASK> symbol, which
  2956. indicates to the C program that the umask() routine is available.
  2957. to set and get the value of the file creation mask.
  2958.  
  2959. =item C<d_uname>
  2960.  
  2961. From F<d_gethname.U>:
  2962.  
  2963. This variable conditionally defines the C<HAS_UNAME> symbol, which
  2964. indicates to the C program that the uname() routine may be
  2965. used to derive the host name.
  2966.  
  2967. =item C<d_union_semun>
  2968.  
  2969. From F<d_union_senum.U>:
  2970.  
  2971. This variable conditionally defines C<HAS_UNION_SEMUN> if the
  2972. union semun is defined by including <sys/sem.h>.
  2973.  
  2974. =item C<d_vfork>
  2975.  
  2976. From F<d_vfork.U>:
  2977.  
  2978. This variable conditionally defines the C<HAS_VFORK> symbol, which
  2979. indicates the vfork() routine is available.
  2980.  
  2981. =item C<d_void_closedir>
  2982.  
  2983. From F<d_closedir.U>:
  2984.  
  2985. This variable conditionally defines C<VOID_CLOSEDIR> if closedir()
  2986. does not return a value.
  2987.  
  2988. =item C<d_voidsig>
  2989.  
  2990. From F<d_voidsig.U>:
  2991.  
  2992. This variable conditionally defines C<VOIDSIG> if this system
  2993. declares "void (*signal(...))()" in F<signal.h>.  The old way was to
  2994. declare it as "int (*signal(...))()".
  2995.  
  2996. =item C<d_voidtty>
  2997.  
  2998. From F<i_sysioctl.U>:
  2999.  
  3000. This variable conditionally defines C<USE_IOCNOTTY> to indicate that the
  3001. ioctl() call with C<TIOCNOTTY> should be used to void tty association.
  3002. Otherwise (on C<USG> probably), it is enough to close the standard file
  3003. decriptors and do a setpgrp().
  3004.  
  3005. =item C<d_volatile>
  3006.  
  3007. From F<d_volatile.U>:
  3008.  
  3009. This variable conditionally defines the C<HASVOLATILE> symbol, which
  3010. indicates to the C program that this C compiler knows about the
  3011. volatile declaration.
  3012.  
  3013. =item C<d_vprintf>
  3014.  
  3015. From F<d_vprintf.U>:
  3016.  
  3017. This variable conditionally defines the C<HAS_VPRINTF> symbol, which
  3018. indicates to the C program that the vprintf() routine is available
  3019. to printf with a pointer to an argument list.
  3020.  
  3021. =item C<d_wait4>
  3022.  
  3023. From F<d_wait4.U>:
  3024.  
  3025. This variable conditionally defines the HAS_WAIT4 symbol, which
  3026. indicates the wait4() routine is available.
  3027.  
  3028. =item C<d_waitpid>
  3029.  
  3030. From F<d_waitpid.U>:
  3031.  
  3032. This variable conditionally defines C<HAS_WAITPID> if waitpid() is
  3033. available to wait for child process.
  3034.  
  3035. =item C<d_wcstombs>
  3036.  
  3037. From F<d_wcstombs.U>:
  3038.  
  3039. This variable conditionally defines the C<HAS_WCSTOMBS> symbol, which
  3040. indicates to the C program that the wcstombs() routine is available
  3041. to convert wide character strings to multibyte strings.
  3042.  
  3043. =item C<d_wctomb>
  3044.  
  3045. From F<d_wctomb.U>:
  3046.  
  3047. This variable conditionally defines the C<HAS_WCTOMB> symbol, which
  3048. indicates to the C program that the wctomb() routine is available
  3049. to convert a wide character to a multibyte.
  3050.  
  3051. =item C<d_xenix>
  3052.  
  3053. From F<Guess.U>:
  3054.  
  3055. This variable conditionally defines the symbol C<XENIX>, which alerts
  3056. the C program that it runs under Xenix.
  3057.  
  3058. =item C<date>
  3059.  
  3060. From F<Loc.U>:
  3061.  
  3062. This variable is used internally by Configure to determine the
  3063. full pathname (if any) of the date program.  After Configure runs,
  3064. the value is reset to a plain C<date> and is not useful.
  3065.  
  3066. =item C<db_hashtype>
  3067.  
  3068. From F<i_db.U>:
  3069.  
  3070. This variable contains the type of the hash structure element
  3071. in the <db.h> header file.  In older versions of C<DB>, it was
  3072. int, while in newer ones it is u_int32_t.
  3073.  
  3074. =item C<db_prefixtype>
  3075.  
  3076. From F<i_db.U>:
  3077.  
  3078. This variable contains the type of the prefix structure element
  3079. in the <db.h> header file.  In older versions of C<DB>, it was
  3080. int, while in newer ones it is size_t.
  3081.  
  3082. =item C<direntrytype>
  3083.  
  3084. From F<i_dirent.U>:
  3085.  
  3086. This symbol is set to C<struct direct> or C<struct dirent> depending on
  3087. whether dirent is available or not. You should use this pseudo type to
  3088. portably declare your directory entries.
  3089.  
  3090. =item C<dlext>
  3091.  
  3092. From F<dlext.U>:
  3093.  
  3094. This variable contains the extension that is to be used for the
  3095. dynamically loaded modules that perl generaties.
  3096.  
  3097. =item C<dlsrc>
  3098.  
  3099. From F<dlsrc.U>:
  3100.  
  3101. This variable contains the name of the dynamic loading file that
  3102. will be used with the package.
  3103.  
  3104. =item C<doublesize>
  3105.  
  3106. From F<doublesize.U>:
  3107.  
  3108. This variable contains the value of the C<DOUBLESIZE> symbol, which
  3109. indicates to the C program how many bytes there are in a double.
  3110.  
  3111. =item C<dynamic_ext>
  3112.  
  3113. From F<Extensions.U>:
  3114.  
  3115. This variable holds a list of C<XS> extension files we want to
  3116. link dynamically into the package.  It is used by Makefile.
  3117.  
  3118. =back
  3119.  
  3120. =head2 e
  3121.  
  3122. =over
  3123.  
  3124. =item C<eagain>
  3125.  
  3126. From F<nblock_io.U>:
  3127.  
  3128. This variable bears the symbolic errno code set by read() when no
  3129. data is present on the file and non-blocking F<I/O> was enabled (otherwise,
  3130. read() blocks naturally).
  3131.  
  3132. =item C<ebcdic>
  3133.  
  3134. From F<ebcdic.U>:
  3135.  
  3136. This variable conditionally defines C<EBCDIC> if this
  3137. system uses C<EBCDIC> encoding.  Among other things, this
  3138. means that the character ranges are not contiguous.
  3139. See F<trnl.U>
  3140.  
  3141. =item C<echo>
  3142.  
  3143. From F<Loc.U>:
  3144.  
  3145. This variable is used internally by Configure to determine the
  3146. full pathname (if any) of the echo program.  After Configure runs,
  3147. the value is reset to a plain C<echo> and is not useful.
  3148.  
  3149. =item C<egrep>
  3150.  
  3151. From F<Loc.U>:
  3152.  
  3153. This variable is used internally by Configure to determine the
  3154. full pathname (if any) of the egrep program.  After Configure runs,
  3155. the value is reset to a plain C<egrep> and is not useful.
  3156.  
  3157. =item C<emacs>
  3158.  
  3159. From F<Loc.U>:
  3160.  
  3161. This variable is defined but not used by Configure.
  3162. The value is a plain '' and is not useful.
  3163.  
  3164. =item C<eunicefix>
  3165.  
  3166. From F<Init.U>:
  3167.  
  3168. When running under Eunice this variable contains a command which will
  3169. convert a shell script to the proper form of text file for it to be
  3170. executable by the shell.  On other systems it is a no-op.
  3171.  
  3172. =item C<exe_ext>
  3173.  
  3174. From F<Unix.U>:
  3175.  
  3176. This is an old synonym for _exe.
  3177.  
  3178. =item C<expr>
  3179.  
  3180. From F<Loc.U>:
  3181.  
  3182. This variable is used internally by Configure to determine the
  3183. full pathname (if any) of the expr program.  After Configure runs,
  3184. the value is reset to a plain C<expr> and is not useful.
  3185.  
  3186. =item C<extensions>
  3187.  
  3188. From F<Extensions.U>:
  3189.  
  3190. This variable holds a list of all extension files (both C<XS> and
  3191. non-xs linked into the package.  It is propagated to F<Config.pm>
  3192. and is typically used to test whether a particular extesion 
  3193. is available.
  3194.  
  3195. =back
  3196.  
  3197. =head2 f
  3198.  
  3199. =over
  3200.  
  3201. =item C<find>
  3202.  
  3203. From F<Loc.U>:
  3204.  
  3205. This variable is used internally by Configure to determine the
  3206. full pathname (if any) of the find program.  After Configure runs,
  3207. the value is reset to a plain C<find> and is not useful.
  3208.  
  3209. =item C<firstmakefile>
  3210.  
  3211. From F<Unix.U>:
  3212.  
  3213. This variable defines the first file searched by make.  On unix,
  3214. it is makefile (then Makefile).  On case-insensitive systems,
  3215. it might be something else.  This is only used to deal with
  3216. convoluted make depend tricks.
  3217.  
  3218. =item C<flex>
  3219.  
  3220. From F<Loc.U>:
  3221.  
  3222. This variable is defined but not used by Configure.
  3223. The value is a plain '' and is not useful.
  3224.  
  3225. =item C<fpostype>
  3226.  
  3227. From F<fpostype.U>:
  3228.  
  3229. This variable defines Fpos_t to be something like fpost_t, long, 
  3230. uint, or whatever type is used to declare file positions in libc.
  3231.  
  3232. =item C<freetype>
  3233.  
  3234. From F<mallocsrc.U>:
  3235.  
  3236. This variable contains the return type of free().  It is usually
  3237. void, but occasionally int.
  3238.  
  3239. =item C<full_ar>
  3240.  
  3241. From F<Loc_ar.U>:
  3242.  
  3243. This variable contains the full pathname to C<ar>, whether or
  3244. not the user has specified C<portability>.  This is only used
  3245. in the F<Makefile.SH>.
  3246.  
  3247. =item C<full_csh>
  3248.  
  3249. From F<d_csh.U>:
  3250.  
  3251. This variable contains the full pathname to C<csh>, whether or
  3252. not the user has specified C<portability>.  This is only used
  3253. in the compiled C program, and we assume that all systems which
  3254. can share this executable will have the same full pathname to
  3255. F<csh.>
  3256.  
  3257. =item C<full_sed>
  3258.  
  3259. From F<Loc_sed.U>:
  3260.  
  3261. This variable contains the full pathname to C<sed>, whether or
  3262. not the user has specified C<portability>.  This is only used
  3263. in the compiled C program, and we assume that all systems which
  3264. can share this executable will have the same full pathname to
  3265. F<sed.>
  3266.  
  3267. =back
  3268.  
  3269. =head2 g
  3270.  
  3271. =over
  3272.  
  3273. =item C<gccversion>
  3274.  
  3275. From F<cc.U>:
  3276.  
  3277. If C<GNU> cc (gcc) is used, this variable holds C<1> or C<2> to 
  3278. indicate whether the compiler is version 1 or 2.  This is used in
  3279. setting some of the default cflags.  It is set to '' if not gcc.
  3280.  
  3281. =item C<gidtype>
  3282.  
  3283. From F<gidtype.U>:
  3284.  
  3285. This variable defines Gid_t to be something like gid_t, int,
  3286. ushort, or whatever type is used to declare the return type
  3287. of getgid().  Typically, it is the type of group ids in the kernel.
  3288.  
  3289. =item C<grep>
  3290.  
  3291. From F<Loc.U>:
  3292.  
  3293. This variable is used internally by Configure to determine the
  3294. full pathname (if any) of the grep program.  After Configure runs,
  3295. the value is reset to a plain C<grep> and is not useful.
  3296.  
  3297. =item C<groupcat>
  3298.  
  3299. From F<nis.U>:
  3300.  
  3301. This variable contains a command that produces the text of the
  3302. F</etc/group> file.  This is normally "cat F</etc/group>", but can be
  3303. "ypcat group" when C<NIS> is used.
  3304.  
  3305. =item C<groupstype>
  3306.  
  3307. From F<groupstype.U>:
  3308.  
  3309. This variable defines Groups_t to be something like gid_t, int, 
  3310. ushort, or whatever type is used for the second argument to
  3311. getgroups() and setgroups().  Usually, this is the same as
  3312. gidtype (gid_t), but sometimes it isn't.
  3313.  
  3314. =item C<gzip>
  3315.  
  3316. From F<Loc.U>:
  3317.  
  3318. This variable is used internally by Configure to determine the
  3319. full pathname (if any) of the gzip program.  After Configure runs,
  3320. the value is reset to a plain C<gzip> and is not useful.
  3321.  
  3322. =back
  3323.  
  3324. =head2 h
  3325.  
  3326. =over
  3327.  
  3328. =item C<h_fcntl>
  3329.  
  3330. From F<h_fcntl.U>:
  3331.  
  3332. This is variable gets set in various places to tell i_fcntl that
  3333. <fcntl.h> should be included.
  3334.  
  3335. =item C<h_sysfile>
  3336.  
  3337. From F<h_sysfile.U>:
  3338.  
  3339. This is variable gets set in various places to tell i_sys_file that
  3340. <sys/file.h> should be included.
  3341.  
  3342. =item C<hint>
  3343.  
  3344. From F<Oldconfig.U>:
  3345.  
  3346. Gives the type of hints used for previous answers. May be one of
  3347. C<default>, C<recommended> or C<previous>.
  3348.  
  3349. =item C<hostcat>
  3350.  
  3351. From F<nis.U>:
  3352.  
  3353. This variable contains a command that produces the text of the
  3354. F</etc/hosts> file.  This is normally "cat F</etc/hosts>", but can be
  3355. "ypcat hosts" when C<NIS> is used.
  3356.  
  3357. =item C<huge>
  3358.  
  3359. From F<models.U>:
  3360.  
  3361. This variable contains a flag which will tell the C compiler and loader
  3362. to produce a program running with a huge memory model.  If the
  3363. huge model is not supported, contains the flag to produce large
  3364. model programs.  It is up to the Makefile to use this.
  3365.  
  3366. =back
  3367.  
  3368. =head2 i
  3369.  
  3370. =over
  3371.  
  3372. =item C<i_arpainet>
  3373.  
  3374. From F<i_arpainet.U>:
  3375.  
  3376. This variable conditionally defines the C<I_ARPA_INET> symbol,
  3377. and indicates whether a C program should include <arpa/inet.h>.
  3378.  
  3379. =item C<i_bsdioctl>
  3380.  
  3381. From F<i_sysioctl.U>:
  3382.  
  3383. This variable conditionally defines the C<I_SYS_BSDIOCTL> symbol, which
  3384. indicates to the C program that <sys/bsdioctl.h> exists and should
  3385. be included.
  3386.  
  3387. =item C<i_db>
  3388.  
  3389. From F<i_db.U>:
  3390.  
  3391. This variable conditionally defines the C<I_DB> symbol, and indicates
  3392. whether a C program may include Berkeley's C<DB> include file <db.h>.
  3393.  
  3394. =item C<i_dbm>
  3395.  
  3396. From F<i_dbm.U>:
  3397.  
  3398. This variable conditionally defines the C<I_DBM> symbol, which
  3399. indicates to the C program that <dbm.h> exists and should
  3400. be included.
  3401.  
  3402. =item C<i_dirent>
  3403.  
  3404. From F<i_dirent.U>:
  3405.  
  3406. This variable conditionally defines C<I_DIRENT>, which indicates
  3407. to the C program that it should include <dirent.h>.
  3408.  
  3409. =item C<i_dld>
  3410.  
  3411. From F<i_dld.U>:
  3412.  
  3413. This variable conditionally defines the C<I_DLD> symbol, which
  3414. indicates to the C program that <dld.h> (C<GNU> dynamic loading)
  3415. exists and should be included.
  3416.  
  3417. =item C<i_dlfcn>
  3418.  
  3419. From F<i_dlfcn.U>:
  3420.  
  3421. This variable conditionally defines the C<I_DLFCN> symbol, which
  3422. indicates to the C program that <dlfcn.h> exists and should
  3423. be included.
  3424.  
  3425. =item C<i_fcntl>
  3426.  
  3427. From F<i_fcntl.U>:
  3428.  
  3429. This variable controls the value of C<I_FCNTL> (which tells
  3430. the C program to include <fcntl.h>).
  3431.  
  3432. =item C<i_float>
  3433.  
  3434. From F<i_float.U>:
  3435.  
  3436. This variable conditionally defines the C<I_FLOAT> symbol, and indicates
  3437. whether a C program may include <float.h> to get symbols like C<DBL_MAX>
  3438. or C<DBL_MIN>, F<i.e>. machine dependent floating point values.
  3439.  
  3440. =item C<i_gdbm>
  3441.  
  3442. From F<i_gdbm.U>:
  3443.  
  3444. This variable conditionally defines the C<I_GDBM> symbol, which
  3445. indicates to the C program that <gdbm.h> exists and should
  3446. be included.
  3447.  
  3448. =item C<i_grp>
  3449.  
  3450. From F<i_grp.U>:
  3451.  
  3452. This variable conditionally defines the C<I_GRP> symbol, and indicates
  3453. whether a C program should include <grp.h>.
  3454.  
  3455. =item C<i_limits>
  3456.  
  3457. From F<i_limits.U>:
  3458.  
  3459. This variable conditionally defines the C<I_LIMITS> symbol, and indicates
  3460. whether a C program may include <limits.h> to get symbols like C<WORD_BIT>
  3461. and friends.
  3462.  
  3463. =item C<i_locale>
  3464.  
  3465. From F<i_locale.U>:
  3466.  
  3467. This variable conditionally defines the C<I_LOCALE> symbol,
  3468. and indicates whether a C program should include <locale.h>.
  3469.  
  3470. =item C<i_machcthr>
  3471.  
  3472. From F<i_machcthr.U>:
  3473.  
  3474. This variable conditionally defines the C<I_MACH_CTHREADS> symbol,
  3475. and indicates whether a C program should include <mach/cthreads.h>.
  3476.  
  3477. =item C<i_malloc>
  3478.  
  3479. From F<i_malloc.U>:
  3480.  
  3481. This variable conditionally defines the C<I_MALLOC> symbol, and indicates
  3482. whether a C program should include <malloc.h>.
  3483.  
  3484. =item C<i_math>
  3485.  
  3486. From F<i_math.U>:
  3487.  
  3488. This variable conditionally defines the C<I_MATH> symbol, and indicates
  3489. whether a C program may include <math.h>.
  3490.  
  3491. =item C<i_memory>
  3492.  
  3493. From F<i_memory.U>:
  3494.  
  3495. This variable conditionally defines the C<I_MEMORY> symbol, and indicates
  3496. whether a C program should include <memory.h>.
  3497.  
  3498. =item C<i_mntent>
  3499.  
  3500. From F<i_mntent.U>:
  3501.  
  3502. This variable conditionally defines the C<I_MNTENT> symbol, and indicates
  3503. whether a C program should include <mntent.h>.
  3504.  
  3505. =item C<i_ndbm>
  3506.  
  3507. From F<i_ndbm.U>:
  3508.  
  3509. This variable conditionally defines the C<I_NDBM> symbol, which
  3510. indicates to the C program that <ndbm.h> exists and should
  3511. be included.
  3512.  
  3513. =item C<i_netdb>
  3514.  
  3515. From F<i_netdb.U>:
  3516.  
  3517. This variable conditionally defines the C<I_NETDB> symbol, and indicates
  3518. whether a C program should include <netdb.h>.
  3519.  
  3520. =item C<i_neterrno>
  3521.  
  3522. From F<i_neterrno.U>:
  3523.  
  3524. This variable conditionally defines the C<I_NET_ERRNO> symbol, which
  3525. indicates to the C program that <net/errno.h> exists and should
  3526. be included.
  3527.  
  3528. =item C<i_niin>
  3529.  
  3530. From F<i_niin.U>:
  3531.  
  3532. This variable conditionally defines C<I_NETINET_IN>, which indicates
  3533. to the C program that it should include <netinet/in.h>. Otherwise,
  3534. you may try <sys/in.h>.
  3535.  
  3536. =item C<i_pwd>
  3537.  
  3538. From F<i_pwd.U>:
  3539.  
  3540. This variable conditionally defines C<I_PWD>, which indicates
  3541. to the C program that it should include <pwd.h>.
  3542.  
  3543. =item C<i_rpcsvcdbm>
  3544.  
  3545. From F<i_dbm.U>:
  3546.  
  3547. This variable conditionally defines the C<I_RPCSVC_DBM> symbol, which
  3548. indicates to the C program that <rpcsvc/dbm.h> exists and should
  3549. be included.  Some System V systems might need this instead of <dbm.h>.
  3550.  
  3551. =item C<i_sfio>
  3552.  
  3553. From F<i_sfio.U>:
  3554.  
  3555. This variable conditionally defines the C<I_SFIO> symbol,
  3556. and indicates whether a C program should include <sfio.h>.
  3557.  
  3558. =item C<i_sgtty>
  3559.  
  3560. From F<i_termio.U>:
  3561.  
  3562. This variable conditionally defines the C<I_SGTTY> symbol, which
  3563. indicates to the C program that it should include <sgtty.h> rather
  3564. than <termio.h>.
  3565.  
  3566. =item C<i_stdarg>
  3567.  
  3568. From F<i_varhdr.U>:
  3569.  
  3570. This variable conditionally defines the C<I_STDARG> symbol, which
  3571. indicates to the C program that <stdarg.h> exists and should
  3572. be included.
  3573.  
  3574. =item C<i_stddef>
  3575.  
  3576. From F<i_stddef.U>:
  3577.  
  3578. This variable conditionally defines the C<I_STDDEF> symbol, which
  3579. indicates to the C program that <stddef.h> exists and should
  3580. be included.
  3581.  
  3582. =item C<i_stdlib>
  3583.  
  3584. From F<i_stdlib.U>:
  3585.  
  3586. This variable conditionally defines the C<I_STDLIB> symbol, which
  3587. indicates to the C program that <stdlib.h> exists and should
  3588. be included.
  3589.  
  3590. =item C<i_string>
  3591.  
  3592. From F<i_string.U>:
  3593.  
  3594. This variable conditionally defines the C<I_STRING> symbol, which
  3595. indicates that <string.h> should be included rather than <strings.h>.
  3596.  
  3597. =item C<i_sysdir>
  3598.  
  3599. From F<i_sysdir.U>:
  3600.  
  3601. This variable conditionally defines the C<I_SYS_DIR> symbol, and indicates
  3602. whether a C program should include <sys/dir.h>.
  3603.  
  3604. =item C<i_sysfile>
  3605.  
  3606. From F<i_sysfile.U>:
  3607.  
  3608. This variable conditionally defines the C<I_SYS_FILE> symbol, and indicates
  3609. whether a C program should include <sys/file.h> to get C<R_OK> and friends.
  3610.  
  3611. =item C<i_sysfilio>
  3612.  
  3613. From F<i_sysioctl.U>:
  3614.  
  3615. This variable conditionally defines the C<I_SYS_FILIO> symbol, which
  3616. indicates to the C program that <sys/filio.h> exists and should
  3617. be included in preference to <sys/ioctl.h>.
  3618.  
  3619. =item C<i_sysin>
  3620.  
  3621. From F<i_niin.U>:
  3622.  
  3623. This variable conditionally defines C<I_SYS_IN>, which indicates
  3624. to the C program that it should include <sys/in.h> instead of
  3625. <netinet/in.h>.
  3626.  
  3627. =item C<i_sysioctl>
  3628.  
  3629. From F<i_sysioctl.U>:
  3630.  
  3631. This variable conditionally defines the C<I_SYS_IOCTL> symbol, which
  3632. indicates to the C program that <sys/ioctl.h> exists and should
  3633. be included.
  3634.  
  3635. =item C<i_sysmount>
  3636.  
  3637. From F<i_sysmount.U>:
  3638.  
  3639. This variable conditionally defines the C<I_SYSMOUNT> symbol,
  3640. and indicates whether a C program should include <sys/mount.h>.
  3641.  
  3642. =item C<i_sysndir>
  3643.  
  3644. From F<i_sysndir.U>:
  3645.  
  3646. This variable conditionally defines the C<I_SYS_NDIR> symbol, and indicates
  3647. whether a C program should include <sys/ndir.h>.
  3648.  
  3649. =item C<i_sysparam>
  3650.  
  3651. From F<i_sysparam.U>:
  3652.  
  3653. This variable conditionally defines the C<I_SYS_PARAM> symbol, and indicates
  3654. whether a C program should include <sys/param.h>.
  3655.  
  3656. =item C<i_sysresrc>
  3657.  
  3658. From F<i_sysresrc.U>:
  3659.  
  3660. This variable conditionally defines the C<I_SYS_RESOURCE> symbol,
  3661. and indicates whether a C program should include <sys/resource.h>.
  3662.  
  3663. =item C<i_sysselct>
  3664.  
  3665. From F<i_sysselct.U>:
  3666.  
  3667. This variable conditionally defines C<I_SYS_SELECT>, which indicates
  3668. to the C program that it should include <sys/select.h> in order to
  3669. get the definition of struct timeval.
  3670.  
  3671. =item C<i_syssockio>
  3672.  
  3673. From F<i_sysioctl.U>:
  3674.  
  3675. This variable conditionally defines C<I_SYS_SOCKIO> to indicate to the
  3676. C program that socket ioctl codes may be found in <sys/sockio.h>
  3677. instead of <sys/ioctl.h>.
  3678.  
  3679. =item C<i_sysstat>
  3680.  
  3681. From F<i_sysstat.U>:
  3682.  
  3683. This variable conditionally defines the C<I_SYS_STAT> symbol,
  3684. and indicates whether a C program should include <sys/stat.h>.
  3685.  
  3686. =item C<i_sysstatfs>
  3687.  
  3688. From F<i_sysstatfs.U>:
  3689.  
  3690. This variable conditionally defines the C<I_SYSSTATFS> symbol,
  3691. and indicates whether a C program should include <sys/statfs.h>.
  3692.  
  3693. =item C<i_sysstatvfs>
  3694.  
  3695. From F<i_sysstatvfs.U>:
  3696.  
  3697. This variable conditionally defines the C<I_SYSSTATVFS> symbol,
  3698. and indicates whether a C program should include <sys/statvfs.h>.
  3699.  
  3700. =item C<i_systime>
  3701.  
  3702. From F<i_time.U>:
  3703.  
  3704. This variable conditionally defines C<I_SYS_TIME>, which indicates
  3705. to the C program that it should include <sys/time.h>.
  3706.  
  3707. =item C<i_systimek>
  3708.  
  3709. From F<i_time.U>:
  3710.  
  3711. This variable conditionally defines C<I_SYS_TIME_KERNEL>, which
  3712. indicates to the C program that it should include <sys/time.h>
  3713. with C<KERNEL> defined.
  3714.  
  3715. =item C<i_systimes>
  3716.  
  3717. From F<i_systimes.U>:
  3718.  
  3719. This variable conditionally defines the C<I_SYS_TIMES> symbol, and indicates
  3720. whether a C program should include <sys/times.h>.
  3721.  
  3722. =item C<i_systypes>
  3723.  
  3724. From F<i_systypes.U>:
  3725.  
  3726. This variable conditionally defines the C<I_SYS_TYPES> symbol,
  3727. and indicates whether a C program should include <sys/types.h>.
  3728.  
  3729. =item C<i_sysun>
  3730.  
  3731. From F<i_sysun.U>:
  3732.  
  3733. This variable conditionally defines C<I_SYS_UN>, which indicates
  3734. to the C program that it should include <sys/un.h> to get C<UNIX>
  3735. domain socket definitions.
  3736.  
  3737. =item C<i_syswait>
  3738.  
  3739. From F<i_syswait.U>:
  3740.  
  3741. This variable conditionally defines C<I_SYS_WAIT>, which indicates
  3742. to the C program that it should include <sys/wait.h>.
  3743.  
  3744. =item C<i_termio>
  3745.  
  3746. From F<i_termio.U>:
  3747.  
  3748. This variable conditionally defines the C<I_TERMIO> symbol, which
  3749. indicates to the C program that it should include <termio.h> rather
  3750. than <sgtty.h>.
  3751.  
  3752. =item C<i_termios>
  3753.  
  3754. From F<i_termio.U>:
  3755.  
  3756. This variable conditionally defines the C<I_TERMIOS> symbol, which
  3757. indicates to the C program that the C<POSIX> <termios.h> file is
  3758. to be included.
  3759.  
  3760. =item C<i_time>
  3761.  
  3762. From F<i_time.U>:
  3763.  
  3764. This variable conditionally defines C<I_TIME>, which indicates
  3765. to the C program that it should include <time.h>.
  3766.  
  3767. =item C<i_unistd>
  3768.  
  3769. From F<i_unistd.U>:
  3770.  
  3771. This variable conditionally defines the C<I_UNISTD> symbol, and indicates
  3772. whether a C program should include <unistd.h>.
  3773.  
  3774. =item C<i_utime>
  3775.  
  3776. From F<i_utime.U>:
  3777.  
  3778. This variable conditionally defines the C<I_UTIME> symbol, and indicates
  3779. whether a C program should include <utime.h>.
  3780.  
  3781. =item C<i_values>
  3782.  
  3783. From F<i_values.U>:
  3784.  
  3785. This variable conditionally defines the C<I_VALUES> symbol, and indicates
  3786. whether a C program may include <values.h> to get symbols like C<MAXLONG>
  3787. and friends.
  3788.  
  3789. =item C<i_varargs>
  3790.  
  3791. From F<i_varhdr.U>:
  3792.  
  3793. This variable conditionally defines C<I_VARARGS>, which indicates
  3794. to the C program that it should include <varargs.h>.
  3795.  
  3796. =item C<i_varhdr>
  3797.  
  3798. From F<i_varhdr.U>:
  3799.  
  3800. Contains the name of the header to be included to get va_dcl definition.
  3801. Typically one of F<varargs.h> or F<stdarg.h>.
  3802.  
  3803. =item C<i_vfork>
  3804.  
  3805. From F<i_vfork.U>:
  3806.  
  3807. This variable conditionally defines the C<I_VFORK> symbol, and indicates
  3808. whether a C program should include F<vfork.h>.
  3809.  
  3810. =item C<ignore_versioned_solibs>
  3811.  
  3812. From F<libs.U>:
  3813.  
  3814. This variable should be non-empty if non-versioned shared
  3815. libraries (F<libfoo.so.x.y>) are to be ignored (because they
  3816. cannot be linked against).
  3817.  
  3818. =item C<incpath>
  3819.  
  3820. From F<usrinc.U>:
  3821.  
  3822. This variable must preceed the normal include path to get hte
  3823. right one, as in F<$F<incpath/usr/include>> or F<$F<incpath/usr/lib>>.
  3824. Value can be "" or F</bsd43> on mips.
  3825.  
  3826. =item C<inews>
  3827.  
  3828. From F<Loc.U>:
  3829.  
  3830. This variable is defined but not used by Configure.
  3831. The value is a plain '' and is not useful.
  3832.  
  3833. =item C<installarchlib>
  3834.  
  3835. From F<archlib.U>:
  3836.  
  3837. This variable is really the same as archlibexp but may differ on
  3838. those systems using C<AFS>. For extra portability, only this variable
  3839. should be used in makefiles.
  3840.  
  3841. =item C<installbin>
  3842.  
  3843. From F<bin.U>:
  3844.  
  3845. This variable is the same as binexp unless C<AFS> is running in which case
  3846. the user is explicitely prompted for it. This variable should always
  3847. be used in your makefiles for maximum portability.
  3848.  
  3849. =item C<installman1dir>
  3850.  
  3851. From F<man1dir.U>:
  3852.  
  3853. This variable is really the same as man1direxp, unless you are using
  3854. C<AFS> in which case it points to the F<read/write> location whereas
  3855. man1direxp only points to the read-only access location. For extra
  3856. portability, you should only use this variable within your makefiles.
  3857.  
  3858. =item C<installman3dir>
  3859.  
  3860. From F<man3dir.U>:
  3861.  
  3862. This variable is really the same as man3direxp, unless you are using
  3863. C<AFS> in which case it points to the F<read/write> location whereas
  3864. man3direxp only points to the read-only access location. For extra
  3865. portability, you should only use this variable within your makefiles.
  3866.  
  3867. =item C<installprivlib>
  3868.  
  3869. From F<privlib.U>:
  3870.  
  3871. This variable is really the same as privlibexp but may differ on
  3872. those systems using C<AFS>. For extra portability, only this variable
  3873. should be used in makefiles.
  3874.  
  3875. =item C<installscript>
  3876.  
  3877. From F<scriptdir.U>:
  3878.  
  3879. This variable is usually the same as scriptdirexp, unless you are on
  3880. a system running C<AFS>, in which case they may differ slightly. You
  3881. should always use this variable within your makefiles for portability.
  3882.  
  3883. =item C<installsitearch>
  3884.  
  3885. From F<sitearch.U>:
  3886.  
  3887. This variable is really the same as sitearchexp but may differ on
  3888. those systems using C<AFS>. For extra portability, only this variable
  3889. should be used in makefiles.
  3890.  
  3891. =item C<installsitelib>
  3892.  
  3893. From F<sitelib.U>:
  3894.  
  3895. This variable is really the same as sitelibexp but may differ on
  3896. those systems using C<AFS>. For extra portability, only this variable
  3897. should be used in makefiles.
  3898.  
  3899. =item C<installusrbinperl>
  3900.  
  3901. From F<instubperl.U>:
  3902.  
  3903. This variable tells whether Perl should be installed also as
  3904. F</usr/bin/perl> in addition to
  3905. $F<installbin/perl>
  3906.  
  3907. =item C<intsize>
  3908.  
  3909. From F<intsize.U>:
  3910.  
  3911. This variable contains the value of the C<INTSIZE> symbol, which
  3912. indicates to the C program how many bytes there are in an int.
  3913.  
  3914. =back
  3915.  
  3916. =head2 k
  3917.  
  3918. =over
  3919.  
  3920. =item C<known_extensions>
  3921.  
  3922. From F<Extensions.U>:
  3923.  
  3924. This variable holds a list of all C<XS> extensions included in 
  3925. the package.
  3926.  
  3927. =item C<ksh>
  3928.  
  3929. From F<Loc.U>:
  3930.  
  3931. This variable is defined but not used by Configure.
  3932. The value is a plain '' and is not useful.
  3933.  
  3934. =back
  3935.  
  3936. =head2 l
  3937.  
  3938. =over
  3939.  
  3940. =item C<large>
  3941.  
  3942. From F<models.U>:
  3943.  
  3944. This variable contains a flag which will tell the C compiler and loader
  3945. to produce a program running with a large memory model.  It is up to
  3946. the Makefile to use this.
  3947.  
  3948. =item C<ld>
  3949.  
  3950. From F<dlsrc.U>:
  3951.  
  3952. This variable indicates the program to be used to link
  3953. libraries for dynamic loading.  On some systems, it is C<ld>.
  3954. On C<ELF> systems, it should be $cc.  Mostly, we'll try to respect
  3955. the hint file setting.
  3956.  
  3957. =item C<lddlflags>
  3958.  
  3959. From F<dlsrc.U>:
  3960.  
  3961. This variable contains any special flags that might need to be
  3962. passed to $ld to create a shared library suitable for dynamic
  3963. loading.  It is up to the makefile to use it.  For hpux, it
  3964. should be C<-b>.  For sunos 4.1, it is empty.
  3965.  
  3966. =item C<ldflags>
  3967.  
  3968. From F<ccflags.U>:
  3969.  
  3970. This variable contains any additional C loader flags desired by
  3971. the user.  It is up to the Makefile to use this.
  3972.  
  3973. =item C<less>
  3974.  
  3975. From F<Loc.U>:
  3976.  
  3977. This variable is used internally by Configure to determine the
  3978. full pathname (if any) of the less program.  After Configure runs,
  3979. the value is reset to a plain C<less> and is not useful.
  3980.  
  3981. =item C<lib_ext>
  3982.  
  3983. From F<Unix.U>:
  3984.  
  3985. This is an old synonym for _a.
  3986.  
  3987. =item C<libc>
  3988.  
  3989. From F<libc.U>:
  3990.  
  3991. This variable contains the location of the C library.
  3992.  
  3993. =item C<libperl>
  3994.  
  3995. From F<libperl.U>:
  3996.  
  3997. The perl executable is obtained by linking F<perlmain.c> with
  3998. libperl, any static extensions (usually just DynaLoader),
  3999. and any other libraries needed on this system.  libperl
  4000. is usually F<libperl.a>, but can also be F<libperl.so.xxx> if
  4001. the user wishes to build a perl executable with a shared
  4002. library.
  4003.  
  4004. =item C<libpth>
  4005.  
  4006. From F<libpth.U>:
  4007.  
  4008. This variable holds the general path used to find libraries. It is
  4009. intended to be used by other units.
  4010.  
  4011. =item C<libs>
  4012.  
  4013. From F<libs.U>:
  4014.  
  4015. This variable holds the additional libraries we want to use.
  4016. It is up to the Makefile to deal with it.
  4017.  
  4018. =item C<libswanted>
  4019.  
  4020. From F<Myinit.U>:
  4021.  
  4022. This variable holds a list of all the libraries we want to
  4023. search.  The order is chosen to pick up the c library
  4024. ahead of ucb or bsd libraries for SVR4.
  4025.  
  4026. =item C<line>
  4027.  
  4028. From F<Loc.U>:
  4029.  
  4030. This variable is used internally by Configure to determine the
  4031. full pathname (if any) of the line program.  After Configure runs,
  4032. the value is reset to a plain C<line> and is not useful.
  4033.  
  4034. =item C<lint>
  4035.  
  4036. From F<Loc.U>:
  4037.  
  4038. This variable is defined but not used by Configure.
  4039. The value is a plain '' and is not useful.
  4040.  
  4041. =item C<lkflags>
  4042.  
  4043. From F<ccflags.U>:
  4044.  
  4045. This variable contains any additional C partial linker flags desired by
  4046. the user.  It is up to the Makefile to use this.
  4047.  
  4048. =item C<ln>
  4049.  
  4050. From F<Loc.U>:
  4051.  
  4052. This variable is used internally by Configure to determine the
  4053. full pathname (if any) of the ln program.  After Configure runs,
  4054. the value is reset to a plain C<ln> and is not useful.
  4055.  
  4056. =item C<lns>
  4057.  
  4058. From F<lns.U>:
  4059.  
  4060. This variable holds the name of the command to make 
  4061. symbolic links (if they are supported).  It can be used
  4062. in the Makefile. It is either C<ln -s> or C<ln>
  4063.  
  4064. =item C<locincpth>
  4065.  
  4066. From F<ccflags.U>:
  4067.  
  4068. This variable contains a list of additional directories to be
  4069. searched by the compiler.  The appropriate C<-I> directives will
  4070. be added to ccflags.  This is intended to simplify setting
  4071. local directories from the Configure command line.
  4072. It's not much, but it parallels the loclibpth stuff in F<libpth.U>.
  4073.  
  4074. =item C<loclibpth>
  4075.  
  4076. From F<libpth.U>:
  4077.  
  4078. This variable holds the paths used to find local libraries.  It is
  4079. prepended to libpth, and is intended to be easily set from the
  4080. command line.
  4081.  
  4082. =item C<longdblsize>
  4083.  
  4084. From F<d_longdbl.U>:
  4085.  
  4086. This variable contains the value of the C<LONG_DOUBLESIZE> symbol, which
  4087. indicates to the C program how many bytes there are in a long double,
  4088. if this system supports long doubles.
  4089.  
  4090. =item C<longlongsize>
  4091.  
  4092. From F<d_longlong.U>:
  4093.  
  4094. This variable contains the value of the C<LONGLONGSIZE> symbol, which
  4095. indicates to the C program how many bytes there are in a long long,
  4096. if this system supports long long.
  4097.  
  4098. =item C<longsize>
  4099.  
  4100. From F<intsize.U>:
  4101.  
  4102. This variable contains the value of the C<LONGSIZE> symbol, which
  4103. indicates to the C program how many bytes there are in a long.
  4104.  
  4105. =item C<lp>
  4106.  
  4107. From F<Loc.U>:
  4108.  
  4109. This variable is defined but not used by Configure.
  4110. The value is a plain '' and is not useful.
  4111.  
  4112. =item C<lpr>
  4113.  
  4114. From F<Loc.U>:
  4115.  
  4116. This variable is defined but not used by Configure.
  4117. The value is a plain '' and is not useful.
  4118.  
  4119. =item C<ls>
  4120.  
  4121. From F<Loc.U>:
  4122.  
  4123. This variable is used internally by Configure to determine the
  4124. full pathname (if any) of the ls program.  After Configure runs,
  4125. the value is reset to a plain C<ls> and is not useful.
  4126.  
  4127. =item C<lseektype>
  4128.  
  4129. From F<lseektype.U>:
  4130.  
  4131. This variable defines lseektype to be something like off_t, long, 
  4132. or whatever type is used to declare lseek offset's type in the
  4133. kernel (which also appears to be lseek's return type).
  4134.  
  4135. =back
  4136.  
  4137. =head2 m
  4138.  
  4139. =over
  4140.  
  4141. =item C<mail>
  4142.  
  4143. From F<Loc.U>:
  4144.  
  4145. This variable is defined but not used by Configure.
  4146. The value is a plain '' and is not useful.
  4147.  
  4148. =item C<mailx>
  4149.  
  4150. From F<Loc.U>:
  4151.  
  4152. This variable is defined but not used by Configure.
  4153. The value is a plain '' and is not useful.
  4154.  
  4155. =item C<make>
  4156.  
  4157. From F<Loc.U>:
  4158.  
  4159. This variable is used internally by Configure to determine the
  4160. full pathname (if any) of the make program.  After Configure runs,
  4161. the value is reset to a plain C<make> and is not useful.
  4162.  
  4163. =item C<make_set_make>
  4164.  
  4165. From F<make.U>:
  4166.  
  4167. Some versions of C<make> set the variable C<MAKE>.  Others do not.
  4168. This variable contains the string to be included in F<Makefile.SH>
  4169. so that C<MAKE> is set if needed, and not if not needed.
  4170. Possible values are:
  4171. make_set_make=C<#>        # If your make program handles this for you,
  4172. make_set_make=C<MAKE=$make>    # if it doesn't.
  4173. I used a comment character so that we can distinguish a
  4174. C<set> value (from a previous F<config.sh> or Configure C<-D> option)
  4175. from an uncomputed value.
  4176.  
  4177. =item C<mallocobj>
  4178.  
  4179. From F<mallocsrc.U>:
  4180.  
  4181. This variable contains the name of the F<malloc.o> that this package
  4182. generates, if that F<malloc.o> is preferred over the system malloc.
  4183. Otherwise the value is null.  This variable is intended for generating
  4184. Makefiles.  See mallocsrc.
  4185.  
  4186. =item C<mallocsrc>
  4187.  
  4188. From F<mallocsrc.U>:
  4189.  
  4190. This variable contains the name of the F<malloc.c> that comes with
  4191. the package, if that F<malloc.c> is preferred over the system malloc.
  4192. Otherwise the value is null.  This variable is intended for generating
  4193. Makefiles.
  4194.  
  4195. =item C<malloctype>
  4196.  
  4197. From F<mallocsrc.U>:
  4198.  
  4199. This variable contains the kind of ptr returned by malloc and realloc.
  4200.  
  4201. =item C<man1dir>
  4202.  
  4203. From F<man1dir.U>:
  4204.  
  4205. This variable contains the name of the directory in which manual
  4206. source pages are to be put.  It is the responsibility of the
  4207. F<Makefile.SH> to get the value of this into the proper command.
  4208. You must be prepared to do the F<~name> expansion yourself.
  4209.  
  4210. =item C<man1direxp>
  4211.  
  4212. From F<man1dir.U>:
  4213.  
  4214. This variable is the same as the man1dir variable, but is filename
  4215. expanded at configuration time, for convenient use in makefiles.
  4216.  
  4217. =item C<man1ext>
  4218.  
  4219. From F<man1dir.U>:
  4220.  
  4221. This variable contains the extension that the manual page should
  4222. have: one of C<n>, C<l>, or C<1>.  The Makefile must supply the F<.>.
  4223. See man1dir.
  4224.  
  4225. =item C<man3dir>
  4226.  
  4227. From F<man3dir.U>:
  4228.  
  4229. This variable contains the name of the directory in which manual
  4230. source pages are to be put.  It is the responsibility of the
  4231. F<Makefile.SH> to get the value of this into the proper command.
  4232. You must be prepared to do the F<~name> expansion yourself.
  4233.  
  4234. =item C<man3direxp>
  4235.  
  4236. From F<man3dir.U>:
  4237.  
  4238. This variable is the same as the man3dir variable, but is filename
  4239. expanded at configuration time, for convenient use in makefiles.
  4240.  
  4241. =item C<man3ext>
  4242.  
  4243. From F<man3dir.U>:
  4244.  
  4245. This variable contains the extension that the manual page should
  4246. have: one of C<n>, C<l>, or C<3>.  The Makefile must supply the F<.>.
  4247. See man3dir.
  4248.  
  4249. =item C<medium>
  4250.  
  4251. From F<models.U>:
  4252.  
  4253. This variable contains a flag which will tell the C compiler and loader
  4254. to produce a program running with a medium memory model.  If the
  4255. medium model is not supported, contains the flag to produce large
  4256. model programs.  It is up to the Makefile to use this.
  4257.  
  4258. =item C<mips_type>
  4259.  
  4260. From F<usrinc.U>:
  4261.  
  4262. This variable holds the environment type for the mips system.
  4263. Possible values are "BSD 4.3" and "System V".
  4264.  
  4265. =item C<mkdir>
  4266.  
  4267. From F<Loc.U>:
  4268.  
  4269. This variable is used internally by Configure to determine the
  4270. full pathname (if any) of the mkdir program.  After Configure runs,
  4271. the value is reset to a plain C<mkdir> and is not useful.
  4272.  
  4273. =item C<models>
  4274.  
  4275. From F<models.U>:
  4276.  
  4277. This variable contains the list of memory models supported by this
  4278. system.  Possible component values are none, split, unsplit, small,
  4279. medium, large, and huge.  The component values are space separated.
  4280.  
  4281. =item C<modetype>
  4282.  
  4283. From F<modetype.U>:
  4284.  
  4285. This variable defines modetype to be something like mode_t, 
  4286. int, unsigned short, or whatever type is used to declare file 
  4287. modes for system calls.
  4288.  
  4289. =item C<more>
  4290.  
  4291. From F<Loc.U>:
  4292.  
  4293. This variable is used internally by Configure to determine the
  4294. full pathname (if any) of the more program.  After Configure runs,
  4295. the value is reset to a plain C<more> and is not useful.
  4296.  
  4297. =item C<mv>
  4298.  
  4299. From F<Loc.U>:
  4300.  
  4301. This variable is defined but not used by Configure.
  4302. The value is a plain '' and is not useful.
  4303.  
  4304. =item C<myarchname>
  4305.  
  4306. From F<archname.U>:
  4307.  
  4308. This variable holds the architecture name computed by Configure in
  4309. a previous run. It is not intended to be perused by any user and
  4310. should never be set in a hint file.
  4311.  
  4312. =item C<mydomain>
  4313.  
  4314. From F<myhostname.U>:
  4315.  
  4316. This variable contains the eventual value of the C<MYDOMAIN> symbol,
  4317. which is the domain of the host the program is going to run on.
  4318. The domain must be appended to myhostname to form a complete host name.
  4319. The dot comes with mydomain, and need not be supplied by the program.
  4320.  
  4321. =item C<myhostname>
  4322.  
  4323. From F<myhostname.U>:
  4324.  
  4325. This variable contains the eventual value of the C<MYHOSTNAME> symbol,
  4326. which is the name of the host the program is going to run on.
  4327. The domain is not kept with hostname, but must be gotten from mydomain.
  4328. The dot comes with mydomain, and need not be supplied by the program.
  4329.  
  4330. =item C<myuname>
  4331.  
  4332. From F<Oldconfig.U>:
  4333.  
  4334. The output of C<uname -a> if available, otherwise the hostname. On Xenix,
  4335. pseudo variables assignments in the output are stripped, thank you. The
  4336. whole thing is then lower-cased.
  4337.  
  4338. =back
  4339.  
  4340. =head2 n
  4341.  
  4342. =over
  4343.  
  4344. =item C<n>
  4345.  
  4346. From F<n.U>:
  4347.  
  4348. This variable contains the C<-n> flag if that is what causes the echo
  4349. command to suppress newline.  Otherwise it is null.  Correct usage is
  4350.  
  4351.     $echo $n "prompt for a question: $c".
  4352.  
  4353.  
  4354. =item C<netdb_hlen_type>
  4355.  
  4356. From F<netdbtype.U>:
  4357.  
  4358. This variable holds the type used for the 2nd argument to
  4359. gethostbyaddr().  Usually, this is int or size_t or unsigned.
  4360. This is only useful if you have gethostbyaddr(), naturally.
  4361.  
  4362. =item C<netdb_host_type>
  4363.  
  4364. From F<netdbtype.U>:
  4365.  
  4366. This variable holds the type used for the 1st argument to
  4367. gethostbyaddr().  Usually, this is char * or void *,  possibly
  4368. with or without a const prefix.
  4369. This is only useful if you have gethostbyaddr(), naturally.
  4370.  
  4371. =item C<netdb_name_type>
  4372.  
  4373. From F<netdbtype.U>:
  4374.  
  4375. This variable holds the type used for the argument to
  4376. gethostbyname().  Usually, this is char * or const char *.
  4377. This is only useful if you have gethostbyname(), naturally.
  4378.  
  4379. =item C<netdb_net_type>
  4380.  
  4381. From F<netdbtype.U>:
  4382.  
  4383. This variable holds the type used for the 1st argument to
  4384. getnetbyaddr().  Usually, this is int or long.
  4385. This is only useful if you have getnetbyaddr(), naturally.
  4386.  
  4387. =item C<nm>
  4388.  
  4389. From F<Loc.U>:
  4390.  
  4391. This variable is used internally by Configure to determine the
  4392. full pathname (if any) of the nm program.  After Configure runs,
  4393. the value is reset to a plain C<nm> and is not useful.
  4394.  
  4395. =item C<nm_opt>
  4396.  
  4397. From F<usenm.U>:
  4398.  
  4399. This variable holds the options that may be necessary for nm.
  4400.  
  4401. =item C<nm_so_opt>
  4402.  
  4403. From F<usenm.U>:
  4404.  
  4405. This variable holds the options that may be necessary for nm
  4406. to work on a shared library but that can not be used on an
  4407. archive library.  Currently, this is only used by Linux, where
  4408. nm --dynamic is *required* to get symbols from an C<ELF> library which
  4409. has been stripped, but nm --dynamic is *fatal* on an archive library.
  4410. Maybe Linux should just always set usenm=false.
  4411.  
  4412. =item C<nonxs_ext>
  4413.  
  4414. From F<Extensions.U>:
  4415.  
  4416. This variable holds a list of all non-xs extensions included
  4417. in the package.  All of them will be built.
  4418.  
  4419. =item C<nroff>
  4420.  
  4421. From F<Loc.U>:
  4422.  
  4423. This variable is used internally by Configure to determine the
  4424. full pathname (if any) of the nroff program.  After Configure runs,
  4425. the value is reset to a plain C<nroff> and is not useful.
  4426.  
  4427. =back
  4428.  
  4429. =head2 o
  4430.  
  4431. =over
  4432.  
  4433. =item C<o_nonblock>
  4434.  
  4435. From F<nblock_io.U>:
  4436.  
  4437. This variable bears the symbol value to be used during open() or fcntl()
  4438. to turn on non-blocking F<I/O> for a file descriptor. If you wish to switch
  4439. between blocking and non-blocking, you may try ioctl(C<FIOSNBIO>) instead,
  4440. but that is only supported by some devices.
  4441.  
  4442. =item C<obj_ext>
  4443.  
  4444. From F<Unix.U>:
  4445.  
  4446. This is an old synonym for _o.
  4447.  
  4448. =item C<optimize>
  4449.  
  4450. From F<ccflags.U>:
  4451.  
  4452. This variable contains any F<optimizer/debugger> flag that should be used.
  4453. It is up to the Makefile to use it.
  4454.  
  4455. =item C<orderlib>
  4456.  
  4457. From F<orderlib.U>:
  4458.  
  4459. This variable is C<true> if the components of libraries must be ordered
  4460. (with `lorder $* | tsort`) before placing them in an archive.  Set to
  4461. C<false> if ranlib or ar can generate random libraries.
  4462.  
  4463. =item C<osname>
  4464.  
  4465. From F<Oldconfig.U>:
  4466.  
  4467. This variable contains the operating system name (e.g. sunos,
  4468. solaris, hpux, F<etc.>).  It can be useful later on for setting
  4469. defaults.  Any spaces are replaced with underscores.  It is set
  4470. to a null string if we can't figure it out.
  4471.  
  4472. =item C<osvers>
  4473.  
  4474. From F<Oldconfig.U>:
  4475.  
  4476. This variable contains the operating system version (e.g.
  4477. 4.1.3, 5.2, F<etc.>).  It is primarily used for helping select
  4478. an appropriate hints file, but might be useful elsewhere for
  4479. setting defaults.  It is set to '' if we can't figure it out.
  4480. We try to be flexible about how much of the version number
  4481. to keep, e.g. if 4.1.1, 4.1.2, and 4.1.3 are essentially the
  4482. same for this package, hints files might just be F<os_4.0> or
  4483. F<os_4.1>, F<etc.>, not keeping separate files for each little release.
  4484.  
  4485. =back
  4486.  
  4487. =head2 p
  4488.  
  4489. =over
  4490.  
  4491. =item C<package>
  4492.  
  4493. From F<package.U>:
  4494.  
  4495. This variable contains the name of the package being constructed.
  4496. It is primarily intended for the use of later Configure units.
  4497.  
  4498. =item C<pager>
  4499.  
  4500. From F<pager.U>:
  4501.  
  4502. This variable contains the name of the preferred pager on the system.
  4503. Usual values are (the full pathnames of) more, less, pg, or cat.
  4504.  
  4505. =item C<passcat>
  4506.  
  4507. From F<nis.U>:
  4508.  
  4509. This variable contains a command that produces the text of the
  4510. F</etc/passwd> file.  This is normally "cat F</etc/passwd>", but can be
  4511. "ypcat passwd" when C<NIS> is used.
  4512.  
  4513. =item C<patchlevel>
  4514.  
  4515. From F<patchlevel.U>:
  4516.  
  4517. The patchlevel level of this package.
  4518. The value of patchlevel comes from the F<patchlevel.h> file.
  4519.  
  4520. =item C<path_sep>
  4521.  
  4522. From F<Unix.U>:
  4523.  
  4524. This is an old synonym for p_ in F<Head.U>, the character
  4525. used to separate elements in the command shell search C<PATH>.
  4526.  
  4527. =item C<perl>
  4528.  
  4529. From F<Loc.U>:
  4530.  
  4531. This variable is used internally by Configure to determine the
  4532. full pathname (if any) of the perl program.  After Configure runs,
  4533. the value is reset to a plain C<perl> and is not useful.
  4534.  
  4535. =item C<perladmin>
  4536.  
  4537. From F<perladmin.U>:
  4538.  
  4539. Electronic mail address of the perl5 administrator.
  4540.  
  4541. =item C<perlpath>
  4542.  
  4543. From F<perlpath.U>:
  4544.  
  4545. This variable contains the eventual value of the C<PERLPATH> symbol,
  4546. which contains the name of the perl interpreter to be used in
  4547. shell scripts and in the "eval C<exec>" idiom.
  4548.  
  4549. =item C<pg>
  4550.  
  4551. From F<Loc.U>:
  4552.  
  4553. This variable is used internally by Configure to determine the
  4554. full pathname (if any) of the pg program.  After Configure runs,
  4555. the value is reset to a plain C<pg> and is not useful.
  4556.  
  4557. =item C<phostname>
  4558.  
  4559. From F<myhostname.U>:
  4560.  
  4561. This variable contains the eventual value of the C<PHOSTNAME> symbol,
  4562. which is a command that can be fed to popen() to get the host name.
  4563. The program should probably not presume that the domain is or isn't
  4564. there already.
  4565.  
  4566. =item C<pidtype>
  4567.  
  4568. From F<pidtype.U>:
  4569.  
  4570. This variable defines C<PIDTYPE> to be something like pid_t, int, 
  4571. ushort, or whatever type is used to declare process ids in the kernel.
  4572.  
  4573. =item C<plibpth>
  4574.  
  4575. From F<libpth.U>:
  4576.  
  4577. Holds the private path used by Configure to find out the libraries.
  4578. Its value is prepend to libpth. This variable takes care of special
  4579. machines, like the mips.  Usually, it should be empty.
  4580.  
  4581. =item C<pmake>
  4582.  
  4583. From F<Loc.U>:
  4584.  
  4585. This variable is defined but not used by Configure.
  4586. The value is a plain '' and is not useful.
  4587.  
  4588. =item C<pr>
  4589.  
  4590. From F<Loc.U>:
  4591.  
  4592. This variable is defined but not used by Configure.
  4593. The value is a plain '' and is not useful.
  4594.  
  4595. =item C<prefix>
  4596.  
  4597. From F<prefix.U>:
  4598.  
  4599. This variable holds the name of the directory below which the
  4600. user will install the package.  Usually, this is F</usr/local>, and
  4601. executables go in F</usr/local/bin>, library stuff in F</usr/local/lib>,
  4602. man pages in F</usr/local/man>, etc.  It is only used to set defaults
  4603. for things in F<bin.U>, F<mansrc.U>, F<privlib.U>, or F<scriptdir.U>.
  4604.  
  4605. =item C<prefixexp>
  4606.  
  4607. From F<prefix.U>:
  4608.  
  4609. This variable holds the full absolute path of the directory below
  4610. which the user will install the package.  Derived from prefix.
  4611.  
  4612. =item C<privlib>
  4613.  
  4614. From F<privlib.U>:
  4615.  
  4616. This variable contains the eventual value of the C<PRIVLIB> symbol,
  4617. which is the name of the private library for this package.  It may
  4618. have a F<~> on the front. It is up to the makefile to eventually create
  4619. this directory while performing installation (with F<~> substitution).
  4620.  
  4621. =item C<privlibexp>
  4622.  
  4623. From F<privlib.U>:
  4624.  
  4625. This variable is the F<~name> expanded version of privlib, so that you
  4626. may use it directly in Makefiles or shell scripts.
  4627.  
  4628. =item C<prototype>
  4629.  
  4630. From F<prototype.U>:
  4631.  
  4632. This variable holds the eventual value of C<CAN_PROTOTYPE>, which
  4633. indicates the C compiler can handle funciton prototypes.
  4634.  
  4635. =item C<ptrsize>
  4636.  
  4637. From F<ptrsize.U>:
  4638.  
  4639. This variable contains the value of the C<PTRSIZE> symbol, which
  4640. indicates to the C program how many bytes there are in a pointer.
  4641.  
  4642. =back
  4643.  
  4644. =head2 r
  4645.  
  4646. =over
  4647.  
  4648. =item C<randbits>
  4649.  
  4650. From F<randbits.U>:
  4651.  
  4652. This variable contains the eventual value of the C<RANDBITS> symbol,
  4653. which indicates to the C program how many bits of random number
  4654. the rand() function produces.
  4655.  
  4656. =item C<ranlib>
  4657.  
  4658. From F<orderlib.U>:
  4659.  
  4660. This variable is set to the pathname of the ranlib program, if it is
  4661. needed to generate random libraries.  Set to C<:> if ar can generate
  4662. random libraries or if random libraries are not supported
  4663.  
  4664. =item C<rd_nodata>
  4665.  
  4666. From F<nblock_io.U>:
  4667.  
  4668. This variable holds the return code from read() when no data is
  4669. present. It should be -1, but some systems return 0 when C<O_NDELAY> is
  4670. used, which is a shame because you cannot make the difference between
  4671. no data and an F<EOF.>. Sigh!
  4672.  
  4673. =item C<rm>
  4674.  
  4675. From F<Loc.U>:
  4676.  
  4677. This variable is used internally by Configure to determine the
  4678. full pathname (if any) of the rm program.  After Configure runs,
  4679. the value is reset to a plain C<rm> and is not useful.
  4680.  
  4681. =item C<rmail>
  4682.  
  4683. From F<Loc.U>:
  4684.  
  4685. This variable is defined but not used by Configure.
  4686. The value is a plain '' and is not useful.
  4687.  
  4688. =item C<runnm>
  4689.  
  4690. From F<usenm.U>:
  4691.  
  4692. This variable contains C<true> or C<false> depending whether the
  4693. nm extraction should be performed or not, according to the value
  4694. of usenm and the flags on the Configure command line.
  4695.  
  4696. =back
  4697.  
  4698. =head2 s
  4699.  
  4700. =over
  4701.  
  4702. =item C<scriptdir>
  4703.  
  4704. From F<scriptdir.U>:
  4705.  
  4706. This variable holds the name of the directory in which the user wants
  4707. to put publicly scripts for the package in question.  It is either
  4708. the same directory as for binaries, or a special one that can be
  4709. mounted across different architectures, like F</usr/share>. Programs
  4710. must be prepared to deal with F<~name> expansion.
  4711.  
  4712. =item C<scriptdirexp>
  4713.  
  4714. From F<scriptdir.U>:
  4715.  
  4716. This variable is the same as scriptdir, but is filename expanded
  4717. at configuration time, for programs not wanting to bother with it.
  4718.  
  4719. =item C<sed>
  4720.  
  4721. From F<Loc.U>:
  4722.  
  4723. This variable is used internally by Configure to determine the
  4724. full pathname (if any) of the sed program.  After Configure runs,
  4725. the value is reset to a plain C<sed> and is not useful.
  4726.  
  4727. =item C<selectminbits>
  4728.  
  4729. From F<selectminbits.U>:
  4730.  
  4731. This variable holds the minimum number of bits operated by select.
  4732. That is, if you do select(n, ...), how many bits at least will be
  4733. cleared in the masks if some activity is detected.  Usually this
  4734. is either n or 32*ceil(F<n/32>), especially many little-endians do
  4735. the latter.  This is only useful if you have select(), naturally.
  4736.  
  4737. =item C<selecttype>
  4738.  
  4739. From F<selecttype.U>:
  4740.  
  4741. This variable holds the type used for the 2nd, 3rd, and 4th
  4742. arguments to select.  Usually, this is C<fd_set *>, if C<HAS_FD_SET>
  4743. is defined, and C<int *> otherwise.  This is only useful if you 
  4744. have select(), naturally.
  4745.  
  4746. =item C<sendmail>
  4747.  
  4748. From F<Loc.U>:
  4749.  
  4750. This variable is used internally by Configure to determine the
  4751. full pathname (if any) of the sendmail program.  After Configure runs,
  4752. the value is reset to a plain C<sendmail> and is not useful.
  4753.  
  4754. =item C<sh>
  4755.  
  4756. From F<sh.U>:
  4757.  
  4758. This variable contains the full pathname of the shell used
  4759. on this system to execute Bourne shell scripts.  Usually, this will be
  4760. F</bin/sh>, though it's possible that some systems will have F</bin/ksh>,
  4761. F</bin/pdksh>, F</bin/ash>, F</bin/bash>, or even something such as
  4762. D:F</bin/sh.exe>.
  4763. This unit comes before F<Options.U>, so you can't set sh with a C<-D>
  4764. option, though you can override this (and startsh)
  4765. with C<-O -Dsh=F</bin/whatever> -Dstartsh=whatever>
  4766.  
  4767. =item C<shar>
  4768.  
  4769. From F<Loc.U>:
  4770.  
  4771. This variable is defined but not used by Configure.
  4772. The value is a plain '' and is not useful.
  4773.  
  4774. =item C<sharpbang>
  4775.  
  4776. From F<spitshell.U>:
  4777.  
  4778. This variable contains the string #! if this system supports that
  4779. construct.
  4780.  
  4781. =item C<shmattype>
  4782.  
  4783. From F<d_shmat.U>:
  4784.  
  4785. This symbol contains the type of pointer returned by shmat().
  4786. It can be C<void *> or C<char *>.
  4787.  
  4788. =item C<shortsize>
  4789.  
  4790. From F<intsize.U>:
  4791.  
  4792. This variable contains the value of the C<SHORTSIZE> symbol which
  4793. indicates to the C program how many bytes there are in a short.
  4794.  
  4795. =item C<shrpenv>
  4796.  
  4797. From F<libperl.U>:
  4798.  
  4799. If the user builds a shared F<libperl.so>, then we need to tell the
  4800. C<perl> executable where it will be able to find the installed F<libperl.so>. 
  4801. One way to do this on some systems is to set the environment variable
  4802. C<LD_RUN_PATH> to the directory that will be the final location of the
  4803. shared F<libperl.so>.  The makefile can use this with something like
  4804.  
  4805.     $shrpenv $(C<CC>) -o perl F<perlmain.o> $libperl $libs
  4806.  
  4807.     Typical values are
  4808.  
  4809.     shrpenv="env C<LD_RUN_PATH>=$F<archlibexp/C<CORE>>"
  4810.  
  4811.     or
  4812.  
  4813.     shrpenv=''
  4814.  
  4815.     See the main perl F<Makefile.SH> for actual working usage.
  4816. Alternatively, we might be able to use a command line option such
  4817. as -R $F<archlibexp/C<CORE>> (Solaris, NetBSD) or -Wl,-rpath
  4818. $F<archlibexp/C<CORE>> (Linux).
  4819.  
  4820. =item C<shsharp>
  4821.  
  4822. From F<spitshell.U>:
  4823.  
  4824. This variable tells further Configure units whether your sh can
  4825. handle # comments.
  4826.  
  4827. =item C<sig_name>
  4828.  
  4829. From F<sig_name.U>:
  4830.  
  4831. This variable holds the signal names, space separated. The leading
  4832. C<SIG> in signal name is removed.  A C<ZERO> is prepended to the
  4833. list.  This is currently not used.
  4834.  
  4835. =item C<sig_name_init>
  4836.  
  4837. From F<sig_name.U>:
  4838.  
  4839. This variable holds the signal names, enclosed in double quotes and
  4840. separated by commas, suitable for use in the C<SIG_NAME> definition 
  4841. below.  A C<ZERO> is prepended to the list, and the list is 
  4842. terminated with a plain 0.  The leading C<SIG> in signal names
  4843. is removed. See sig_num.
  4844.  
  4845. =item C<sig_num>
  4846.  
  4847. From F<sig_name.U>:
  4848.  
  4849. This variable holds the signal numbers, comma separated. A 0 is
  4850. prepended to the list (corresponding to the fake C<SIGZERO>), and 
  4851. the list is terminated with a 0.  Those numbers correspond to 
  4852. the value of the signal listed in the same place within the
  4853. sig_name list.
  4854.  
  4855. =item C<sig_num_init>
  4856.  
  4857. From F<sig_name.U>:
  4858.  
  4859. This variable holds the signal numbers, enclosed in double quotes and
  4860. separated by commas, suitable for use in the C<SIG_NUM> definition 
  4861. below.  A C<ZERO> is prepended to the list, and the list is 
  4862. terminated with a plain 0.
  4863.  
  4864. =item C<signal_t>
  4865.  
  4866. From F<d_voidsig.U>:
  4867.  
  4868. This variable holds the type of the signal handler (void or int).
  4869.  
  4870. =item C<sitearch>
  4871.  
  4872. From F<sitearch.U>:
  4873.  
  4874. This variable contains the eventual value of the C<SITEARCH> symbol,
  4875. which is the name of the private library for this package.  It may
  4876. have a F<~> on the front. It is up to the makefile to eventually create
  4877. this directory while performing installation (with F<~> substitution).
  4878.  
  4879. =item C<sitearchexp>
  4880.  
  4881. From F<sitearch.U>:
  4882.  
  4883. This variable is the F<~name> expanded version of sitearch, so that you
  4884. may use it directly in Makefiles or shell scripts.
  4885.  
  4886. =item C<sitelib>
  4887.  
  4888. From F<sitelib.U>:
  4889.  
  4890. This variable contains the eventual value of the C<SITELIB> symbol,
  4891. which is the name of the private library for this package.  It may
  4892. have a F<~> on the front. It is up to the makefile to eventually create
  4893. this directory while performing installation (with F<~> substitution).
  4894.  
  4895. =item C<sitelibexp>
  4896.  
  4897. From F<sitelib.U>:
  4898.  
  4899. This variable is the F<~name> expanded version of sitelib, so that you
  4900. may use it directly in Makefiles or shell scripts.
  4901.  
  4902. =item C<sizetype>
  4903.  
  4904. From F<sizetype.U>:
  4905.  
  4906. This variable defines sizetype to be something like size_t, 
  4907. unsigned long, or whatever type is used to declare length 
  4908. parameters for string functions.
  4909.  
  4910. =item C<sleep>
  4911.  
  4912. From F<Loc.U>:
  4913.  
  4914. This variable is defined but not used by Configure.
  4915. The value is a plain '' and is not useful.
  4916.  
  4917. =item C<smail>
  4918.  
  4919. From F<Loc.U>:
  4920.  
  4921. This variable is defined but not used by Configure.
  4922. The value is a plain '' and is not useful.
  4923.  
  4924. =item C<small>
  4925.  
  4926. From F<models.U>:
  4927.  
  4928. This variable contains a flag which will tell the C compiler and loader
  4929. to produce a program running with a small memory model.  It is up to
  4930. the Makefile to use this.
  4931.  
  4932. =item C<so>
  4933.  
  4934. From F<so.U>:
  4935.  
  4936. This variable holds the extension used to identify shared libraries
  4937. (also known as shared objects) on the system. Usually set to C<so>.
  4938.  
  4939. =item C<sockethdr>
  4940.  
  4941. From F<d_socket.U>:
  4942.  
  4943. This variable has any cpp C<-I> flags needed for socket support.
  4944.  
  4945. =item C<socketlib>
  4946.  
  4947. From F<d_socket.U>:
  4948.  
  4949. This variable has the names of any libraries needed for socket support.
  4950.  
  4951. =item C<sort>
  4952.  
  4953. From F<Loc.U>:
  4954.  
  4955. This variable is used internally by Configure to determine the
  4956. full pathname (if any) of the sort program.  After Configure runs,
  4957. the value is reset to a plain C<sort> and is not useful.
  4958.  
  4959. =item C<spackage>
  4960.  
  4961. From F<package.U>:
  4962.  
  4963. This variable contains the name of the package being constructed,
  4964. with the first letter uppercased, F<i.e>. suitable for starting
  4965. sentences.
  4966.  
  4967. =item C<spitshell>
  4968.  
  4969. From F<spitshell.U>:
  4970.  
  4971. This variable contains the command necessary to spit out a runnable
  4972. shell on this system.  It is either cat or a grep C<-v> for # comments.
  4973.  
  4974. =item C<split>
  4975.  
  4976. From F<models.U>:
  4977.  
  4978. This variable contains a flag which will tell the C compiler and loader
  4979. to produce a program that will run in separate I and D space, for those
  4980. machines that support separation of instruction and data space.  It is
  4981. up to the Makefile to use this.
  4982.  
  4983. =item C<src>
  4984.  
  4985. From F<src.U>:
  4986.  
  4987. This variable holds the path to the package source. It is up to
  4988. the Makefile to use this variable and set C<VPATH> accordingly to
  4989. find the sources remotely.
  4990.  
  4991. =item C<ssizetype>
  4992.  
  4993. From F<ssizetype.U>:
  4994.  
  4995. This variable defines ssizetype to be something like ssize_t, 
  4996. long or int.  It is used by functions that return a count 
  4997. of bytes or an error condition.  It must be a signed type.
  4998. We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
  4999.  
  5000. =item C<startperl>
  5001.  
  5002. From F<startperl.U>:
  5003.  
  5004. This variable contains the string to put on the front of a perl
  5005. script to make sure (hopefully) that it runs with perl and not some
  5006. shell. Of course, that leading line must be followed by the classical
  5007. perl idiom:
  5008.  
  5009.     eval 'exec perl -S $0 ${1+C<$@>}'
  5010.  
  5011.  
  5012.     if $running_under_some_shell;
  5013.  
  5014.     to guarantee perl startup should the shell execute the script. Note
  5015. that this magic incatation is not understood by csh.
  5016.  
  5017. =item C<startsh>
  5018.  
  5019. From F<startsh.U>:
  5020.  
  5021. This variable contains the string to put on the front of a shell
  5022. script to make sure (hopefully) that it runs with sh and not some
  5023. other shell.
  5024.  
  5025. =item C<static_ext>
  5026.  
  5027. From F<Extensions.U>:
  5028.  
  5029. This variable holds a list of C<XS> extension files we want to
  5030. link statically into the package.  It is used by Makefile.
  5031.  
  5032. =item C<stdchar>
  5033.  
  5034. From F<stdchar.U>:
  5035.  
  5036. This variable conditionally defines C<STDCHAR> to be the type of char
  5037. used in F<stdio.h>.  It has the values "unsigned char" or C<char>.
  5038.  
  5039. =item C<stdio_base>
  5040.  
  5041. From F<d_stdstdio.U>:
  5042.  
  5043. This variable defines how, given a C<FILE> pointer, fp, to access the
  5044. _base field (or equivalent) of F<stdio.h>'s C<FILE> structure.  This will
  5045. be used to define the macro FILE_base(fp).
  5046.  
  5047. =item C<stdio_bufsiz>
  5048.  
  5049. From F<d_stdstdio.U>:
  5050.  
  5051. This variable defines how, given a C<FILE> pointer, fp, to determine
  5052. the number of bytes store in the F<I/O> buffer pointer to by the
  5053. _base field (or equivalent) of F<stdio.h>'s C<FILE> structure.  This will
  5054. be used to define the macro FILE_bufsiz(fp).
  5055.  
  5056. =item C<stdio_cnt>
  5057.  
  5058. From F<d_stdstdio.U>:
  5059.  
  5060. This variable defines how, given a C<FILE> pointer, fp, to access the
  5061. _cnt field (or equivalent) of F<stdio.h>'s C<FILE> structure.  This will
  5062. be used to define the macro FILE_cnt(fp).
  5063.  
  5064. =item C<stdio_filbuf>
  5065.  
  5066. From F<d_stdstdio.U>:
  5067.  
  5068. This variable defines how, given a C<FILE> pointer, fp, to tell
  5069. stdio to refill it's internal buffers (?).  This will
  5070. be used to define the macro FILE_filbuf(fp).
  5071.  
  5072. =item C<stdio_ptr>
  5073.  
  5074. From F<d_stdstdio.U>:
  5075.  
  5076. This variable defines how, given a C<FILE> pointer, fp, to access the
  5077. _ptr field (or equivalent) of F<stdio.h>'s C<FILE> structure.  This will
  5078. be used to define the macro FILE_ptr(fp).
  5079.  
  5080. =item C<strings>
  5081.  
  5082. From F<i_string.U>:
  5083.  
  5084. This variable holds the full path of the string header that will be
  5085. used. Typically F</usr/include/string.h> or F</usr/include/strings.h>.
  5086.  
  5087. =item C<submit>
  5088.  
  5089. From F<Loc.U>:
  5090.  
  5091. This variable is defined but not used by Configure.
  5092. The value is a plain '' and is not useful.
  5093.  
  5094. =item C<subversion>
  5095.  
  5096. From F<patchlevel.U>:
  5097.  
  5098. The subversion level of this package.
  5099. The value of subversion comes from the F<patchlevel.h> file.
  5100. This is unique to perl.
  5101.  
  5102. =item C<sysman>
  5103.  
  5104. From F<sysman.U>:
  5105.  
  5106. This variable holds the place where the manual is located on this
  5107. system. It is not the place where the user wants to put his manual
  5108. pages. Rather it is the place where Configure may look to find manual
  5109. for unix commands (section 1 of the manual usually). See mansrc.
  5110.  
  5111. =back
  5112.  
  5113. =head2 t
  5114.  
  5115. =over
  5116.  
  5117. =item C<tail>
  5118.  
  5119. From F<Loc.U>:
  5120.  
  5121. This variable is defined but not used by Configure.
  5122. The value is a plain '' and is not useful.
  5123.  
  5124. =item C<tar>
  5125.  
  5126. From F<Loc.U>:
  5127.  
  5128. This variable is defined but not used by Configure.
  5129. The value is a plain '' and is not useful.
  5130.  
  5131. =item C<tbl>
  5132.  
  5133. From F<Loc.U>:
  5134.  
  5135. This variable is defined but not used by Configure.
  5136. The value is a plain '' and is not useful.
  5137.  
  5138. =item C<tee>
  5139.  
  5140. From F<Loc.U>:
  5141.  
  5142. This variable is used internally by Configure to determine the
  5143. full pathname (if any) of the tee program.  After Configure runs,
  5144. the value is reset to a plain C<tee> and is not useful.
  5145.  
  5146. =item C<test>
  5147.  
  5148. From F<Loc.U>:
  5149.  
  5150. This variable is used internally by Configure to determine the
  5151. full pathname (if any) of the test program.  After Configure runs,
  5152. the value is reset to a plain C<test> and is not useful.
  5153.  
  5154. =item C<timeincl>
  5155.  
  5156. From F<i_time.U>:
  5157.  
  5158. This variable holds the full path of the included time header(s).
  5159.  
  5160. =item C<timetype>
  5161.  
  5162. From F<d_time.U>:
  5163.  
  5164. This variable holds the type returned by time(). It can be long,
  5165. or time_t on C<BSD> sites (in which case <sys/types.h> should be
  5166. included). Anyway, the type Time_t should be used.
  5167.  
  5168. =item C<touch>
  5169.  
  5170. From F<Loc.U>:
  5171.  
  5172. This variable is used internally by Configure to determine the
  5173. full pathname (if any) of the touch program.  After Configure runs,
  5174. the value is reset to a plain C<touch> and is not useful.
  5175.  
  5176. =item C<tr>
  5177.  
  5178. From F<Loc.U>:
  5179.  
  5180. This variable is used internally by Configure to determine the
  5181. full pathname (if any) of the tr program.  After Configure runs,
  5182. the value is reset to a plain C<tr> and is not useful.
  5183.  
  5184. =item C<trnl>
  5185.  
  5186. From F<trnl.U>:
  5187.  
  5188. This variable contains the value to be passed to the tr(1)
  5189. command to transliterate a newline.  Typical values are
  5190. C<\012> and C<\n>.  This is needed for C<EBCDIC> systems where
  5191. newline is not necessarily C<\012>.
  5192.  
  5193. =item C<troff>
  5194.  
  5195. From F<Loc.U>:
  5196.  
  5197. This variable is defined but not used by Configure.
  5198. The value is a plain '' and is not useful.
  5199.  
  5200. =back
  5201.  
  5202. =head2 u
  5203.  
  5204. =over
  5205.  
  5206. =item C<uidtype>
  5207.  
  5208. From F<uidtype.U>:
  5209.  
  5210. This variable defines Uid_t to be something like uid_t, int, 
  5211. ushort, or whatever type is used to declare user ids in the kernel.
  5212.  
  5213. =item C<uname>
  5214.  
  5215. From F<Loc.U>:
  5216.  
  5217. This variable is used internally by Configure to determine the
  5218. full pathname (if any) of the uname program.  After Configure runs,
  5219. the value is reset to a plain C<uname> and is not useful.
  5220.  
  5221. =item C<uniq>
  5222.  
  5223. From F<Loc.U>:
  5224.  
  5225. This variable is used internally by Configure to determine the
  5226. full pathname (if any) of the uniq program.  After Configure runs,
  5227. the value is reset to a plain C<uniq> and is not useful.
  5228.  
  5229. =item C<usedl>
  5230.  
  5231. From F<dlsrc.U>:
  5232.  
  5233. This variable indicates if the the system supports dynamic
  5234. loading of some sort.  See also dlsrc and dlobj.
  5235.  
  5236. =item C<usemymalloc>
  5237.  
  5238. From F<mallocsrc.U>:
  5239.  
  5240. This variable contains y if the malloc that comes with this package
  5241. is desired over the system's version of malloc.  People often include
  5242. special versions of malloc for effiency, but such versions are often
  5243. less portable.  See also mallocsrc and mallocobj.
  5244. If this is C<y>, then -lmalloc is removed from $libs.
  5245.  
  5246. =item C<usenm>
  5247.  
  5248. From F<usenm.U>:
  5249.  
  5250. This variable contains C<true> or C<false> depending whether the
  5251. nm extraction is wanted or not.
  5252.  
  5253. =item C<useopcode>
  5254.  
  5255. From F<Extensions.U>:
  5256.  
  5257. This variable holds either C<true> or C<false> to indicate
  5258. whether the Opcode extension should be used.  The sole
  5259. use for this currently is to allow an easy mechanism
  5260. for users to skip the Opcode extension from the Configure
  5261. command line.
  5262.  
  5263. =item C<useperlio>
  5264.  
  5265. From F<useperlio.U>:
  5266.  
  5267. This variable conditionally defines the C<USE_PERLIO> symbol,
  5268. and indicates that the PerlIO abstraction should be
  5269. used throughout.
  5270.  
  5271. =item C<useposix>
  5272.  
  5273. From F<Extensions.U>:
  5274.  
  5275. This variable holds either C<true> or C<false> to indicate
  5276. whether the C<POSIX> extension should be used.  The sole
  5277. use for this currently is to allow an easy mechanism
  5278. for hints files to indicate that C<POSIX> will not compile
  5279. on a particular system.
  5280.  
  5281. =item C<usesfio>
  5282.  
  5283. From F<d_sfio.U>:
  5284.  
  5285. This variable is set to true when the user agrees to use sfio.
  5286. It is set to false when sfio is not available or when the user
  5287. explicitely requests not to use sfio.  It is here primarily so
  5288. that command-line settings can override the auto-detection of
  5289. d_sfio without running into a "WHOA THERE".
  5290.  
  5291. =item C<useshrplib>
  5292.  
  5293. From F<libperl.U>:
  5294.  
  5295. This variable is set to C<yes> if the user wishes
  5296. to build a shared libperl, and C<no> otherwise.
  5297.  
  5298. =item C<usethreads>
  5299.  
  5300. From F<usethreads.U>:
  5301.  
  5302. This variable conditionally defines the C<USE_THREADS> symbol,
  5303. and indicates that Perl should be built to use threads.
  5304.  
  5305. =item C<usevfork>
  5306.  
  5307. From F<d_vfork.U>:
  5308.  
  5309. This variable is set to true when the user accepts to use vfork.
  5310. It is set to false when no vfork is available or when the user
  5311. explicitely requests not to use vfork.
  5312.  
  5313. =item C<usrinc>
  5314.  
  5315. From F<usrinc.U>:
  5316.  
  5317. This variable holds the path of the include files, which is
  5318. usually F</usr/include>. It is mainly used by other Configure units.
  5319.  
  5320. =item C<uuname>
  5321.  
  5322. From F<Loc.U>:
  5323.  
  5324. This variable is defined but not used by Configure.
  5325. The value is a plain '' and is not useful.
  5326.  
  5327. =back
  5328.  
  5329. =head2 v
  5330.  
  5331. =over
  5332.  
  5333. =item C<version>
  5334.  
  5335. From F<patchlevel.U>:
  5336.  
  5337. The full version number of this package.  This combines
  5338. baserev, patchlevel, and subversion to get the full
  5339. version number, including any possible subversions.  Care
  5340. is taken to use the C locale in order to get something
  5341. like 5.004 instead of 5,004.  This is unique to perl.
  5342.  
  5343. =item C<vi>
  5344.  
  5345. From F<Loc.U>:
  5346.  
  5347. This variable is defined but not used by Configure.
  5348. The value is a plain '' and is not useful.
  5349.  
  5350. =item C<voidflags>
  5351.  
  5352. From F<voidflags.U>:
  5353.  
  5354. This variable contains the eventual value of the C<VOIDFLAGS> symbol,
  5355. which indicates how much support of the void type is given by this
  5356. compiler.  See C<VOIDFLAGS> for more info.
  5357.  
  5358. =back
  5359.  
  5360. =head2 z
  5361.  
  5362. =over
  5363.  
  5364. =item C<zcat>
  5365.  
  5366. From F<Loc.U>:
  5367.  
  5368. This variable is defined but not used by Configure.
  5369. The value is a plain '' and is not useful.
  5370.  
  5371. =item C<zip>
  5372.  
  5373. From F<Loc.U>:
  5374.  
  5375. This variable is used internally by Configure to determine the
  5376. full pathname (if any) of the zip program.  After Configure runs,
  5377. the value is reset to a plain C<zip> and is not useful.
  5378.  
  5379.  
  5380. =back
  5381.  
  5382. =head1 NOTE
  5383.  
  5384. This module contains a good example of how to use tie to implement a
  5385. cache and an example of how to make a tied variable readonly to those
  5386. outside of it.
  5387.  
  5388. =cut
  5389.  
  5390.