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

5194 lines
125 KiB

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