Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5345 lines
129 KiB

  1. package Config;
  2. use Exporter ();
  3. @ISA = (Exporter);
  4. @EXPORT = qw(%Config);
  5. @EXPORT_OK = qw(myconfig config_sh config_vars);
  6. $] == 5.00503
  7. or die "Perl lib version (5.00503) doesn't match executable version ($])";
  8. # This file was created by configpm when Perl was built. Any changes
  9. # made to this file will be lost the next time perl is built.
  10. ### Configured by: [email protected]
  11. ### Target system: WIN32
  12. #='Sat Oct 16 12:26:11 1999'
  13. my $config_sh = <<'!END!';
  14. archlibexp='g:\Perlinstall\lib'
  15. archname='MSWin32-x86-object'
  16. cc='cl.exe'
  17. ccflags='-Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_OBJECT'
  18. cppflags='-DWIN32'
  19. dlsrc='dl_win32.xs'
  20. dynamic_ext='Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re Data/Dumper'
  21. extensions='DynaLoader Socket IO Fcntl Opcode SDBM_File POSIX attrs Thread B re Data/Dumper Errno'
  22. installarchlib='g:\Perlinstall\lib'
  23. installprivlib='g:\Perlinstall\lib'
  24. libpth='"g:\Perlinstall\lib\CORE" '
  25. libs=' oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib PerlCRT.lib'
  26. osname='MSWin32'
  27. osvers='4.0'
  28. prefix='g:\Perlinstall'
  29. privlibexp='g:\Perlinstall\lib'
  30. sharpbang='#!'
  31. shsharp='true'
  32. sig_name='ZERO NUM01 INT QUIT ILL NUM05 NUM06 NUM07 FPE KILL NUM10 SEGV NUM12 PIPE ALRM TERM NUM16 NUM17 NUM18 NUM19 CHLD BREAK ABRT STOP NUM24 CONT CLD'
  33. 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 20 0'
  34. so='dll'
  35. startsh='#!/bin/sh'
  36. static_ext='DynaLoader'
  37. Author=''
  38. CONFIG='true'
  39. Date='$Date'
  40. Header=''
  41. Id='$Id'
  42. Locker=''
  43. Log='$Log'
  44. Mcc='Mcc'
  45. PATCHLEVEL='5'
  46. RCSfile='$RCSfile'
  47. Revision='$Revision'
  48. SUBVERSION='03'
  49. Source=''
  50. State=''
  51. _a='.lib'
  52. _exe='.exe'
  53. _o='.obj'
  54. afs='false'
  55. alignbytes='8'
  56. ansi2knr=''
  57. aphostname=''
  58. apiversion='5.005'
  59. ar='lib'
  60. archlib='g:\Perlinstall\lib'
  61. archobjs=''
  62. awk='awk'
  63. baserev='5.0'
  64. bash=''
  65. bin='g:\Perlinstall\bin'
  66. binexp='g:\Perlinstall\bin'
  67. bison=''
  68. byacc='byacc'
  69. byteorder='1234'
  70. c=''
  71. castflags='0'
  72. cat='type'
  73. cccdlflags=' '
  74. ccdlflags=' '
  75. cf_by='mikesm'
  76. cf_email='[email protected]'
  77. chgrp=''
  78. chmod=''
  79. chown=''
  80. clocktype='clock_t'
  81. comm=''
  82. compress=''
  83. contains='grep'
  84. cp='copy'
  85. cpio=''
  86. cpp='cl -nologo -E'
  87. cpp_stuff='42'
  88. cpplast=''
  89. cppminus=''
  90. cpprun='cl -nologo -E'
  91. cppstdin='cl -nologo -E'
  92. cryptlib=''
  93. csh='undef'
  94. d_Gconvert='sprintf((b),"%.*g",(n),(x))'
  95. d_access='define'
  96. d_alarm='undef'
  97. d_archlib='define'
  98. d_attribut='undef'
  99. d_bcmp='undef'
  100. d_bcopy='undef'
  101. d_bsd='define'
  102. d_bsdgetpgrp='undef'
  103. d_bsdsetpgrp='undef'
  104. d_bzero='undef'
  105. d_casti32='define'
  106. d_castneg='define'
  107. d_charvspr='undef'
  108. d_chown='undef'
  109. d_chroot='undef'
  110. d_chsize='define'
  111. d_closedir='define'
  112. d_const='define'
  113. d_crypt='define'
  114. d_csh='undef'
  115. d_cuserid='undef'
  116. d_dbl_dig='define'
  117. d_difftime='define'
  118. d_dirnamlen='define'
  119. d_dlerror='define'
  120. d_dlopen='define'
  121. d_dlsymun='undef'
  122. d_dosuid='undef'
  123. d_dup2='define'
  124. d_endgrent='undef'
  125. d_endhent='undef'
  126. d_endnent='undef'
  127. d_endpent='undef'
  128. d_endpwent='undef'
  129. d_endsent='undef'
  130. d_eofnblk='define'
  131. d_eunice='undef'
  132. d_fchmod='undef'
  133. d_fchown='undef'
  134. d_fcntl='undef'
  135. d_fd_macros='define'
  136. d_fd_set='define'
  137. d_fds_bits='define'
  138. d_fgetpos='define'
  139. d_flexfnam='define'
  140. d_flock='define'
  141. d_fork='undef'
  142. d_fpathconf='undef'
  143. d_fsetpos='define'
  144. d_ftime='define'
  145. d_getgrent='undef'
  146. d_getgrps='undef'
  147. d_gethbyaddr='define'
  148. d_gethbyname='define'
  149. d_gethent='undef'
  150. d_gethname='define'
  151. d_gethostprotos='define'
  152. d_getlogin='define'
  153. d_getnbyaddr='undef'
  154. d_getnbyname='undef'
  155. d_getnent='undef'
  156. d_getnetprotos='undef'
  157. d_getpbyname='define'
  158. d_getpbynumber='define'
  159. d_getpent='undef'
  160. d_getpgid='undef'
  161. d_getpgrp2='undef'
  162. d_getpgrp='undef'
  163. d_getppid='undef'
  164. d_getprior='undef'
  165. d_getprotoprotos='define'
  166. d_getpwent='undef'
  167. d_getsbyname='define'
  168. d_getsbyport='define'
  169. d_getsent='undef'
  170. d_getservprotos='define'
  171. d_gettimeod='undef'
  172. d_gnulibc='undef'
  173. d_grpasswd='undef'
  174. d_htonl='define'
  175. d_index='undef'
  176. d_inetaton='undef'
  177. d_isascii='define'
  178. d_killpg='undef'
  179. d_lchown='undef'
  180. d_link='undef'
  181. d_locconv='define'
  182. d_lockf='undef'
  183. d_longdbl='define'
  184. d_longlong='undef'
  185. d_lstat='undef'
  186. d_mblen='define'
  187. d_mbstowcs='define'
  188. d_mbtowc='define'
  189. d_memcmp='define'
  190. d_memcpy='define'
  191. d_memmove='define'
  192. d_memset='define'
  193. d_mkdir='define'
  194. d_mkfifo='undef'
  195. d_mktime='define'
  196. d_msg='undef'
  197. d_msgctl='undef'
  198. d_msgget='undef'
  199. d_msgrcv='undef'
  200. d_msgsnd='undef'
  201. d_mymalloc='undef'
  202. d_nice='undef'
  203. d_oldpthreads='undef'
  204. d_oldsock='undef'
  205. d_open3='undef'
  206. d_pathconf='undef'
  207. d_pause='define'
  208. d_phostname='undef'
  209. d_pipe='define'
  210. d_poll='undef'
  211. d_portable='define'
  212. d_pthread_yield='undef'
  213. d_pthreads_created_joinable='undef'
  214. d_pwage='undef'
  215. d_pwchange='undef'
  216. d_pwclass='undef'
  217. d_pwcomment='undef'
  218. d_pwexpire='undef'
  219. d_pwgecos='undef'
  220. d_pwpasswd='undef'
  221. d_pwquota='undef'
  222. d_readdir='define'
  223. d_readlink='undef'
  224. d_rename='define'
  225. d_rewinddir='define'
  226. d_rmdir='define'
  227. d_safebcpy='undef'
  228. d_safemcpy='undef'
  229. d_sanemcmp='define'
  230. d_sched_yield='undef'
  231. d_seekdir='define'
  232. d_select='define'
  233. d_sem='undef'
  234. d_semctl='undef'
  235. d_semctl_semid_ds='undef'
  236. d_semctl_semun='undef'
  237. d_semget='undef'
  238. d_semop='undef'
  239. d_setegid='undef'
  240. d_seteuid='undef'
  241. d_setgrent='undef'
  242. d_setgrps='undef'
  243. d_sethent='undef'
  244. d_setlinebuf='undef'
  245. d_setlocale='define'
  246. d_setnent='undef'
  247. d_setpent='undef'
  248. d_setpgid='undef'
  249. d_setpgrp2='undef'
  250. d_setpgrp='undef'
  251. d_setprior='undef'
  252. d_setpwent='undef'
  253. d_setregid='undef'
  254. d_setresgid='undef'
  255. d_setresuid='undef'
  256. d_setreuid='undef'
  257. d_setrgid='undef'
  258. d_setruid='undef'
  259. d_setsent='undef'
  260. d_setsid='undef'
  261. d_setvbuf='define'
  262. d_sfio='undef'
  263. d_shm='undef'
  264. d_shmat='undef'
  265. d_shmatprototype='undef'
  266. d_shmctl='undef'
  267. d_shmdt='undef'
  268. d_shmget='undef'
  269. d_sigaction='undef'
  270. d_sigsetjmp='undef'
  271. d_socket='define'
  272. d_sockpair='undef'
  273. d_statblks='undef'
  274. d_stdio_cnt_lval='define'
  275. d_stdio_ptr_lval='define'
  276. d_stdiobase='define'
  277. d_stdstdio='define'
  278. d_strchr='define'
  279. d_strcoll='define'
  280. d_strctcpy='define'
  281. d_strerrm='strerror(e)'
  282. d_strerror='define'
  283. d_strtod='define'
  284. d_strtol='define'
  285. d_strtoul='define'
  286. d_strxfrm='define'
  287. d_suidsafe='undef'
  288. d_symlink='undef'
  289. d_syscall='undef'
  290. d_sysconf='undef'
  291. d_sysernlst=''
  292. d_syserrlst='define'
  293. d_system='define'
  294. d_tcgetpgrp='undef'
  295. d_tcsetpgrp='undef'
  296. d_telldir='define'
  297. d_time='define'
  298. d_times='define'
  299. d_truncate='undef'
  300. d_tzname='define'
  301. d_umask='define'
  302. d_uname='define'
  303. d_union_semun='define'
  304. d_vfork='undef'
  305. d_void_closedir='undef'
  306. d_voidsig='define'
  307. d_voidtty=''
  308. d_volatile='define'
  309. d_vprintf='define'
  310. d_wait4='undef'
  311. d_waitpid='define'
  312. d_wcstombs='define'
  313. d_wctomb='define'
  314. d_xenix='undef'
  315. date='date'
  316. db_hashtype='int'
  317. db_prefixtype='int'
  318. defvoidused='15'
  319. direntrytype='struct direct'
  320. dlext='dll'
  321. doublesize='8'
  322. eagain='EAGAIN'
  323. ebcdic='undef'
  324. echo='echo'
  325. egrep='egrep'
  326. emacs=''
  327. eunicefix=':'
  328. exe_ext='.exe'
  329. expr='expr'
  330. find='find'
  331. firstmakefile='makefile'
  332. flex=''
  333. fpostype='fpos_t'
  334. freetype='void'
  335. full_csh=''
  336. full_sed=''
  337. gccversion=''
  338. gidtype='gid_t'
  339. glibpth='/usr/shlib /lib/pa1.1 /usr/lib/large /lib /usr/lib /usr/lib/386 /lib/386 /lib/large /usr/lib/small /lib/small /usr/ccs/lib /usr/ucblib /usr/shlib '
  340. grep='grep'
  341. groupcat=''
  342. groupstype='gid_t'
  343. gzip='gzip'
  344. h_fcntl='false'
  345. h_sysfile='true'
  346. hint='recommended'
  347. hostcat='ypcat hosts'
  348. huge=''
  349. i_arpainet='define'
  350. i_bsdioctl=''
  351. i_db='undef'
  352. i_dbm='undef'
  353. i_dirent='define'
  354. i_dld='undef'
  355. i_dlfcn='define'
  356. i_fcntl='define'
  357. i_float='define'
  358. i_gdbm='undef'
  359. i_grp='undef'
  360. i_limits='define'
  361. i_locale='define'
  362. i_malloc='define'
  363. i_math='define'
  364. i_memory='undef'
  365. i_ndbm='undef'
  366. i_netdb='undef'
  367. i_neterrno='undef'
  368. i_niin='undef'
  369. i_pwd='undef'
  370. i_rpcsvcdbm='define'
  371. i_sfio='undef'
  372. i_sgtty='undef'
  373. i_stdarg='define'
  374. i_stddef='define'
  375. i_stdlib='define'
  376. i_string='define'
  377. i_sysdir='undef'
  378. i_sysfile='undef'
  379. i_sysfilio='define'
  380. i_sysin='undef'
  381. i_sysioctl='undef'
  382. i_sysndir='undef'
  383. i_sysparam='undef'
  384. i_sysresrc='undef'
  385. i_sysselct='undef'
  386. i_syssockio=''
  387. i_sysstat='define'
  388. i_systime='undef'
  389. i_systimek='undef'
  390. i_systimes='undef'
  391. i_systypes='define'
  392. i_sysun='undef'
  393. i_syswait='undef'
  394. i_termio='undef'
  395. i_termios='undef'
  396. i_time='define'
  397. i_unistd='undef'
  398. i_utime='define'
  399. i_values='undef'
  400. i_varargs='undef'
  401. i_varhdr='varargs.h'
  402. i_vfork='undef'
  403. incpath='"C:\Program Files\DevStudio\VC\include"'
  404. inews=''
  405. installbin='g:\Perlinstall\bin'
  406. installhtmldir='g:\Perlinstall\html'
  407. installhtmlhelpdir='g:\Perlinstall\htmlhelp'
  408. installman1dir='g:\Perlinstall\man\man1'
  409. installman3dir='g:\Perlinstall\man\man3'
  410. installscript='g:\Perlinstall\bin'
  411. installsitearch='g:\Perlinstall\site\lib'
  412. installsitelib='g:\Perlinstall\site\lib'
  413. intsize='4'
  414. known_extensions='DB_File Fcntl GDBM_File NDBM_File ODBM_File Opcode POSIX SDBM_File Socket IO attrs Thread'
  415. ksh=''
  416. large=''
  417. ld='link'
  418. lddlflags='-dll -nologo -nodefaultlib -release -libpath:"g:\Perlinstall\lib\CORE" -machine:x86'
  419. ldflags='-nologo -nodefaultlib -release -libpath:"g:\Perlinstall\lib\CORE" -machine:x86'
  420. less='less'
  421. lib_ext='.lib'
  422. libc='g:\Perlinstall\lib\CORE\PerlCRT.lib'
  423. libperl='perlcore.lib'
  424. libswanted='net socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m c cposix posix ndir dir crypt ucb bsd BSD PW x'
  425. line='line'
  426. lint=''
  427. lkflags=''
  428. ln=''
  429. lns='copy'
  430. locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
  431. loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
  432. longdblsize='10'
  433. longlongsize='8'
  434. longsize='4'
  435. lp=''
  436. lpr=''
  437. ls='dir'
  438. lseektype='off_t'
  439. mail=''
  440. mailx=''
  441. make='nmake'
  442. make_set_make='#'
  443. mallocobj='malloc.o'
  444. mallocsrc='malloc.c'
  445. malloctype='void *'
  446. man1dir='g:\Perlinstall\man\man1'
  447. man1direxp='g:\Perlinstall\man\man1'
  448. man1ext='1'
  449. man3dir='g:\Perlinstall\man\man3'
  450. man3direxp='g:\Perlinstall\man\man3'
  451. man3ext='3'
  452. medium=''
  453. mips=''
  454. mips_type=''
  455. mkdir='mkdir'
  456. models='none'
  457. modetype='mode_t'
  458. more='more /e'
  459. mv=''
  460. myarchname='MSWin32'
  461. mydomain=''
  462. myhostname=''
  463. myuname=''
  464. n='-n'
  465. netdb_hlen_type='int'
  466. netdb_host_type='char *'
  467. netdb_name_type='char *'
  468. netdb_net_type='long'
  469. nm=''
  470. nm_opt=''
  471. nm_so_opt=''
  472. nonxs_ext='Errno'
  473. nroff=''
  474. o_nonblock='O_NONBLOCK'
  475. obj_ext='.obj'
  476. optimize='-Od -MD -DNDEBUG -TP -GX'
  477. orderlib='false'
  478. package='perl5'
  479. pager='more /e'
  480. passcat=''
  481. patchlevel='5'
  482. path_sep=';'
  483. perl='perl'
  484. perladmin=''
  485. perlpath='g:\Perlinstall\bin\perl.exe'
  486. pg=''
  487. phostname='hostname'
  488. pidtype='int'
  489. plibpth=''
  490. pmake=''
  491. pr=''
  492. prefixexp='P:'
  493. privlib='g:\Perlinstall\lib'
  494. prototype='define'
  495. ptrsize='4'
  496. randbits='15'
  497. ranlib='rem'
  498. rd_nodata='-1'
  499. rm='del'
  500. rmail=''
  501. runnm='true'
  502. scriptdir='g:\Perlinstall\bin'
  503. scriptdirexp='g:\Perlinstall\bin'
  504. sed='sed'
  505. selecttype='Perl_fd_set *'
  506. sendmail='blat'
  507. sh='cmd /x /c'
  508. shar=''
  509. shmattype='void *'
  510. shortsize='2'
  511. shrpenv=''
  512. sig_name_init='"ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0'
  513. 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, 20, 0'
  514. signal_t='void'
  515. sitearch='g:\Perlinstall\site\lib'
  516. sitearchexp='g:\Perlinstall\site\lib'
  517. sitelib='g:\Perlinstall\site\lib'
  518. sitelibexp='g:\Perlinstall\site\lib'
  519. sizetype='size_t'
  520. sleep=''
  521. smail=''
  522. small=''
  523. sockethdr=''
  524. socketlib=''
  525. sort='sort'
  526. spackage='Perl5'
  527. spitshell=''
  528. split=''
  529. src=''
  530. ssizetype='int'
  531. startperl='#!perl'
  532. stdchar='char'
  533. stdio_base='((fp)->_base)'
  534. stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)'
  535. stdio_cnt='((fp)->_cnt)'
  536. stdio_filbuf=''
  537. stdio_ptr='((fp)->_ptr)'
  538. strings='/usr/include/string.h'
  539. submit=''
  540. subversion='03'
  541. sysman='/usr/man/man1'
  542. tail=''
  543. tar=''
  544. tbl=''
  545. tee=''
  546. test=''
  547. timeincl='/usr/include/sys/time.h '
  548. timetype='time_t'
  549. touch='touch'
  550. tr=''
  551. trnl='\012'
  552. troff=''
  553. uidtype='uid_t'
  554. uname='uname'
  555. uniq='uniq'
  556. usedl='define'
  557. usemymalloc='n'
  558. usenm='false'
  559. useopcode='true'
  560. useperlio='undef'
  561. useposix='true'
  562. usesfio='false'
  563. useshrplib='yes'
  564. usethreads='undef'
  565. usevfork='false'
  566. usrinc='/usr/include'
  567. uuname=''
  568. version='5.00503'
  569. vi=''
  570. voidflags='15'
  571. xlibpth='/usr/lib/386 /lib/386'
  572. zcat=''
  573. zip='zip'
  574. !END!
  575. my $summary = <<'!END!';
  576. Summary of my $package ($baserev patchlevel $PATCHLEVEL subversion $SUBVERSION) configuration:
  577. Platform:
  578. osname=$osname, osvers=$osvers, archname=$archname
  579. uname='$myuname'
  580. hint=$hint, useposix=$useposix, d_sigaction=$d_sigaction
  581. usethreads=$usethreads useperlio=$useperlio d_sfio=$d_sfio
  582. Compiler:
  583. cc='$cc', optimize='$optimize', gccversion=$gccversion
  584. cppflags='$cppflags'
  585. ccflags ='$ccflags'
  586. stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork
  587. intsize=$intsize, longsize=$longsize, ptrsize=$ptrsize, doublesize=$doublesize
  588. d_longlong=$d_longlong, longlongsize=$longlongsize, d_longdbl=$d_longdbl, longdblsize=$longdblsize
  589. alignbytes=$alignbytes, usemymalloc=$usemymalloc, prototype=$prototype
  590. Linker and Libraries:
  591. ld='$ld', ldflags ='$ldflags'
  592. libpth=$libpth
  593. libs=$libs
  594. libc=$libc, so=$so, useshrplib=$useshrplib, libperl=$libperl
  595. Dynamic Linking:
  596. dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun, ccdlflags='$ccdlflags'
  597. cccdlflags='$cccdlflags', lddlflags='$lddlflags'
  598. !END!
  599. my $summary_expanded = 0;
  600. sub myconfig {
  601. return $summary if $summary_expanded;
  602. $summary =~ s{\$(\w+)}
  603. { my $c = $Config{$1}; defined($c) ? $c : 'undef' }ge;
  604. $summary_expanded = 1;
  605. $summary;
  606. }
  607. sub FETCH {
  608. # check for cached value (which may be undef so we use exists not defined)
  609. return $_[0]->{$_[1]} if (exists $_[0]->{$_[1]});
  610. # Search for it in the big string
  611. my($value, $start, $marker, $quote_type);
  612. $marker = "$_[1]=";
  613. $quote_type = "'";
  614. # return undef unless (($value) = $config_sh =~ m/^$_[1]='(.*)'\s*$/m);
  615. # Check for the common case, ' delimeted
  616. $start = index($config_sh, "\n$marker$quote_type");
  617. # If that failed, check for " delimited
  618. if ($start == -1) {
  619. $quote_type = '"';
  620. $start = index($config_sh, "\n$marker$quote_type");
  621. }
  622. return undef if ( ($start == -1) && # in case it's first
  623. (substr($config_sh, 0, length($marker)) ne $marker) );
  624. if ($start == -1) {
  625. # It's the very first thing we found. Skip $start forward
  626. # and figure out the quote mark after the =.
  627. $start = length($marker) + 1;
  628. $quote_type = substr($config_sh, $start - 1, 1);
  629. }
  630. else {
  631. $start += length($marker) + 2;
  632. }
  633. $value = substr($config_sh, $start,
  634. index($config_sh, "$quote_type\n", $start) - $start);
  635. # If we had a double-quote, we'd better eval it so escape
  636. # sequences and such can be interpolated. Since the incoming
  637. # value is supposed to follow shell rules and not perl rules,
  638. # we escape any perl variable markers
  639. if ($quote_type eq '"') {
  640. $value =~ s/\$/\\\$/g;
  641. $value =~ s/\@/\\\@/g;
  642. eval "\$value = \"$value\"";
  643. }
  644. #$value = sprintf($value) if $quote_type eq '"';
  645. $value = undef if $value eq 'undef'; # So we can say "if $Config{'foo'}".
  646. $_[0]->{$_[1]} = $value; # cache it
  647. return $value;
  648. }
  649. my $prevpos = 0;
  650. sub FIRSTKEY {
  651. $prevpos = 0;
  652. # my($key) = $config_sh =~ m/^(.*?)=/;
  653. substr($config_sh, 0, index($config_sh, '=') );
  654. # $key;
  655. }
  656. sub NEXTKEY {
  657. # Find out how the current key's quoted so we can skip to its end.
  658. my $quote = substr($config_sh, index($config_sh, "=", $prevpos)+1, 1);
  659. my $pos = index($config_sh, qq($quote\n), $prevpos) + 2;
  660. my $len = index($config_sh, "=", $pos) - $pos;
  661. $prevpos = $pos;
  662. $len > 0 ? substr($config_sh, $pos, $len) : undef;
  663. }
  664. sub EXISTS {
  665. # exists($_[0]->{$_[1]}) or $config_sh =~ m/^$_[1]=/m;
  666. exists($_[0]->{$_[1]}) or
  667. index($config_sh, "\n$_[1]='") != -1 or
  668. substr($config_sh, 0, length($_[1])+2) eq "$_[1]='" or
  669. index($config_sh, "\n$_[1]=\"") != -1 or
  670. substr($config_sh, 0, length($_[1])+2) eq "$_[1]=\"";
  671. }
  672. sub STORE { die "\%Config::Config is read-only\n" }
  673. sub DELETE { &STORE }
  674. sub CLEAR { &STORE }
  675. sub config_sh {
  676. $config_sh
  677. }
  678. sub config_re {
  679. my $re = shift;
  680. my @matches = ($config_sh =~ /^$re=.*\n/mg);
  681. @matches ? (print @matches) : print "$re: not found\n";
  682. }
  683. sub config_vars {
  684. foreach(@_){
  685. config_re($_), next if /\W/;
  686. my $v=(exists $Config{$_}) ? $Config{$_} : 'UNKNOWN';
  687. $v='undef' unless defined $v;
  688. print "$_='$v';\n";
  689. }
  690. }
  691. sub TIEHASH { bless {} }
  692. # avoid Config..Exporter..UNIVERSAL search for DESTROY then AUTOLOAD
  693. sub DESTROY { }
  694. tie %Config, 'Config';
  695. 1;
  696. __END__
  697. =head1 NAME
  698. Config - access Perl configuration information
  699. =head1 SYNOPSIS
  700. use Config;
  701. if ($Config{'cc'} =~ /gcc/) {
  702. print "built by gcc\n";
  703. }
  704. use Config qw(myconfig config_sh config_vars);
  705. print myconfig();
  706. print config_sh();
  707. config_vars(qw(osname archname));
  708. =head1 DESCRIPTION
  709. The Config module contains all the information that was available to
  710. the C<Configure> program at Perl build time (over 900 values).
  711. Shell variables from the F<config.sh> file (written by Configure) are
  712. stored in the readonly-variable C<%Config>, indexed by their names.
  713. Values stored in config.sh as 'undef' are returned as undefined
  714. values. The perl C<exists> function can be used to check if a
  715. named variable exists.
  716. =over 4
  717. =item myconfig()
  718. Returns a textual summary of the major perl configuration values.
  719. See also C<-V> in L<perlrun/Switches>.
  720. =item config_sh()
  721. Returns the entire perl configuration information in the form of the
  722. original config.sh shell variable assignment script.
  723. =item config_vars(@names)
  724. Prints to STDOUT the values of the named configuration variable. Each is
  725. printed on a separate line in the form:
  726. name='value';
  727. Names which are unknown are output as C<name='UNKNOWN';>.
  728. See also C<-V:name> in L<perlrun/Switches>.
  729. =back
  730. =head1 EXAMPLE
  731. Here's a more sophisticated example of using %Config:
  732. use Config;
  733. use strict;
  734. my %sig_num;
  735. my @sig_name;
  736. unless($Config{sig_name} && $Config{sig_num}) {
  737. die "No sigs?";
  738. } else {
  739. my @names = split ' ', $Config{sig_name};
  740. @sig_num{@names} = split ' ', $Config{sig_num};
  741. foreach (@names) {
  742. $sig_name[$sig_num{$_}] ||= $_;
  743. }
  744. }
  745. print "signal #17 = $sig_name[17]\n";
  746. if ($sig_num{ALRM}) {
  747. print "SIGALRM is $sig_num{ALRM}\n";
  748. }
  749. =head1 WARNING
  750. Because this information is not stored within the perl executable
  751. itself it is possible (but unlikely) that the information does not
  752. relate to the actual perl binary which is being used to access it.
  753. The Config module is installed into the architecture and version
  754. specific library directory ($Config{installarchlib}) and it checks the
  755. perl version number when loaded.
  756. The values stored in config.sh may be either single-quoted or
  757. double-quoted. Double-quoted strings are handy for those cases where you
  758. need to include escape sequences in the strings. To avoid runtime variable
  759. interpolation, any C<$> and C<@> characters are replaced by C<\$> and
  760. C<\@>, respectively. This isn't foolproof, of course, so don't embed C<\$>
  761. or C<\@> in double-quoted strings unless you're willing to deal with the
  762. consequences. (The slashes will end up escaped and the C<$> or C<@> will
  763. trigger variable interpolation)
  764. =head1 GLOSSARY
  765. Most C<Config> variables are determined by the C<Configure> script
  766. on platforms supported by it (which is most UNIX platforms). Some
  767. platforms have custom-made C<Config> variables, and may thus not have
  768. some of the variables described below, or may have extraneous variables
  769. specific to that particular port. See the port specific documentation
  770. in such cases.
  771. =head2 M
  772. =over
  773. =item C<Mcc>
  774. From F<Loc.U>:
  775. This variable is used internally by Configure to determine the
  776. full pathname (if any) of the Mcc program. After Configure runs,
  777. the value is reset to a plain C<Mcc> and is not useful.
  778. =back
  779. =head2 _
  780. =over
  781. =item C<_a>
  782. From F<Unix.U>:
  783. This variable defines the extension used for ordinary libraries.
  784. For unix, it is F<.a>. The F<.> is included. Other possible
  785. values include F<.lib>.
  786. =item C<_exe>
  787. From F<Unix.U>:
  788. This variable defines the extension used for executable files.
  789. For unix it is empty. Other possible values include F<.exe>.
  790. =item C<_o>
  791. From F<Unix.U>:
  792. This variable defines the extension used for object files.
  793. For unix, it is F<.o>. The F<.> is included. Other possible
  794. values include F<.obj>.
  795. =back
  796. =head2 a
  797. =over
  798. =item C<afs>
  799. From F<afs.U>:
  800. This variable is set to C<true> if C<AFS> (Andrew File System) is used
  801. on the system, C<false> otherwise. It is possible to override this
  802. with a hint value or command line option, but you'd better know
  803. what you are doing.
  804. =item C<alignbytes>
  805. From F<alignbytes.U>:
  806. This variable holds the number of bytes required to align a
  807. double. Usual values are 2, 4 and 8.
  808. =item C<ansi2knr>
  809. From F<ansi2knr.U>:
  810. This variable is set if the user needs to run ansi2knr.
  811. Currently, this is not supported, so we just abort.
  812. =item C<aphostname>
  813. From F<d_gethname.U>:
  814. Thie variable contains the command which can be used to compute the
  815. host name. The command is fully qualified by its absolute path, to make
  816. it safe when used by a process with super-user privileges.
  817. =item C<apiversion>
  818. From F<patchlevel.U>:
  819. This is a number which identifies the lowest version of perl
  820. to have an C<API> (for C<XS> extensions) compatible with the present
  821. version. For example, for 5.005_01, the apiversion should be
  822. 5.005, since 5.005_01 should be binary compatible with 5.005.
  823. This should probably be incremented manually somehow, perhaps
  824. from F<patchlevel.h>. For now, we'll guess maintenance subversions
  825. will retain binary compatibility.
  826. =item C<ar>
  827. From F<Loc.U>:
  828. This variable is used internally by Configure to determine the
  829. full pathname (if any) of the ar program. After Configure runs,
  830. the value is reset to a plain C<ar> and is not useful.
  831. =item C<archlib>
  832. From F<archlib.U>:
  833. This variable holds the name of the directory in which the user wants
  834. to put architecture-dependent public library files for $package.
  835. It is most often a local directory such as F</usr/local/lib>.
  836. Programs using this variable must be prepared to deal
  837. with filename expansion.
  838. =item C<archlibexp>
  839. From F<archlib.U>:
  840. This variable is the same as the archlib variable, but is
  841. filename expanded at configuration time, for convenient use.
  842. =item C<archname>
  843. From F<archname.U>:
  844. This variable is a short name to characterize the current
  845. architecture. It is used mainly to construct the default archlib.
  846. =item C<archobjs>
  847. From F<Unix.U>:
  848. This variable defines any additional objects that must be linked
  849. in with the program on this architecture. On unix, it is usually
  850. empty. It is typically used to include emulations of unix calls
  851. or other facilities. For perl on F<OS/2>, for example, this would
  852. include F<os2/os2.obj>.
  853. =item C<awk>
  854. From F<Loc.U>:
  855. This variable is used internally by Configure to determine the
  856. full pathname (if any) of the awk program. After Configure runs,
  857. the value is reset to a plain C<awk> and is not useful.
  858. =back
  859. =head2 b
  860. =over
  861. =item C<baserev>
  862. From F<baserev.U>:
  863. The base revision level of this package, from the F<.package> file.
  864. =item C<bash>
  865. From F<Loc.U>:
  866. This variable is defined but not used by Configure.
  867. The value is a plain '' and is not useful.
  868. =item C<bin>
  869. From F<bin.U>:
  870. This variable holds the name of the directory in which the user wants
  871. to put publicly executable images for the package in question. It
  872. is most often a local directory such as F</usr/local/bin>. Programs using
  873. this variable must be prepared to deal with F<~name> substitution.
  874. =item C<binexp>
  875. From F<bin.U>:
  876. This is the same as the bin variable, but is filename expanded at
  877. configuration time, for use in your makefiles.
  878. =item C<bison>
  879. From F<Loc.U>:
  880. This variable is defined but not used by Configure.
  881. The value is a plain '' and is not useful.
  882. =item C<byacc>
  883. From F<Loc.U>:
  884. This variable is used internally by Configure to determine the
  885. full pathname (if any) of the byacc program. After Configure runs,
  886. the value is reset to a plain C<byacc> and is not useful.
  887. =item C<byteorder>
  888. From F<byteorder.U>:
  889. This variable holds the byte order. In the following, larger digits
  890. indicate more significance. The variable byteorder is either 4321
  891. on a big-endian machine, or 1234 on a little-endian, or 87654321
  892. on a Cray ... or 3412 with weird order !
  893. =back
  894. =head2 c
  895. =over
  896. =item C<c>
  897. From F<n.U>:
  898. This variable contains the \c string if that is what causes the echo
  899. command to suppress newline. Otherwise it is null. Correct usage is
  900. $echo $n "prompt for a question: $c".
  901. =item C<castflags>
  902. From F<d_castneg.U>:
  903. This variable contains a flag that precise difficulties the
  904. compiler has casting odd floating values to unsigned long:
  905. 0 = ok
  906. 1 = couldn't cast < 0
  907. 2 = couldn't cast >= 0x80000000
  908. 4 = couldn't cast in argument expression list
  909. =item C<cat>
  910. From F<Loc.U>:
  911. This variable is used internally by Configure to determine the
  912. full pathname (if any) of the cat program. After Configure runs,
  913. the value is reset to a plain C<cat> and is not useful.
  914. =item C<cc>
  915. From F<cc.U>:
  916. This variable holds the name of a command to execute a C compiler which
  917. can resolve multiple global references that happen to have the same
  918. name. Usual values are C<cc>, C<Mcc>, C<cc -M>, and C<gcc>.
  919. =item C<cccdlflags>
  920. From F<dlsrc.U>:
  921. This variable contains any special flags that might need to be
  922. passed with C<cc -c> to compile modules to be used to create a shared
  923. library that will be used for dynamic loading. For hpux, this
  924. should be +z. It is up to the makefile to use it.
  925. =item C<ccdlflags>
  926. From F<dlsrc.U>:
  927. This variable contains any special flags that might need to be
  928. passed to cc to link with a shared library for dynamic loading.
  929. It is up to the makefile to use it. For sunos 4.1, it should
  930. be empty.
  931. =item C<ccflags>
  932. From F<ccflags.U>:
  933. This variable contains any additional C compiler flags desired by
  934. the user. It is up to the Makefile to use this.
  935. =item C<ccsymbols>
  936. From F<Cppsym.U>:
  937. The variable contains the symbols defined by the C compiler alone.
  938. The symbols defined by cpp or by cc when it calls cpp are not in
  939. this list, see cppsymbols and cppccsymbols.
  940. The list is a space-separated list of symbol=value tokens.
  941. =item C<cf_by>
  942. From F<cf_who.U>:
  943. Login name of the person who ran the Configure script and answered the
  944. questions. This is used to tag both F<config.sh> and F<config_h.SH>.
  945. =item C<cf_email>
  946. From F<cf_email.U>:
  947. Electronic mail address of the person who ran Configure. This can be
  948. used by units that require the user's e-mail, like F<MailList.U>.
  949. =item C<cf_time>
  950. From F<cf_who.U>:
  951. Holds the output of the C<date> command when the configuration file was
  952. produced. This is used to tag both F<config.sh> and F<config_h.SH>.
  953. =item C<chgrp>
  954. From F<Loc.U>:
  955. This variable is defined but not used by Configure.
  956. The value is a plain '' and is not useful.
  957. =item C<chmod>
  958. From F<Loc.U>:
  959. This variable is defined but not used by Configure.
  960. The value is a plain '' and is not useful.
  961. =item C<chown>
  962. From F<Loc.U>:
  963. This variable is defined but not used by Configure.
  964. The value is a plain '' and is not useful.
  965. =item C<clocktype>
  966. From F<d_times.U>:
  967. This variable holds the type returned by times(). It can be long,
  968. or clock_t on C<BSD> sites (in which case <sys/types.h> should be
  969. included).
  970. =item C<comm>
  971. From F<Loc.U>:
  972. This variable is used internally by Configure to determine the
  973. full pathname (if any) of the comm program. After Configure runs,
  974. the value is reset to a plain C<comm> and is not useful.
  975. =item C<compress>
  976. From F<Loc.U>:
  977. This variable is defined but not used by Configure.
  978. The value is a plain '' and is not useful.
  979. =item C<contains>
  980. From F<contains.U>:
  981. This variable holds the command to do a grep with a proper return
  982. status. On most sane systems it is simply C<grep>. On insane systems
  983. it is a grep followed by a cat followed by a test. This variable
  984. is primarily for the use of other Configure units.
  985. =item C<cp>
  986. From F<Loc.U>:
  987. This variable is used internally by Configure to determine the
  988. full pathname (if any) of the cp program. After Configure runs,
  989. the value is reset to a plain C<cp> and is not useful.
  990. =item C<cpio>
  991. From F<Loc.U>:
  992. This variable is defined but not used by Configure.
  993. The value is a plain '' and is not useful.
  994. =item C<cpp>
  995. From F<Loc.U>:
  996. This variable is used internally by Configure to determine the
  997. full pathname (if any) of the cpp program. After Configure runs,
  998. the value is reset to a plain C<cpp> and is not useful.
  999. =item C<cpp_stuff>
  1000. From F<cpp_stuff.U>:
  1001. This variable contains an identification of the catenation mechanism
  1002. used by the C preprocessor.
  1003. =item C<cppflags>
  1004. From F<ccflags.U>:
  1005. This variable holds the flags that will be passed to the C pre-
  1006. processor. It is up to the Makefile to use it.
  1007. =item C<cpplast>
  1008. From F<cppstdin.U>:
  1009. This variable has the same functionality as cppminus, only it applies to
  1010. cpprun and not cppstdin.
  1011. =item C<cppminus>
  1012. From F<cppstdin.U>:
  1013. This variable contains the second part of the string which will invoke
  1014. the C preprocessor on the standard input and produce to standard
  1015. output. This variable will have the value C<-> if cppstdin needs a minus
  1016. to specify standard input, otherwise the value is "".
  1017. =item C<cpprun>
  1018. From F<cppstdin.U>:
  1019. This variable contains the command which will invoke a C preprocessor
  1020. on standard input and put the output to stdout. It is guaranteed not
  1021. to be a wrapper and may be a null string if no preprocessor can be
  1022. made directly available. This preprocessor might be different from the
  1023. one used by the C compiler. Don't forget to append cpplast after the
  1024. preprocessor options.
  1025. =item C<cppstdin>
  1026. From F<cppstdin.U>:
  1027. This variable contains the command which will invoke the C
  1028. preprocessor on standard input and put the output to stdout.
  1029. It is primarily used by other Configure units that ask about
  1030. preprocessor symbols.
  1031. =item C<cppsymbols>
  1032. From F<Cppsym.U>:
  1033. The variable contains the symbols defined by the C preprocessor
  1034. alone. The symbols defined by cc or by cc when it calls cpp are
  1035. not in this list, see ccsymbols and cppccsymbols.
  1036. The list is a space-separated list of symbol=value tokens.
  1037. =item C<cppccsymbols>
  1038. From F<Cppsym.U>:
  1039. The variable contains the symbols defined by the C compiler when
  1040. when it calls cpp. The symbols defined by the cc alone or cpp
  1041. alone are not in this list, see ccsymbols and cppsymbols.
  1042. The list is a space-separated list of symbol=value tokens.
  1043. =item C<cryptlib>
  1044. From F<d_crypt.U>:
  1045. This variable holds -lcrypt or the path to a F<libcrypt.a> archive if
  1046. the crypt() function is not defined in the standard C library. It is
  1047. up to the Makefile to use this.
  1048. =item C<csh>
  1049. From F<Loc.U>:
  1050. This variable is used internally by Configure to determine the
  1051. full pathname (if any) of the csh program. After Configure runs,
  1052. the value is reset to a plain C<csh> and is not useful.
  1053. =back
  1054. =head2 d
  1055. =over
  1056. =item C<d_Gconvert>
  1057. From F<d_gconvert.U>:
  1058. This variable holds what Gconvert is defined as to convert
  1059. floating point numbers into strings. It could be C<gconvert>
  1060. or a more C<complex> macro emulating gconvert with gcvt() or sprintf.
  1061. =item C<d_access>
  1062. From F<d_access.U>:
  1063. This variable conditionally defines C<HAS_ACCESS> if the access() system
  1064. call is available to check for access permissions using real IDs.
  1065. =item C<d_alarm>
  1066. From F<d_alarm.U>:
  1067. This variable conditionally defines the C<HAS_ALARM> symbol, which
  1068. indicates to the C program that the alarm() routine is available.
  1069. =item C<d_archlib>
  1070. From F<archlib.U>:
  1071. This variable conditionally defines C<ARCHLIB> to hold the pathname
  1072. of architecture-dependent library files for $package. If
  1073. $archlib is the same as $privlib, then this is set to undef.
  1074. =item C<d_attribut>
  1075. From F<d_attribut.U>:
  1076. This variable conditionally defines C<HASATTRIBUTE>, which
  1077. indicates the C compiler can check for function attributes,
  1078. such as printf formats.
  1079. =item C<d_bcmp>
  1080. From F<d_bcmp.U>:
  1081. This variable conditionally defines the C<HAS_BCMP> symbol if
  1082. the bcmp() routine is available to compare strings.
  1083. =item C<d_bcopy>
  1084. From F<d_bcopy.U>:
  1085. This variable conditionally defines the C<HAS_BCOPY> symbol if
  1086. the bcopy() routine is available to copy strings.
  1087. =item C<d_bsd>
  1088. From F<Guess.U>:
  1089. This symbol conditionally defines the symbol C<BSD> when running on a
  1090. C<BSD> system.
  1091. =item C<d_bsdgetpgrp>
  1092. From F<d_getpgrp.U>:
  1093. This variable conditionally defines C<USE_BSD_GETPGRP> if
  1094. getpgrp needs one arguments whereas C<USG> one needs none.
  1095. =item C<d_bsdsetpgrp>
  1096. From F<d_setpgrp.U>:
  1097. This variable conditionally defines C<USE_BSD_SETPGRP> if
  1098. setpgrp needs two arguments whereas C<USG> one needs none.
  1099. See also d_setpgid for a C<POSIX> interface.
  1100. =item C<d_bzero>
  1101. From F<d_bzero.U>:
  1102. This variable conditionally defines the C<HAS_BZERO> symbol if
  1103. the bzero() routine is available to set memory to 0.
  1104. =item C<d_casti32>
  1105. From F<d_casti32.U>:
  1106. This variable conditionally defines CASTI32, which indicates
  1107. whether the C compiler can cast large floats to 32-bit ints.
  1108. =item C<d_castneg>
  1109. From F<d_castneg.U>:
  1110. This variable conditionally defines C<CASTNEG>, which indicates
  1111. wether the C compiler can cast negative float to unsigned.
  1112. =item C<d_charvspr>
  1113. From F<d_vprintf.U>:
  1114. This variable conditionally defines C<CHARVSPRINTF> if this system
  1115. has vsprintf returning type (char*). The trend seems to be to
  1116. declare it as "int vsprintf()".
  1117. =item C<d_chown>
  1118. From F<d_chown.U>:
  1119. This variable conditionally defines the C<HAS_CHOWN> symbol, which
  1120. indicates to the C program that the chown() routine is available.
  1121. =item C<d_chroot>
  1122. From F<d_chroot.U>:
  1123. This variable conditionally defines the C<HAS_CHROOT> symbol, which
  1124. indicates to the C program that the chroot() routine is available.
  1125. =item C<d_chsize>
  1126. From F<d_chsize.U>:
  1127. This variable conditionally defines the C<CHSIZE> symbol, which
  1128. indicates to the C program that the chsize() routine is available
  1129. to truncate files. You might need a -lx to get this routine.
  1130. =item C<d_closedir>
  1131. From F<d_closedir.U>:
  1132. This variable conditionally defines C<HAS_CLOSEDIR> if closedir() is
  1133. available.
  1134. =item C<d_const>
  1135. From F<d_const.U>:
  1136. This variable conditionally defines the C<HASCONST> symbol, which
  1137. indicates to the C program that this C compiler knows about the
  1138. const type.
  1139. =item C<d_crypt>
  1140. From F<d_crypt.U>:
  1141. This variable conditionally defines the C<CRYPT> symbol, which
  1142. indicates to the C program that the crypt() routine is available
  1143. to encrypt passwords and the like.
  1144. =item C<d_csh>
  1145. From F<d_csh.U>:
  1146. This variable conditionally defines the C<CSH> symbol, which
  1147. indicates to the C program that the C-shell exists.
  1148. =item C<d_cuserid>
  1149. From F<d_cuserid.U>:
  1150. This variable conditionally defines the C<HAS_CUSERID> symbol, which
  1151. indicates to the C program that the cuserid() routine is available
  1152. to get character login names.
  1153. =item C<d_dbl_dig>
  1154. From F<d_dbl_dig.U>:
  1155. This variable conditionally defines d_dbl_dig if this system's
  1156. header files provide C<DBL_DIG>, which is the number of significant
  1157. digits in a double precision number.
  1158. =item C<d_difftime>
  1159. From F<d_difftime.U>:
  1160. This variable conditionally defines the C<HAS_DIFFTIME> symbol, which
  1161. indicates to the C program that the difftime() routine is available.
  1162. =item C<d_dirnamlen>
  1163. From F<i_dirent.U>:
  1164. This variable conditionally defines C<DIRNAMLEN>, which indicates
  1165. to the C program that the length of directory entry names is
  1166. provided by a d_namelen field.
  1167. =item C<d_dlerror>
  1168. From F<d_dlerror.U>:
  1169. This variable conditionally defines the C<HAS_DLERROR> symbol, which
  1170. indicates to the C program that the dlerror() routine is available.
  1171. =item C<d_dlopen>
  1172. From F<d_dlopen.U>:
  1173. This variable conditionally defines the C<HAS_DLOPEN> symbol, which
  1174. indicates to the C program that the dlopen() routine is available.
  1175. =item C<d_dlsymun>
  1176. From F<d_dlsymun.U>:
  1177. This variable conditionally defines C<DLSYM_NEEDS_UNDERSCORE>, which
  1178. indicates that we need to prepend an underscore to the symbol
  1179. name before calling dlsym().
  1180. =item C<d_dosuid>
  1181. From F<d_dosuid.U>:
  1182. This variable conditionally defines the symbol C<DOSUID>, which
  1183. tells the C program that it should insert setuid emulation code
  1184. on hosts which have setuid #! scripts disabled.
  1185. =item C<d_dup2>
  1186. From F<d_dup2.U>:
  1187. This variable conditionally defines HAS_DUP2 if dup2() is
  1188. available to duplicate file descriptors.
  1189. =item C<d_endgrent>
  1190. From F<d_endgrent.U>:
  1191. This variable conditionally defines the C<HAS_ENDGRENT> symbol, which
  1192. indicates to the C program that the endgrent() routine is available
  1193. for sequential access of the group database.
  1194. =item C<d_endhent>
  1195. From F<d_endhent.U>:
  1196. This variable conditionally defines C<HAS_ENDHOSTENT> if endhostent() is
  1197. available to close whatever was being used for host queries.
  1198. =item C<d_endnent>
  1199. From F<d_endnent.U>:
  1200. This variable conditionally defines C<HAS_ENDNETENT> if endnetent() is
  1201. available to close whatever was being used for network queries.
  1202. =item C<d_endpent>
  1203. From F<d_endpent.U>:
  1204. This variable conditionally defines C<HAS_ENDPROTOENT> if endprotoent() is
  1205. available to close whatever was being used for protocol queries.
  1206. =item C<d_endpwent>
  1207. From F<d_endpwent.U>:
  1208. This variable conditionally defines the C<HAS_ENDPWENT> symbol, which
  1209. indicates to the C program that the endpwent() routine is available
  1210. for sequential access of the passwd database.
  1211. =item C<d_endsent>
  1212. From F<d_endsent.U>:
  1213. This variable conditionally defines C<HAS_ENDSERVENT> if endservent() is
  1214. available to close whatever was being used for service queries.
  1215. =item C<d_eofnblk>
  1216. From F<nblock_io.U>:
  1217. This variable conditionally defines C<EOF_NONBLOCK> if C<EOF> can be seen
  1218. when reading from a non-blocking F<I/O> source.
  1219. =item C<d_eunice>
  1220. From F<Guess.U>:
  1221. This variable conditionally defines the symbols C<EUNICE> and C<VAX>, which
  1222. alerts the C program that it must deal with ideosyncracies of C<VMS>.
  1223. =item C<d_fchmod>
  1224. From F<d_fchmod.U>:
  1225. This variable conditionally defines the C<HAS_FCHMOD> symbol, which
  1226. indicates to the C program that the fchmod() routine is available
  1227. to change mode of opened files.
  1228. =item C<d_fchown>
  1229. From F<d_fchown.U>:
  1230. This variable conditionally defines the C<HAS_FCHOWN> symbol, which
  1231. indicates to the C program that the fchown() routine is available
  1232. to change ownership of opened files.
  1233. =item C<d_fcntl>
  1234. From F<d_fcntl.U>:
  1235. This variable conditionally defines the C<HAS_FCNTL> symbol, and indicates
  1236. whether the fcntl() function exists
  1237. =item C<d_fd_macros>
  1238. From F<d_fd_set.U>:
  1239. This variable contains the eventual value of the C<HAS_FD_MACROS> symbol,
  1240. which indicates if your C compiler knows about the macros which
  1241. manipulate an fd_set.
  1242. =item C<d_fd_set>
  1243. From F<d_fd_set.U>:
  1244. This variable contains the eventual value of the C<HAS_FD_SET> symbol,
  1245. which indicates if your C compiler knows about the fd_set typedef.
  1246. =item C<d_fds_bits>
  1247. From F<d_fd_set.U>:
  1248. This variable contains the eventual value of the C<HAS_FDS_BITS> symbol,
  1249. which indicates if your fd_set typedef contains the fds_bits member.
  1250. If you have an fd_set typedef, but the dweebs who installed it did
  1251. a half-fast job and neglected to provide the macros to manipulate
  1252. an fd_set, C<HAS_FDS_BITS> will let us know how to fix the gaffe.
  1253. =item C<d_fgetpos>
  1254. From F<d_fgetpos.U>:
  1255. This variable conditionally defines C<HAS_FGETPOS> if fgetpos() is
  1256. available to get the file position indicator.
  1257. =item C<d_flexfnam>
  1258. From F<d_flexfnam.U>:
  1259. This variable conditionally defines the C<FLEXFILENAMES> symbol, which
  1260. indicates that the system supports filenames longer than 14 characters.
  1261. =item C<d_flock>
  1262. From F<d_flock.U>:
  1263. This variable conditionally defines C<HAS_FLOCK> if flock() is
  1264. available to do file locking.
  1265. =item C<d_fork>
  1266. From F<d_fork.U>:
  1267. This variable conditionally defines the C<HAS_FORK> symbol, which
  1268. indicates to the C program that the fork() routine is available.
  1269. =item C<d_fpathconf>
  1270. From F<d_pathconf.U>:
  1271. This variable conditionally defines the C<HAS_FPATHCONF> symbol, which
  1272. indicates to the C program that the pathconf() routine is available
  1273. to determine file-system related limits and options associated
  1274. with a given open file descriptor.
  1275. =item C<d_fsetpos>
  1276. From F<d_fsetpos.U>:
  1277. This variable conditionally defines C<HAS_FSETPOS> if fsetpos() is
  1278. available to set the file position indicator.
  1279. =item C<d_fstatfs>
  1280. From F<d_statfs.U>:
  1281. This variable conditionally defines the C<HAS_FSTATFS> symbol, which
  1282. indicates to the C program that the fstatfs() routine is available.
  1283. =item C<d_fstatvfs>
  1284. From F<d_statvfs.U>:
  1285. This variable conditionally defines the C<HAS_FSTATVFS> symbol, which
  1286. indicates to the C program that the fstatvfs() routine is available.
  1287. =item C<d_ftime>
  1288. From F<d_ftime.U>:
  1289. This variable conditionally defines the C<HAS_FTIME> symbol, which indicates
  1290. that the ftime() routine exists. The ftime() routine is basically
  1291. a sub-second accuracy clock.
  1292. =item C<d_getgrent>
  1293. From F<d_getgrent.U>:
  1294. This variable conditionally defines the C<HAS_GETGRENT> symbol, which
  1295. indicates to the C program that the getgrent() routine is available
  1296. for sequential access of the group database.
  1297. =item C<d_getgrps>
  1298. From F<d_getgrps.U>:
  1299. This variable conditionally defines the C<HAS_GETGROUPS> symbol, which
  1300. indicates to the C program that the getgroups() routine is available
  1301. to get the list of process groups.
  1302. =item C<d_gethbyaddr>
  1303. From F<d_gethbyad.U>:
  1304. This variable conditionally defines the C<HAS_GETHOSTBYADDR> symbol, which
  1305. indicates to the C program that the gethostbyaddr() routine is available
  1306. to look up hosts by their C<IP> addresses.
  1307. =item C<d_gethbyname>
  1308. From F<d_gethbynm.U>:
  1309. This variable conditionally defines the C<HAS_GETHOSTBYNAME> symbol, which
  1310. indicates to the C program that the gethostbyname() routine is available
  1311. to look up host names in some data base or other.
  1312. =item C<d_gethent>
  1313. From F<d_gethent.U>:
  1314. This variable conditionally defines C<HAS_GETHOSTENT> if gethostent() is
  1315. available to look up host names in some data base or another.
  1316. =item C<d_gethname>
  1317. From F<d_gethname.U>:
  1318. This variable conditionally defines the C<HAS_GETHOSTNAME> symbol, which
  1319. indicates to the C program that the gethostname() routine may be
  1320. used to derive the host name.
  1321. =item C<d_gethostprotos>
  1322. From F<d_gethostprotos.U>:
  1323. This variable conditionally defines the C<HAS_GETHOST_PROTOS> symbol,
  1324. which indicates to the C program that <netdb.h> supplies
  1325. prototypes for the various gethost*() functions.
  1326. See also F<netdbtype.U> for probing for various netdb types.
  1327. =item C<d_getlogin>
  1328. From F<d_getlogin.U>:
  1329. This variable conditionally defines the C<HAS_GETLOGIN> symbol, which
  1330. indicates to the C program that the getlogin() routine is available
  1331. to get the login name.
  1332. =item C<d_getmntent>
  1333. From F<d_getmntent.U>:
  1334. This variable conditionally defines the C<HAS_GETMNTENT> symbol, which
  1335. indicates to the C program that the getmntent() routine is available
  1336. to iterate through mounted files.
  1337. =item C<d_getnbyaddr>
  1338. From F<d_getnbyad.U>:
  1339. This variable conditionally defines the C<HAS_GETNETBYADDR> symbol, which
  1340. indicates to the C program that the getnetbyaddr() routine is available
  1341. to look up networks by their C<IP> addresses.
  1342. =item C<d_getnbyname>
  1343. From F<d_getnbynm.U>:
  1344. This variable conditionally defines the C<HAS_GETNETBYNAME> symbol, which
  1345. indicates to the C program that the getnetbyname() routine is available
  1346. to look up networks by their names.
  1347. =item C<d_getnent>
  1348. From F<d_getnent.U>:
  1349. This variable conditionally defines C<HAS_GETNETENT> if getnetent() is
  1350. available to look up network names in some data base or another.
  1351. =item C<d_getnetprotos>
  1352. From F<d_getnetprotos.U>:
  1353. This variable conditionally defines the C<HAS_GETNET_PROTOS> symbol,
  1354. which indicates to the C program that <netdb.h> supplies
  1355. prototypes for the various getnet*() functions.
  1356. See also F<netdbtype.U> for probing for various netdb types.
  1357. =item C<d_getpbyname>
  1358. From F<d_getprotby.U>:
  1359. This variable conditionally defines the C<HAS_GETPROTOBYNAME>
  1360. symbol, which indicates to the C program that the
  1361. getprotobyname() routine is available to look up protocols
  1362. by their name.
  1363. =item C<d_getpbynumber>
  1364. From F<d_getprotby.U>:
  1365. This variable conditionally defines the C<HAS_GETPROTOBYNUMBER>
  1366. symbol, which indicates to the C program that the
  1367. getprotobynumber() routine is available to look up protocols
  1368. by their number.
  1369. =item C<d_getpent>
  1370. From F<d_getpent.U>:
  1371. This variable conditionally defines C<HAS_GETPROTOENT> if getprotoent() is
  1372. available to look up protocols in some data base or another.
  1373. =item C<d_getpgid>
  1374. From F<d_getpgid.U>:
  1375. This variable conditionally defines the C<HAS_GETPGID> symbol, which
  1376. indicates to the C program that the getpgid(pid) function
  1377. is available to get the process group id.
  1378. =item C<d_getpgrp2>
  1379. From F<d_getpgrp2.U>:
  1380. This variable conditionally defines the HAS_GETPGRP2 symbol, which
  1381. indicates to the C program that the getpgrp2() (as in F<DG/C<UX>>) routine
  1382. is available to get the current process group.
  1383. =item C<d_getpgrp>
  1384. From F<d_getpgrp.U>:
  1385. This variable conditionally defines C<HAS_GETPGRP> if getpgrp() is
  1386. available to get the current process group.
  1387. =item C<d_getppid>
  1388. From F<d_getppid.U>:
  1389. This variable conditionally defines the C<HAS_GETPPID> symbol, which
  1390. indicates to the C program that the getppid() routine is available
  1391. to get the parent process C<ID>.
  1392. =item C<d_getprior>
  1393. From F<d_getprior.U>:
  1394. This variable conditionally defines C<HAS_GETPRIORITY> if getpriority()
  1395. is available to get a process's priority.
  1396. =item C<d_getprotoprotos>
  1397. From F<d_getprotoprotos.U>:
  1398. This variable conditionally defines the C<HAS_GETPROTO_PROTOS> symbol,
  1399. which indicates to the C program that <netdb.h> supplies
  1400. prototypes for the various getproto*() functions.
  1401. See also F<netdbtype.U> for probing for various netdb types.
  1402. =item C<d_getpwent>
  1403. From F<d_getpwent.U>:
  1404. This variable conditionally defines the C<HAS_GETPWENT> symbol, which
  1405. indicates to the C program that the getpwent() routine is available
  1406. for sequential access of the passwd database.
  1407. =item C<d_getsbyname>
  1408. From F<d_getsrvby.U>:
  1409. This variable conditionally defines the C<HAS_GETSERVBYNAME>
  1410. symbol, which indicates to the C program that the
  1411. getservbyname() routine is available to look up services
  1412. by their name.
  1413. =item C<d_getsbyport>
  1414. From F<d_getsrvby.U>:
  1415. This variable conditionally defines the C<HAS_GETSERVBYPORT>
  1416. symbol, which indicates to the C program that the
  1417. getservbyport() routine is available to look up services
  1418. by their port.
  1419. =item C<d_getsent>
  1420. From F<d_getsent.U>:
  1421. This variable conditionally defines C<HAS_GETSERVENT> if getservent() is
  1422. available to look up network services in some data base or another.
  1423. =item C<d_getservprotos>
  1424. From F<d_getservprotos.U>:
  1425. This variable conditionally defines the C<HAS_GETSERV_PROTOS> symbol,
  1426. which indicates to the C program that <netdb.h> supplies
  1427. prototypes for the various getserv*() functions.
  1428. See also F<netdbtype.U> for probing for various netdb types.
  1429. =item C<d_gettimeod>
  1430. From F<d_ftime.U>:
  1431. This variable conditionally defines the C<HAS_GETTIMEOFDAY> symbol, which
  1432. indicates that the gettimeofday() system call exists (to obtain a
  1433. sub-second accuracy clock). You should probably include <sys/resource.h>.
  1434. =item C<d_gnulibc>
  1435. From F<d_gnulibc.U>:
  1436. Defined if we're dealing with the C<GNU> C Library.
  1437. =item C<d_grpasswd>
  1438. From F<i_grp.U>:
  1439. This variable conditionally defines C<GRPASSWD>, which indicates
  1440. that struct group in <grp.h> contains gr_passwd.
  1441. =item C<d_hasmntopt>
  1442. From F<d_hasmntopt.U>:
  1443. This variable conditionally defines the C<HAS_HASMNTOPT> symbol, which
  1444. indicates to the C program that the hasmntopt() routine is available
  1445. to query the mount options of file systems.
  1446. =item C<d_htonl>
  1447. From F<d_htonl.U>:
  1448. This variable conditionally defines C<HAS_HTONL> if htonl() and its
  1449. friends are available to do network order byte swapping.
  1450. =item C<d_index>
  1451. From F<d_strchr.U>:
  1452. This variable conditionally defines C<HAS_INDEX> if index() and
  1453. rindex() are available for string searching.
  1454. =item C<d_inetaton>
  1455. From F<d_inetaton.U>:
  1456. This variable conditionally defines the C<HAS_INET_ATON> symbol, which
  1457. indicates to the C program that the inet_aton() function is available
  1458. to parse C<IP> address C<dotted-quad> strings.
  1459. =item C<d_isascii>
  1460. From F<d_isascii.U>:
  1461. This variable conditionally defines the C<HAS_ISASCII> constant,
  1462. which indicates to the C program that isascii() is available.
  1463. =item C<d_killpg>
  1464. From F<d_killpg.U>:
  1465. This variable conditionally defines the C<HAS_KILLPG> symbol, which
  1466. indicates to the C program that the killpg() routine is available
  1467. to kill process groups.
  1468. =item C<d_lchown>
  1469. From F<d_lchown.U>:
  1470. This variable conditionally defines the C<HAS_LCHOWN> symbol, which
  1471. indicates to the C program that the lchown() routine is available
  1472. to operate on a symbolic link (instead of following the link).
  1473. =item C<d_link>
  1474. From F<d_link.U>:
  1475. This variable conditionally defines C<HAS_LINK> if link() is
  1476. available to create hard links.
  1477. =item C<d_locconv>
  1478. From F<d_locconv.U>:
  1479. This variable conditionally defines C<HAS_LOCALECONV> if localeconv() is
  1480. available for numeric and monetary formatting conventions.
  1481. =item C<d_lockf>
  1482. From F<d_lockf.U>:
  1483. This variable conditionally defines C<HAS_LOCKF> if lockf() is
  1484. available to do file locking.
  1485. =item C<d_longdbl>
  1486. From F<d_longdbl.U>:
  1487. This variable conditionally defines C<HAS_LONG_DOUBLE> if
  1488. the long double type is supported.
  1489. =item C<d_longlong>
  1490. From F<d_longlong.U>:
  1491. This variable conditionally defines C<HAS_LONG_LONG> if
  1492. the long long type is supported.
  1493. =item C<d_lstat>
  1494. From F<d_lstat.U>:
  1495. This variable conditionally defines C<HAS_LSTAT> if lstat() is
  1496. available to do file stats on symbolic links.
  1497. =item C<d_mblen>
  1498. From F<d_mblen.U>:
  1499. This variable conditionally defines the C<HAS_MBLEN> symbol, which
  1500. indicates to the C program that the mblen() routine is available
  1501. to find the number of bytes in a multibye character.
  1502. =item C<d_mbstowcs>
  1503. From F<d_mbstowcs.U>:
  1504. This variable conditionally defines the C<HAS_MBSTOWCS> symbol, which
  1505. indicates to the C program that the mbstowcs() routine is available
  1506. to convert a multibyte string into a wide character string.
  1507. =item C<d_mbtowc>
  1508. From F<d_mbtowc.U>:
  1509. This variable conditionally defines the C<HAS_MBTOWC> symbol, which
  1510. indicates to the C program that the mbtowc() routine is available
  1511. to convert multibyte to a wide character.
  1512. =item C<d_memcmp>
  1513. From F<d_memcmp.U>:
  1514. This variable conditionally defines the C<HAS_MEMCMP> symbol, which
  1515. indicates to the C program that the memcmp() routine is available
  1516. to compare blocks of memory.
  1517. =item C<d_memcpy>
  1518. From F<d_memcpy.U>:
  1519. This variable conditionally defines the C<HAS_MEMCPY> symbol, which
  1520. indicates to the C program that the memcpy() routine is available
  1521. to copy blocks of memory.
  1522. =item C<d_memmove>
  1523. From F<d_memmove.U>:
  1524. This variable conditionally defines the C<HAS_MEMMOVE> symbol, which
  1525. indicates to the C program that the memmove() routine is available
  1526. to copy potentatially overlapping blocks of memory.
  1527. =item C<d_memset>
  1528. From F<d_memset.U>:
  1529. This variable conditionally defines the C<HAS_MEMSET> symbol, which
  1530. indicates to the C program that the memset() routine is available
  1531. to set blocks of memory.
  1532. =item C<d_mkdir>
  1533. From F<d_mkdir.U>:
  1534. This variable conditionally defines the C<HAS_MKDIR> symbol, which
  1535. indicates to the C program that the mkdir() routine is available
  1536. to create F<directories.>.
  1537. =item C<d_mkfifo>
  1538. From F<d_mkfifo.U>:
  1539. This variable conditionally defines the C<HAS_MKFIFO> symbol, which
  1540. indicates to the C program that the mkfifo() routine is available.
  1541. =item C<d_mktime>
  1542. From F<d_mktime.U>:
  1543. This variable conditionally defines the C<HAS_MKTIME> symbol, which
  1544. indicates to the C program that the mktime() routine is available.
  1545. =item C<d_msg>
  1546. From F<d_msg.U>:
  1547. This variable conditionally defines the C<HAS_MSG> symbol, which
  1548. indicates that the entire msg*(2) library is present.
  1549. =item C<d_msgctl>
  1550. From F<d_msgctl.U>:
  1551. This variable conditionally defines the C<HAS_MSGCTL> symbol, which
  1552. indicates to the C program that the msgctl() routine is available.
  1553. =item C<d_msgget>
  1554. From F<d_msgget.U>:
  1555. This variable conditionally defines the C<HAS_MSGGET> symbol, which
  1556. indicates to the C program that the msgget() routine is available.
  1557. =item C<d_msgrcv>
  1558. From F<d_msgrcv.U>:
  1559. This variable conditionally defines the C<HAS_MSGRCV> symbol, which
  1560. indicates to the C program that the msgrcv() routine is available.
  1561. =item C<d_msgsnd>
  1562. From F<d_msgsnd.U>:
  1563. This variable conditionally defines the C<HAS_MSGSND> symbol, which
  1564. indicates to the C program that the msgsnd() routine is available.
  1565. =item C<d_mymalloc>
  1566. From F<mallocsrc.U>:
  1567. This variable conditionally defines C<MYMALLOC> in case other parts
  1568. of the source want to take special action if C<MYMALLOC> is used.
  1569. This may include different sorts of profiling or error detection.
  1570. =item C<d_nice>
  1571. From F<d_nice.U>:
  1572. This variable conditionally defines the C<HAS_NICE> symbol, which
  1573. indicates to the C program that the nice() routine is available.
  1574. =item C<d_oldpthreads>
  1575. From F<usethreads.U>:
  1576. This variable conditionally defines the C<OLD_PTHREADS_API> symbol,
  1577. and indicates that Perl should be built to use the old
  1578. draft C<POSIX> threads C<API>. This is only potneially meaningful if
  1579. usethreads is set.
  1580. =item C<d_oldsock>
  1581. From F<d_socket.U>:
  1582. This variable conditionally defines the C<OLDSOCKET> symbol, which
  1583. indicates that the C<BSD> socket interface is based on 4.1c and not 4.2.
  1584. =item C<d_open3>
  1585. From F<d_open3.U>:
  1586. This variable conditionally defines the HAS_OPEN3 manifest constant,
  1587. which indicates to the C program that the 3 argument version of
  1588. the open(2) function is available.
  1589. =item C<d_pathconf>
  1590. From F<d_pathconf.U>:
  1591. This variable conditionally defines the C<HAS_PATHCONF> symbol, which
  1592. indicates to the C program that the pathconf() routine is available
  1593. to determine file-system related limits and options associated
  1594. with a given filename.
  1595. =item C<d_pause>
  1596. From F<d_pause.U>:
  1597. This variable conditionally defines the C<HAS_PAUSE> symbol, which
  1598. indicates to the C program that the pause() routine is available
  1599. to suspend a process until a signal is received.
  1600. =item C<d_phostname>
  1601. From F<d_gethname.U>:
  1602. This variable conditionally defines the C<PHOSTNAME> symbol, which
  1603. contains the shell command which, when fed to popen(), may be
  1604. used to derive the host name.
  1605. =item C<d_pipe>
  1606. From F<d_pipe.U>:
  1607. This variable conditionally defines the C<HAS_PIPE> symbol, which
  1608. indicates to the C program that the pipe() routine is available
  1609. to create an inter-process channel.
  1610. =item C<d_poll>
  1611. From F<d_poll.U>:
  1612. This variable conditionally defines the C<HAS_POLL> symbol, which
  1613. indicates to the C program that the poll() routine is available
  1614. to poll active file descriptors.
  1615. =item C<d_portable>
  1616. From F<d_portable.U>:
  1617. This variable conditionally defines the C<PORTABLE> symbol, which
  1618. indicates to the C program that it should not assume that it is
  1619. running on the machine it was compiled on.
  1620. =item C<d_pthread_yield>
  1621. From F<d_pthread_y.U>:
  1622. This variable conditionally defines the C<HAS_PTHREAD_YIELD>
  1623. symbol if the pthread_yield routine is available to yield
  1624. the execution of the current thread.
  1625. =item C<d_pthreads_created_joinable>
  1626. From F<d_pthreadj.U>:
  1627. This variable conditionally defines the C<PTHREADS_CREATED_JOINABLE>
  1628. symbol if pthreads are created in the joinable (aka undetached)
  1629. state.
  1630. =item C<d_pwage>
  1631. From F<i_pwd.U>:
  1632. This variable conditionally defines C<PWAGE>, which indicates
  1633. that struct passwd contains pw_age.
  1634. =item C<d_pwchange>
  1635. From F<i_pwd.U>:
  1636. This variable conditionally defines C<PWCHANGE>, which indicates
  1637. that struct passwd contains pw_change.
  1638. =item C<d_pwclass>
  1639. From F<i_pwd.U>:
  1640. This variable conditionally defines C<PWCLASS>, which indicates
  1641. that struct passwd contains pw_class.
  1642. =item C<d_pwcomment>
  1643. From F<i_pwd.U>:
  1644. This variable conditionally defines C<PWCOMMENT>, which indicates
  1645. that struct passwd contains pw_comment.
  1646. =item C<d_pwexpire>
  1647. From F<i_pwd.U>:
  1648. This variable conditionally defines C<PWEXPIRE>, which indicates
  1649. that struct passwd contains pw_expire.
  1650. =item C<d_pwgecos>
  1651. From F<i_pwd.U>:
  1652. This variable conditionally defines C<PWGECOS>, which indicates
  1653. that struct passwd contains pw_gecos.
  1654. =item C<d_pwpasswd>
  1655. From F<i_pwd.U>:
  1656. This variable conditionally defines C<PWPASSWD>, which indicates
  1657. that struct passwd contains pw_passwd.
  1658. =item C<d_pwquota>
  1659. From F<i_pwd.U>:
  1660. This variable conditionally defines C<PWQUOTA>, which indicates
  1661. that struct passwd contains pw_quota.
  1662. =item C<d_readdir>
  1663. From F<d_readdir.U>:
  1664. This variable conditionally defines C<HAS_READDIR> if readdir() is
  1665. available to read directory entries.
  1666. =item C<d_readlink>
  1667. From F<d_readlink.U>:
  1668. This variable conditionally defines the C<HAS_READLINK> symbol, which
  1669. indicates to the C program that the readlink() routine is available
  1670. to read the value of a symbolic link.
  1671. =item C<d_rename>
  1672. From F<d_rename.U>:
  1673. This variable conditionally defines the C<HAS_RENAME> symbol, which
  1674. indicates to the C program that the rename() routine is available
  1675. to rename files.
  1676. =item C<d_rewinddir>
  1677. From F<d_readdir.U>:
  1678. This variable conditionally defines C<HAS_REWINDDIR> if rewinddir() is
  1679. available.
  1680. =item C<d_rmdir>
  1681. From F<d_rmdir.U>:
  1682. This variable conditionally defines C<HAS_RMDIR> if rmdir() is
  1683. available to remove directories.
  1684. =item C<d_safebcpy>
  1685. From F<d_safebcpy.U>:
  1686. This variable conditionally defines the C<HAS_SAFE_BCOPY> symbol if
  1687. the bcopy() routine can do overlapping copies.
  1688. =item C<d_safemcpy>
  1689. From F<d_safemcpy.U>:
  1690. This variable conditionally defines the C<HAS_SAFE_MEMCPY> symbol if
  1691. the memcpy() routine can do overlapping copies.
  1692. =item C<d_sanemcmp>
  1693. From F<d_sanemcmp.U>:
  1694. This variable conditionally defines the C<HAS_SANE_MEMCMP> symbol if
  1695. the memcpy() routine is available and can be used to compare relative
  1696. magnitudes of chars with their high bits set.
  1697. =item C<d_sched_yield>
  1698. From F<d_pthread_y.U>:
  1699. This variable conditionally defines the C<HAS_SCHED_YIELD>
  1700. symbol if the sched_yield routine is available to yield
  1701. the execution of the current thread.
  1702. =item C<d_seekdir>
  1703. From F<d_readdir.U>:
  1704. This variable conditionally defines C<HAS_SEEKDIR> if seekdir() is
  1705. available.
  1706. =item C<d_select>
  1707. From F<d_select.U>:
  1708. This variable conditionally defines C<HAS_SELECT> if select() is
  1709. available to select active file descriptors. A <sys/time.h>
  1710. inclusion may be necessary for the timeout field.
  1711. =item C<d_sem>
  1712. From F<d_sem.U>:
  1713. This variable conditionally defines the C<HAS_SEM> symbol, which
  1714. indicates that the entire sem*(2) library is present.
  1715. =item C<d_semctl>
  1716. From F<d_semctl.U>:
  1717. This variable conditionally defines the C<HAS_SEMCTL> symbol, which
  1718. indicates to the C program that the semctl() routine is available.
  1719. =item C<d_semctl_semid_ds>
  1720. From F<d_union_senum.U>:
  1721. This variable conditionally defines C<USE_SEMCTL_SEMID_DS>, which
  1722. indicates that struct semid_ds * is to be used for semctl C<IPC_STAT>.
  1723. =item C<d_semctl_semun>
  1724. From F<d_union_senum.U>:
  1725. This variable conditionally defines C<USE_SEMCTL_SEMUN>, which
  1726. indicates that union semun is to be used for semctl C<IPC_STAT>.
  1727. =item C<d_semget>
  1728. From F<d_semget.U>:
  1729. This variable conditionally defines the C<HAS_SEMGET> symbol, which
  1730. indicates to the C program that the semget() routine is available.
  1731. =item C<d_semop>
  1732. From F<d_semop.U>:
  1733. This variable conditionally defines the C<HAS_SEMOP> symbol, which
  1734. indicates to the C program that the semop() routine is available.
  1735. =item C<d_setegid>
  1736. From F<d_setegid.U>:
  1737. This variable conditionally defines the C<HAS_SETEGID> symbol, which
  1738. indicates to the C program that the setegid() routine is available
  1739. to change the effective gid of the current program.
  1740. =item C<d_seteuid>
  1741. From F<d_seteuid.U>:
  1742. This variable conditionally defines the C<HAS_SETEUID> symbol, which
  1743. indicates to the C program that the seteuid() routine is available
  1744. to change the effective uid of the current program.
  1745. =item C<d_setgrent>
  1746. From F<d_setgrent.U>:
  1747. This variable conditionally defines the C<HAS_SETGRENT> symbol, which
  1748. indicates to the C program that the setgrent() routine is available
  1749. for initializing sequential access to the group database.
  1750. =item C<d_setgrps>
  1751. From F<d_setgrps.U>:
  1752. This variable conditionally defines the C<HAS_SETGROUPS> symbol, which
  1753. indicates to the C program that the setgroups() routine is available
  1754. to set the list of process groups.
  1755. =item C<d_sethent>
  1756. From F<d_sethent.U>:
  1757. This variable conditionally defines C<HAS_SETHOSTENT> if sethostent() is
  1758. available.
  1759. =item C<d_setlinebuf>
  1760. From F<d_setlnbuf.U>:
  1761. This variable conditionally defines the C<HAS_SETLINEBUF> symbol, which
  1762. indicates to the C program that the setlinebuf() routine is available
  1763. to change stderr or stdout from block-buffered or unbuffered to a
  1764. line-buffered mode.
  1765. =item C<d_setlocale>
  1766. From F<d_setlocale.U>:
  1767. This variable conditionally defines C<HAS_SETLOCALE> if setlocale() is
  1768. available to handle locale-specific ctype implementations.
  1769. =item C<d_setnent>
  1770. From F<d_setnent.U>:
  1771. This variable conditionally defines C<HAS_SETNETENT> if setnetent() is
  1772. available.
  1773. =item C<d_setpent>
  1774. From F<d_setpent.U>:
  1775. This variable conditionally defines C<HAS_SETPROTOENT> if setprotoent() is
  1776. available.
  1777. =item C<d_setpgid>
  1778. From F<d_setpgid.U>:
  1779. This variable conditionally defines the C<HAS_SETPGID> symbol if the
  1780. setpgid(pid, gpid) function is available to set process group C<ID>.
  1781. =item C<d_setpgrp2>
  1782. From F<d_setpgrp2.U>:
  1783. This variable conditionally defines the HAS_SETPGRP2 symbol, which
  1784. indicates to the C program that the setpgrp2() (as in F<DG/C<UX>>) routine
  1785. is available to set the current process group.
  1786. =item C<d_setpgrp>
  1787. From F<d_setpgrp.U>:
  1788. This variable conditionally defines C<HAS_SETPGRP> if setpgrp() is
  1789. available to set the current process group.
  1790. =item C<d_setprior>
  1791. From F<d_setprior.U>:
  1792. This variable conditionally defines C<HAS_SETPRIORITY> if setpriority()
  1793. is available to set a process's priority.
  1794. =item C<d_setpwent>
  1795. From F<d_setpwent.U>:
  1796. This variable conditionally defines the C<HAS_SETPWENT> symbol, which
  1797. indicates to the C program that the setpwent() routine is available
  1798. for initializing sequential access to the passwd database.
  1799. =item C<d_setregid>
  1800. From F<d_setregid.U>:
  1801. This variable conditionally defines C<HAS_SETREGID> if setregid() is
  1802. available to change the real and effective gid of the current
  1803. process.
  1804. =item C<d_setresgid>
  1805. From F<d_setregid.U>:
  1806. This variable conditionally defines C<HAS_SETRESGID> if setresgid() is
  1807. available to change the real, effective and saved gid of the current
  1808. process.
  1809. =item C<d_setresuid>
  1810. From F<d_setreuid.U>:
  1811. This variable conditionally defines C<HAS_SETREUID> if setresuid() is
  1812. available to change the real, effective and saved uid of the current
  1813. process.
  1814. =item C<d_setreuid>
  1815. From F<d_setreuid.U>:
  1816. This variable conditionally defines C<HAS_SETREUID> if setreuid() is
  1817. available to change the real and effective uid of the current
  1818. process.
  1819. =item C<d_setrgid>
  1820. From F<d_setrgid.U>:
  1821. This variable conditionally defines the C<HAS_SETRGID> symbol, which
  1822. indicates to the C program that the setrgid() routine is available
  1823. to change the real gid of the current program.
  1824. =item C<d_setruid>
  1825. From F<d_setruid.U>:
  1826. This variable conditionally defines the C<HAS_SETRUID> symbol, which
  1827. indicates to the C program that the setruid() routine is available
  1828. to change the real uid of the current program.
  1829. =item C<d_setsent>
  1830. From F<d_setsent.U>:
  1831. This variable conditionally defines C<HAS_SETSERVENT> if setservent() is
  1832. available.
  1833. =item C<d_setsid>
  1834. From F<d_setsid.U>:
  1835. This variable conditionally defines C<HAS_SETSID> if setsid() is
  1836. available to set the process group C<ID>.
  1837. =item C<d_setvbuf>
  1838. From F<d_setvbuf.U>:
  1839. This variable conditionally defines the C<HAS_SETVBUF> symbol, which
  1840. indicates to the C program that the setvbuf() routine is available
  1841. to change buffering on an open stdio stream.
  1842. =item C<d_sfio>
  1843. From F<d_sfio.U>:
  1844. This variable conditionally defines the C<USE_SFIO> symbol,
  1845. and indicates whether sfio is available (and should be used).
  1846. =item C<d_shm>
  1847. From F<d_shm.U>:
  1848. This variable conditionally defines the C<HAS_SHM> symbol, which
  1849. indicates that the entire shm*(2) library is present.
  1850. =item C<d_shmat>
  1851. From F<d_shmat.U>:
  1852. This variable conditionally defines the C<HAS_SHMAT> symbol, which
  1853. indicates to the C program that the shmat() routine is available.
  1854. =item C<d_shmatprototype>
  1855. From F<d_shmat.U>:
  1856. This variable conditionally defines the C<HAS_SHMAT_PROTOTYPE>
  1857. symbol, which indicates that F<sys/shm.h> has a prototype for
  1858. shmat.
  1859. =item C<d_shmctl>
  1860. From F<d_shmctl.U>:
  1861. This variable conditionally defines the C<HAS_SHMCTL> symbol, which
  1862. indicates to the C program that the shmctl() routine is available.
  1863. =item C<d_shmdt>
  1864. From F<d_shmdt.U>:
  1865. This variable conditionally defines the C<HAS_SHMDT> symbol, which
  1866. indicates to the C program that the shmdt() routine is available.
  1867. =item C<d_shmget>
  1868. From F<d_shmget.U>:
  1869. This variable conditionally defines the C<HAS_SHMGET> symbol, which
  1870. indicates to the C program that the shmget() routine is available.
  1871. =item C<d_sigaction>
  1872. From F<d_sigaction.U>:
  1873. This variable conditionally defines the C<HAS_SIGACTION> symbol, which
  1874. indicates that the Vr4 sigaction() routine is available.
  1875. =item C<d_sigsetjmp>
  1876. From F<d_sigsetjmp.U>:
  1877. This variable conditionally defines the C<HAS_SIGSETJMP> symbol,
  1878. which indicates that the sigsetjmp() routine is available to
  1879. call setjmp() and optionally save the process's signal mask.
  1880. =item C<d_socket>
  1881. From F<d_socket.U>:
  1882. This variable conditionally defines C<HAS_SOCKET>, which indicates
  1883. that the C<BSD> socket interface is supported.
  1884. =item C<d_sockpair>
  1885. From F<d_socket.U>:
  1886. This variable conditionally defines the C<HAS_SOCKETPAIR> symbol, which
  1887. indicates that the C<BSD> socketpair() is supported.
  1888. =item C<d_statblks>
  1889. From F<d_statblks.U>:
  1890. This variable conditionally defines C<USE_STAT_BLOCKS> if this system
  1891. has a stat structure declaring st_blksize and st_blocks.
  1892. =item C<d_statfsflags>
  1893. From F<d_statfs.U>:
  1894. This variable conditionally defines the C<HAS_STRUCT_STATFS_FLAGS>
  1895. symbol, which indicates to struct statfs from has f_flags member.
  1896. This kind of struct statfs is coming from F<sys/mount.h> (C<BSD>),
  1897. not from F<sys/statfs.h> (C<SYSV>).
  1898. =item C<d_statvfs>
  1899. From F<d_statvfs.U>:
  1900. This variable conditionally defines the C<HAS_STATVFS> symbol, which
  1901. indicates to the C program that the statvfs() routine is available.
  1902. =item C<d_stdio_cnt_lval>
  1903. From F<d_stdstdio.U>:
  1904. This variable conditionally defines C<STDIO_CNT_LVALUE> if the
  1905. C<FILE_cnt> macro can be used as an lvalue.
  1906. =item C<d_stdio_ptr_lval>
  1907. From F<d_stdstdio.U>:
  1908. This variable conditionally defines C<STDIO_PTR_LVALUE> if the
  1909. C<FILE_ptr> macro can be used as an lvalue.
  1910. =item C<d_stdiobase>
  1911. From F<d_stdstdio.U>:
  1912. This variable conditionally defines C<USE_STDIO_BASE> if this system
  1913. has a C<FILE> structure declaring a usable _base field (or equivalent)
  1914. in F<stdio.h>.
  1915. =item C<d_stdstdio>
  1916. From F<d_stdstdio.U>:
  1917. This variable conditionally defines C<USE_STDIO_PTR> if this system
  1918. has a C<FILE> structure declaring usable _ptr and _cnt fields (or
  1919. equivalent) in F<stdio.h>.
  1920. =item C<d_strchr>
  1921. From F<d_strchr.U>:
  1922. This variable conditionally defines C<HAS_STRCHR> if strchr() and
  1923. strrchr() are available for string searching.
  1924. =item C<d_strcoll>
  1925. From F<d_strcoll.U>:
  1926. This variable conditionally defines C<HAS_STRCOLL> if strcoll() is
  1927. available to compare strings using collating information.
  1928. =item C<d_strctcpy>
  1929. From F<d_strctcpy.U>:
  1930. This variable conditionally defines the C<USE_STRUCT_COPY> symbol, which
  1931. indicates to the C program that this C compiler knows how to copy
  1932. structures.
  1933. =item C<d_strerrm>
  1934. From F<d_strerror.U>:
  1935. This variable holds what Strerrr is defined as to translate an error
  1936. code condition into an error message string. It could be C<strerror>
  1937. or a more C<complex> macro emulating strrror with sys_errlist[], or the
  1938. C<unknown> string when both strerror and sys_errlist are missing.
  1939. =item C<d_strerror>
  1940. From F<d_strerror.U>:
  1941. This variable conditionally defines C<HAS_STRERROR> if strerror() is
  1942. available to translate error numbers to strings.
  1943. =item C<d_strtod>
  1944. From F<d_strtod.U>:
  1945. This variable conditionally defines the C<HAS_STRTOD> symbol, which
  1946. indicates to the C program that the strtod() routine is available
  1947. to provide better numeric string conversion than atof().
  1948. =item C<d_strtol>
  1949. From F<d_strtol.U>:
  1950. This variable conditionally defines the C<HAS_STRTOL> symbol, which
  1951. indicates to the C program that the strtol() routine is available
  1952. to provide better numeric string conversion than atoi() and friends.
  1953. =item C<d_strtoul>
  1954. From F<d_strtoul.U>:
  1955. This variable conditionally defines the C<HAS_STRTOUL> symbol, which
  1956. indicates to the C program that the strtoul() routine is available
  1957. to provide conversion of strings to unsigned long.
  1958. =item C<d_strxfrm>
  1959. From F<d_strxfrm.U>:
  1960. This variable conditionally defines C<HAS_STRXFRM> if strxfrm() is
  1961. available to transform strings.
  1962. =item C<d_suidsafe>
  1963. From F<d_dosuid.U>:
  1964. This variable conditionally defines C<SETUID_SCRIPTS_ARE_SECURE_NOW>
  1965. if setuid scripts can be secure. This test looks in F</dev/fd/>.
  1966. =item C<d_symlink>
  1967. From F<d_symlink.U>:
  1968. This variable conditionally defines the C<HAS_SYMLINK> symbol, which
  1969. indicates to the C program that the symlink() routine is available
  1970. to create symbolic links.
  1971. =item C<d_syscall>
  1972. From F<d_syscall.U>:
  1973. This variable conditionally defines C<HAS_SYSCALL> if syscall() is
  1974. available call arbitrary system calls.
  1975. =item C<d_sysconf>
  1976. From F<d_sysconf.U>:
  1977. This variable conditionally defines the C<HAS_SYSCONF> symbol, which
  1978. indicates to the C program that the sysconf() routine is available
  1979. to determine system related limits and options.
  1980. =item C<d_sysernlst>
  1981. From F<d_strerror.U>:
  1982. This variable conditionally defines C<HAS_SYS_ERRNOLIST> if sys_errnolist[]
  1983. is available to translate error numbers to the symbolic name.
  1984. =item C<d_syserrlst>
  1985. From F<d_strerror.U>:
  1986. This variable conditionally defines C<HAS_SYS_ERRLIST> if sys_errlist[] is
  1987. available to translate error numbers to strings.
  1988. =item C<d_system>
  1989. From F<d_system.U>:
  1990. This variable conditionally defines C<HAS_SYSTEM> if system() is
  1991. available to issue a shell command.
  1992. =item C<d_tcgetpgrp>
  1993. From F<d_tcgtpgrp.U>:
  1994. This variable conditionally defines the C<HAS_TCGETPGRP> symbol, which
  1995. indicates to the C program that the tcgetpgrp() routine is available.
  1996. to get foreground process group C<ID>.
  1997. =item C<d_tcsetpgrp>
  1998. From F<d_tcstpgrp.U>:
  1999. This variable conditionally defines the C<HAS_TCSETPGRP> symbol, which
  2000. indicates to the C program that the tcsetpgrp() routine is available
  2001. to set foreground process group C<ID>.
  2002. =item C<d_telldir>
  2003. From F<d_readdir.U>:
  2004. This variable conditionally defines C<HAS_TELLDIR> if telldir() is
  2005. available.
  2006. =item C<d_time>
  2007. From F<d_time.U>:
  2008. This variable conditionally defines the C<HAS_TIME> symbol, which indicates
  2009. that the time() routine exists. The time() routine is normaly
  2010. provided on C<UNIX> systems.
  2011. =item C<d_times>
  2012. From F<d_times.U>:
  2013. This variable conditionally defines the C<HAS_TIMES> symbol, which indicates
  2014. that the times() routine exists. The times() routine is normaly
  2015. provided on C<UNIX> systems. You may have to include <sys/times.h>.
  2016. =item C<d_truncate>
  2017. From F<d_truncate.U>:
  2018. This variable conditionally defines C<HAS_TRUNCATE> if truncate() is
  2019. available to truncate files.
  2020. =item C<d_tzname>
  2021. From F<d_tzname.U>:
  2022. This variable conditionally defines C<HAS_TZNAME> if tzname[] is
  2023. available to access timezone names.
  2024. =item C<d_umask>
  2025. From F<d_umask.U>:
  2026. This variable conditionally defines the C<HAS_UMASK> symbol, which
  2027. indicates to the C program that the umask() routine is available.
  2028. to set and get the value of the file creation mask.
  2029. =item C<d_uname>
  2030. From F<d_gethname.U>:
  2031. This variable conditionally defines the C<HAS_UNAME> symbol, which
  2032. indicates to the C program that the uname() routine may be
  2033. used to derive the host name.
  2034. =item C<d_union_semun>
  2035. From F<d_union_senum.U>:
  2036. This variable conditionally defines C<HAS_UNION_SEMUN> if the
  2037. union semun is defined by including <sys/sem.h>.
  2038. =item C<d_vfork>
  2039. From F<d_vfork.U>:
  2040. This variable conditionally defines the C<HAS_VFORK> symbol, which
  2041. indicates the vfork() routine is available.
  2042. =item C<d_void_closedir>
  2043. From F<d_closedir.U>:
  2044. This variable conditionally defines C<VOID_CLOSEDIR> if closedir()
  2045. does not return a value.
  2046. =item C<d_voidsig>
  2047. From F<d_voidsig.U>:
  2048. This variable conditionally defines C<VOIDSIG> if this system
  2049. declares "void (*signal(...))()" in F<signal.h>. The old way was to
  2050. declare it as "int (*signal(...))()".
  2051. =item C<d_voidtty>
  2052. From F<i_sysioctl.U>:
  2053. This variable conditionally defines C<USE_IOCNOTTY> to indicate that the
  2054. ioctl() call with C<TIOCNOTTY> should be used to void tty association.
  2055. Otherwise (on C<USG> probably), it is enough to close the standard file
  2056. decriptors and do a setpgrp().
  2057. =item C<d_volatile>
  2058. From F<d_volatile.U>:
  2059. This variable conditionally defines the C<HASVOLATILE> symbol, which
  2060. indicates to the C program that this C compiler knows about the
  2061. volatile declaration.
  2062. =item C<d_vprintf>
  2063. From F<d_vprintf.U>:
  2064. This variable conditionally defines the C<HAS_VPRINTF> symbol, which
  2065. indicates to the C program that the vprintf() routine is available
  2066. to printf with a pointer to an argument list.
  2067. =item C<d_wait4>
  2068. From F<d_wait4.U>:
  2069. This variable conditionally defines the HAS_WAIT4 symbol, which
  2070. indicates the wait4() routine is available.
  2071. =item C<d_waitpid>
  2072. From F<d_waitpid.U>:
  2073. This variable conditionally defines C<HAS_WAITPID> if waitpid() is
  2074. available to wait for child process.
  2075. =item C<d_wcstombs>
  2076. From F<d_wcstombs.U>:
  2077. This variable conditionally defines the C<HAS_WCSTOMBS> symbol, which
  2078. indicates to the C program that the wcstombs() routine is available
  2079. to convert wide character strings to multibyte strings.
  2080. =item C<d_wctomb>
  2081. From F<d_wctomb.U>:
  2082. This variable conditionally defines the C<HAS_WCTOMB> symbol, which
  2083. indicates to the C program that the wctomb() routine is available
  2084. to convert a wide character to a multibyte.
  2085. =item C<d_xenix>
  2086. From F<Guess.U>:
  2087. This variable conditionally defines the symbol C<XENIX>, which alerts
  2088. the C program that it runs under Xenix.
  2089. =item C<date>
  2090. From F<Loc.U>:
  2091. This variable is used internally by Configure to determine the
  2092. full pathname (if any) of the date program. After Configure runs,
  2093. the value is reset to a plain C<date> and is not useful.
  2094. =item C<db_hashtype>
  2095. From F<i_db.U>:
  2096. This variable contains the type of the hash structure element
  2097. in the <db.h> header file. In older versions of C<DB>, it was
  2098. int, while in newer ones it is u_int32_t.
  2099. =item C<db_prefixtype>
  2100. From F<i_db.U>:
  2101. This variable contains the type of the prefix structure element
  2102. in the <db.h> header file. In older versions of C<DB>, it was
  2103. int, while in newer ones it is size_t.
  2104. =item C<direntrytype>
  2105. From F<i_dirent.U>:
  2106. This symbol is set to C<struct direct> or C<struct dirent> depending on
  2107. whether dirent is available or not. You should use this pseudo type to
  2108. portably declare your directory entries.
  2109. =item C<dlext>
  2110. From F<dlext.U>:
  2111. This variable contains the extension that is to be used for the
  2112. dynamically loaded modules that perl generaties.
  2113. =item C<dlsrc>
  2114. From F<dlsrc.U>:
  2115. This variable contains the name of the dynamic loading file that
  2116. will be used with the package.
  2117. =item C<doublesize>
  2118. From F<doublesize.U>:
  2119. This variable contains the value of the C<DOUBLESIZE> symbol, which
  2120. indicates to the C program how many bytes there are in a double.
  2121. =item C<dynamic_ext>
  2122. From F<Extensions.U>:
  2123. This variable holds a list of C<XS> extension files we want to
  2124. link dynamically into the package. It is used by Makefile.
  2125. =back
  2126. =head2 e
  2127. =over
  2128. =item C<eagain>
  2129. From F<nblock_io.U>:
  2130. This variable bears the symbolic errno code set by read() when no
  2131. data is present on the file and non-blocking F<I/O> was enabled (otherwise,
  2132. read() blocks naturally).
  2133. =item C<ebcdic>
  2134. From F<ebcdic.U>:
  2135. This variable conditionally defines C<EBCDIC> if this
  2136. system uses C<EBCDIC> encoding. Among other things, this
  2137. means that the character ranges are not contiguous.
  2138. See F<trnl.U>
  2139. =item C<echo>
  2140. From F<Loc.U>:
  2141. This variable is used internally by Configure to determine the
  2142. full pathname (if any) of the echo program. After Configure runs,
  2143. the value is reset to a plain C<echo> and is not useful.
  2144. =item C<egrep>
  2145. From F<Loc.U>:
  2146. This variable is used internally by Configure to determine the
  2147. full pathname (if any) of the egrep program. After Configure runs,
  2148. the value is reset to a plain C<egrep> and is not useful.
  2149. =item C<emacs>
  2150. From F<Loc.U>:
  2151. This variable is defined but not used by Configure.
  2152. The value is a plain '' and is not useful.
  2153. =item C<eunicefix>
  2154. From F<Init.U>:
  2155. When running under Eunice this variable contains a command which will
  2156. convert a shell script to the proper form of text file for it to be
  2157. executable by the shell. On other systems it is a no-op.
  2158. =item C<exe_ext>
  2159. From F<Unix.U>:
  2160. This is an old synonym for _exe.
  2161. =item C<expr>
  2162. From F<Loc.U>:
  2163. This variable is used internally by Configure to determine the
  2164. full pathname (if any) of the expr program. After Configure runs,
  2165. the value is reset to a plain C<expr> and is not useful.
  2166. =item C<extensions>
  2167. From F<Extensions.U>:
  2168. This variable holds a list of all extension files (both C<XS> and
  2169. non-xs linked into the package. It is propagated to F<Config.pm>
  2170. and is typically used to test whether a particular extesion
  2171. is available.
  2172. =back
  2173. =head2 f
  2174. =over
  2175. =item C<find>
  2176. From F<Loc.U>:
  2177. This variable is used internally by Configure to determine the
  2178. full pathname (if any) of the find program. After Configure runs,
  2179. the value is reset to a plain C<find> and is not useful.
  2180. =item C<firstmakefile>
  2181. From F<Unix.U>:
  2182. This variable defines the first file searched by make. On unix,
  2183. it is makefile (then Makefile). On case-insensitive systems,
  2184. it might be something else. This is only used to deal with
  2185. convoluted make depend tricks.
  2186. =item C<flex>
  2187. From F<Loc.U>:
  2188. This variable is defined but not used by Configure.
  2189. The value is a plain '' and is not useful.
  2190. =item C<fpostype>
  2191. From F<fpostype.U>:
  2192. This variable defines Fpos_t to be something like fpost_t, long,
  2193. uint, or whatever type is used to declare file positions in libc.
  2194. =item C<freetype>
  2195. From F<mallocsrc.U>:
  2196. This variable contains the return type of free(). It is usually
  2197. void, but occasionally int.
  2198. =item C<full_ar>
  2199. From F<Loc_ar.U>:
  2200. This variable contains the full pathname to C<ar>, whether or
  2201. not the user has specified C<portability>. This is only used
  2202. in the F<Makefile.SH>.
  2203. =item C<full_csh>
  2204. From F<d_csh.U>:
  2205. This variable contains the full pathname to C<csh>, whether or
  2206. not the user has specified C<portability>. This is only used
  2207. in the compiled C program, and we assume that all systems which
  2208. can share this executable will have the same full pathname to
  2209. F<csh.>
  2210. =item C<full_sed>
  2211. From F<Loc_sed.U>:
  2212. This variable contains the full pathname to C<sed>, whether or
  2213. not the user has specified C<portability>. This is only used
  2214. in the compiled C program, and we assume that all systems which
  2215. can share this executable will have the same full pathname to
  2216. F<sed.>
  2217. =back
  2218. =head2 g
  2219. =over
  2220. =item C<gccversion>
  2221. From F<cc.U>:
  2222. If C<GNU> cc (gcc) is used, this variable holds C<1> or C<2> to
  2223. indicate whether the compiler is version 1 or 2. This is used in
  2224. setting some of the default cflags. It is set to '' if not gcc.
  2225. =item C<gidtype>
  2226. From F<gidtype.U>:
  2227. This variable defines Gid_t to be something like gid_t, int,
  2228. ushort, or whatever type is used to declare the return type
  2229. of getgid(). Typically, it is the type of group ids in the kernel.
  2230. =item C<grep>
  2231. From F<Loc.U>:
  2232. This variable is used internally by Configure to determine the
  2233. full pathname (if any) of the grep program. After Configure runs,
  2234. the value is reset to a plain C<grep> and is not useful.
  2235. =item C<groupcat>
  2236. From F<nis.U>:
  2237. This variable contains a command that produces the text of the
  2238. F</etc/group> file. This is normally "cat F</etc/group>", but can be
  2239. "ypcat group" when C<NIS> is used.
  2240. =item C<groupstype>
  2241. From F<groupstype.U>:
  2242. This variable defines Groups_t to be something like gid_t, int,
  2243. ushort, or whatever type is used for the second argument to
  2244. getgroups() and setgroups(). Usually, this is the same as
  2245. gidtype (gid_t), but sometimes it isn't.
  2246. =item C<gzip>
  2247. From F<Loc.U>:
  2248. This variable is used internally by Configure to determine the
  2249. full pathname (if any) of the gzip program. After Configure runs,
  2250. the value is reset to a plain C<gzip> and is not useful.
  2251. =back
  2252. =head2 h
  2253. =over
  2254. =item C<h_fcntl>
  2255. From F<h_fcntl.U>:
  2256. This is variable gets set in various places to tell i_fcntl that
  2257. <fcntl.h> should be included.
  2258. =item C<h_sysfile>
  2259. From F<h_sysfile.U>:
  2260. This is variable gets set in various places to tell i_sys_file that
  2261. <sys/file.h> should be included.
  2262. =item C<hint>
  2263. From F<Oldconfig.U>:
  2264. Gives the type of hints used for previous answers. May be one of
  2265. C<default>, C<recommended> or C<previous>.
  2266. =item C<hostcat>
  2267. From F<nis.U>:
  2268. This variable contains a command that produces the text of the
  2269. F</etc/hosts> file. This is normally "cat F</etc/hosts>", but can be
  2270. "ypcat hosts" when C<NIS> is used.
  2271. =item C<huge>
  2272. From F<models.U>:
  2273. This variable contains a flag which will tell the C compiler and loader
  2274. to produce a program running with a huge memory model. If the
  2275. huge model is not supported, contains the flag to produce large
  2276. model programs. It is up to the Makefile to use this.
  2277. =back
  2278. =head2 i
  2279. =over
  2280. =item C<i_arpainet>
  2281. From F<i_arpainet.U>:
  2282. This variable conditionally defines the C<I_ARPA_INET> symbol,
  2283. and indicates whether a C program should include <arpa/inet.h>.
  2284. =item C<i_bsdioctl>
  2285. From F<i_sysioctl.U>:
  2286. This variable conditionally defines the C<I_SYS_BSDIOCTL> symbol, which
  2287. indicates to the C program that <sys/bsdioctl.h> exists and should
  2288. be included.
  2289. =item C<i_db>
  2290. From F<i_db.U>:
  2291. This variable conditionally defines the C<I_DB> symbol, and indicates
  2292. whether a C program may include Berkeley's C<DB> include file <db.h>.
  2293. =item C<i_dbm>
  2294. From F<i_dbm.U>:
  2295. This variable conditionally defines the C<I_DBM> symbol, which
  2296. indicates to the C program that <dbm.h> exists and should
  2297. be included.
  2298. =item C<i_dirent>
  2299. From F<i_dirent.U>:
  2300. This variable conditionally defines C<I_DIRENT>, which indicates
  2301. to the C program that it should include <dirent.h>.
  2302. =item C<i_dld>
  2303. From F<i_dld.U>:
  2304. This variable conditionally defines the C<I_DLD> symbol, which
  2305. indicates to the C program that <dld.h> (C<GNU> dynamic loading)
  2306. exists and should be included.
  2307. =item C<i_dlfcn>
  2308. From F<i_dlfcn.U>:
  2309. This variable conditionally defines the C<I_DLFCN> symbol, which
  2310. indicates to the C program that <dlfcn.h> exists and should
  2311. be included.
  2312. =item C<i_fcntl>
  2313. From F<i_fcntl.U>:
  2314. This variable controls the value of C<I_FCNTL> (which tells
  2315. the C program to include <fcntl.h>).
  2316. =item C<i_float>
  2317. From F<i_float.U>:
  2318. This variable conditionally defines the C<I_FLOAT> symbol, and indicates
  2319. whether a C program may include <float.h> to get symbols like C<DBL_MAX>
  2320. or C<DBL_MIN>, F<i.e>. machine dependent floating point values.
  2321. =item C<i_gdbm>
  2322. From F<i_gdbm.U>:
  2323. This variable conditionally defines the C<I_GDBM> symbol, which
  2324. indicates to the C program that <gdbm.h> exists and should
  2325. be included.
  2326. =item C<i_grp>
  2327. From F<i_grp.U>:
  2328. This variable conditionally defines the C<I_GRP> symbol, and indicates
  2329. whether a C program should include <grp.h>.
  2330. =item C<i_limits>
  2331. From F<i_limits.U>:
  2332. This variable conditionally defines the C<I_LIMITS> symbol, and indicates
  2333. whether a C program may include <limits.h> to get symbols like C<WORD_BIT>
  2334. and friends.
  2335. =item C<i_locale>
  2336. From F<i_locale.U>:
  2337. This variable conditionally defines the C<I_LOCALE> symbol,
  2338. and indicates whether a C program should include <locale.h>.
  2339. =item C<i_machcthr>
  2340. From F<i_machcthr.U>:
  2341. This variable conditionally defines the C<I_MACH_CTHREADS> symbol,
  2342. and indicates whether a C program should include <mach/cthreads.h>.
  2343. =item C<i_malloc>
  2344. From F<i_malloc.U>:
  2345. This variable conditionally defines the C<I_MALLOC> symbol, and indicates
  2346. whether a C program should include <malloc.h>.
  2347. =item C<i_math>
  2348. From F<i_math.U>:
  2349. This variable conditionally defines the C<I_MATH> symbol, and indicates
  2350. whether a C program may include <math.h>.
  2351. =item C<i_memory>
  2352. From F<i_memory.U>:
  2353. This variable conditionally defines the C<I_MEMORY> symbol, and indicates
  2354. whether a C program should include <memory.h>.
  2355. =item C<i_mntent>
  2356. From F<i_mntent.U>:
  2357. This variable conditionally defines the C<I_MNTENT> symbol, and indicates
  2358. whether a C program should include <mntent.h>.
  2359. =item C<i_ndbm>
  2360. From F<i_ndbm.U>:
  2361. This variable conditionally defines the C<I_NDBM> symbol, which
  2362. indicates to the C program that <ndbm.h> exists and should
  2363. be included.
  2364. =item C<i_netdb>
  2365. From F<i_netdb.U>:
  2366. This variable conditionally defines the C<I_NETDB> symbol, and indicates
  2367. whether a C program should include <netdb.h>.
  2368. =item C<i_neterrno>
  2369. From F<i_neterrno.U>:
  2370. This variable conditionally defines the C<I_NET_ERRNO> symbol, which
  2371. indicates to the C program that <net/errno.h> exists and should
  2372. be included.
  2373. =item C<i_niin>
  2374. From F<i_niin.U>:
  2375. This variable conditionally defines C<I_NETINET_IN>, which indicates
  2376. to the C program that it should include <netinet/in.h>. Otherwise,
  2377. you may try <sys/in.h>.
  2378. =item C<i_pwd>
  2379. From F<i_pwd.U>:
  2380. This variable conditionally defines C<I_PWD>, which indicates
  2381. to the C program that it should include <pwd.h>.
  2382. =item C<i_rpcsvcdbm>
  2383. From F<i_dbm.U>:
  2384. This variable conditionally defines the C<I_RPCSVC_DBM> symbol, which
  2385. indicates to the C program that <rpcsvc/dbm.h> exists and should
  2386. be included. Some System V systems might need this instead of <dbm.h>.
  2387. =item C<i_sfio>
  2388. From F<i_sfio.U>:
  2389. This variable conditionally defines the C<I_SFIO> symbol,
  2390. and indicates whether a C program should include <sfio.h>.
  2391. =item C<i_sgtty>
  2392. From F<i_termio.U>:
  2393. This variable conditionally defines the C<I_SGTTY> symbol, which
  2394. indicates to the C program that it should include <sgtty.h> rather
  2395. than <termio.h>.
  2396. =item C<i_stdarg>
  2397. From F<i_varhdr.U>:
  2398. This variable conditionally defines the C<I_STDARG> symbol, which
  2399. indicates to the C program that <stdarg.h> exists and should
  2400. be included.
  2401. =item C<i_stddef>
  2402. From F<i_stddef.U>:
  2403. This variable conditionally defines the C<I_STDDEF> symbol, which
  2404. indicates to the C program that <stddef.h> exists and should
  2405. be included.
  2406. =item C<i_stdlib>
  2407. From F<i_stdlib.U>:
  2408. This variable conditionally defines the C<I_STDLIB> symbol, which
  2409. indicates to the C program that <stdlib.h> exists and should
  2410. be included.
  2411. =item C<i_string>
  2412. From F<i_string.U>:
  2413. This variable conditionally defines the C<I_STRING> symbol, which
  2414. indicates that <string.h> should be included rather than <strings.h>.
  2415. =item C<i_sysdir>
  2416. From F<i_sysdir.U>:
  2417. This variable conditionally defines the C<I_SYS_DIR> symbol, and indicates
  2418. whether a C program should include <sys/dir.h>.
  2419. =item C<i_sysfile>
  2420. From F<i_sysfile.U>:
  2421. This variable conditionally defines the C<I_SYS_FILE> symbol, and indicates
  2422. whether a C program should include <sys/file.h> to get C<R_OK> and friends.
  2423. =item C<i_sysfilio>
  2424. From F<i_sysioctl.U>:
  2425. This variable conditionally defines the C<I_SYS_FILIO> symbol, which
  2426. indicates to the C program that <sys/filio.h> exists and should
  2427. be included in preference to <sys/ioctl.h>.
  2428. =item C<i_sysin>
  2429. From F<i_niin.U>:
  2430. This variable conditionally defines C<I_SYS_IN>, which indicates
  2431. to the C program that it should include <sys/in.h> instead of
  2432. <netinet/in.h>.
  2433. =item C<i_sysioctl>
  2434. From F<i_sysioctl.U>:
  2435. This variable conditionally defines the C<I_SYS_IOCTL> symbol, which
  2436. indicates to the C program that <sys/ioctl.h> exists and should
  2437. be included.
  2438. =item C<i_sysmount>
  2439. From F<i_sysmount.U>:
  2440. This variable conditionally defines the C<I_SYSMOUNT> symbol,
  2441. and indicates whether a C program should include <sys/mount.h>.
  2442. =item C<i_sysndir>
  2443. From F<i_sysndir.U>:
  2444. This variable conditionally defines the C<I_SYS_NDIR> symbol, and indicates
  2445. whether a C program should include <sys/ndir.h>.
  2446. =item C<i_sysparam>
  2447. From F<i_sysparam.U>:
  2448. This variable conditionally defines the C<I_SYS_PARAM> symbol, and indicates
  2449. whether a C program should include <sys/param.h>.
  2450. =item C<i_sysresrc>
  2451. From F<i_sysresrc.U>:
  2452. This variable conditionally defines the C<I_SYS_RESOURCE> symbol,
  2453. and indicates whether a C program should include <sys/resource.h>.
  2454. =item C<i_sysselct>
  2455. From F<i_sysselct.U>:
  2456. This variable conditionally defines C<I_SYS_SELECT>, which indicates
  2457. to the C program that it should include <sys/select.h> in order to
  2458. get the definition of struct timeval.
  2459. =item C<i_syssockio>
  2460. From F<i_sysioctl.U>:
  2461. This variable conditionally defines C<I_SYS_SOCKIO> to indicate to the
  2462. C program that socket ioctl codes may be found in <sys/sockio.h>
  2463. instead of <sys/ioctl.h>.
  2464. =item C<i_sysstat>
  2465. From F<i_sysstat.U>:
  2466. This variable conditionally defines the C<I_SYS_STAT> symbol,
  2467. and indicates whether a C program should include <sys/stat.h>.
  2468. =item C<i_sysstatfs>
  2469. From F<i_sysstatfs.U>:
  2470. This variable conditionally defines the C<I_SYSSTATFS> symbol,
  2471. and indicates whether a C program should include <sys/statfs.h>.
  2472. =item C<i_sysstatvfs>
  2473. From F<i_sysstatvfs.U>:
  2474. This variable conditionally defines the C<I_SYSSTATVFS> symbol,
  2475. and indicates whether a C program should include <sys/statvfs.h>.
  2476. =item C<i_systime>
  2477. From F<i_time.U>:
  2478. This variable conditionally defines C<I_SYS_TIME>, which indicates
  2479. to the C program that it should include <sys/time.h>.
  2480. =item C<i_systimek>
  2481. From F<i_time.U>:
  2482. This variable conditionally defines C<I_SYS_TIME_KERNEL>, which
  2483. indicates to the C program that it should include <sys/time.h>
  2484. with C<KERNEL> defined.
  2485. =item C<i_systimes>
  2486. From F<i_systimes.U>:
  2487. This variable conditionally defines the C<I_SYS_TIMES> symbol, and indicates
  2488. whether a C program should include <sys/times.h>.
  2489. =item C<i_systypes>
  2490. From F<i_systypes.U>:
  2491. This variable conditionally defines the C<I_SYS_TYPES> symbol,
  2492. and indicates whether a C program should include <sys/types.h>.
  2493. =item C<i_sysun>
  2494. From F<i_sysun.U>:
  2495. This variable conditionally defines C<I_SYS_UN>, which indicates
  2496. to the C program that it should include <sys/un.h> to get C<UNIX>
  2497. domain socket definitions.
  2498. =item C<i_syswait>
  2499. From F<i_syswait.U>:
  2500. This variable conditionally defines C<I_SYS_WAIT>, which indicates
  2501. to the C program that it should include <sys/wait.h>.
  2502. =item C<i_termio>
  2503. From F<i_termio.U>:
  2504. This variable conditionally defines the C<I_TERMIO> symbol, which
  2505. indicates to the C program that it should include <termio.h> rather
  2506. than <sgtty.h>.
  2507. =item C<i_termios>
  2508. From F<i_termio.U>:
  2509. This variable conditionally defines the C<I_TERMIOS> symbol, which
  2510. indicates to the C program that the C<POSIX> <termios.h> file is
  2511. to be included.
  2512. =item C<i_time>
  2513. From F<i_time.U>:
  2514. This variable conditionally defines C<I_TIME>, which indicates
  2515. to the C program that it should include <time.h>.
  2516. =item C<i_unistd>
  2517. From F<i_unistd.U>:
  2518. This variable conditionally defines the C<I_UNISTD> symbol, and indicates
  2519. whether a C program should include <unistd.h>.
  2520. =item C<i_utime>
  2521. From F<i_utime.U>:
  2522. This variable conditionally defines the C<I_UTIME> symbol, and indicates
  2523. whether a C program should include <utime.h>.
  2524. =item C<i_values>
  2525. From F<i_values.U>:
  2526. This variable conditionally defines the C<I_VALUES> symbol, and indicates
  2527. whether a C program may include <values.h> to get symbols like C<MAXLONG>
  2528. and friends.
  2529. =item C<i_varargs>
  2530. From F<i_varhdr.U>:
  2531. This variable conditionally defines C<I_VARARGS>, which indicates
  2532. to the C program that it should include <varargs.h>.
  2533. =item C<i_varhdr>
  2534. From F<i_varhdr.U>:
  2535. Contains the name of the header to be included to get va_dcl definition.
  2536. Typically one of F<varargs.h> or F<stdarg.h>.
  2537. =item C<i_vfork>
  2538. From F<i_vfork.U>:
  2539. This variable conditionally defines the C<I_VFORK> symbol, and indicates
  2540. whether a C program should include F<vfork.h>.
  2541. =item C<ignore_versioned_solibs>
  2542. From F<libs.U>:
  2543. This variable should be non-empty if non-versioned shared
  2544. libraries (F<libfoo.so.x.y>) are to be ignored (because they
  2545. cannot be linked against).
  2546. =item C<incpath>
  2547. From F<usrinc.U>:
  2548. This variable must preceed the normal include path to get hte
  2549. right one, as in F<$F<incpath/usr/include>> or F<$F<incpath/usr/lib>>.
  2550. Value can be "" or F</bsd43> on mips.
  2551. =item C<inews>
  2552. From F<Loc.U>:
  2553. This variable is defined but not used by Configure.
  2554. The value is a plain '' and is not useful.
  2555. =item C<installarchlib>
  2556. From F<archlib.U>:
  2557. This variable is really the same as archlibexp but may differ on
  2558. those systems using C<AFS>. For extra portability, only this variable
  2559. should be used in makefiles.
  2560. =item C<installbin>
  2561. From F<bin.U>:
  2562. This variable is the same as binexp unless C<AFS> is running in which case
  2563. the user is explicitely prompted for it. This variable should always
  2564. be used in your makefiles for maximum portability.
  2565. =item C<installman1dir>
  2566. From F<man1dir.U>:
  2567. This variable is really the same as man1direxp, unless you are using
  2568. C<AFS> in which case it points to the F<read/write> location whereas
  2569. man1direxp only points to the read-only access location. For extra
  2570. portability, you should only use this variable within your makefiles.
  2571. =item C<installman3dir>
  2572. From F<man3dir.U>:
  2573. This variable is really the same as man3direxp, unless you are using
  2574. C<AFS> in which case it points to the F<read/write> location whereas
  2575. man3direxp only points to the read-only access location. For extra
  2576. portability, you should only use this variable within your makefiles.
  2577. =item C<installprivlib>
  2578. From F<privlib.U>:
  2579. This variable is really the same as privlibexp but may differ on
  2580. those systems using C<AFS>. For extra portability, only this variable
  2581. should be used in makefiles.
  2582. =item C<installscript>
  2583. From F<scriptdir.U>:
  2584. This variable is usually the same as scriptdirexp, unless you are on
  2585. a system running C<AFS>, in which case they may differ slightly. You
  2586. should always use this variable within your makefiles for portability.
  2587. =item C<installsitearch>
  2588. From F<sitearch.U>:
  2589. This variable is really the same as sitearchexp but may differ on
  2590. those systems using C<AFS>. For extra portability, only this variable
  2591. should be used in makefiles.
  2592. =item C<installsitelib>
  2593. From F<sitelib.U>:
  2594. This variable is really the same as sitelibexp but may differ on
  2595. those systems using C<AFS>. For extra portability, only this variable
  2596. should be used in makefiles.
  2597. =item C<installusrbinperl>
  2598. From F<instubperl.U>:
  2599. This variable tells whether Perl should be installed also as
  2600. F</usr/bin/perl> in addition to
  2601. $F<installbin/perl>
  2602. =item C<intsize>
  2603. From F<intsize.U>:
  2604. This variable contains the value of the C<INTSIZE> symbol, which
  2605. indicates to the C program how many bytes there are in an int.
  2606. =back
  2607. =head2 k
  2608. =over
  2609. =item C<known_extensions>
  2610. From F<Extensions.U>:
  2611. This variable holds a list of all C<XS> extensions included in
  2612. the package.
  2613. =item C<ksh>
  2614. From F<Loc.U>:
  2615. This variable is defined but not used by Configure.
  2616. The value is a plain '' and is not useful.
  2617. =back
  2618. =head2 l
  2619. =over
  2620. =item C<large>
  2621. From F<models.U>:
  2622. This variable contains a flag which will tell the C compiler and loader
  2623. to produce a program running with a large memory model. It is up to
  2624. the Makefile to use this.
  2625. =item C<ld>
  2626. From F<dlsrc.U>:
  2627. This variable indicates the program to be used to link
  2628. libraries for dynamic loading. On some systems, it is C<ld>.
  2629. On C<ELF> systems, it should be $cc. Mostly, we'll try to respect
  2630. the hint file setting.
  2631. =item C<lddlflags>
  2632. From F<dlsrc.U>:
  2633. This variable contains any special flags that might need to be
  2634. passed to $ld to create a shared library suitable for dynamic
  2635. loading. It is up to the makefile to use it. For hpux, it
  2636. should be C<-b>. For sunos 4.1, it is empty.
  2637. =item C<ldflags>
  2638. From F<ccflags.U>:
  2639. This variable contains any additional C loader flags desired by
  2640. the user. It is up to the Makefile to use this.
  2641. =item C<less>
  2642. From F<Loc.U>:
  2643. This variable is used internally by Configure to determine the
  2644. full pathname (if any) of the less program. After Configure runs,
  2645. the value is reset to a plain C<less> and is not useful.
  2646. =item C<lib_ext>
  2647. From F<Unix.U>:
  2648. This is an old synonym for _a.
  2649. =item C<libc>
  2650. From F<libc.U>:
  2651. This variable contains the location of the C library.
  2652. =item C<libperl>
  2653. From F<libperl.U>:
  2654. The perl executable is obtained by linking F<perlmain.c> with
  2655. libperl, any static extensions (usually just DynaLoader),
  2656. and any other libraries needed on this system. libperl
  2657. is usually F<libperl.a>, but can also be F<libperl.so.xxx> if
  2658. the user wishes to build a perl executable with a shared
  2659. library.
  2660. =item C<libpth>
  2661. From F<libpth.U>:
  2662. This variable holds the general path used to find libraries. It is
  2663. intended to be used by other units.
  2664. =item C<libs>
  2665. From F<libs.U>:
  2666. This variable holds the additional libraries we want to use.
  2667. It is up to the Makefile to deal with it.
  2668. =item C<libswanted>
  2669. From F<Myinit.U>:
  2670. This variable holds a list of all the libraries we want to
  2671. search. The order is chosen to pick up the c library
  2672. ahead of ucb or bsd libraries for SVR4.
  2673. =item C<line>
  2674. From F<Loc.U>:
  2675. This variable is used internally by Configure to determine the
  2676. full pathname (if any) of the line program. After Configure runs,
  2677. the value is reset to a plain C<line> and is not useful.
  2678. =item C<lint>
  2679. From F<Loc.U>:
  2680. This variable is defined but not used by Configure.
  2681. The value is a plain '' and is not useful.
  2682. =item C<lkflags>
  2683. From F<ccflags.U>:
  2684. This variable contains any additional C partial linker flags desired by
  2685. the user. It is up to the Makefile to use this.
  2686. =item C<ln>
  2687. From F<Loc.U>:
  2688. This variable is used internally by Configure to determine the
  2689. full pathname (if any) of the ln program. After Configure runs,
  2690. the value is reset to a plain C<ln> and is not useful.
  2691. =item C<lns>
  2692. From F<lns.U>:
  2693. This variable holds the name of the command to make
  2694. symbolic links (if they are supported). It can be used
  2695. in the Makefile. It is either C<ln -s> or C<ln>
  2696. =item C<locincpth>
  2697. From F<ccflags.U>:
  2698. This variable contains a list of additional directories to be
  2699. searched by the compiler. The appropriate C<-I> directives will
  2700. be added to ccflags. This is intended to simplify setting
  2701. local directories from the Configure command line.
  2702. It's not much, but it parallels the loclibpth stuff in F<libpth.U>.
  2703. =item C<loclibpth>
  2704. From F<libpth.U>:
  2705. This variable holds the paths used to find local libraries. It is
  2706. prepended to libpth, and is intended to be easily set from the
  2707. command line.
  2708. =item C<longdblsize>
  2709. From F<d_longdbl.U>:
  2710. This variable contains the value of the C<LONG_DOUBLESIZE> symbol, which
  2711. indicates to the C program how many bytes there are in a long double,
  2712. if this system supports long doubles.
  2713. =item C<longlongsize>
  2714. From F<d_longlong.U>:
  2715. This variable contains the value of the C<LONGLONGSIZE> symbol, which
  2716. indicates to the C program how many bytes there are in a long long,
  2717. if this system supports long long.
  2718. =item C<longsize>
  2719. From F<intsize.U>:
  2720. This variable contains the value of the C<LONGSIZE> symbol, which
  2721. indicates to the C program how many bytes there are in a long.
  2722. =item C<lp>
  2723. From F<Loc.U>:
  2724. This variable is defined but not used by Configure.
  2725. The value is a plain '' and is not useful.
  2726. =item C<lpr>
  2727. From F<Loc.U>:
  2728. This variable is defined but not used by Configure.
  2729. The value is a plain '' and is not useful.
  2730. =item C<ls>
  2731. From F<Loc.U>:
  2732. This variable is used internally by Configure to determine the
  2733. full pathname (if any) of the ls program. After Configure runs,
  2734. the value is reset to a plain C<ls> and is not useful.
  2735. =item C<lseektype>
  2736. From F<lseektype.U>:
  2737. This variable defines lseektype to be something like off_t, long,
  2738. or whatever type is used to declare lseek offset's type in the
  2739. kernel (which also appears to be lseek's return type).
  2740. =back
  2741. =head2 m
  2742. =over
  2743. =item C<mail>
  2744. From F<Loc.U>:
  2745. This variable is defined but not used by Configure.
  2746. The value is a plain '' and is not useful.
  2747. =item C<mailx>
  2748. From F<Loc.U>:
  2749. This variable is defined but not used by Configure.
  2750. The value is a plain '' and is not useful.
  2751. =item C<make>
  2752. From F<Loc.U>:
  2753. This variable is used internally by Configure to determine the
  2754. full pathname (if any) of the make program. After Configure runs,
  2755. the value is reset to a plain C<make> and is not useful.
  2756. =item C<make_set_make>
  2757. From F<make.U>:
  2758. Some versions of C<make> set the variable C<MAKE>. Others do not.
  2759. This variable contains the string to be included in F<Makefile.SH>
  2760. so that C<MAKE> is set if needed, and not if not needed.
  2761. Possible values are:
  2762. make_set_make=C<#> # If your make program handles this for you,
  2763. make_set_make=C<MAKE=$make> # if it doesn't.
  2764. I used a comment character so that we can distinguish a
  2765. C<set> value (from a previous F<config.sh> or Configure C<-D> option)
  2766. from an uncomputed value.
  2767. =item C<mallocobj>
  2768. From F<mallocsrc.U>:
  2769. This variable contains the name of the F<malloc.o> that this package
  2770. generates, if that F<malloc.o> is preferred over the system malloc.
  2771. Otherwise the value is null. This variable is intended for generating
  2772. Makefiles. See mallocsrc.
  2773. =item C<mallocsrc>
  2774. From F<mallocsrc.U>:
  2775. This variable contains the name of the F<malloc.c> that comes with
  2776. the package, if that F<malloc.c> is preferred over the system malloc.
  2777. Otherwise the value is null. This variable is intended for generating
  2778. Makefiles.
  2779. =item C<malloctype>
  2780. From F<mallocsrc.U>:
  2781. This variable contains the kind of ptr returned by malloc and realloc.
  2782. =item C<man1dir>
  2783. From F<man1dir.U>:
  2784. This variable contains the name of the directory in which manual
  2785. source pages are to be put. It is the responsibility of the
  2786. F<Makefile.SH> to get the value of this into the proper command.
  2787. You must be prepared to do the F<~name> expansion yourself.
  2788. =item C<man1direxp>
  2789. From F<man1dir.U>:
  2790. This variable is the same as the man1dir variable, but is filename
  2791. expanded at configuration time, for convenient use in makefiles.
  2792. =item C<man1ext>
  2793. From F<man1dir.U>:
  2794. This variable contains the extension that the manual page should
  2795. have: one of C<n>, C<l>, or C<1>. The Makefile must supply the F<.>.
  2796. See man1dir.
  2797. =item C<man3dir>
  2798. From F<man3dir.U>:
  2799. This variable contains the name of the directory in which manual
  2800. source pages are to be put. It is the responsibility of the
  2801. F<Makefile.SH> to get the value of this into the proper command.
  2802. You must be prepared to do the F<~name> expansion yourself.
  2803. =item C<man3direxp>
  2804. From F<man3dir.U>:
  2805. This variable is the same as the man3dir variable, but is filename
  2806. expanded at configuration time, for convenient use in makefiles.
  2807. =item C<man3ext>
  2808. From F<man3dir.U>:
  2809. This variable contains the extension that the manual page should
  2810. have: one of C<n>, C<l>, or C<3>. The Makefile must supply the F<.>.
  2811. See man3dir.
  2812. =item C<medium>
  2813. From F<models.U>:
  2814. This variable contains a flag which will tell the C compiler and loader
  2815. to produce a program running with a medium memory model. If the
  2816. medium model is not supported, contains the flag to produce large
  2817. model programs. It is up to the Makefile to use this.
  2818. =item C<mips_type>
  2819. From F<usrinc.U>:
  2820. This variable holds the environment type for the mips system.
  2821. Possible values are "BSD 4.3" and "System V".
  2822. =item C<mkdir>
  2823. From F<Loc.U>:
  2824. This variable is used internally by Configure to determine the
  2825. full pathname (if any) of the mkdir program. After Configure runs,
  2826. the value is reset to a plain C<mkdir> and is not useful.
  2827. =item C<models>
  2828. From F<models.U>:
  2829. This variable contains the list of memory models supported by this
  2830. system. Possible component values are none, split, unsplit, small,
  2831. medium, large, and huge. The component values are space separated.
  2832. =item C<modetype>
  2833. From F<modetype.U>:
  2834. This variable defines modetype to be something like mode_t,
  2835. int, unsigned short, or whatever type is used to declare file
  2836. modes for system calls.
  2837. =item C<more>
  2838. From F<Loc.U>:
  2839. This variable is used internally by Configure to determine the
  2840. full pathname (if any) of the more program. After Configure runs,
  2841. the value is reset to a plain C<more> and is not useful.
  2842. =item C<mv>
  2843. From F<Loc.U>:
  2844. This variable is defined but not used by Configure.
  2845. The value is a plain '' and is not useful.
  2846. =item C<myarchname>
  2847. From F<archname.U>:
  2848. This variable holds the architecture name computed by Configure in
  2849. a previous run. It is not intended to be perused by any user and
  2850. should never be set in a hint file.
  2851. =item C<mydomain>
  2852. From F<myhostname.U>:
  2853. This variable contains the eventual value of the C<MYDOMAIN> symbol,
  2854. which is the domain of the host the program is going to run on.
  2855. The domain must be appended to myhostname to form a complete host name.
  2856. The dot comes with mydomain, and need not be supplied by the program.
  2857. =item C<myhostname>
  2858. From F<myhostname.U>:
  2859. This variable contains the eventual value of the C<MYHOSTNAME> symbol,
  2860. which is the name of the host the program is going to run on.
  2861. The domain is not kept with hostname, but must be gotten from mydomain.
  2862. The dot comes with mydomain, and need not be supplied by the program.
  2863. =item C<myuname>
  2864. From F<Oldconfig.U>:
  2865. The output of C<uname -a> if available, otherwise the hostname. On Xenix,
  2866. pseudo variables assignments in the output are stripped, thank you. The
  2867. whole thing is then lower-cased.
  2868. =back
  2869. =head2 n
  2870. =over
  2871. =item C<n>
  2872. From F<n.U>:
  2873. This variable contains the C<-n> flag if that is what causes the echo
  2874. command to suppress newline. Otherwise it is null. Correct usage is
  2875. $echo $n "prompt for a question: $c".
  2876. =item C<netdb_hlen_type>
  2877. From F<netdbtype.U>:
  2878. This variable holds the type used for the 2nd argument to
  2879. gethostbyaddr(). Usually, this is int or size_t or unsigned.
  2880. This is only useful if you have gethostbyaddr(), naturally.
  2881. =item C<netdb_host_type>
  2882. From F<netdbtype.U>:
  2883. This variable holds the type used for the 1st argument to
  2884. gethostbyaddr(). Usually, this is char * or void *, possibly
  2885. with or without a const prefix.
  2886. This is only useful if you have gethostbyaddr(), naturally.
  2887. =item C<netdb_name_type>
  2888. From F<netdbtype.U>:
  2889. This variable holds the type used for the argument to
  2890. gethostbyname(). Usually, this is char * or const char *.
  2891. This is only useful if you have gethostbyname(), naturally.
  2892. =item C<netdb_net_type>
  2893. From F<netdbtype.U>:
  2894. This variable holds the type used for the 1st argument to
  2895. getnetbyaddr(). Usually, this is int or long.
  2896. This is only useful if you have getnetbyaddr(), naturally.
  2897. =item C<nm>
  2898. From F<Loc.U>:
  2899. This variable is used internally by Configure to determine the
  2900. full pathname (if any) of the nm program. After Configure runs,
  2901. the value is reset to a plain C<nm> and is not useful.
  2902. =item C<nm_opt>
  2903. From F<usenm.U>:
  2904. This variable holds the options that may be necessary for nm.
  2905. =item C<nm_so_opt>
  2906. From F<usenm.U>:
  2907. This variable holds the options that may be necessary for nm
  2908. to work on a shared library but that can not be used on an
  2909. archive library. Currently, this is only used by Linux, where
  2910. nm --dynamic is *required* to get symbols from an C<ELF> library which
  2911. has been stripped, but nm --dynamic is *fatal* on an archive library.
  2912. Maybe Linux should just always set usenm=false.
  2913. =item C<nonxs_ext>
  2914. From F<Extensions.U>:
  2915. This variable holds a list of all non-xs extensions included
  2916. in the package. All of them will be built.
  2917. =item C<nroff>
  2918. From F<Loc.U>:
  2919. This variable is used internally by Configure to determine the
  2920. full pathname (if any) of the nroff program. After Configure runs,
  2921. the value is reset to a plain C<nroff> and is not useful.
  2922. =back
  2923. =head2 o
  2924. =over
  2925. =item C<o_nonblock>
  2926. From F<nblock_io.U>:
  2927. This variable bears the symbol value to be used during open() or fcntl()
  2928. to turn on non-blocking F<I/O> for a file descriptor. If you wish to switch
  2929. between blocking and non-blocking, you may try ioctl(C<FIOSNBIO>) instead,
  2930. but that is only supported by some devices.
  2931. =item C<obj_ext>
  2932. From F<Unix.U>:
  2933. This is an old synonym for _o.
  2934. =item C<optimize>
  2935. From F<ccflags.U>:
  2936. This variable contains any F<optimizer/debugger> flag that should be used.
  2937. It is up to the Makefile to use it.
  2938. =item C<orderlib>
  2939. From F<orderlib.U>:
  2940. This variable is C<true> if the components of libraries must be ordered
  2941. (with `lorder $* | tsort`) before placing them in an archive. Set to
  2942. C<false> if ranlib or ar can generate random libraries.
  2943. =item C<osname>
  2944. From F<Oldconfig.U>:
  2945. This variable contains the operating system name (e.g. sunos,
  2946. solaris, hpux, F<etc.>). It can be useful later on for setting
  2947. defaults. Any spaces are replaced with underscores. It is set
  2948. to a null string if we can't figure it out.
  2949. =item C<osvers>
  2950. From F<Oldconfig.U>:
  2951. This variable contains the operating system version (e.g.
  2952. 4.1.3, 5.2, F<etc.>). It is primarily used for helping select
  2953. an appropriate hints file, but might be useful elsewhere for
  2954. setting defaults. It is set to '' if we can't figure it out.
  2955. We try to be flexible about how much of the version number
  2956. to keep, e.g. if 4.1.1, 4.1.2, and 4.1.3 are essentially the
  2957. same for this package, hints files might just be F<os_4.0> or
  2958. F<os_4.1>, F<etc.>, not keeping separate files for each little release.
  2959. =back
  2960. =head2 p
  2961. =over
  2962. =item C<package>
  2963. From F<package.U>:
  2964. This variable contains the name of the package being constructed.
  2965. It is primarily intended for the use of later Configure units.
  2966. =item C<pager>
  2967. From F<pager.U>:
  2968. This variable contains the name of the preferred pager on the system.
  2969. Usual values are (the full pathnames of) more, less, pg, or cat.
  2970. =item C<passcat>
  2971. From F<nis.U>:
  2972. This variable contains a command that produces the text of the
  2973. F</etc/passwd> file. This is normally "cat F</etc/passwd>", but can be
  2974. "ypcat passwd" when C<NIS> is used.
  2975. =item C<patchlevel>
  2976. From F<patchlevel.U>:
  2977. The patchlevel level of this package.
  2978. The value of patchlevel comes from the F<patchlevel.h> file.
  2979. =item C<path_sep>
  2980. From F<Unix.U>:
  2981. This is an old synonym for p_ in F<Head.U>, the character
  2982. used to separate elements in the command shell search C<PATH>.
  2983. =item C<perl>
  2984. From F<Loc.U>:
  2985. This variable is used internally by Configure to determine the
  2986. full pathname (if any) of the perl program. After Configure runs,
  2987. the value is reset to a plain C<perl> and is not useful.
  2988. =item C<perladmin>
  2989. From F<perladmin.U>:
  2990. Electronic mail address of the perl5 administrator.
  2991. =item C<perlpath>
  2992. From F<perlpath.U>:
  2993. This variable contains the eventual value of the C<PERLPATH> symbol,
  2994. which contains the name of the perl interpreter to be used in
  2995. shell scripts and in the "eval C<exec>" idiom.
  2996. =item C<pg>
  2997. From F<Loc.U>:
  2998. This variable is used internally by Configure to determine the
  2999. full pathname (if any) of the pg program. After Configure runs,
  3000. the value is reset to a plain C<pg> and is not useful.
  3001. =item C<phostname>
  3002. From F<myhostname.U>:
  3003. This variable contains the eventual value of the C<PHOSTNAME> symbol,
  3004. which is a command that can be fed to popen() to get the host name.
  3005. The program should probably not presume that the domain is or isn't
  3006. there already.
  3007. =item C<pidtype>
  3008. From F<pidtype.U>:
  3009. This variable defines C<PIDTYPE> to be something like pid_t, int,
  3010. ushort, or whatever type is used to declare process ids in the kernel.
  3011. =item C<plibpth>
  3012. From F<libpth.U>:
  3013. Holds the private path used by Configure to find out the libraries.
  3014. Its value is prepend to libpth. This variable takes care of special
  3015. machines, like the mips. Usually, it should be empty.
  3016. =item C<pmake>
  3017. From F<Loc.U>:
  3018. This variable is defined but not used by Configure.
  3019. The value is a plain '' and is not useful.
  3020. =item C<pr>
  3021. From F<Loc.U>:
  3022. This variable is defined but not used by Configure.
  3023. The value is a plain '' and is not useful.
  3024. =item C<prefix>
  3025. From F<prefix.U>:
  3026. This variable holds the name of the directory below which the
  3027. user will install the package. Usually, this is F</usr/local>, and
  3028. executables go in F</usr/local/bin>, library stuff in F</usr/local/lib>,
  3029. man pages in F</usr/local/man>, etc. It is only used to set defaults
  3030. for things in F<bin.U>, F<mansrc.U>, F<privlib.U>, or F<scriptdir.U>.
  3031. =item C<prefixexp>
  3032. From F<prefix.U>:
  3033. This variable holds the full absolute path of the directory below
  3034. which the user will install the package. Derived from prefix.
  3035. =item C<privlib>
  3036. From F<privlib.U>:
  3037. This variable contains the eventual value of the C<PRIVLIB> symbol,
  3038. which is the name of the private library for this package. It may
  3039. have a F<~> on the front. It is up to the makefile to eventually create
  3040. this directory while performing installation (with F<~> substitution).
  3041. =item C<privlibexp>
  3042. From F<privlib.U>:
  3043. This variable is the F<~name> expanded version of privlib, so that you
  3044. may use it directly in Makefiles or shell scripts.
  3045. =item C<prototype>
  3046. From F<prototype.U>:
  3047. This variable holds the eventual value of C<CAN_PROTOTYPE>, which
  3048. indicates the C compiler can handle funciton prototypes.
  3049. =item C<ptrsize>
  3050. From F<ptrsize.U>:
  3051. This variable contains the value of the C<PTRSIZE> symbol, which
  3052. indicates to the C program how many bytes there are in a pointer.
  3053. =back
  3054. =head2 r
  3055. =over
  3056. =item C<randbits>
  3057. From F<randbits.U>:
  3058. This variable contains the eventual value of the C<RANDBITS> symbol,
  3059. which indicates to the C program how many bits of random number
  3060. the rand() function produces.
  3061. =item C<ranlib>
  3062. From F<orderlib.U>:
  3063. This variable is set to the pathname of the ranlib program, if it is
  3064. needed to generate random libraries. Set to C<:> if ar can generate
  3065. random libraries or if random libraries are not supported
  3066. =item C<rd_nodata>
  3067. From F<nblock_io.U>:
  3068. This variable holds the return code from read() when no data is
  3069. present. It should be -1, but some systems return 0 when C<O_NDELAY> is
  3070. used, which is a shame because you cannot make the difference between
  3071. no data and an F<EOF.>. Sigh!
  3072. =item C<rm>
  3073. From F<Loc.U>:
  3074. This variable is used internally by Configure to determine the
  3075. full pathname (if any) of the rm program. After Configure runs,
  3076. the value is reset to a plain C<rm> and is not useful.
  3077. =item C<rmail>
  3078. From F<Loc.U>:
  3079. This variable is defined but not used by Configure.
  3080. The value is a plain '' and is not useful.
  3081. =item C<runnm>
  3082. From F<usenm.U>:
  3083. This variable contains C<true> or C<false> depending whether the
  3084. nm extraction should be performed or not, according to the value
  3085. of usenm and the flags on the Configure command line.
  3086. =back
  3087. =head2 s
  3088. =over
  3089. =item C<scriptdir>
  3090. From F<scriptdir.U>:
  3091. This variable holds the name of the directory in which the user wants
  3092. to put publicly scripts for the package in question. It is either
  3093. the same directory as for binaries, or a special one that can be
  3094. mounted across different architectures, like F</usr/share>. Programs
  3095. must be prepared to deal with F<~name> expansion.
  3096. =item C<scriptdirexp>
  3097. From F<scriptdir.U>:
  3098. This variable is the same as scriptdir, but is filename expanded
  3099. at configuration time, for programs not wanting to bother with it.
  3100. =item C<sed>
  3101. From F<Loc.U>:
  3102. This variable is used internally by Configure to determine the
  3103. full pathname (if any) of the sed program. After Configure runs,
  3104. the value is reset to a plain C<sed> and is not useful.
  3105. =item C<selectminbits>
  3106. From F<selectminbits.U>:
  3107. This variable holds the minimum number of bits operated by select.
  3108. That is, if you do select(n, ...), how many bits at least will be
  3109. cleared in the masks if some activity is detected. Usually this
  3110. is either n or 32*ceil(F<n/32>), especially many little-endians do
  3111. the latter. This is only useful if you have select(), naturally.
  3112. =item C<selecttype>
  3113. From F<selecttype.U>:
  3114. This variable holds the type used for the 2nd, 3rd, and 4th
  3115. arguments to select. Usually, this is C<fd_set *>, if C<HAS_FD_SET>
  3116. is defined, and C<int *> otherwise. This is only useful if you
  3117. have select(), naturally.
  3118. =item C<sendmail>
  3119. From F<Loc.U>:
  3120. This variable is used internally by Configure to determine the
  3121. full pathname (if any) of the sendmail program. After Configure runs,
  3122. the value is reset to a plain C<sendmail> and is not useful.
  3123. =item C<sh>
  3124. From F<sh.U>:
  3125. This variable contains the full pathname of the shell used
  3126. on this system to execute Bourne shell scripts. Usually, this will be
  3127. F</bin/sh>, though it's possible that some systems will have F</bin/ksh>,
  3128. F</bin/pdksh>, F</bin/ash>, F</bin/bash>, or even something such as
  3129. D:F</bin/sh.exe>.
  3130. This unit comes before F<Options.U>, so you can't set sh with a C<-D>
  3131. option, though you can override this (and startsh)
  3132. with C<-O -Dsh=F</bin/whatever> -Dstartsh=whatever>
  3133. =item C<shar>
  3134. From F<Loc.U>:
  3135. This variable is defined but not used by Configure.
  3136. The value is a plain '' and is not useful.
  3137. =item C<sharpbang>
  3138. From F<spitshell.U>:
  3139. This variable contains the string #! if this system supports that
  3140. construct.
  3141. =item C<shmattype>
  3142. From F<d_shmat.U>:
  3143. This symbol contains the type of pointer returned by shmat().
  3144. It can be C<void *> or C<char *>.
  3145. =item C<shortsize>
  3146. From F<intsize.U>:
  3147. This variable contains the value of the C<SHORTSIZE> symbol which
  3148. indicates to the C program how many bytes there are in a short.
  3149. =item C<shrpenv>
  3150. From F<libperl.U>:
  3151. If the user builds a shared F<libperl.so>, then we need to tell the
  3152. C<perl> executable where it will be able to find the installed F<libperl.so>.
  3153. One way to do this on some systems is to set the environment variable
  3154. C<LD_RUN_PATH> to the directory that will be the final location of the
  3155. shared F<libperl.so>. The makefile can use this with something like
  3156. $shrpenv $(C<CC>) -o perl F<perlmain.o> $libperl $libs
  3157. Typical values are
  3158. shrpenv="env C<LD_RUN_PATH>=$F<archlibexp/C<CORE>>"
  3159. or
  3160. shrpenv=''
  3161. See the main perl F<Makefile.SH> for actual working usage.
  3162. Alternatively, we might be able to use a command line option such
  3163. as -R $F<archlibexp/C<CORE>> (Solaris, NetBSD) or -Wl,-rpath
  3164. $F<archlibexp/C<CORE>> (Linux).
  3165. =item C<shsharp>
  3166. From F<spitshell.U>:
  3167. This variable tells further Configure units whether your sh can
  3168. handle # comments.
  3169. =item C<sig_name>
  3170. From F<sig_name.U>:
  3171. This variable holds the signal names, space separated. The leading
  3172. C<SIG> in signal name is removed. A C<ZERO> is prepended to the
  3173. list. This is currently not used.
  3174. =item C<sig_name_init>
  3175. From F<sig_name.U>:
  3176. This variable holds the signal names, enclosed in double quotes and
  3177. separated by commas, suitable for use in the C<SIG_NAME> definition
  3178. below. A C<ZERO> is prepended to the list, and the list is
  3179. terminated with a plain 0. The leading C<SIG> in signal names
  3180. is removed. See sig_num.
  3181. =item C<sig_num>
  3182. From F<sig_name.U>:
  3183. This variable holds the signal numbers, comma separated. A 0 is
  3184. prepended to the list (corresponding to the fake C<SIGZERO>), and
  3185. the list is terminated with a 0. Those numbers correspond to
  3186. the value of the signal listed in the same place within the
  3187. sig_name list.
  3188. =item C<sig_num_init>
  3189. From F<sig_name.U>:
  3190. This variable holds the signal numbers, enclosed in double quotes and
  3191. separated by commas, suitable for use in the C<SIG_NUM> definition
  3192. below. A C<ZERO> is prepended to the list, and the list is
  3193. terminated with a plain 0.
  3194. =item C<signal_t>
  3195. From F<d_voidsig.U>:
  3196. This variable holds the type of the signal handler (void or int).
  3197. =item C<sitearch>
  3198. From F<sitearch.U>:
  3199. This variable contains the eventual value of the C<SITEARCH> symbol,
  3200. which is the name of the private library for this package. It may
  3201. have a F<~> on the front. It is up to the makefile to eventually create
  3202. this directory while performing installation (with F<~> substitution).
  3203. =item C<sitearchexp>
  3204. From F<sitearch.U>:
  3205. This variable is the F<~name> expanded version of sitearch, so that you
  3206. may use it directly in Makefiles or shell scripts.
  3207. =item C<sitelib>
  3208. From F<sitelib.U>:
  3209. This variable contains the eventual value of the C<SITELIB> symbol,
  3210. which is the name of the private library for this package. It may
  3211. have a F<~> on the front. It is up to the makefile to eventually create
  3212. this directory while performing installation (with F<~> substitution).
  3213. =item C<sitelibexp>
  3214. From F<sitelib.U>:
  3215. This variable is the F<~name> expanded version of sitelib, so that you
  3216. may use it directly in Makefiles or shell scripts.
  3217. =item C<sizetype>
  3218. From F<sizetype.U>:
  3219. This variable defines sizetype to be something like size_t,
  3220. unsigned long, or whatever type is used to declare length
  3221. parameters for string functions.
  3222. =item C<sleep>
  3223. From F<Loc.U>:
  3224. This variable is defined but not used by Configure.
  3225. The value is a plain '' and is not useful.
  3226. =item C<smail>
  3227. From F<Loc.U>:
  3228. This variable is defined but not used by Configure.
  3229. The value is a plain '' and is not useful.
  3230. =item C<small>
  3231. From F<models.U>:
  3232. This variable contains a flag which will tell the C compiler and loader
  3233. to produce a program running with a small memory model. It is up to
  3234. the Makefile to use this.
  3235. =item C<so>
  3236. From F<so.U>:
  3237. This variable holds the extension used to identify shared libraries
  3238. (also known as shared objects) on the system. Usually set to C<so>.
  3239. =item C<sockethdr>
  3240. From F<d_socket.U>:
  3241. This variable has any cpp C<-I> flags needed for socket support.
  3242. =item C<socketlib>
  3243. From F<d_socket.U>:
  3244. This variable has the names of any libraries needed for socket support.
  3245. =item C<sort>
  3246. From F<Loc.U>:
  3247. This variable is used internally by Configure to determine the
  3248. full pathname (if any) of the sort program. After Configure runs,
  3249. the value is reset to a plain C<sort> and is not useful.
  3250. =item C<spackage>
  3251. From F<package.U>:
  3252. This variable contains the name of the package being constructed,
  3253. with the first letter uppercased, F<i.e>. suitable for starting
  3254. sentences.
  3255. =item C<spitshell>
  3256. From F<spitshell.U>:
  3257. This variable contains the command necessary to spit out a runnable
  3258. shell on this system. It is either cat or a grep C<-v> for # comments.
  3259. =item C<split>
  3260. From F<models.U>:
  3261. This variable contains a flag which will tell the C compiler and loader
  3262. to produce a program that will run in separate I and D space, for those
  3263. machines that support separation of instruction and data space. It is
  3264. up to the Makefile to use this.
  3265. =item C<src>
  3266. From F<src.U>:
  3267. This variable holds the path to the package source. It is up to
  3268. the Makefile to use this variable and set C<VPATH> accordingly to
  3269. find the sources remotely.
  3270. =item C<ssizetype>
  3271. From F<ssizetype.U>:
  3272. This variable defines ssizetype to be something like ssize_t,
  3273. long or int. It is used by functions that return a count
  3274. of bytes or an error condition. It must be a signed type.
  3275. We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
  3276. =item C<startperl>
  3277. From F<startperl.U>:
  3278. This variable contains the string to put on the front of a perl
  3279. script to make sure (hopefully) that it runs with perl and not some
  3280. shell. Of course, that leading line must be followed by the classical
  3281. perl idiom:
  3282. eval 'exec perl -S $0 ${1+C<$@>}'
  3283. if $running_under_some_shell;
  3284. to guarantee perl startup should the shell execute the script. Note
  3285. that this magic incatation is not understood by csh.
  3286. =item C<startsh>
  3287. From F<startsh.U>:
  3288. This variable contains the string to put on the front of a shell
  3289. script to make sure (hopefully) that it runs with sh and not some
  3290. other shell.
  3291. =item C<static_ext>
  3292. From F<Extensions.U>:
  3293. This variable holds a list of C<XS> extension files we want to
  3294. link statically into the package. It is used by Makefile.
  3295. =item C<stdchar>
  3296. From F<stdchar.U>:
  3297. This variable conditionally defines C<STDCHAR> to be the type of char
  3298. used in F<stdio.h>. It has the values "unsigned char" or C<char>.
  3299. =item C<stdio_base>
  3300. From F<d_stdstdio.U>:
  3301. This variable defines how, given a C<FILE> pointer, fp, to access the
  3302. _base field (or equivalent) of F<stdio.h>'s C<FILE> structure. This will
  3303. be used to define the macro FILE_base(fp).
  3304. =item C<stdio_bufsiz>
  3305. From F<d_stdstdio.U>:
  3306. This variable defines how, given a C<FILE> pointer, fp, to determine
  3307. the number of bytes store in the F<I/O> buffer pointer to by the
  3308. _base field (or equivalent) of F<stdio.h>'s C<FILE> structure. This will
  3309. be used to define the macro FILE_bufsiz(fp).
  3310. =item C<stdio_cnt>
  3311. From F<d_stdstdio.U>:
  3312. This variable defines how, given a C<FILE> pointer, fp, to access the
  3313. _cnt field (or equivalent) of F<stdio.h>'s C<FILE> structure. This will
  3314. be used to define the macro FILE_cnt(fp).
  3315. =item C<stdio_filbuf>
  3316. From F<d_stdstdio.U>:
  3317. This variable defines how, given a C<FILE> pointer, fp, to tell
  3318. stdio to refill it's internal buffers (?). This will
  3319. be used to define the macro FILE_filbuf(fp).
  3320. =item C<stdio_ptr>
  3321. From F<d_stdstdio.U>:
  3322. This variable defines how, given a C<FILE> pointer, fp, to access the
  3323. _ptr field (or equivalent) of F<stdio.h>'s C<FILE> structure. This will
  3324. be used to define the macro FILE_ptr(fp).
  3325. =item C<strings>
  3326. From F<i_string.U>:
  3327. This variable holds the full path of the string header that will be
  3328. used. Typically F</usr/include/string.h> or F</usr/include/strings.h>.
  3329. =item C<submit>
  3330. From F<Loc.U>:
  3331. This variable is defined but not used by Configure.
  3332. The value is a plain '' and is not useful.
  3333. =item C<subversion>
  3334. From F<patchlevel.U>:
  3335. The subversion level of this package.
  3336. The value of subversion comes from the F<patchlevel.h> file.
  3337. This is unique to perl.
  3338. =item C<sysman>
  3339. From F<sysman.U>:
  3340. This variable holds the place where the manual is located on this
  3341. system. It is not the place where the user wants to put his manual
  3342. pages. Rather it is the place where Configure may look to find manual
  3343. for unix commands (section 1 of the manual usually). See mansrc.
  3344. =back
  3345. =head2 t
  3346. =over
  3347. =item C<tail>
  3348. From F<Loc.U>:
  3349. This variable is defined but not used by Configure.
  3350. The value is a plain '' and is not useful.
  3351. =item C<tar>
  3352. From F<Loc.U>:
  3353. This variable is defined but not used by Configure.
  3354. The value is a plain '' and is not useful.
  3355. =item C<tbl>
  3356. From F<Loc.U>:
  3357. This variable is defined but not used by Configure.
  3358. The value is a plain '' and is not useful.
  3359. =item C<tee>
  3360. From F<Loc.U>:
  3361. This variable is used internally by Configure to determine the
  3362. full pathname (if any) of the tee program. After Configure runs,
  3363. the value is reset to a plain C<tee> and is not useful.
  3364. =item C<test>
  3365. From F<Loc.U>:
  3366. This variable is used internally by Configure to determine the
  3367. full pathname (if any) of the test program. After Configure runs,
  3368. the value is reset to a plain C<test> and is not useful.
  3369. =item C<timeincl>
  3370. From F<i_time.U>:
  3371. This variable holds the full path of the included time header(s).
  3372. =item C<timetype>
  3373. From F<d_time.U>:
  3374. This variable holds the type returned by time(). It can be long,
  3375. or time_t on C<BSD> sites (in which case <sys/types.h> should be
  3376. included). Anyway, the type Time_t should be used.
  3377. =item C<touch>
  3378. From F<Loc.U>:
  3379. This variable is used internally by Configure to determine the
  3380. full pathname (if any) of the touch program. After Configure runs,
  3381. the value is reset to a plain C<touch> and is not useful.
  3382. =item C<tr>
  3383. From F<Loc.U>:
  3384. This variable is used internally by Configure to determine the
  3385. full pathname (if any) of the tr program. After Configure runs,
  3386. the value is reset to a plain C<tr> and is not useful.
  3387. =item C<trnl>
  3388. From F<trnl.U>:
  3389. This variable contains the value to be passed to the tr(1)
  3390. command to transliterate a newline. Typical values are
  3391. C<\012> and C<\n>. This is needed for C<EBCDIC> systems where
  3392. newline is not necessarily C<\012>.
  3393. =item C<troff>
  3394. From F<Loc.U>:
  3395. This variable is defined but not used by Configure.
  3396. The value is a plain '' and is not useful.
  3397. =back
  3398. =head2 u
  3399. =over
  3400. =item C<uidtype>
  3401. From F<uidtype.U>:
  3402. This variable defines Uid_t to be something like uid_t, int,
  3403. ushort, or whatever type is used to declare user ids in the kernel.
  3404. =item C<uname>
  3405. From F<Loc.U>:
  3406. This variable is used internally by Configure to determine the
  3407. full pathname (if any) of the uname program. After Configure runs,
  3408. the value is reset to a plain C<uname> and is not useful.
  3409. =item C<uniq>
  3410. From F<Loc.U>:
  3411. This variable is used internally by Configure to determine the
  3412. full pathname (if any) of the uniq program. After Configure runs,
  3413. the value is reset to a plain C<uniq> and is not useful.
  3414. =item C<usedl>
  3415. From F<dlsrc.U>:
  3416. This variable indicates if the the system supports dynamic
  3417. loading of some sort. See also dlsrc and dlobj.
  3418. =item C<usemymalloc>
  3419. From F<mallocsrc.U>:
  3420. This variable contains y if the malloc that comes with this package
  3421. is desired over the system's version of malloc. People often include
  3422. special versions of malloc for effiency, but such versions are often
  3423. less portable. See also mallocsrc and mallocobj.
  3424. If this is C<y>, then -lmalloc is removed from $libs.
  3425. =item C<usenm>
  3426. From F<usenm.U>:
  3427. This variable contains C<true> or C<false> depending whether the
  3428. nm extraction is wanted or not.
  3429. =item C<useopcode>
  3430. From F<Extensions.U>:
  3431. This variable holds either C<true> or C<false> to indicate
  3432. whether the Opcode extension should be used. The sole
  3433. use for this currently is to allow an easy mechanism
  3434. for users to skip the Opcode extension from the Configure
  3435. command line.
  3436. =item C<useperlio>
  3437. From F<useperlio.U>:
  3438. This variable conditionally defines the C<USE_PERLIO> symbol,
  3439. and indicates that the PerlIO abstraction should be
  3440. used throughout.
  3441. =item C<useposix>
  3442. From F<Extensions.U>:
  3443. This variable holds either C<true> or C<false> to indicate
  3444. whether the C<POSIX> extension should be used. The sole
  3445. use for this currently is to allow an easy mechanism
  3446. for hints files to indicate that C<POSIX> will not compile
  3447. on a particular system.
  3448. =item C<usesfio>
  3449. From F<d_sfio.U>:
  3450. This variable is set to true when the user agrees to use sfio.
  3451. It is set to false when sfio is not available or when the user
  3452. explicitely requests not to use sfio. It is here primarily so
  3453. that command-line settings can override the auto-detection of
  3454. d_sfio without running into a "WHOA THERE".
  3455. =item C<useshrplib>
  3456. From F<libperl.U>:
  3457. This variable is set to C<yes> if the user wishes
  3458. to build a shared libperl, and C<no> otherwise.
  3459. =item C<usethreads>
  3460. From F<usethreads.U>:
  3461. This variable conditionally defines the C<USE_THREADS> symbol,
  3462. and indicates that Perl should be built to use threads.
  3463. =item C<usevfork>
  3464. From F<d_vfork.U>:
  3465. This variable is set to true when the user accepts to use vfork.
  3466. It is set to false when no vfork is available or when the user
  3467. explicitely requests not to use vfork.
  3468. =item C<usrinc>
  3469. From F<usrinc.U>:
  3470. This variable holds the path of the include files, which is
  3471. usually F</usr/include>. It is mainly used by other Configure units.
  3472. =item C<uuname>
  3473. From F<Loc.U>:
  3474. This variable is defined but not used by Configure.
  3475. The value is a plain '' and is not useful.
  3476. =back
  3477. =head2 v
  3478. =over
  3479. =item C<version>
  3480. From F<patchlevel.U>:
  3481. The full version number of this package. This combines
  3482. baserev, patchlevel, and subversion to get the full
  3483. version number, including any possible subversions. Care
  3484. is taken to use the C locale in order to get something
  3485. like 5.004 instead of 5,004. This is unique to perl.
  3486. =item C<vi>
  3487. From F<Loc.U>:
  3488. This variable is defined but not used by Configure.
  3489. The value is a plain '' and is not useful.
  3490. =item C<voidflags>
  3491. From F<voidflags.U>:
  3492. This variable contains the eventual value of the C<VOIDFLAGS> symbol,
  3493. which indicates how much support of the void type is given by this
  3494. compiler. See C<VOIDFLAGS> for more info.
  3495. =back
  3496. =head2 z
  3497. =over
  3498. =item C<zcat>
  3499. From F<Loc.U>:
  3500. This variable is defined but not used by Configure.
  3501. The value is a plain '' and is not useful.
  3502. =item C<zip>
  3503. From F<Loc.U>:
  3504. This variable is used internally by Configure to determine the
  3505. full pathname (if any) of the zip program. After Configure runs,
  3506. the value is reset to a plain C<zip> and is not useful.
  3507. =back
  3508. =head1 NOTE
  3509. This module contains a good example of how to use tie to implement a
  3510. cache and an example of how to make a tied variable readonly to those
  3511. outside of it.
  3512. =cut