home *** CD-ROM | disk | FTP | other *** search
/ Chip: Windows 2000 Professional Resource Kit / W2KPRK.iso / apps / perl / ActivePerl.exe / data.z / Config.pm < prev    next >
Encoding:
Perl POD Document  |  1999-10-16  |  134.8 KB  |  5,346 lines

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