home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / fileutils-3.13-diffs.gz / fileutils-3.13-diffs
Text File  |  1996-10-13  |  336KB  |  10,183 lines

  1. This file contains patches that transform the baseline version into
  2. the amiga version.  Assuming that you have unarchived the baseline
  3. version in the current directory, just run the command:
  4.  
  5.     patch -p1 -E -b .pbak <diff-file
  6.  
  7. where 'diff-file' is this patch file.  After running patch you should
  8. remove all the generated *.pbak files, and look for any *.rej files
  9. that indicate a problem patching the baseline source.
  10.  
  11. diff -rup --new-file baseline/fsf/fileutils/BeOS.diffs amiga/fsf/fileutils/BeOS.diffs
  12. --- baseline/fsf/fileutils/BeOS.diffs    Wed Dec 31 17:00:00 1969
  13. +++ amiga/fsf/fileutils/BeOS.diffs    Sat Sep 28 00:00:00 1996
  14. @@ -0,0 +1,2320 @@
  15. +This patch works around current bugs in the BeOS shell that affect
  16. +configure, and also patch up some Makefile targets that are not
  17. +yet fully supported.
  18. +
  19. +============================================================================
  20. +
  21. +diff -rc fileutils-ref/configure fileutils/configure
  22. +*** fileutils-ref/configure    Sat Sep 28 20:09:22 1996
  23. +--- fileutils/configure    Sat Sep 28 16:40:03 1996
  24. +***************
  25. +*** 827,833 ****
  26. +    yes;
  27. +  #endif
  28. +  EOF
  29. +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  30. +    ac_cv_prog_gcc=yes
  31. +  else
  32. +    ac_cv_prog_gcc=no
  33. +--- 827,833 ----
  34. +    yes;
  35. +  #endif
  36. +  EOF
  37. +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:831: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; } | egrep yes >/dev/null 2>&1; then
  38. +    ac_cv_prog_gcc=yes
  39. +  else
  40. +    ac_cv_prog_gcc=no
  41. +***************
  42. +*** 885,891 ****
  43. +  Syntax Error
  44. +  EOF
  45. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  46. +! { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  47. +  ac_err=`grep -v '^ *+' conftest.out`
  48. +  if test -z "$ac_err"; then
  49. +    :
  50. +--- 885,891 ----
  51. +  Syntax Error
  52. +  EOF
  53. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  54. +! { (eval echo configure:889: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  55. +  ac_err=`grep -v '^ *+' conftest.out`
  56. +  if test -z "$ac_err"; then
  57. +    :
  58. +***************
  59. +*** 900,906 ****
  60. +  Syntax Error
  61. +  EOF
  62. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  63. +! { (eval echo configure:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  64. +  ac_err=`grep -v '^ *+' conftest.out`
  65. +  if test -z "$ac_err"; then
  66. +    :
  67. +--- 900,906 ----
  68. +  Syntax Error
  69. +  EOF
  70. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  71. +! { (eval echo configure:904: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  72. +  ac_err=`grep -v '^ *+' conftest.out`
  73. +  if test -z "$ac_err"; then
  74. +    :
  75. +***************
  76. +*** 932,939 ****
  77. +  #include <sgtty.h>
  78. +  Autoconf TIOCGETP
  79. +  EOF
  80. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  81. +!   egrep "$ac_pattern" >/dev/null 2>&1; then
  82. +    rm -rf conftest*
  83. +    ac_cv_prog_gcc_traditional=yes
  84. +  else
  85. +--- 932,939 ----
  86. +  #include <sgtty.h>
  87. +  Autoconf TIOCGETP
  88. +  EOF
  89. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  90. +! if egrep "$ac_pattern" <conftest.tmp >/dev/null 2>&1; then
  91. +    rm -rf conftest*
  92. +    ac_cv_prog_gcc_traditional=yes
  93. +  else
  94. +***************
  95. +*** 950,957 ****
  96. +  #include <termio.h>
  97. +  Autoconf TCGETA
  98. +  EOF
  99. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  100. +!   egrep "$ac_pattern" >/dev/null 2>&1; then
  101. +    rm -rf conftest*
  102. +    ac_cv_prog_gcc_traditional=yes
  103. +  fi
  104. +--- 950,957 ----
  105. +  #include <termio.h>
  106. +  Autoconf TCGETA
  107. +  EOF
  108. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  109. +! if egrep "$ac_pattern" <conftest.tmp >/dev/null 2>&1; then
  110. +    rm -rf conftest*
  111. +    ac_cv_prog_gcc_traditional=yes
  112. +  fi
  113. +***************
  114. +*** 1229,1236 ****
  115. +  #endif
  116. +  
  117. +  EOF
  118. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  119. +!   egrep "yes" >/dev/null 2>&1; then
  120. +    rm -rf conftest*
  121. +    echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
  122. +  #define _ALL_SOURCE 1
  123. +--- 1229,1236 ----
  124. +  #endif
  125. +  
  126. +  EOF
  127. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  128. +! if egrep "yes" <conftest.tmp >/dev/null 2>&1; then
  129. +    rm -rf conftest*
  130. +    echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
  131. +  #define _ALL_SOURCE 1
  132. +***************
  133. +*** 1254,1260 ****
  134. +  #include <minix/config.h>
  135. +  EOF
  136. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  137. +! { (eval echo configure:1258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  138. +  ac_err=`grep -v '^ *+' conftest.out`
  139. +  if test -z "$ac_err"; then
  140. +    rm -rf conftest*
  141. +--- 1254,1260 ----
  142. +  #include <minix/config.h>
  143. +  EOF
  144. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  145. +! { (eval echo configure:1258: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  146. +  ac_err=`grep -v '^ *+' conftest.out`
  147. +  if test -z "$ac_err"; then
  148. +    rm -rf conftest*
  149. +***************
  150. +*** 1342,1348 ****
  151. +  struct s2 {int (*f) (double a);};
  152. +  ; return 0; }
  153. +  EOF
  154. +! if { (eval echo configure:1346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  155. +    rm -rf conftest*
  156. +    ac_cv_prog_cc_stdc="$ac_arg"; break
  157. +  fi
  158. +--- 1342,1348 ----
  159. +  struct s2 {int (*f) (double a);};
  160. +  ; return 0; }
  161. +  EOF
  162. +! if { (eval echo configure:1346: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  163. +    rm -rf conftest*
  164. +    ac_cv_prog_cc_stdc="$ac_arg"; break
  165. +  fi
  166. +***************
  167. +*** 1382,1393 ****
  168. +  #line 1383 "configure"
  169. +  #include "confdefs.h"
  170. +  #include <sys/types.h>
  171. +! int main() { return 0; }
  172. +  int t() {
  173. +  return makedev(0, 0);
  174. +  ; return 0; }
  175. +  EOF
  176. +! if { (eval echo configure:1391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  177. +    rm -rf conftest*
  178. +    ac_cv_header_sys_types_h_makedev=yes
  179. +  else
  180. +--- 1382,1393 ----
  181. +  #line 1383 "configure"
  182. +  #include "confdefs.h"
  183. +  #include <sys/types.h>
  184. +! int main() { t(); return 0; }
  185. +  int t() {
  186. +  return makedev(0, 0);
  187. +  ; return 0; }
  188. +  EOF
  189. +! if { (eval echo configure:1391: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  190. +    rm -rf conftest*
  191. +    ac_cv_header_sys_types_h_makedev=yes
  192. +  else
  193. +***************
  194. +*** 1413,1419 ****
  195. +  #include <sys/mkdev.h>
  196. +  EOF
  197. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  198. +! { (eval echo configure:1417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  199. +  ac_err=`grep -v '^ *+' conftest.out`
  200. +  if test -z "$ac_err"; then
  201. +    rm -rf conftest*
  202. +--- 1413,1419 ----
  203. +  #include <sys/mkdev.h>
  204. +  EOF
  205. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  206. +! { (eval echo configure:1417: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  207. +  ac_err=`grep -v '^ *+' conftest.out`
  208. +  if test -z "$ac_err"; then
  209. +    rm -rf conftest*
  210. +***************
  211. +*** 1448,1454 ****
  212. +  #include <sys/sysmacros.h>
  213. +  EOF
  214. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  215. +! { (eval echo configure:1452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  216. +  ac_err=`grep -v '^ *+' conftest.out`
  217. +  if test -z "$ac_err"; then
  218. +    rm -rf conftest*
  219. +--- 1448,1454 ----
  220. +  #include <sys/sysmacros.h>
  221. +  EOF
  222. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  223. +! { (eval echo configure:1452: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  224. +  ac_err=`grep -v '^ *+' conftest.out`
  225. +  if test -z "$ac_err"; then
  226. +    rm -rf conftest*
  227. +***************
  228. +*** 1491,1497 ****
  229. +  DIR *dirp = 0;
  230. +  ; return 0; }
  231. +  EOF
  232. +! if { (eval echo configure:1495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  233. +    rm -rf conftest*
  234. +    eval "ac_cv_header_dirent_$ac_safe=yes"
  235. +  else
  236. +--- 1491,1497 ----
  237. +  DIR *dirp = 0;
  238. +  ; return 0; }
  239. +  EOF
  240. +! if { (eval echo configure:1495: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  241. +    rm -rf conftest*
  242. +    eval "ac_cv_header_dirent_$ac_safe=yes"
  243. +  else
  244. +***************
  245. +*** 1529,1540 ****
  246. +      builtin and then its argument prototype would still apply.  */
  247. +  char opendir();
  248. +  
  249. +! int main() { return 0; }
  250. +  int t() {
  251. +  opendir()
  252. +  ; return 0; }
  253. +  EOF
  254. +! if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  255. +    rm -rf conftest*
  256. +    eval "ac_cv_lib_$ac_lib_var=yes"
  257. +  else
  258. +--- 1529,1540 ----
  259. +      builtin and then its argument prototype would still apply.  */
  260. +  char opendir();
  261. +  
  262. +! int main() { t(); return 0; }
  263. +  int t() {
  264. +  opendir()
  265. +  ; return 0; }
  266. +  EOF
  267. +! if { (eval echo configure:1538: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  268. +    rm -rf conftest*
  269. +    eval "ac_cv_lib_$ac_lib_var=yes"
  270. +  else
  271. +***************
  272. +*** 1568,1579 ****
  273. +      builtin and then its argument prototype would still apply.  */
  274. +  char opendir();
  275. +  
  276. +! int main() { return 0; }
  277. +  int t() {
  278. +  opendir()
  279. +  ; return 0; }
  280. +  EOF
  281. +! if { (eval echo configure:1577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  282. +    rm -rf conftest*
  283. +    eval "ac_cv_lib_$ac_lib_var=yes"
  284. +  else
  285. +--- 1568,1579 ----
  286. +      builtin and then its argument prototype would still apply.  */
  287. +  char opendir();
  288. +  
  289. +! int main() { t(); return 0; }
  290. +  int t() {
  291. +  opendir()
  292. +  ; return 0; }
  293. +  EOF
  294. +! if { (eval echo configure:1577: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  295. +    rm -rf conftest*
  296. +    eval "ac_cv_lib_$ac_lib_var=yes"
  297. +  else
  298. +***************
  299. +*** 1606,1612 ****
  300. +  #include "confdefs.h"
  301. +  main(){return(0);}
  302. +  EOF
  303. +! { (eval echo configure:1610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  304. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  305. +    ac_cv_c_cross=no
  306. +  else
  307. +--- 1606,1612 ----
  308. +  #include "confdefs.h"
  309. +  main(){return(0);}
  310. +  EOF
  311. +! { (eval echo configure:1610: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  312. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  313. +    ac_cv_c_cross=no
  314. +  else
  315. +***************
  316. +*** 1633,1639 ****
  317. +  #include <$ac_header_dirent>
  318. +  int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  319. +  EOF
  320. +! { (eval echo configure:1637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  321. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  322. +    ac_cv_func_closedir_void=no
  323. +  else
  324. +--- 1633,1639 ----
  325. +  #include <$ac_header_dirent>
  326. +  int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  327. +  EOF
  328. +! { (eval echo configure:1637: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  329. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  330. +    ac_cv_func_closedir_void=no
  331. +  else
  332. +***************
  333. +*** 1661,1668 ****
  334. +  #include "confdefs.h"
  335. +  #include <sys/types.h>
  336. +  EOF
  337. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  338. +!   egrep "uid_t" >/dev/null 2>&1; then
  339. +    rm -rf conftest*
  340. +    ac_cv_type_uid_t=yes
  341. +  else
  342. +--- 1661,1668 ----
  343. +  #include "confdefs.h"
  344. +  #include <sys/types.h>
  345. +  EOF
  346. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  347. +! if egrep "uid_t" <conftest.tmp >/dev/null 2>&1; then
  348. +    rm -rf conftest*
  349. +    ac_cv_type_uid_t=yes
  350. +  else
  351. +***************
  352. +*** 1718,1724 ****
  353. +  }
  354. +  
  355. +  EOF
  356. +! { (eval echo configure:1722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  357. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  358. +      ac_cv_type_getgroups=gid_t
  359. +  else
  360. +--- 1718,1724 ----
  361. +  }
  362. +  
  363. +  EOF
  364. +! { (eval echo configure:1722: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  365. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  366. +      ac_cv_type_getgroups=gid_t
  367. +  else
  368. +***************
  369. +*** 1732,1739 ****
  370. +  #include "confdefs.h"
  371. +  #include <unistd.h>
  372. +  EOF
  373. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  374. +!   egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then
  375. +    rm -rf conftest*
  376. +    ac_cv_type_getgroups=gid_t
  377. +  else
  378. +--- 1732,1739 ----
  379. +  #include "confdefs.h"
  380. +  #include <unistd.h>
  381. +  EOF
  382. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  383. +! if egrep "getgroups.*int.*gid_t" <conftest.tmp >/dev/null 2>&1; then
  384. +    rm -rf conftest*
  385. +    ac_cv_type_getgroups=gid_t
  386. +  else
  387. +***************
  388. +*** 1764,1770 ****
  389. +  #include <float.h>
  390. +  EOF
  391. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  392. +! { (eval echo configure:1768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  393. +  ac_err=`grep -v '^ *+' conftest.out`
  394. +  if test -z "$ac_err"; then
  395. +    rm -rf conftest*
  396. +--- 1764,1770 ----
  397. +  #include <float.h>
  398. +  EOF
  399. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  400. +! { (eval echo configure:1768: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  401. +  ac_err=`grep -v '^ *+' conftest.out`
  402. +  if test -z "$ac_err"; then
  403. +    rm -rf conftest*
  404. +***************
  405. +*** 1783,1790 ****
  406. +  #include "confdefs.h"
  407. +  #include <string.h>
  408. +  EOF
  409. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  410. +!   egrep "memchr" >/dev/null 2>&1; then
  411. +    :
  412. +  else
  413. +    rm -rf conftest*
  414. +--- 1783,1790 ----
  415. +  #include "confdefs.h"
  416. +  #include <string.h>
  417. +  EOF
  418. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  419. +! if egrep "memchr" <conftest.tmp >/dev/null 2>&1; then
  420. +    :
  421. +  else
  422. +    rm -rf conftest*
  423. +***************
  424. +*** 1801,1808 ****
  425. +  #include "confdefs.h"
  426. +  #include <stdlib.h>
  427. +  EOF
  428. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  429. +!   egrep "free" >/dev/null 2>&1; then
  430. +    :
  431. +  else
  432. +    rm -rf conftest*
  433. +--- 1801,1808 ----
  434. +  #include "confdefs.h"
  435. +  #include <stdlib.h>
  436. +  EOF
  437. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  438. +! if egrep "free" <conftest.tmp >/dev/null 2>&1; then
  439. +    :
  440. +  else
  441. +    rm -rf conftest*
  442. +***************
  443. +*** 1829,1835 ****
  444. +  exit (0); }
  445. +  
  446. +  EOF
  447. +! { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  448. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  449. +    :
  450. +  else
  451. +--- 1829,1835 ----
  452. +  exit (0); }
  453. +  
  454. +  EOF
  455. +! { (eval echo configure:1833: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  456. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  457. +    :
  458. +  else
  459. +***************
  460. +*** 1860,1867 ****
  461. +  #include <stdlib.h>
  462. +  #endif
  463. +  EOF
  464. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  465. +!   egrep "mode_t" >/dev/null 2>&1; then
  466. +    rm -rf conftest*
  467. +    ac_cv_type_mode_t=yes
  468. +  else
  469. +--- 1860,1867 ----
  470. +  #include <stdlib.h>
  471. +  #endif
  472. +  EOF
  473. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  474. +! if egrep "mode_t" <conftest.tmp >/dev/null 2>&1; then
  475. +    rm -rf conftest*
  476. +    ac_cv_type_mode_t=yes
  477. +  else
  478. +***************
  479. +*** 1891,1898 ****
  480. +  #include <stdlib.h>
  481. +  #endif
  482. +  EOF
  483. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  484. +!   egrep "off_t" >/dev/null 2>&1; then
  485. +    rm -rf conftest*
  486. +    ac_cv_type_off_t=yes
  487. +  else
  488. +--- 1891,1898 ----
  489. +  #include <stdlib.h>
  490. +  #endif
  491. +  EOF
  492. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  493. +! if egrep "off_t" <conftest.tmp >/dev/null 2>&1; then
  494. +    rm -rf conftest*
  495. +    ac_cv_type_off_t=yes
  496. +  else
  497. +***************
  498. +*** 1933,1939 ****
  499. +  int i;
  500. +  ; return 0; }
  501. +  EOF
  502. +! if { (eval echo configure:1937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  503. +    rm -rf conftest*
  504. +    ac_cv_type_signal=void
  505. +  else
  506. +--- 1933,1939 ----
  507. +  int i;
  508. +  ; return 0; }
  509. +  EOF
  510. +! if { (eval echo configure:1937: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  511. +    rm -rf conftest*
  512. +    ac_cv_type_signal=void
  513. +  else
  514. +***************
  515. +*** 1962,1969 ****
  516. +  #include <stdlib.h>
  517. +  #endif
  518. +  EOF
  519. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  520. +!   egrep "size_t" >/dev/null 2>&1; then
  521. +    rm -rf conftest*
  522. +    ac_cv_type_size_t=yes
  523. +  else
  524. +--- 1962,1969 ----
  525. +  #include <stdlib.h>
  526. +  #endif
  527. +  EOF
  528. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  529. +! if egrep "size_t" <conftest.tmp >/dev/null 2>&1; then
  530. +    rm -rf conftest*
  531. +    ac_cv_type_size_t=yes
  532. +  else
  533. +***************
  534. +*** 1990,1997 ****
  535. +  #include "confdefs.h"
  536. +  #include <sys/types.h>
  537. +  EOF
  538. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  539. +!   egrep "uid_t" >/dev/null 2>&1; then
  540. +    rm -rf conftest*
  541. +    ac_cv_type_uid_t=yes
  542. +  else
  543. +--- 1990,1997 ----
  544. +  #include "confdefs.h"
  545. +  #include <sys/types.h>
  546. +  EOF
  547. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  548. +! if egrep "uid_t" <conftest.tmp >/dev/null 2>&1; then
  549. +    rm -rf conftest*
  550. +    ac_cv_type_uid_t=yes
  551. +  else
  552. +***************
  553. +*** 2026,2033 ****
  554. +  #include <stdlib.h>
  555. +  #endif
  556. +  EOF
  557. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  558. +!   egrep "ino_t" >/dev/null 2>&1; then
  559. +    rm -rf conftest*
  560. +    ac_cv_type_ino_t=yes
  561. +  else
  562. +--- 2026,2033 ----
  563. +  #include <stdlib.h>
  564. +  #endif
  565. +  EOF
  566. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  567. +! if egrep "ino_t" <conftest.tmp >/dev/null 2>&1; then
  568. +    rm -rf conftest*
  569. +    ac_cv_type_ino_t=yes
  570. +  else
  571. +***************
  572. +*** 2101,2107 ****
  573. +  
  574. +  ; return 0; }
  575. +  EOF
  576. +! if { (eval echo configure:2105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  577. +    rm -rf conftest*
  578. +    ac_cv_c_const=yes
  579. +  else
  580. +--- 2101,2107 ----
  581. +  
  582. +  ; return 0; }
  583. +  EOF
  584. +! if { (eval echo configure:2105: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  585. +    rm -rf conftest*
  586. +    ac_cv_c_const=yes
  587. +  else
  588. +***************
  589. +*** 2133,2139 ****
  590. +  #include <float.h>
  591. +  EOF
  592. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  593. +! { (eval echo configure:2137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  594. +  ac_err=`grep -v '^ *+' conftest.out`
  595. +  if test -z "$ac_err"; then
  596. +    rm -rf conftest*
  597. +--- 2133,2139 ----
  598. +  #include <float.h>
  599. +  EOF
  600. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  601. +! { (eval echo configure:2137: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  602. +  ac_err=`grep -v '^ *+' conftest.out`
  603. +  if test -z "$ac_err"; then
  604. +    rm -rf conftest*
  605. +***************
  606. +*** 2152,2159 ****
  607. +  #include "confdefs.h"
  608. +  #include <string.h>
  609. +  EOF
  610. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  611. +!   egrep "memchr" >/dev/null 2>&1; then
  612. +    :
  613. +  else
  614. +    rm -rf conftest*
  615. +--- 2152,2159 ----
  616. +  #include "confdefs.h"
  617. +  #include <string.h>
  618. +  EOF
  619. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  620. +! if egrep "memchr" <conftest.tmp >/dev/null 2>&1; then
  621. +    :
  622. +  else
  623. +    rm -rf conftest*
  624. +***************
  625. +*** 2170,2177 ****
  626. +  #include "confdefs.h"
  627. +  #include <stdlib.h>
  628. +  EOF
  629. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  630. +!   egrep "free" >/dev/null 2>&1; then
  631. +    :
  632. +  else
  633. +    rm -rf conftest*
  634. +--- 2170,2177 ----
  635. +  #include "confdefs.h"
  636. +  #include <stdlib.h>
  637. +  EOF
  638. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  639. +! if egrep "free" <conftest.tmp >/dev/null 2>&1; then
  640. +    :
  641. +  else
  642. +    rm -rf conftest*
  643. +***************
  644. +*** 2198,2204 ****
  645. +  exit (0); }
  646. +  
  647. +  EOF
  648. +! { (eval echo configure:2202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  649. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  650. +    :
  651. +  else
  652. +--- 2198,2204 ----
  653. +  exit (0); }
  654. +  
  655. +  EOF
  656. +! { (eval echo configure:2202: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  657. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  658. +    :
  659. +  else
  660. +***************
  661. +*** 2231,2237 ****
  662. +  struct tm *tp; tp->tm_sec;
  663. +  ; return 0; }
  664. +  EOF
  665. +! if { (eval echo configure:2235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  666. +    rm -rf conftest*
  667. +    ac_cv_struct_tm=time.h
  668. +  else
  669. +--- 2231,2237 ----
  670. +  struct tm *tp; tp->tm_sec;
  671. +  ; return 0; }
  672. +  EOF
  673. +! if { (eval echo configure:2235: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  674. +    rm -rf conftest*
  675. +    ac_cv_struct_tm=time.h
  676. +  else
  677. +***************
  678. +*** 2264,2270 ****
  679. +  struct stat s; s.st_blocks;
  680. +  ; return 0; }
  681. +  EOF
  682. +! if { (eval echo configure:2268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  683. +    rm -rf conftest*
  684. +    ac_cv_struct_st_blocks=yes
  685. +  else
  686. +--- 2264,2270 ----
  687. +  struct stat s; s.st_blocks;
  688. +  ; return 0; }
  689. +  EOF
  690. +! if { (eval echo configure:2268: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  691. +    rm -rf conftest*
  692. +    ac_cv_struct_st_blocks=yes
  693. +  else
  694. +***************
  695. +*** 2300,2306 ****
  696. +  struct tm *tp;
  697. +  ; return 0; }
  698. +  EOF
  699. +! if { (eval echo configure:2304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  700. +    rm -rf conftest*
  701. +    ac_cv_header_time=yes
  702. +  else
  703. +--- 2300,2306 ----
  704. +  struct tm *tp;
  705. +  ; return 0; }
  706. +  EOF
  707. +! if { (eval echo configure:2304: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  708. +    rm -rf conftest*
  709. +    ac_cv_header_time=yes
  710. +  else
  711. +***************
  712. +*** 2354,2361 ****
  713. +  #endif
  714. +  
  715. +  EOF
  716. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  717. +!   egrep "You lose" >/dev/null 2>&1; then
  718. +    rm -rf conftest*
  719. +    ac_cv_header_stat_broken=yes
  720. +  else
  721. +--- 2354,2361 ----
  722. +  #endif
  723. +  
  724. +  EOF
  725. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  726. +! if egrep "You lose" <conftest.tmp >/dev/null 2>&1; then
  727. +    rm -rf conftest*
  728. +    ac_cv_header_stat_broken=yes
  729. +  else
  730. +***************
  731. +*** 2391,2397 ****
  732. +  #include <$ac_hdr>
  733. +  EOF
  734. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  735. +! { (eval echo configure:2395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  736. +  ac_err=`grep -v '^ *+' conftest.out`
  737. +  if test -z "$ac_err"; then
  738. +    rm -rf conftest*
  739. +--- 2391,2397 ----
  740. +  #include <$ac_hdr>
  741. +  EOF
  742. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  743. +! { (eval echo configure:2395: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  744. +  ac_err=`grep -v '^ *+' conftest.out`
  745. +  if test -z "$ac_err"; then
  746. +    rm -rf conftest*
  747. +***************
  748. +*** 2434,2440 ****
  749. +      builtin and then its argument prototype would still apply.  */
  750. +  char $ac_func();
  751. +  
  752. +! int main() { return 0; }
  753. +  int t() {
  754. +  
  755. +  /* The GNU C library defines this for functions which it implements
  756. +--- 2434,2440 ----
  757. +      builtin and then its argument prototype would still apply.  */
  758. +  char $ac_func();
  759. +  
  760. +! int main() { t(); return 0; }
  761. +  int t() {
  762. +  
  763. +  /* The GNU C library defines this for functions which it implements
  764. +***************
  765. +*** 2448,2454 ****
  766. +  
  767. +  ; return 0; }
  768. +  EOF
  769. +! if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  770. +    rm -rf conftest*
  771. +    eval "ac_cv_func_$ac_func=yes"
  772. +  else
  773. +--- 2448,2454 ----
  774. +  
  775. +  ; return 0; }
  776. +  EOF
  777. +! if { (eval echo configure:2452: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  778. +    rm -rf conftest*
  779. +    eval "ac_cv_func_$ac_func=yes"
  780. +  else
  781. +***************
  782. +*** 2483,2489 ****
  783. +      builtin and then its argument prototype would still apply.  */
  784. +  char getopt_long();
  785. +  
  786. +! int main() { return 0; }
  787. +  int t() {
  788. +  
  789. +  /* The GNU C library defines this for functions which it implements
  790. +--- 2483,2489 ----
  791. +      builtin and then its argument prototype would still apply.  */
  792. +  char getopt_long();
  793. +  
  794. +! int main() { t(); return 0; }
  795. +  int t() {
  796. +  
  797. +  /* The GNU C library defines this for functions which it implements
  798. +***************
  799. +*** 2497,2503 ****
  800. +  
  801. +  ; return 0; }
  802. +  EOF
  803. +! if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  804. +    rm -rf conftest*
  805. +    eval "ac_cv_func_getopt_long=yes"
  806. +  else
  807. +--- 2497,2503 ----
  808. +  
  809. +  ; return 0; }
  810. +  EOF
  811. +! if { (eval echo configure:2501: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  812. +    rm -rf conftest*
  813. +    eval "ac_cv_func_getopt_long=yes"
  814. +  else
  815. +***************
  816. +*** 2535,2541 ****
  817. +      builtin and then its argument prototype would still apply.  */
  818. +  char $ac_func();
  819. +  
  820. +! int main() { return 0; }
  821. +  int t() {
  822. +  
  823. +  /* The GNU C library defines this for functions which it implements
  824. +--- 2535,2541 ----
  825. +      builtin and then its argument prototype would still apply.  */
  826. +  char $ac_func();
  827. +  
  828. +! int main() { t(); return 0; }
  829. +  int t() {
  830. +  
  831. +  /* The GNU C library defines this for functions which it implements
  832. +***************
  833. +*** 2549,2555 ****
  834. +  
  835. +  ; return 0; }
  836. +  EOF
  837. +! if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  838. +    rm -rf conftest*
  839. +    eval "ac_cv_func_$ac_func=yes"
  840. +  else
  841. +--- 2549,2555 ----
  842. +  
  843. +  ; return 0; }
  844. +  EOF
  845. +! if { (eval echo configure:2553: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  846. +    rm -rf conftest*
  847. +    eval "ac_cv_func_$ac_func=yes"
  848. +  else
  849. +***************
  850. +*** 2582,2594 ****
  851. +  #include <sys/types.h>
  852. +  #include <unistd.h>
  853. +  #include <termios.h>
  854. +! int main() { return 0; }
  855. +  int t() {
  856. +  /* SunOS 4.0.3 has termios.h but not the library calls.  */
  857. +     tcgetattr(0, 0);
  858. +  ; return 0; }
  859. +  EOF
  860. +! if { (eval echo configure:2592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  861. +    rm -rf conftest*
  862. +    am_cv_sys_posix_termios=yes
  863. +  else
  864. +--- 2582,2594 ----
  865. +  #include <sys/types.h>
  866. +  #include <unistd.h>
  867. +  #include <termios.h>
  868. +! int main() { t(); return 0; }
  869. +  int t() {
  870. +  /* SunOS 4.0.3 has termios.h but not the library calls.  */
  871. +     tcgetattr(0, 0);
  872. +  ; return 0; }
  873. +  EOF
  874. +! if { (eval echo configure:2592: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  875. +    rm -rf conftest*
  876. +    am_cv_sys_posix_termios=yes
  877. +  else
  878. +***************
  879. +*** 2620,2627 ****
  880. +  #     endif
  881. +      
  882. +  EOF
  883. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  884. +!   egrep "yes" >/dev/null 2>&1; then
  885. +    rm -rf conftest*
  886. +    gwinsz_in_termios_h=yes
  887. +  fi
  888. +--- 2620,2627 ----
  889. +  #     endif
  890. +      
  891. +  EOF
  892. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  893. +! if egrep "yes" <conftest.tmp >/dev/null 2>&1; then
  894. +    rm -rf conftest*
  895. +    gwinsz_in_termios_h=yes
  896. +  fi
  897. +***************
  898. +*** 2640,2647 ****
  899. +  #     endif
  900. +      
  901. +  EOF
  902. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  903. +!   egrep "yes" >/dev/null 2>&1; then
  904. +    rm -rf conftest*
  905. +    am_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes
  906. +  fi
  907. +--- 2640,2647 ----
  908. +  #     endif
  909. +      
  910. +  EOF
  911. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  912. +! if egrep "yes" <conftest.tmp >/dev/null 2>&1; then
  913. +    rm -rf conftest*
  914. +    am_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes
  915. +  fi
  916. +***************
  917. +*** 2675,2681 ****
  918. +      builtin and then its argument prototype would still apply.  */
  919. +  char vprintf();
  920. +  
  921. +! int main() { return 0; }
  922. +  int t() {
  923. +  
  924. +  /* The GNU C library defines this for functions which it implements
  925. +--- 2675,2681 ----
  926. +      builtin and then its argument prototype would still apply.  */
  927. +  char vprintf();
  928. +  
  929. +! int main() { t(); return 0; }
  930. +  int t() {
  931. +  
  932. +  /* The GNU C library defines this for functions which it implements
  933. +***************
  934. +*** 2689,2695 ****
  935. +  
  936. +  ; return 0; }
  937. +  EOF
  938. +! if { (eval echo configure:2693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  939. +    rm -rf conftest*
  940. +    eval "ac_cv_func_vprintf=yes"
  941. +  else
  942. +--- 2689,2695 ----
  943. +  
  944. +  ; return 0; }
  945. +  EOF
  946. +! if { (eval echo configure:2693: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  947. +    rm -rf conftest*
  948. +    eval "ac_cv_func_vprintf=yes"
  949. +  else
  950. +***************
  951. +*** 2725,2731 ****
  952. +      builtin and then its argument prototype would still apply.  */
  953. +  char _doprnt();
  954. +  
  955. +! int main() { return 0; }
  956. +  int t() {
  957. +  
  958. +  /* The GNU C library defines this for functions which it implements
  959. +--- 2725,2731 ----
  960. +      builtin and then its argument prototype would still apply.  */
  961. +  char _doprnt();
  962. +  
  963. +! int main() { t(); return 0; }
  964. +  int t() {
  965. +  
  966. +  /* The GNU C library defines this for functions which it implements
  967. +***************
  968. +*** 2739,2745 ****
  969. +  
  970. +  ; return 0; }
  971. +  EOF
  972. +! if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  973. +    rm -rf conftest*
  974. +    eval "ac_cv_func__doprnt=yes"
  975. +  else
  976. +--- 2739,2745 ----
  977. +  
  978. +  ; return 0; }
  979. +  EOF
  980. +! if { (eval echo configure:2743: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  981. +    rm -rf conftest*
  982. +    eval "ac_cv_func__doprnt=yes"
  983. +  else
  984. +***************
  985. +*** 2771,2782 ****
  986. +  #line 2772 "configure"
  987. +  #include "confdefs.h"
  988. +  #include <alloca.h>
  989. +! int main() { return 0; }
  990. +  int t() {
  991. +  char *p = alloca(2 * sizeof(int));
  992. +  ; return 0; }
  993. +  EOF
  994. +! if { (eval echo configure:2780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  995. +    rm -rf conftest*
  996. +    ac_cv_header_alloca_h=yes
  997. +  else
  998. +--- 2771,2782 ----
  999. +  #line 2772 "configure"
  1000. +  #include "confdefs.h"
  1001. +  #include <alloca.h>
  1002. +! int main() { t(); return 0; }
  1003. +  int t() {
  1004. +  char *p = alloca(2 * sizeof(int));
  1005. +  ; return 0; }
  1006. +  EOF
  1007. +! if { (eval echo configure:2780: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1008. +    rm -rf conftest*
  1009. +    ac_cv_header_alloca_h=yes
  1010. +  else
  1011. +***************
  1012. +*** 2819,2830 ****
  1013. +  # endif
  1014. +  #endif
  1015. +  
  1016. +! int main() { return 0; }
  1017. +  int t() {
  1018. +  char *p = (char *) alloca(1);
  1019. +  ; return 0; }
  1020. +  EOF
  1021. +! if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1022. +    rm -rf conftest*
  1023. +    ac_cv_func_alloca=yes
  1024. +  else
  1025. +--- 2819,2830 ----
  1026. +  # endif
  1027. +  #endif
  1028. +  
  1029. +! int main() { t(); return 0; }
  1030. +  int t() {
  1031. +  char *p = (char *) alloca(1);
  1032. +  ; return 0; }
  1033. +  EOF
  1034. +! if { (eval echo configure:2828: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1035. +    rm -rf conftest*
  1036. +    ac_cv_func_alloca=yes
  1037. +  else
  1038. +***************
  1039. +*** 2868,2875 ****
  1040. +  #endif
  1041. +  
  1042. +  EOF
  1043. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1044. +!   egrep "webecray" >/dev/null 2>&1; then
  1045. +    rm -rf conftest*
  1046. +    ac_cv_os_cray=yes
  1047. +  else
  1048. +--- 2868,2875 ----
  1049. +  #endif
  1050. +  
  1051. +  EOF
  1052. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  1053. +! if egrep "webecray" <conftest.tmp >/dev/null 2>&1; then
  1054. +    rm -rf conftest*
  1055. +    ac_cv_os_cray=yes
  1056. +  else
  1057. +***************
  1058. +*** 2898,2904 ****
  1059. +      builtin and then its argument prototype would still apply.  */
  1060. +  char $ac_func();
  1061. +  
  1062. +! int main() { return 0; }
  1063. +  int t() {
  1064. +  
  1065. +  /* The GNU C library defines this for functions which it implements
  1066. +--- 2898,2904 ----
  1067. +      builtin and then its argument prototype would still apply.  */
  1068. +  char $ac_func();
  1069. +  
  1070. +! int main() { t(); return 0; }
  1071. +  int t() {
  1072. +  
  1073. +  /* The GNU C library defines this for functions which it implements
  1074. +***************
  1075. +*** 2912,2918 ****
  1076. +  
  1077. +  ; return 0; }
  1078. +  EOF
  1079. +! if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1080. +    rm -rf conftest*
  1081. +    eval "ac_cv_func_$ac_func=yes"
  1082. +  else
  1083. +--- 2912,2918 ----
  1084. +  
  1085. +  ; return 0; }
  1086. +  EOF
  1087. +! if { (eval echo configure:2916: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1088. +    rm -rf conftest*
  1089. +    eval "ac_cv_func_$ac_func=yes"
  1090. +  else
  1091. +***************
  1092. +*** 2963,2969 ****
  1093. +    exit (find_stack_direction() < 0);
  1094. +  }
  1095. +  EOF
  1096. +! { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1097. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1098. +    ac_cv_c_stack_direction=1
  1099. +  else
  1100. +--- 2963,2969 ----
  1101. +    exit (find_stack_direction() < 0);
  1102. +  }
  1103. +  EOF
  1104. +! { (eval echo configure:2967: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1105. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1106. +    ac_cv_c_stack_direction=1
  1107. +  else
  1108. +***************
  1109. +*** 3001,3007 ****
  1110. +  && t.st_mtime - s.st_mtime < 120));
  1111. +  }
  1112. +  EOF
  1113. +! { (eval echo configure:3005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1114. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1115. +    ac_cv_func_utime_null=yes
  1116. +  else
  1117. +--- 3001,3007 ----
  1118. +  && t.st_mtime - s.st_mtime < 120));
  1119. +  }
  1120. +  EOF
  1121. +! { (eval echo configure:3005: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1122. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1123. +    ac_cv_func_utime_null=yes
  1124. +  else
  1125. +***************
  1126. +*** 3046,3052 ****
  1127. +  static struct utimbuf x; x.actime = x.modtime;
  1128. +  ; return 0; }
  1129. +  EOF
  1130. +! if { (eval echo configure:3050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1131. +    rm -rf conftest*
  1132. +    fu_cv_sys_struct_utimbuf=yes
  1133. +  else
  1134. +--- 3046,3052 ----
  1135. +  static struct utimbuf x; x.actime = x.modtime;
  1136. +  ; return 0; }
  1137. +  EOF
  1138. +! if { (eval echo configure:3050: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1139. +    rm -rf conftest*
  1140. +    fu_cv_sys_struct_utimbuf=yes
  1141. +  else
  1142. +***************
  1143. +*** 3085,3091 ****
  1144. +      ? 0 : 1);
  1145. +  }
  1146. +  EOF
  1147. +! { (eval echo configure:3089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1148. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1149. +    fu_cv_sys_working_fnmatch=yes
  1150. +  else
  1151. +--- 3085,3091 ----
  1152. +      ? 0 : 1);
  1153. +  }
  1154. +  EOF
  1155. +! { (eval echo configure:3089: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1156. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1157. +    fu_cv_sys_working_fnmatch=yes
  1158. +  else
  1159. +***************
  1160. +*** 3124,3135 ****
  1161. +  # endif /* HAVE_NDIR_H */
  1162. +  #endif /* HAVE_DIRENT_H */
  1163. +  
  1164. +! int main() { return 0; }
  1165. +  int t() {
  1166. +  struct dirent dp; dp.d_ino = 0;
  1167. +  ; return 0; }
  1168. +  EOF
  1169. +! if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1170. +    rm -rf conftest*
  1171. +    fu_cv_sys_d_ino_in_dirent=yes
  1172. +  else
  1173. +--- 3124,3135 ----
  1174. +  # endif /* HAVE_NDIR_H */
  1175. +  #endif /* HAVE_DIRENT_H */
  1176. +  
  1177. +! int main() { t(); return 0; }
  1178. +  int t() {
  1179. +  struct dirent dp; dp.d_ino = 0;
  1180. +  ; return 0; }
  1181. +  EOF
  1182. +! if { (eval echo configure:3133: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1183. +    rm -rf conftest*
  1184. +    fu_cv_sys_d_ino_in_dirent=yes
  1185. +  else
  1186. +***************
  1187. +*** 3169,3180 ****
  1188. +      builtin and then its argument prototype would still apply.  */
  1189. +  char getmntent();
  1190. +  
  1191. +! int main() { return 0; }
  1192. +  int t() {
  1193. +  getmntent()
  1194. +  ; return 0; }
  1195. +  EOF
  1196. +! if { (eval echo configure:3178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1197. +    rm -rf conftest*
  1198. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1199. +  else
  1200. +--- 3169,3180 ----
  1201. +      builtin and then its argument prototype would still apply.  */
  1202. +  char getmntent();
  1203. +  
  1204. +! int main() { t(); return 0; }
  1205. +  int t() {
  1206. +  getmntent()
  1207. +  ; return 0; }
  1208. +  EOF
  1209. +! if { (eval echo configure:3178: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1210. +    rm -rf conftest*
  1211. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1212. +  else
  1213. +***************
  1214. +*** 3205,3216 ****
  1215. +      builtin and then its argument prototype would still apply.  */
  1216. +  char getmntent();
  1217. +  
  1218. +! int main() { return 0; }
  1219. +  int t() {
  1220. +  getmntent()
  1221. +  ; return 0; }
  1222. +  EOF
  1223. +! if { (eval echo configure:3214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1224. +    rm -rf conftest*
  1225. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1226. +  else
  1227. +--- 3205,3216 ----
  1228. +      builtin and then its argument prototype would still apply.  */
  1229. +  char getmntent();
  1230. +  
  1231. +! int main() { t(); return 0; }
  1232. +  int t() {
  1233. +  getmntent()
  1234. +  ; return 0; }
  1235. +  EOF
  1236. +! if { (eval echo configure:3214: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1237. +    rm -rf conftest*
  1238. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1239. +  else
  1240. +***************
  1241. +*** 3241,3252 ****
  1242. +      builtin and then its argument prototype would still apply.  */
  1243. +  char getmntent();
  1244. +  
  1245. +! int main() { return 0; }
  1246. +  int t() {
  1247. +  getmntent()
  1248. +  ; return 0; }
  1249. +  EOF
  1250. +! if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1251. +    rm -rf conftest*
  1252. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1253. +  else
  1254. +--- 3241,3252 ----
  1255. +      builtin and then its argument prototype would still apply.  */
  1256. +  char getmntent();
  1257. +  
  1258. +! int main() { t(); return 0; }
  1259. +  int t() {
  1260. +  getmntent()
  1261. +  ; return 0; }
  1262. +  EOF
  1263. +! if { (eval echo configure:3250: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1264. +    rm -rf conftest*
  1265. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1266. +  else
  1267. +***************
  1268. +*** 3283,3289 ****
  1269. +      builtin and then its argument prototype would still apply.  */
  1270. +  char getmntent();
  1271. +  
  1272. +! int main() { return 0; }
  1273. +  int t() {
  1274. +  
  1275. +  /* The GNU C library defines this for functions which it implements
  1276. +--- 3283,3289 ----
  1277. +      builtin and then its argument prototype would still apply.  */
  1278. +  char getmntent();
  1279. +  
  1280. +! int main() { t(); return 0; }
  1281. +  int t() {
  1282. +  
  1283. +  /* The GNU C library defines this for functions which it implements
  1284. +***************
  1285. +*** 3297,3303 ****
  1286. +  
  1287. +  ; return 0; }
  1288. +  EOF
  1289. +! if { (eval echo configure:3301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1290. +    rm -rf conftest*
  1291. +    eval "ac_cv_func_getmntent=yes"
  1292. +  else
  1293. +--- 3297,3303 ----
  1294. +  
  1295. +  ; return 0; }
  1296. +  EOF
  1297. +! if { (eval echo configure:3301: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1298. +    rm -rf conftest*
  1299. +    eval "ac_cv_func_getmntent=yes"
  1300. +  else
  1301. +***************
  1302. +*** 3342,3349 ****
  1303. +  #endif
  1304. +          
  1305. +  EOF
  1306. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1307. +!   egrep "yes" >/dev/null 2>&1; then
  1308. +    rm -rf conftest*
  1309. +    test $ac_cv_func_listmntent = yes \
  1310. +          && fu_cv_sys_mounted_cray_listmntent=yes
  1311. +--- 3342,3349 ----
  1312. +  #endif
  1313. +          
  1314. +  EOF
  1315. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  1316. +! if egrep "yes" <conftest.tmp >/dev/null 2>&1; then
  1317. +    rm -rf conftest*
  1318. +    test $ac_cv_func_listmntent = yes \
  1319. +          && fu_cv_sys_mounted_cray_listmntent=yes
  1320. +***************
  1321. +*** 3402,3409 ****
  1322. +  #include "confdefs.h"
  1323. +  #include <sys/mnttab.h>
  1324. +  EOF
  1325. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1326. +!   egrep "getmntent" >/dev/null 2>&1; then
  1327. +    rm -rf conftest*
  1328. +    fu_cv_sys_mounted_getmntent2=yes
  1329. +  else
  1330. +--- 3402,3409 ----
  1331. +  #include "confdefs.h"
  1332. +  #include <sys/mnttab.h>
  1333. +  EOF
  1334. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  1335. +! if egrep "getmntent" <conftest.tmp >/dev/null 2>&1; then
  1336. +    rm -rf conftest*
  1337. +    fu_cv_sys_mounted_getmntent2=yes
  1338. +  else
  1339. +***************
  1340. +*** 3445,3457 ****
  1341. +  #include <sys/types.h>
  1342. +  #include <sys/mount.h>
  1343. +  #include <sys/fs_types.h>
  1344. +! int main() { return 0; }
  1345. +  int t() {
  1346. +  struct statfs *stats;
  1347. +    numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); 
  1348. +  ; return 0; }
  1349. +  EOF
  1350. +! if { (eval echo configure:3455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1351. +    rm -rf conftest*
  1352. +    fu_cv_sys_mounted_getsstat=yes
  1353. +  else
  1354. +--- 3445,3457 ----
  1355. +  #include <sys/types.h>
  1356. +  #include <sys/mount.h>
  1357. +  #include <sys/fs_types.h>
  1358. +! int main() { t(); return 0; }
  1359. +  int t() {
  1360. +  struct statfs *stats;
  1361. +    numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); 
  1362. +  ; return 0; }
  1363. +  EOF
  1364. +! if { (eval echo configure:3455: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1365. +    rm -rf conftest*
  1366. +    fu_cv_sys_mounted_getsstat=yes
  1367. +  else
  1368. +***************
  1369. +*** 3484,3490 ****
  1370. +  #include <fshelp.h>
  1371. +  EOF
  1372. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1373. +! { (eval echo configure:3488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1374. +  ac_err=`grep -v '^ *+' conftest.out`
  1375. +  if test -z "$ac_err"; then
  1376. +    rm -rf conftest*
  1377. +--- 3484,3490 ----
  1378. +  #include <fshelp.h>
  1379. +  EOF
  1380. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1381. +! { (eval echo configure:3488: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1382. +  ac_err=`grep -v '^ *+' conftest.out`
  1383. +  if test -z "$ac_err"; then
  1384. +    rm -rf conftest*
  1385. +***************
  1386. +*** 3522,3528 ****
  1387. +  #include <mnttab.h>
  1388. +  EOF
  1389. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1390. +! { (eval echo configure:3526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1391. +  ac_err=`grep -v '^ *+' conftest.out`
  1392. +  if test -z "$ac_err"; then
  1393. +    rm -rf conftest*
  1394. +--- 3522,3528 ----
  1395. +  #include <mnttab.h>
  1396. +  EOF
  1397. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1398. +! { (eval echo configure:3526: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1399. +  ac_err=`grep -v '^ *+' conftest.out`
  1400. +  if test -z "$ac_err"; then
  1401. +    rm -rf conftest*
  1402. +***************
  1403. +*** 3559,3566 ****
  1404. +  #include "confdefs.h"
  1405. +  #include <sys/mount.h>
  1406. +  EOF
  1407. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1408. +!   egrep "f_type;" >/dev/null 2>&1; then
  1409. +    rm -rf conftest*
  1410. +    ok=yes
  1411. +  fi
  1412. +--- 3559,3566 ----
  1413. +  #include "confdefs.h"
  1414. +  #include <sys/mount.h>
  1415. +  EOF
  1416. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  1417. +! if egrep "f_type;" <conftest.tmp >/dev/null 2>&1; then
  1418. +    rm -rf conftest*
  1419. +    ok=yes
  1420. +  fi
  1421. +***************
  1422. +*** 3599,3605 ****
  1423. +  #include <sys/mount.h>
  1424. +  EOF
  1425. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1426. +! { (eval echo configure:3603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1427. +  ac_err=`grep -v '^ *+' conftest.out`
  1428. +  if test -z "$ac_err"; then
  1429. +    rm -rf conftest*
  1430. +--- 3599,3605 ----
  1431. +  #include <sys/mount.h>
  1432. +  EOF
  1433. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1434. +! { (eval echo configure:3603: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1435. +  ac_err=`grep -v '^ *+' conftest.out`
  1436. +  if test -z "$ac_err"; then
  1437. +    rm -rf conftest*
  1438. +***************
  1439. +*** 3634,3640 ****
  1440. +  #include <mnttab.h>
  1441. +  EOF
  1442. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1443. +! { (eval echo configure:3638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1444. +  ac_err=`grep -v '^ *+' conftest.out`
  1445. +  if test -z "$ac_err"; then
  1446. +    rm -rf conftest*
  1447. +--- 3634,3640 ----
  1448. +  #include <mnttab.h>
  1449. +  EOF
  1450. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1451. +! { (eval echo configure:3638: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1452. +  ac_err=`grep -v '^ *+' conftest.out`
  1453. +  if test -z "$ac_err"; then
  1454. +    rm -rf conftest*
  1455. +***************
  1456. +*** 3687,3693 ****
  1457. +      builtin and then its argument prototype would still apply.  */
  1458. +  char $ac_func();
  1459. +  
  1460. +! int main() { return 0; }
  1461. +  int t() {
  1462. +  
  1463. +  /* The GNU C library defines this for functions which it implements
  1464. +--- 3687,3693 ----
  1465. +      builtin and then its argument prototype would still apply.  */
  1466. +  char $ac_func();
  1467. +  
  1468. +! int main() { t(); return 0; }
  1469. +  int t() {
  1470. +  
  1471. +  /* The GNU C library defines this for functions which it implements
  1472. +***************
  1473. +*** 3701,3707 ****
  1474. +  
  1475. +  ; return 0; }
  1476. +  EOF
  1477. +! if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1478. +    rm -rf conftest*
  1479. +    eval "ac_cv_func_$ac_func=yes"
  1480. +  else
  1481. +--- 3701,3707 ----
  1482. +  
  1483. +  ; return 0; }
  1484. +  EOF
  1485. +! if { (eval echo configure:3705: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1486. +    rm -rf conftest*
  1487. +    eval "ac_cv_func_$ac_func=yes"
  1488. +  else
  1489. +***************
  1490. +*** 3755,3761 ****
  1491. +      exit (statfs (".", &fsd, sizeof (struct statfs)));
  1492. +    }
  1493. +  EOF
  1494. +! { (eval echo configure:3759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1495. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1496. +    fu_cv_sys_stat_statfs3_osf1=yes
  1497. +  else
  1498. +--- 3755,3761 ----
  1499. +      exit (statfs (".", &fsd, sizeof (struct statfs)));
  1500. +    }
  1501. +  EOF
  1502. +! { (eval echo configure:3759: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1503. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1504. +    fu_cv_sys_stat_statfs3_osf1=yes
  1505. +  else
  1506. +***************
  1507. +*** 3806,3812 ****
  1508. +    exit (statfs (".", &fsd));
  1509. +    }
  1510. +  EOF
  1511. +! { (eval echo configure:3810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1512. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1513. +    fu_cv_sys_stat_statfs2_bsize=yes
  1514. +  else
  1515. +--- 3806,3812 ----
  1516. +    exit (statfs (".", &fsd));
  1517. +    }
  1518. +  EOF
  1519. +! { (eval echo configure:3810: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1520. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1521. +    fu_cv_sys_stat_statfs2_bsize=yes
  1522. +  else
  1523. +***************
  1524. +*** 3846,3852 ****
  1525. +    exit (statfs (".", &fsd, sizeof fsd, 0));
  1526. +    }
  1527. +  EOF
  1528. +! { (eval echo configure:3850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1529. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1530. +    fu_cv_sys_stat_statfs4=yes
  1531. +  else
  1532. +--- 3846,3852 ----
  1533. +    exit (statfs (".", &fsd, sizeof fsd, 0));
  1534. +    }
  1535. +  EOF
  1536. +! { (eval echo configure:3850: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1537. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1538. +    fu_cv_sys_stat_statfs4=yes
  1539. +  else
  1540. +***************
  1541. +*** 3892,3898 ****
  1542. +    exit (statfs (".", &fsd));
  1543. +    }
  1544. +  EOF
  1545. +! { (eval echo configure:3896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1546. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1547. +    fu_cv_sys_stat_statfs2_fsize=yes
  1548. +  else
  1549. +--- 3892,3898 ----
  1550. +    exit (statfs (".", &fsd));
  1551. +    }
  1552. +  EOF
  1553. +! { (eval echo configure:3896: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1554. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1555. +    fu_cv_sys_stat_statfs2_fsize=yes
  1556. +  else
  1557. +***************
  1558. +*** 3942,3948 ****
  1559. +    exit (statfs (".", &fsd) != 1);
  1560. +    }
  1561. +  EOF
  1562. +! { (eval echo configure:3946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1563. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1564. +    fu_cv_sys_stat_fs_data=yes
  1565. +  else
  1566. +--- 3942,3948 ----
  1567. +    exit (statfs (".", &fsd) != 1);
  1568. +    }
  1569. +  EOF
  1570. +! { (eval echo configure:3946: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1571. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1572. +    fu_cv_sys_stat_fs_data=yes
  1573. +  else
  1574. +***************
  1575. +*** 3970,3976 ****
  1576. +  #include <sys/filsys.h>
  1577. +  EOF
  1578. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1579. +! { (eval echo configure:3974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1580. +  ac_err=`grep -v '^ *+' conftest.out`
  1581. +  if test -z "$ac_err"; then
  1582. +    rm -rf conftest*
  1583. +--- 3970,3976 ----
  1584. +  #include <sys/filsys.h>
  1585. +  EOF
  1586. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1587. +! { (eval echo configure:3974: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1588. +  ac_err=`grep -v '^ *+' conftest.out`
  1589. +  if test -z "$ac_err"; then
  1590. +    rm -rf conftest*
  1591. +***************
  1592. +*** 4007,4013 ****
  1593. +      builtin and then its argument prototype would still apply.  */
  1594. +  char $ac_func();
  1595. +  
  1596. +! int main() { return 0; }
  1597. +  int t() {
  1598. +  
  1599. +  /* The GNU C library defines this for functions which it implements
  1600. +--- 4007,4013 ----
  1601. +      builtin and then its argument prototype would still apply.  */
  1602. +  char $ac_func();
  1603. +  
  1604. +! int main() { t(); return 0; }
  1605. +  int t() {
  1606. +  
  1607. +  /* The GNU C library defines this for functions which it implements
  1608. +***************
  1609. +*** 4021,4027 ****
  1610. +  
  1611. +  ; return 0; }
  1612. +  EOF
  1613. +! if { (eval echo configure:4025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1614. +    rm -rf conftest*
  1615. +    eval "ac_cv_func_$ac_func=yes"
  1616. +  else
  1617. +--- 4021,4027 ----
  1618. +  
  1619. +  ; return 0; }
  1620. +  EOF
  1621. +! if { (eval echo configure:4025: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1622. +    rm -rf conftest*
  1623. +    eval "ac_cv_func_$ac_func=yes"
  1624. +  else
  1625. +***************
  1626. +*** 4056,4062 ****
  1627. +  
  1628. +  #include <sys/types.h>
  1629. +  #include <fcntl.h>
  1630. +! int main() { return 0; }
  1631. +  int t() {
  1632. +  
  1633. +  #if !defined(F_CHSIZE) && !defined(F_FREESP)
  1634. +--- 4056,4062 ----
  1635. +  
  1636. +  #include <sys/types.h>
  1637. +  #include <fcntl.h>
  1638. +! int main() { t(); return 0; }
  1639. +  int t() {
  1640. +  
  1641. +  #if !defined(F_CHSIZE) && !defined(F_FREESP)
  1642. +***************
  1643. +*** 4065,4071 ****
  1644. +  
  1645. +  ; return 0; }
  1646. +  EOF
  1647. +! if { (eval echo configure:4069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1648. +    rm -rf conftest*
  1649. +    fu_cv_sys_ftruncate_emulation=yes
  1650. +  else
  1651. +--- 4065,4071 ----
  1652. +  
  1653. +  ; return 0; }
  1654. +  EOF
  1655. +! if { (eval echo configure:4069: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1656. +    rm -rf conftest*
  1657. +    fu_cv_sys_ftruncate_emulation=yes
  1658. +  else
  1659. +***************
  1660. +*** 4106,4112 ****
  1661. +  struct statfs t; long c = *(t.f_spare);
  1662. +  ; return 0; }
  1663. +  EOF
  1664. +! if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1665. +    rm -rf conftest*
  1666. +    fu_cv_sys_truncating_statfs=yes
  1667. +  else
  1668. +--- 4106,4112 ----
  1669. +  struct statfs t; long c = *(t.f_spare);
  1670. +  ; return 0; }
  1671. +  EOF
  1672. +! if { (eval echo configure:4110: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1673. +    rm -rf conftest*
  1674. +    fu_cv_sys_truncating_statfs=yes
  1675. +  else
  1676. +***************
  1677. +*** 4142,4148 ****
  1678. +      builtin and then its argument prototype would still apply.  */
  1679. +  char getgroups();
  1680. +  
  1681. +! int main() { return 0; }
  1682. +  int t() {
  1683. +  
  1684. +  /* The GNU C library defines this for functions which it implements
  1685. +--- 4142,4148 ----
  1686. +      builtin and then its argument prototype would still apply.  */
  1687. +  char getgroups();
  1688. +  
  1689. +! int main() { t(); return 0; }
  1690. +  int t() {
  1691. +  
  1692. +  /* The GNU C library defines this for functions which it implements
  1693. +***************
  1694. +*** 4156,4162 ****
  1695. +  
  1696. +  ; return 0; }
  1697. +  EOF
  1698. +! if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1699. +    rm -rf conftest*
  1700. +    eval "ac_cv_func_getgroups=yes"
  1701. +  else
  1702. +--- 4156,4162 ----
  1703. +  
  1704. +  ; return 0; }
  1705. +  EOF
  1706. +! if { (eval echo configure:4160: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1707. +    rm -rf conftest*
  1708. +    eval "ac_cv_func_getgroups=yes"
  1709. +  else
  1710. +***************
  1711. +*** 4186,4197 ****
  1712. +      builtin and then its argument prototype would still apply.  */
  1713. +  char getgroups();
  1714. +  
  1715. +! int main() { return 0; }
  1716. +  int t() {
  1717. +  getgroups()
  1718. +  ; return 0; }
  1719. +  EOF
  1720. +! if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1721. +    rm -rf conftest*
  1722. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1723. +  else
  1724. +--- 4186,4197 ----
  1725. +      builtin and then its argument prototype would still apply.  */
  1726. +  char getgroups();
  1727. +  
  1728. +! int main() { t(); return 0; }
  1729. +  int t() {
  1730. +  getgroups()
  1731. +  ; return 0; }
  1732. +  EOF
  1733. +! if { (eval echo configure:4195: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1734. +    rm -rf conftest*
  1735. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1736. +  else
  1737. +***************
  1738. +*** 4230,4241 ****
  1739. +  #line 4231 "configure"
  1740. +  #include "confdefs.h"
  1741. +  
  1742. +! int main() { return 0; }
  1743. +  int t() {
  1744. +  main()
  1745. +  ; return 0; }
  1746. +  EOF
  1747. +! if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1748. +    rm -rf conftest*
  1749. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1750. +  else
  1751. +--- 4230,4241 ----
  1752. +  #line 4231 "configure"
  1753. +  #include "confdefs.h"
  1754. +  
  1755. +! int main() { t(); return 0; }
  1756. +  int t() {
  1757. +  main()
  1758. +  ; return 0; }
  1759. +  EOF
  1760. +! if { (eval echo configure:4239: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1761. +    rm -rf conftest*
  1762. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1763. +  else
  1764. +***************
  1765. +*** 4272,4283 ****
  1766. +  #line 4273 "configure"
  1767. +  #include "confdefs.h"
  1768. +  
  1769. +! int main() { return 0; }
  1770. +  int t() {
  1771. +  main()
  1772. +  ; return 0; }
  1773. +  EOF
  1774. +! if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1775. +    rm -rf conftest*
  1776. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1777. +  else
  1778. +--- 4272,4283 ----
  1779. +  #line 4273 "configure"
  1780. +  #include "confdefs.h"
  1781. +  
  1782. +! int main() { t(); return 0; }
  1783. +  int t() {
  1784. +  main()
  1785. +  ; return 0; }
  1786. +  EOF
  1787. +! if { (eval echo configure:4281: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1788. +    rm -rf conftest*
  1789. +    eval "ac_cv_lib_$ac_lib_var=yes"
  1790. +  else
  1791. +***************
  1792. +*** 4351,4357 ****
  1793. +  } $ac_kw foo() {
  1794. +  ; return 0; }
  1795. +  EOF
  1796. +! if { (eval echo configure:4355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1797. +    rm -rf conftest*
  1798. +    ac_cv_c_inline=$ac_kw; break
  1799. +  fi
  1800. +--- 4351,4357 ----
  1801. +  } $ac_kw foo() {
  1802. +  ; return 0; }
  1803. +  EOF
  1804. +! if { (eval echo configure:4355: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1805. +    rm -rf conftest*
  1806. +    ac_cv_c_inline=$ac_kw; break
  1807. +  fi
  1808. +***************
  1809. +*** 4391,4397 ****
  1810. +      builtin and then its argument prototype would still apply.  */
  1811. +  char $ac_func();
  1812. +  
  1813. +! int main() { return 0; }
  1814. +  int t() {
  1815. +  
  1816. +  /* The GNU C library defines this for functions which it implements
  1817. +--- 4391,4397 ----
  1818. +      builtin and then its argument prototype would still apply.  */
  1819. +  char $ac_func();
  1820. +  
  1821. +! int main() { t(); return 0; }
  1822. +  int t() {
  1823. +  
  1824. +  /* The GNU C library defines this for functions which it implements
  1825. +***************
  1826. +*** 4405,4411 ****
  1827. +  
  1828. +  ; return 0; }
  1829. +  EOF
  1830. +! if { (eval echo configure:4409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1831. +    rm -rf conftest*
  1832. +    eval "ac_cv_func_$ac_func=yes"
  1833. +  else
  1834. +--- 4405,4411 ----
  1835. +  
  1836. +  ; return 0; }
  1837. +  EOF
  1838. +! if { (eval echo configure:4409: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1839. +    rm -rf conftest*
  1840. +    eval "ac_cv_func_$ac_func=yes"
  1841. +  else
  1842. +***************
  1843. +*** 4504,4510 ****
  1844. +  }
  1845. +  
  1846. +  EOF
  1847. +! { (eval echo configure:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1848. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1849. +    ac_cv_func_mmap=yes
  1850. +  else
  1851. +--- 4504,4510 ----
  1852. +  }
  1853. +  
  1854. +  EOF
  1855. +! { (eval echo configure:4508: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1856. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1857. +    ac_cv_func_mmap=yes
  1858. +  else
  1859. +***************
  1860. +*** 4537,4543 ****
  1861. +  #include <$ac_hdr>
  1862. +  EOF
  1863. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1864. +! { (eval echo configure:4541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1865. +  ac_err=`grep -v '^ *+' conftest.out`
  1866. +  if test -z "$ac_err"; then
  1867. +    rm -rf conftest*
  1868. +--- 4537,4543 ----
  1869. +  #include <$ac_hdr>
  1870. +  EOF
  1871. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1872. +! { (eval echo configure:4541: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1873. +  ac_err=`grep -v '^ *+' conftest.out`
  1874. +  if test -z "$ac_err"; then
  1875. +    rm -rf conftest*
  1876. +***************
  1877. +*** 4579,4585 ****
  1878. +      builtin and then its argument prototype would still apply.  */
  1879. +  char $ac_func();
  1880. +  
  1881. +! int main() { return 0; }
  1882. +  int t() {
  1883. +  
  1884. +  /* The GNU C library defines this for functions which it implements
  1885. +--- 4579,4585 ----
  1886. +      builtin and then its argument prototype would still apply.  */
  1887. +  char $ac_func();
  1888. +  
  1889. +! int main() { t(); return 0; }
  1890. +  int t() {
  1891. +  
  1892. +  /* The GNU C library defines this for functions which it implements
  1893. +***************
  1894. +*** 4593,4599 ****
  1895. +  
  1896. +  ; return 0; }
  1897. +  EOF
  1898. +! if { (eval echo configure:4597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1899. +    rm -rf conftest*
  1900. +    eval "ac_cv_func_$ac_func=yes"
  1901. +  else
  1902. +--- 4593,4599 ----
  1903. +  
  1904. +  ; return 0; }
  1905. +  EOF
  1906. +! if { (eval echo configure:4597: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1907. +    rm -rf conftest*
  1908. +    eval "ac_cv_func_$ac_func=yes"
  1909. +  else
  1910. +***************
  1911. +*** 4634,4640 ****
  1912. +      builtin and then its argument prototype would still apply.  */
  1913. +  char $ac_func();
  1914. +  
  1915. +! int main() { return 0; }
  1916. +  int t() {
  1917. +  
  1918. +  /* The GNU C library defines this for functions which it implements
  1919. +--- 4634,4640 ----
  1920. +      builtin and then its argument prototype would still apply.  */
  1921. +  char $ac_func();
  1922. +  
  1923. +! int main() { t(); return 0; }
  1924. +  int t() {
  1925. +  
  1926. +  /* The GNU C library defines this for functions which it implements
  1927. +***************
  1928. +*** 4648,4654 ****
  1929. +  
  1930. +  ; return 0; }
  1931. +  EOF
  1932. +! if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1933. +    rm -rf conftest*
  1934. +    eval "ac_cv_func_$ac_func=yes"
  1935. +  else
  1936. +--- 4648,4654 ----
  1937. +  
  1938. +  ; return 0; }
  1939. +  EOF
  1940. +! if { (eval echo configure:4652: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1941. +    rm -rf conftest*
  1942. +    eval "ac_cv_func_$ac_func=yes"
  1943. +  else
  1944. +***************
  1945. +*** 4687,4698 ****
  1946. +  #line 4688 "configure"
  1947. +  #include "confdefs.h"
  1948. +  #include <locale.h>
  1949. +! int main() { return 0; }
  1950. +  int t() {
  1951. +  return LC_MESSAGES
  1952. +  ; return 0; }
  1953. +  EOF
  1954. +! if { (eval echo configure:4696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1955. +    rm -rf conftest*
  1956. +    ud_cv_val_LC_MESSAGES=yes
  1957. +  else
  1958. +--- 4687,4698 ----
  1959. +  #line 4688 "configure"
  1960. +  #include "confdefs.h"
  1961. +  #include <locale.h>
  1962. +! int main() { t(); return 0; }
  1963. +  int t() {
  1964. +  return LC_MESSAGES
  1965. +  ; return 0; }
  1966. +  EOF
  1967. +! if { (eval echo configure:4696: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  1968. +    rm -rf conftest*
  1969. +    ud_cv_val_LC_MESSAGES=yes
  1970. +  else
  1971. +***************
  1972. +*** 4758,4764 ****
  1973. +  #include <libintl.h>
  1974. +  EOF
  1975. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1976. +! { (eval echo configure:4762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1977. +  ac_err=`grep -v '^ *+' conftest.out`
  1978. +  if test -z "$ac_err"; then
  1979. +    rm -rf conftest*
  1980. +--- 4758,4764 ----
  1981. +  #include <libintl.h>
  1982. +  EOF
  1983. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1984. +! { (eval echo configure:4762: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  1985. +  ac_err=`grep -v '^ *+' conftest.out`
  1986. +  if test -z "$ac_err"; then
  1987. +    rm -rf conftest*
  1988. +***************
  1989. +*** 4787,4798 ****
  1990. +      builtin and then its argument prototype would still apply.  */
  1991. +  char bindtextdomain();
  1992. +  
  1993. +! int main() { return 0; }
  1994. +  int t() {
  1995. +  bindtextdomain()
  1996. +  ; return 0; }
  1997. +  EOF
  1998. +! if { (eval echo configure:4796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1999. +    rm -rf conftest*
  2000. +    eval "ac_cv_lib_$ac_lib_var=yes"
  2001. +  else
  2002. +--- 4787,4798 ----
  2003. +      builtin and then its argument prototype would still apply.  */
  2004. +  char bindtextdomain();
  2005. +  
  2006. +! int main() { t(); return 0; }
  2007. +  int t() {
  2008. +  bindtextdomain()
  2009. +  ; return 0; }
  2010. +  EOF
  2011. +! if { (eval echo configure:4796: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  2012. +    rm -rf conftest*
  2013. +    eval "ac_cv_lib_$ac_lib_var=yes"
  2014. +  else
  2015. +***************
  2016. +*** 4831,4837 ****
  2017. +      builtin and then its argument prototype would still apply.  */
  2018. +  char gettext();
  2019. +  
  2020. +! int main() { return 0; }
  2021. +  int t() {
  2022. +  
  2023. +  /* The GNU C library defines this for functions which it implements
  2024. +--- 4831,4837 ----
  2025. +      builtin and then its argument prototype would still apply.  */
  2026. +  char gettext();
  2027. +  
  2028. +! int main() { t(); return 0; }
  2029. +  int t() {
  2030. +  
  2031. +  /* The GNU C library defines this for functions which it implements
  2032. +***************
  2033. +*** 4845,4851 ****
  2034. +  
  2035. +  ; return 0; }
  2036. +  EOF
  2037. +! if { (eval echo configure:4849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  2038. +    rm -rf conftest*
  2039. +    eval "ac_cv_func_gettext=yes"
  2040. +  else
  2041. +--- 4845,4851 ----
  2042. +  
  2043. +  ; return 0; }
  2044. +  EOF
  2045. +! if { (eval echo configure:4849: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  2046. +    rm -rf conftest*
  2047. +    eval "ac_cv_func_gettext=yes"
  2048. +  else
  2049. +***************
  2050. +*** 4911,4917 ****
  2051. +      builtin and then its argument prototype would still apply.  */
  2052. +  char $ac_func();
  2053. +  
  2054. +! int main() { return 0; }
  2055. +  int t() {
  2056. +  
  2057. +  /* The GNU C library defines this for functions which it implements
  2058. +--- 4911,4917 ----
  2059. +      builtin and then its argument prototype would still apply.  */
  2060. +  char $ac_func();
  2061. +  
  2062. +! int main() { t(); return 0; }
  2063. +  int t() {
  2064. +  
  2065. +  /* The GNU C library defines this for functions which it implements
  2066. +***************
  2067. +*** 4925,4931 ****
  2068. +  
  2069. +  ; return 0; }
  2070. +  EOF
  2071. +! if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  2072. +    rm -rf conftest*
  2073. +    eval "ac_cv_func_$ac_func=yes"
  2074. +  else
  2075. +--- 4925,4931 ----
  2076. +  
  2077. +  ; return 0; }
  2078. +  EOF
  2079. +! if { (eval echo configure:4929: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  2080. +    rm -rf conftest*
  2081. +    eval "ac_cv_func_$ac_func=yes"
  2082. +  else
  2083. +***************
  2084. +*** 5015,5027 ****
  2085. +  #line 5016 "configure"
  2086. +  #include "confdefs.h"
  2087. +  
  2088. +! int main() { return 0; }
  2089. +  int t() {
  2090. +  extern int _nl_msg_cat_cntr;
  2091. +                     return _nl_msg_cat_cntr
  2092. +  ; return 0; }
  2093. +  EOF
  2094. +! if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  2095. +    rm -rf conftest*
  2096. +    CATOBJEXT=.gmo
  2097. +             DATADIRNAME=share
  2098. +--- 5015,5027 ----
  2099. +  #line 5016 "configure"
  2100. +  #include "confdefs.h"
  2101. +  
  2102. +! int main() { t(); return 0; }
  2103. +  int t() {
  2104. +  extern int _nl_msg_cat_cntr;
  2105. +                     return _nl_msg_cat_cntr
  2106. +  ; return 0; }
  2107. +  EOF
  2108. +! if { (eval echo configure:5025: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  2109. +    rm -rf conftest*
  2110. +    CATOBJEXT=.gmo
  2111. +             DATADIRNAME=share
  2112. +***************
  2113. +*** 5067,5078 ****
  2114. +  #line 5068 "configure"
  2115. +  #include "confdefs.h"
  2116. +  
  2117. +! int main() { return 0; }
  2118. +  int t() {
  2119. +  main()
  2120. +  ; return 0; }
  2121. +  EOF
  2122. +! if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  2123. +    rm -rf conftest*
  2124. +    eval "ac_cv_lib_$ac_lib_var=yes"
  2125. +  else
  2126. +--- 5067,5078 ----
  2127. +  #line 5068 "configure"
  2128. +  #include "confdefs.h"
  2129. +  
  2130. +! int main() { t(); return 0; }
  2131. +  int t() {
  2132. +  main()
  2133. +  ; return 0; }
  2134. +  EOF
  2135. +! if { (eval echo configure:5076: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  2136. +    rm -rf conftest*
  2137. +    eval "ac_cv_lib_$ac_lib_var=yes"
  2138. +  else
  2139. +***************
  2140. +*** 5111,5117 ****
  2141. +      builtin and then its argument prototype would still apply.  */
  2142. +  char catgets();
  2143. +  
  2144. +! int main() { return 0; }
  2145. +  int t() {
  2146. +  
  2147. +  /* The GNU C library defines this for functions which it implements
  2148. +--- 5111,5117 ----
  2149. +      builtin and then its argument prototype would still apply.  */
  2150. +  char catgets();
  2151. +  
  2152. +! int main() { t(); return 0; }
  2153. +  int t() {
  2154. +  
  2155. +  /* The GNU C library defines this for functions which it implements
  2156. +***************
  2157. +*** 5125,5131 ****
  2158. +  
  2159. +  ; return 0; }
  2160. +  EOF
  2161. +! if { (eval echo configure:5129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  2162. +    rm -rf conftest*
  2163. +    eval "ac_cv_func_catgets=yes"
  2164. +  else
  2165. +--- 5125,5131 ----
  2166. +  
  2167. +  ; return 0; }
  2168. +  EOF
  2169. +! if { (eval echo configure:5129: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  2170. +    rm -rf conftest*
  2171. +    eval "ac_cv_func_catgets=yes"
  2172. +  else
  2173. +***************
  2174. +*** 5480,5486 ****
  2175. +  #include <linux/version.h>
  2176. +  EOF
  2177. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  2178. +! { (eval echo configure:5484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  2179. +  ac_err=`grep -v '^ *+' conftest.out`
  2180. +  if test -z "$ac_err"; then
  2181. +    rm -rf conftest*
  2182. +--- 5480,5486 ----
  2183. +  #include <linux/version.h>
  2184. +  EOF
  2185. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  2186. +! { (eval echo configure:5484: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  2187. +  ac_err=`grep -v '^ *+' conftest.out`
  2188. +  if test -z "$ac_err"; then
  2189. +    rm -rf conftest*
  2190. +***************
  2191. +*** 5561,5569 ****
  2192. +  EOF
  2193. +  # Ultrix sh set writes to stderr and can't be redirected directly,
  2194. +  # and sets the high bit in the cache file unless we assign to the vars.
  2195. +! (set) 2>&1 |
  2196. +    sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  2197. +!   >> confcache
  2198. +  if cmp -s $cache_file confcache; then
  2199. +    :
  2200. +  else
  2201. +--- 5561,5569 ----
  2202. +  EOF
  2203. +  # Ultrix sh set writes to stderr and can't be redirected directly,
  2204. +  # and sets the high bit in the cache file unless we assign to the vars.
  2205. +! (set) >cache.tmp 2>&1 
  2206. +    sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  2207. +!   <cache.tmp >> confcache
  2208. +  if cmp -s $cache_file confcache; then
  2209. +    :
  2210. +  else
  2211. +***************
  2212. +*** 5574,5580 ****
  2213. +      echo "not updating unwritable cache $cache_file"
  2214. +    fi
  2215. +  fi
  2216. +! rm -f confcache
  2217. +  
  2218. +  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2219. +  
  2220. +--- 5574,5580 ----
  2221. +      echo "not updating unwritable cache $cache_file"
  2222. +    fi
  2223. +  fi
  2224. +! rm -f confcache cache.tmp
  2225. +  
  2226. +  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2227. +  
  2228. +***************
  2229. +*** 5916,5926 ****
  2230. +    *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
  2231. +    esac
  2232. +  
  2233. +!   # Make a symlink if possible; otherwise try a hard link.
  2234. +!   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
  2235. +!     ln $srcdir/$ac_source $ac_dest; then :
  2236. +    else
  2237. +!     { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
  2238. +    fi
  2239. +  done
  2240. +  
  2241. +--- 5916,5929 ----
  2242. +    *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
  2243. +    esac
  2244. +  
  2245. +!   # Make a symlink if possible; otherwise try a hard link,
  2246. +!   # otherwise just copy the damn file.
  2247. +!   # HACK - for BeOS, the current bash returns a success code
  2248. +!   # when it tries to run programs (like ln) that don't exist.
  2249. +!   # so force cp for now.
  2250. +!   if cp $srcdir/$ac_source $ac_dest; then :
  2251. +    else
  2252. +!     { echo "configure: error: can not link or copy $srcdir/$ac_source to $ac_dest" 1>&2; exit 1; }
  2253. +    fi
  2254. +  done
  2255. +  
  2256. +diff -rc fileutils-ref/intl/Makefile.in fileutils/intl/Makefile.in
  2257. +*** fileutils-ref/intl/Makefile.in    Sat Sep 28 16:23:52 1996
  2258. +--- fileutils/intl/Makefile.in    Sat Sep 28 16:39:09 1996
  2259. +***************
  2260. +*** 40,47 ****
  2261. +  INSTALL_DATA = @INSTALL_DATA@
  2262. +  MKINSTALLDIRS = @MKINSTALLDIRS@
  2263. +  
  2264. +! AR = @AR@
  2265. +! AR_FLAGS = cru
  2266. +  CC = @CC@
  2267. +  RANLIB = @RANLIB@
  2268. +  
  2269. +--- 40,47 ----
  2270. +  INSTALL_DATA = @INSTALL_DATA@
  2271. +  MKINSTALLDIRS = @MKINSTALLDIRS@
  2272. +  
  2273. +! AR = mwcc
  2274. +! AR_FLAGS = -xml -o
  2275. +  CC = @CC@
  2276. +  RANLIB = @RANLIB@
  2277. +  
  2278. +diff -rc fileutils-ref/lib/Makefile.in fileutils/lib/Makefile.in
  2279. +*** fileutils-ref/lib/Makefile.in    Sat Sep 28 16:28:23 1996
  2280. +--- fileutils/lib/Makefile.in    Sat Sep 28 16:39:09 1996
  2281. +***************
  2282. +*** 81,94 ****
  2283. +  COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
  2284. +  LINK = $(CC) $(LDFLAGS) -o $@
  2285. +  fu_OBJECTS = getdate.o getline.o posixtm.o argmatch.o backupfile.o \
  2286. +! dirname.o error.o fileblocks.o filemode.o full-write.o getversion.o \
  2287. +  idcache.o isdir.o long-options.o makepath.o modechange.o obstack.o \
  2288. +  safe-read.o save-cwd.o savedir.o stripslash.o userspec.o xgetcwd.o \
  2289. +  xmalloc.o xstrdup.o xstrtol.o xstrtoul.o yesno.o
  2290. +  EXTRA_fu_SOURCES =
  2291. +  LIBFILES =  libfu.a
  2292. +! AR = @AR@
  2293. +! AR_FLAGS = cru
  2294. +  RANLIB = @RANLIB@
  2295. +  HEADERS = $(noinst_HEADERS)
  2296. +  
  2297. +--- 81,94 ----
  2298. +  COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
  2299. +  LINK = $(CC) $(LDFLAGS) -o $@
  2300. +  fu_OBJECTS = getdate.o getline.o posixtm.o argmatch.o backupfile.o \
  2301. +! dirname.o error.o filemode.o full-write.o getversion.o \
  2302. +  idcache.o isdir.o long-options.o makepath.o modechange.o obstack.o \
  2303. +  safe-read.o save-cwd.o savedir.o stripslash.o userspec.o xgetcwd.o \
  2304. +  xmalloc.o xstrdup.o xstrtol.o xstrtoul.o yesno.o
  2305. +  EXTRA_fu_SOURCES =
  2306. +  LIBFILES =  libfu.a
  2307. +! AR = mwcc
  2308. +! AR_FLAGS = -xml -o
  2309. +  RANLIB = @RANLIB@
  2310. +  HEADERS = $(noinst_HEADERS)
  2311. +  
  2312. +diff -rc fileutils-ref/src/Makefile.in fileutils/src/Makefile.in
  2313. +*** fileutils-ref/src/Makefile.in    Tue Aug 20 07:00:00 1996
  2314. +--- fileutils/src/Makefile.in    Sat Sep 28 16:39:10 1996
  2315. +***************
  2316. +*** 43,50 ****
  2317. +  EXTRAdir = $(bindir)
  2318. +  EXTRA_PROGRAMS = df mvdir
  2319. +  
  2320. +  bin_PROGRAMS = chgrp chown chmod cp dd dircolors du \
  2321. +! ginstall ln dir vdir ls mkdir \
  2322. +  mkfifo mknod mv rm rmdir sync touch @DF_PROG@
  2323. +  
  2324. +  libexec_PROGRAMS = @MVDIR_PROG@
  2325. +--- 43,51 ----
  2326. +  EXTRAdir = $(bindir)
  2327. +  EXTRA_PROGRAMS = df mvdir
  2328. +  
  2329. ++ # BeOS hack - remove "ln".
  2330. +  bin_PROGRAMS = chgrp chown chmod cp dd dircolors du \
  2331. +! ginstall dir vdir ls mkdir \
  2332. +  mkfifo mknod mv rm rmdir sync touch @DF_PROG@
  2333. +  
  2334. +  libexec_PROGRAMS = @MVDIR_PROG@
  2335. diff -rup --new-file baseline/fsf/fileutils/ChangeLog amiga/fsf/fileutils/ChangeLog
  2336. --- baseline/fsf/fileutils/ChangeLog    Thu Jul 11 20:25:02 1996
  2337. +++ amiga/fsf/fileutils/ChangeLog    Sat Sep 28 00:00:00 1996
  2338. @@ -1,3 +1,16 @@
  2339. +Wed Aug  7 21:31:28 1996  GNU Emacs Lover  <walter@pctc.chemie.uni-erlangen.de>
  2340. +
  2341. +    * src/ls.c: The patch using isfunny() and isfunny2() should be
  2342. +    unnecessary.  The original uses ISPRINT().
  2343. +
  2344. +    * lib/fnmatch.h: The patch for FNM_PATHNAME is outdated.  It is
  2345. +        done by default.
  2346. +
  2347. +    * lib/backupfile.c: added comment at the change of
  2348. +        simple_backup_suffix.
  2349. +
  2350. +    * all patches changing void main to main or int main are outdated.
  2351. +        
  2352.  Thu Jul 11 21:50:48 1996  Jim Meyering  <meyering@na-net.ornl.gov>
  2353.  
  2354.      * Version 3.13.
  2355. diff -rup --new-file baseline/fsf/fileutils/INSTALL amiga/fsf/fileutils/INSTALL
  2356. --- baseline/fsf/fileutils/INSTALL    Tue Apr 23 19:34:26 1996
  2357. +++ amiga/fsf/fileutils/INSTALL    Sat Sep 28 00:00:00 1996
  2358. @@ -85,8 +85,8 @@ Installation Names
  2359.  ==================
  2360.  
  2361.     By default, `make install' will install the package's files in
  2362. -`/usr/local/bin', `/usr/local/man', etc.  You can specify an
  2363. -installation prefix other than `/usr/local' by giving `configure' the
  2364. +`/ade/bin', `/ade/man', etc.  You can specify an
  2365. +installation prefix other than `/ade' by giving `configure' the
  2366.  option `--prefix=PATH'.
  2367.  
  2368.     You can specify separate installation prefixes for
  2369. diff -rup --new-file baseline/fsf/fileutils/Product-Info amiga/fsf/fileutils/Product-Info
  2370. --- baseline/fsf/fileutils/Product-Info    Wed Dec 31 17:00:00 1969
  2371. +++ amiga/fsf/fileutils/Product-Info    Sat Sep 28 00:00:00 1996
  2372. @@ -0,0 +1,29 @@
  2373. +.name
  2374. +fileutils
  2375. +.fullname
  2376. +File management utilities
  2377. +.type
  2378. +Miscellaneous
  2379. +.short
  2380. +File management utilities.
  2381. +.description
  2382. +These are the GNU file management utilities.  Most of these programs
  2383. +have significant advantages over their Unix counterparts, such as
  2384. +greater speed, additional options, and fewer arbitrary limits.
  2385. +
  2386. +The programs that can be built with this package are: chgrp, chown,
  2387. +chmod, cp, dd, df, du, install, ln, dir, vdir, ls, mkdir, mvdir,
  2388. +mkfifo, mknod, mv, rm, rmdir and touch.  But mvdir is built only on
  2389. +systems that lack the rename system call.
  2390. +
  2391. +The programs cat, cut, expand, head, paste, split, tac, tail and
  2392. +unexpand, which used to be part of the fileutils, are now part of the
  2393. +textutils.  Cmp is now part of the diff distribution.
  2394. +.version
  2395. +3.13
  2396. +.author
  2397. +Free Software Foundation
  2398. +.distribution
  2399. +GNU Public License
  2400. +.described-by
  2401. +Fred Fish (fnf@ninemoons.com)
  2402. diff -rup --new-file baseline/fsf/fileutils/config.guess amiga/fsf/fileutils/config.guess
  2403. --- baseline/fsf/fileutils/config.guess    Wed Dec 31 17:00:00 1969
  2404. +++ amiga/fsf/fileutils/config.guess    Sat Sep 28 00:00:00 1996
  2405. @@ -0,0 +1,600 @@
  2406. +#! /bin/sh
  2407. +# Attempt to guess a canonical system name.
  2408. +#   Copyright (C) 1992, 93, 94, 95, 1996 Free Software Foundation, Inc.
  2409. +#
  2410. +# This file is free software; you can redistribute it and/or modify it
  2411. +# under the terms of the GNU General Public License as published by
  2412. +# the Free Software Foundation; either version 2 of the License, or
  2413. +# (at your option) any later version.
  2414. +#
  2415. +# This program is distributed in the hope that it will be useful, but
  2416. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  2417. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  2418. +# General Public License for more details.
  2419. +#
  2420. +# You should have received a copy of the GNU General Public License
  2421. +# along with this program; if not, write to the Free Software
  2422. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  2423. +#
  2424. +# As a special exception to the GNU General Public License, if you
  2425. +# distribute this file as part of a program that contains a
  2426. +# configuration script generated by Autoconf, you may include it under
  2427. +# the same distribution terms that you use for the rest of that program.
  2428. +
  2429. +# Written by Per Bothner <bothner@cygnus.com>.
  2430. +# The master version of this file is at the FSF in /home/gd/gnu/lib.
  2431. +#
  2432. +# This script attempts to guess a canonical system name similar to
  2433. +# config.sub.  If it succeeds, it prints the system name on stdout, and
  2434. +# exits with 0.  Otherwise, it exits with 1.
  2435. +#
  2436. +# The plan is that this can be called by configure scripts if you
  2437. +# don't specify an explicit system type (host/target name).
  2438. +#
  2439. +# Only a few systems have been added to this list; please add others
  2440. +# (but try to keep the structure clean).
  2441. +#
  2442. +
  2443. +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
  2444. +# (ghazi@noc.rutgers.edu 8/24/94.)
  2445. +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
  2446. +    PATH=$PATH:/.attbin ; export PATH
  2447. +fi
  2448. +
  2449. +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
  2450. +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
  2451. +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
  2452. +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  2453. +
  2454. +trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
  2455. +
  2456. +# Note: order is significant - the case branches are not exclusive.
  2457. +
  2458. +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
  2459. +    alpha:OSF1:*:*)
  2460. +    # A Vn.n version is a released version.
  2461. +    # A Tn.n version is a released field test version.
  2462. +    # A Xn.n version is an unreleased experimental baselevel.
  2463. +    # 1.2 uses "1.2" for uname -r.
  2464. +    echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//'`
  2465. +    exit 0 ;;
  2466. +    21064:Windows_NT:50:3)
  2467. +    echo alpha-dec-winnt3.5
  2468. +    exit 0 ;;
  2469. +    Amiga*:UNIX_System_V:4.0:*)
  2470. +    echo m68k-cbm-sysv4
  2471. +    exit 0;;
  2472. +    amiga:NetBSD:*:*)
  2473. +      echo m68k-cbm-netbsd${UNAME_RELEASE}
  2474. +      exit 0 ;;
  2475. +    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
  2476. +    echo arm-acorn-riscix${UNAME_RELEASE}
  2477. +    exit 0;;
  2478. +    Pyramid*:OSx*:*:*)
  2479. +    if test "`(/bin/universe) 2>/dev/null`" = att ; then
  2480. +        echo pyramid-pyramid-sysv3
  2481. +    else
  2482. +        echo pyramid-pyramid-bsd
  2483. +    fi
  2484. +    exit 0 ;;
  2485. +    sun4*:SunOS:5.*:*)
  2486. +    echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  2487. +    exit 0 ;;
  2488. +    i86pc:SunOS:5.*:*)
  2489. +    echo i386-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  2490. +    exit 0 ;;
  2491. +    sun4*:SunOS:6*:*)
  2492. +    # According to config.sub, this is the proper way to canonicalize
  2493. +    # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
  2494. +    # it's likely to be more like Solaris than SunOS4.
  2495. +    echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  2496. +    exit 0 ;;
  2497. +    sun4*:SunOS:*:*)
  2498. +    case "`/usr/bin/arch -k`" in
  2499. +        Series*|S4*)
  2500. +        UNAME_RELEASE=`uname -v`
  2501. +        ;;
  2502. +    esac
  2503. +    # Japanese Language versions have a version number like `4.1.3-JL'.
  2504. +    echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
  2505. +    exit 0 ;;
  2506. +    sun3*:SunOS:*:*)
  2507. +    echo m68k-sun-sunos${UNAME_RELEASE}
  2508. +    exit 0 ;;
  2509. +    atari*:NetBSD:*:*)
  2510. +    echo m68k-atari-netbsd${UNAME_RELEASE}
  2511. +    exit 0 ;;
  2512. +    sun3*:NetBSD:*:*)
  2513. +    echo m68k-sun-netbsd${UNAME_RELEASE}
  2514. +    exit 0 ;;
  2515. +    mac68k:NetBSD:*:*)
  2516. +    echo m68k-apple-netbsd${UNAME_RELEASE}
  2517. +    exit 0 ;;
  2518. +    RISC*:ULTRIX:*:*)
  2519. +    echo mips-dec-ultrix${UNAME_RELEASE}
  2520. +    exit 0 ;;
  2521. +    VAX*:ULTRIX*:*:*)
  2522. +    echo vax-dec-ultrix${UNAME_RELEASE}
  2523. +    exit 0 ;;
  2524. +    mips:*:4*:UMIPS)
  2525. +    echo mips-mips-riscos4sysv
  2526. +    exit 0 ;;
  2527. +    mips:*:5*:RISCos)
  2528. +    echo mips-mips-riscos${UNAME_RELEASE}
  2529. +    exit 0 ;;
  2530. +    Night_Hawk:Power_UNIX:*:*)
  2531. +    echo powerpc-harris-powerunix
  2532. +    exit 0 ;;
  2533. +    m88k:CX/UX:7*:*)
  2534. +    echo m88k-harris-cxux7
  2535. +    exit 0 ;;
  2536. +    m88k:*:4*:R4*)
  2537. +    echo m88k-motorola-sysv4
  2538. +    exit 0 ;;
  2539. +    m88k:*:3*:R3*)
  2540. +    echo m88k-motorola-sysv3
  2541. +    exit 0 ;;
  2542. +    AViiON:dgux:*:*)
  2543. +        # DG/UX returns AViiON for all architectures
  2544. +        UNAME_PROCESSOR=`/usr/bin/uname -p`
  2545. +        if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88100 ] ; then
  2546. +    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
  2547. +         -o ${TARGET_BINARY_INTERFACE}x = x ] ; then
  2548. +        echo m88k-dg-dgux${UNAME_RELEASE}
  2549. +    else
  2550. +        echo m88k-dg-dguxbcs${UNAME_RELEASE}
  2551. +    fi
  2552. +        else echo i586-dg-dgux${UNAME_RELEASE}
  2553. +        fi
  2554. +     exit 0 ;;
  2555. +    M88*:DolphinOS:*:*)    # DolphinOS (SVR3)
  2556. +    echo m88k-dolphin-sysv3
  2557. +    exit 0 ;;
  2558. +    M88*:*:R3*:*)
  2559. +    # Delta 88k system running SVR3
  2560. +    echo m88k-motorola-sysv3
  2561. +    exit 0 ;;
  2562. +    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
  2563. +    echo m88k-tektronix-sysv3
  2564. +    exit 0 ;;
  2565. +    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
  2566. +    echo m68k-tektronix-bsd
  2567. +    exit 0 ;;
  2568. +    *:IRIX*:*:*)
  2569. +    echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
  2570. +    exit 0 ;;
  2571. +   ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
  2572. +    echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
  2573. +    exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
  2574. +    i[34]86:AIX:*:*)
  2575. +    echo i386-ibm-aix
  2576. +    exit 0 ;;
  2577. +    *:AIX:2:3)
  2578. +    if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
  2579. +        sed 's/^        //' << EOF >dummy.c
  2580. +        #include <sys/systemcfg.h>
  2581. +
  2582. +        main()
  2583. +            {
  2584. +            if (!__power_pc())
  2585. +                exit(1);
  2586. +            puts("powerpc-ibm-aix3.2.5");
  2587. +            exit(0);
  2588. +            }
  2589. +EOF
  2590. +        ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
  2591. +        rm -f dummy.c dummy
  2592. +        echo rs6000-ibm-aix3.2.5
  2593. +    elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
  2594. +        echo rs6000-ibm-aix3.2.4
  2595. +    else
  2596. +        echo rs6000-ibm-aix3.2
  2597. +    fi
  2598. +    exit 0 ;;
  2599. +    *:AIX:*:4)
  2600. +    if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
  2601. +        IBM_ARCH=rs6000
  2602. +    else
  2603. +        IBM_ARCH=powerpc
  2604. +    fi
  2605. +    if [ -x /usr/bin/oslevel ] ; then
  2606. +        IBM_REV=`/usr/bin/oslevel`
  2607. +    else
  2608. +        IBM_REV=4.${UNAME_RELEASE}
  2609. +    fi
  2610. +    echo ${IBM_ARCH}-ibm-aix${IBM_REV}
  2611. +    exit 0 ;;
  2612. +    *:AIX:*:*)
  2613. +    echo rs6000-ibm-aix
  2614. +    exit 0 ;;
  2615. +    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
  2616. +    echo romp-ibm-bsd4.4
  2617. +    exit 0 ;;
  2618. +    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC NetBSD and
  2619. +    echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to 
  2620. +    exit 0 ;;                           # report: romp-ibm BSD 4.3
  2621. +    *:BOSX:*:*)
  2622. +    echo rs6000-bull-bosx
  2623. +    exit 0 ;;
  2624. +    DPX/2?00:B.O.S.:*:*)
  2625. +    echo m68k-bull-sysv3
  2626. +    exit 0 ;;
  2627. +    9000/[34]??:4.3bsd:1.*:*)
  2628. +    echo m68k-hp-bsd
  2629. +    exit 0 ;;
  2630. +    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
  2631. +    echo m68k-hp-bsd4.4
  2632. +    exit 0 ;;
  2633. +    9000/[3478]??:HP-UX:*:*)
  2634. +    case "${UNAME_MACHINE}" in
  2635. +        9000/31? )            HP_ARCH=m68000 ;;
  2636. +        9000/[34]?? )         HP_ARCH=m68k ;;
  2637. +        9000/7?? | 9000/8?[679] ) HP_ARCH=hppa1.1 ;;
  2638. +        9000/8?? )            HP_ARCH=hppa1.0 ;;
  2639. +    esac
  2640. +    HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  2641. +    echo ${HP_ARCH}-hp-hpux${HPUX_REV}
  2642. +    exit 0 ;;
  2643. +    3050*:HI-UX:*:*)
  2644. +    sed 's/^    //' << EOF >dummy.c
  2645. +    #include <unistd.h>
  2646. +    int
  2647. +    main ()
  2648. +    {
  2649. +      long cpu = sysconf (_SC_CPU_VERSION);
  2650. +      /* The order matters, because CPU_IS_HP_MC68K erroneously returns
  2651. +         true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
  2652. +         results, however.  */
  2653. +      if (CPU_IS_PA_RISC (cpu))
  2654. +        {
  2655. +          switch (cpu)
  2656. +        {
  2657. +          case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
  2658. +          case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
  2659. +          case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
  2660. +          default: puts ("hppa-hitachi-hiuxwe2"); break;
  2661. +        }
  2662. +        }
  2663. +      else if (CPU_IS_HP_MC68K (cpu))
  2664. +        puts ("m68k-hitachi-hiuxwe2");
  2665. +      else puts ("unknown-hitachi-hiuxwe2");
  2666. +      exit (0);
  2667. +    }
  2668. +EOF
  2669. +    ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
  2670. +    rm -f dummy.c dummy
  2671. +    echo unknown-hitachi-hiuxwe2
  2672. +    exit 0 ;;
  2673. +    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
  2674. +    echo hppa1.1-hp-bsd
  2675. +    exit 0 ;;
  2676. +    9000/8??:4.3bsd:*:*)
  2677. +    echo hppa1.0-hp-bsd
  2678. +    exit 0 ;;
  2679. +    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
  2680. +    echo hppa1.1-hp-osf
  2681. +    exit 0 ;;
  2682. +    hp8??:OSF1:*:*)
  2683. +    echo hppa1.0-hp-osf
  2684. +    exit 0 ;;
  2685. +    parisc*:Lites*:*:*)
  2686. +    echo hppa1.1-hp-lites
  2687. +    exit 0 ;;
  2688. +    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
  2689. +    echo c1-convex-bsd
  2690. +        exit 0 ;;
  2691. +    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
  2692. +    if getsysinfo -f scalar_acc
  2693. +    then echo c32-convex-bsd
  2694. +    else echo c2-convex-bsd
  2695. +    fi
  2696. +        exit 0 ;;
  2697. +    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
  2698. +    echo c34-convex-bsd
  2699. +        exit 0 ;;
  2700. +    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
  2701. +    echo c38-convex-bsd
  2702. +        exit 0 ;;
  2703. +    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
  2704. +    echo c4-convex-bsd
  2705. +        exit 0 ;;
  2706. +    CRAY*X-MP:*:*:*)
  2707. +    echo xmp-cray-unicos
  2708. +        exit 0 ;;
  2709. +    CRAY*Y-MP:*:*:*)
  2710. +    echo ymp-cray-unicos${UNAME_RELEASE}
  2711. +    exit 0 ;;
  2712. +    CRAY*C90:*:*:*)
  2713. +    echo c90-cray-unicos${UNAME_RELEASE}
  2714. +    exit 0 ;;
  2715. +    CRAY-2:*:*:*)
  2716. +    echo cray2-cray-unicos
  2717. +        exit 0 ;;
  2718. +    hp3[0-9][05]:NetBSD:*:*)
  2719. +    echo m68k-hp-netbsd${UNAME_RELEASE}
  2720. +    exit 0 ;;
  2721. +    i[34]86:BSD/386:*:* | *:BSD/OS:*:*)
  2722. +    echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
  2723. +    exit 0 ;;
  2724. +    *:FreeBSD:*:*)
  2725. +    echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
  2726. +    exit 0 ;;
  2727. +    *:NetBSD:*:*)
  2728. +    echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  2729. +    exit 0 ;;
  2730. +    i*:CYGWIN*:*)
  2731. +    echo i386-unknown-cygwin32
  2732. +    exit 0 ;;
  2733. +    p*:CYGWIN*:*)
  2734. +    echo powerpcle-unknown-cygwin32
  2735. +    exit 0 ;;
  2736. +    prep*:SunOS:5.*:*)
  2737. +    echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  2738. +    exit 0 ;;
  2739. +    *:GNU:*:*)
  2740. +    echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
  2741. +    exit 0 ;;
  2742. +    *:Linux:*:*)
  2743. +    # The BFD linker knows what the default object file format is, so
  2744. +    # first see if it will tell us.
  2745. +    ld_help_string=`ld --help 2>&1`
  2746. +    if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then
  2747. +      echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
  2748. +    elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then
  2749. +      echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
  2750. +    elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then
  2751. +      echo "${UNAME_MACHINE}-unknown-linuxcoff" ; exit 0
  2752. +    elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then
  2753. +      echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
  2754. +    elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then
  2755. +      echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
  2756. +    elif test "${UNAME_MACHINE}" = "alpha" ; then
  2757. +      echo alpha-unknown-linux ; exit 0
  2758. +    else
  2759. +      # Either a pre-BFD a.out linker (linuxoldld) or one that does not give us
  2760. +      # useful --help.  Gcc wants to distinguish between linuxoldld and linuxaout.
  2761. +      test ! -d /usr/lib/ldscripts/. \
  2762. +        && echo "${UNAME_MACHINE}-unknown-linuxoldld" && exit 0
  2763. +      # Determine whether the default compiler is a.out or elf
  2764. +      cat >dummy.c <<EOF
  2765. +main(argc, argv)
  2766. +int argc;
  2767. +char *argv[];
  2768. +{
  2769. +#ifdef __ELF__
  2770. +  printf ("%s-unknown-linux\n", argv[1]);
  2771. +#else
  2772. +  printf ("%s-unknown-linuxaout\n", argv[1]);
  2773. +#endif
  2774. +  return 0;
  2775. +}
  2776. +EOF
  2777. +      ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
  2778. +      rm -f dummy.c dummy
  2779. +    fi ;;
  2780. +# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
  2781. +# are messed up and put the nodename in both sysname and nodename.
  2782. +    i[34]86:DYNIX/ptx:4*:*)
  2783. +    echo i386-sequent-sysv4
  2784. +    exit 0 ;;
  2785. +    i[34]86:*:4.*:* | i[34]86:SYSTEM_V:4.*:*)
  2786. +    if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
  2787. +        echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
  2788. +    else
  2789. +        echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}
  2790. +    fi
  2791. +    exit 0 ;;
  2792. +    i[34]86:*:3.2:*)
  2793. +    if test -f /usr/options/cb.name; then
  2794. +        UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
  2795. +        echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL
  2796. +    elif /bin/uname -X 2>/dev/null >/dev/null ; then
  2797. +        UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
  2798. +        (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
  2799. +        (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
  2800. +            && UNAME_MACHINE=i586
  2801. +        echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL
  2802. +    else
  2803. +        echo ${UNAME_MACHINE}-unknown-sysv32
  2804. +    fi
  2805. +    exit 0 ;;
  2806. +    Intel:Mach:3*:*)
  2807. +    echo i386-unknown-mach3
  2808. +    exit 0 ;;
  2809. +    paragon:*:*:*)
  2810. +    echo i860-intel-osf1
  2811. +    exit 0 ;;
  2812. +    i860:*:4.*:*) # i860-SVR4
  2813. +    if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
  2814. +      echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
  2815. +    else # Add other i860-SVR4 vendors below as they are discovered.
  2816. +      echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
  2817. +    fi
  2818. +    exit 0 ;;
  2819. +    mini*:CTIX:SYS*5:*)
  2820. +    # "miniframe"
  2821. +    echo m68010-convergent-sysv
  2822. +    exit 0 ;;
  2823. +    M680[234]0:*:R3V[567]*:*)
  2824. +    test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
  2825. +    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0)
  2826. +        uname -p 2>/dev/null | grep 86 >/dev/null \
  2827. +          && echo i486-ncr-sysv4.3 && exit 0 ;;
  2828. +    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
  2829. +        uname -p 2>/dev/null | grep 86 >/dev/null \
  2830. +          && echo i486-ncr-sysv4 && exit 0 ;;
  2831. +    m680[234]0:LynxOS:2.[23]*:*)
  2832. +    echo m68k-lynx-lynxos${UNAME_RELEASE}
  2833. +    exit 0 ;;
  2834. +    mc68030:UNIX_System_V:4.*:*)
  2835. +    echo m68k-atari-sysv4
  2836. +    exit 0 ;;
  2837. +    i[34]86:LynxOS:2.[23]*:*)
  2838. +    echo i386-lynx-lynxos${UNAME_RELEASE}
  2839. +    exit 0 ;;
  2840. +    TSUNAMI:LynxOS:2.[23]*:*)
  2841. +    echo sparc-lynx-lynxos${UNAME_RELEASE}
  2842. +    exit 0 ;;
  2843. +    rs6000:LynxOS:2.[23]*:*)
  2844. +    echo rs6000-lynx-lynxos${UNAME_RELEASE}
  2845. +    exit 0 ;;
  2846. +    RM*:SINIX-*:*:*)
  2847. +    echo mips-sni-sysv4
  2848. +    exit 0 ;;
  2849. +    *:SINIX-*:*:*)
  2850. +    if uname -p 2>/dev/null >/dev/null ; then
  2851. +        UNAME_MACHINE=`(uname -p) 2>/dev/null`
  2852. +        echo ${UNAME_MACHINE}-sni-sysv4
  2853. +    else
  2854. +        echo ns32k-sni-sysv
  2855. +    fi
  2856. +    exit 0 ;;
  2857. +    mc68*:A/UX:*:*)
  2858. +    echo m68k-apple-aux${UNAME_RELEASE}
  2859. +    exit 0 ;;
  2860. +    R3000:*System_V*:*:*)
  2861. +    if [ -d /usr/nec ]; then
  2862. +            echo mips-nec-sysv${UNAME_RELEASE}
  2863. +    else
  2864. +            echo mips-unknown-sysv${UNAME_RELEASE}
  2865. +    fi
  2866. +        exit 0 ;;
  2867. +esac
  2868. +
  2869. +#echo '(No uname command or uname output not recognized.)' 1>&2
  2870. +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
  2871. +
  2872. +cat >dummy.c <<EOF
  2873. +#ifdef _SEQUENT_
  2874. +# include <sys/types.h>
  2875. +# include <sys/utsname.h>
  2876. +#endif
  2877. +main ()
  2878. +{
  2879. +#if defined (sony)
  2880. +#if defined (MIPSEB)
  2881. +  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
  2882. +     I don't know....  */
  2883. +  printf ("mips-sony-bsd\n"); exit (0);
  2884. +#else
  2885. +#include <sys/param.h>
  2886. +  printf ("m68k-sony-newsos%s\n",
  2887. +#ifdef NEWSOS4
  2888. +          "4"
  2889. +#else
  2890. +      ""
  2891. +#endif
  2892. +         ); exit (0);
  2893. +#endif
  2894. +#endif
  2895. +
  2896. +#if defined (__arm) && defined (__acorn) && defined (__unix)
  2897. +  printf ("arm-acorn-riscix"); exit (0);
  2898. +#endif
  2899. +
  2900. +#if defined (hp300) && !defined (hpux)
  2901. +  printf ("m68k-hp-bsd\n"); exit (0);
  2902. +#endif
  2903. +
  2904. +#if defined (NeXT)
  2905. +#if !defined (__ARCHITECTURE__)
  2906. +#define __ARCHITECTURE__ "m68k"
  2907. +#endif
  2908. +  int version;
  2909. +  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
  2910. +  printf ("%s-next-nextstep%s\n", __ARCHITECTURE__,  version==2 ? "2" : "3");
  2911. +  exit (0);
  2912. +#endif
  2913. +
  2914. +#if defined (MULTIMAX) || defined (n16)
  2915. +#if defined (UMAXV)
  2916. +  printf ("ns32k-encore-sysv\n"); exit (0);
  2917. +#else
  2918. +#if defined (CMU)
  2919. +  printf ("ns32k-encore-mach\n"); exit (0);
  2920. +#else
  2921. +  printf ("ns32k-encore-bsd\n"); exit (0);
  2922. +#endif
  2923. +#endif
  2924. +#endif
  2925. +
  2926. +#if defined (__386BSD__)
  2927. +  printf ("i386-unknown-bsd\n"); exit (0);
  2928. +#endif
  2929. +
  2930. +#if defined (sequent)
  2931. +#if defined (i386)
  2932. +  printf ("i386-sequent-dynix\n"); exit (0);
  2933. +#endif
  2934. +#if defined (ns32000)
  2935. +  printf ("ns32k-sequent-dynix\n"); exit (0);
  2936. +#endif
  2937. +#endif
  2938. +
  2939. +#if defined (_SEQUENT_)
  2940. +    struct utsname un;
  2941. +
  2942. +    uname(&un);
  2943. +
  2944. +    if (strncmp(un.version, "V2", 2) == 0) {
  2945. +    printf ("i386-sequent-ptx2\n"); exit (0);
  2946. +    }
  2947. +    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
  2948. +    printf ("i386-sequent-ptx1\n"); exit (0);
  2949. +    }
  2950. +    printf ("i386-sequent-ptx\n"); exit (0);
  2951. +
  2952. +#endif
  2953. +
  2954. +#if defined (vax)
  2955. +#if !defined (ultrix)
  2956. +  printf ("vax-dec-bsd\n"); exit (0);
  2957. +#else
  2958. +  printf ("vax-dec-ultrix\n"); exit (0);
  2959. +#endif
  2960. +#endif
  2961. +
  2962. +#if defined (alliant) && defined (i860)
  2963. +  printf ("i860-alliant-bsd\n"); exit (0);
  2964. +#endif
  2965. +
  2966. +  exit (1);
  2967. +}
  2968. +EOF
  2969. +
  2970. +${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0
  2971. +rm -f dummy.c dummy
  2972. +
  2973. +# Apollos put the system type in the environment.
  2974. +
  2975. +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
  2976. +
  2977. +# Convex versions that predate uname can use getsysinfo(1)
  2978. +
  2979. +if [ -x /usr/convex/getsysinfo ]
  2980. +then
  2981. +    case `getsysinfo -f cpu_type` in
  2982. +    c1*)
  2983. +    echo c1-convex-bsd
  2984. +    exit 0 ;;
  2985. +    c2*)
  2986. +    if getsysinfo -f scalar_acc
  2987. +    then echo c32-convex-bsd
  2988. +    else echo c2-convex-bsd
  2989. +    fi
  2990. +    exit 0 ;;
  2991. +    c34*)
  2992. +    echo c34-convex-bsd
  2993. +    exit 0 ;;
  2994. +    c38*)
  2995. +    echo c38-convex-bsd
  2996. +    exit 0 ;;
  2997. +    c4*)
  2998. +    echo c4-convex-bsd
  2999. +    exit 0 ;;
  3000. +    esac
  3001. +fi
  3002. +
  3003. +#echo '(Unable to guess system type)' 1>&2
  3004. +
  3005. +exit 1
  3006. diff -rup --new-file baseline/fsf/fileutils/config.h.in amiga/fsf/fileutils/config.h.in
  3007. --- baseline/fsf/fileutils/config.h.in    Sun Jul  7 20:47:16 1996
  3008. +++ amiga/fsf/fileutils/config.h.in    Sat Sep 28 00:00:00 1996
  3009. @@ -273,6 +273,9 @@
  3010.  /* Define if you have the listmntent function.  */
  3011.  #undef HAVE_LISTMNTENT
  3012.  
  3013. +/* Define if you have the lstat function.  */
  3014. +#undef HAVE_LSTAT
  3015. +
  3016.  /* Define if you have the memcpy function.  */
  3017.  #undef HAVE_MEMCPY
  3018.  
  3019. @@ -311,6 +314,9 @@
  3020.  
  3021.  /* Define if you have the valloc function.  */
  3022.  #undef HAVE_VALLOC
  3023. +
  3024. +/* Define if you have the vfork function.  */
  3025. +#undef HAVE_VFORK
  3026.  
  3027.  /* Define if you have the <argz.h> header file.  */
  3028.  #undef HAVE_ARGZ_H
  3029. diff -rup --new-file baseline/fsf/fileutils/config.sub amiga/fsf/fileutils/config.sub
  3030. --- baseline/fsf/fileutils/config.sub    Wed Dec 31 17:00:00 1969
  3031. +++ amiga/fsf/fileutils/config.sub    Sat Sep 28 00:00:00 1996
  3032. @@ -0,0 +1,867 @@
  3033. +#! /bin/sh
  3034. +# Configuration validation subroutine script, version 1.1.
  3035. +#   Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
  3036. +# This file is (in principle) common to ALL GNU software.
  3037. +# The presence of a machine in this file suggests that SOME GNU software
  3038. +# can handle that machine.  It does not imply ALL GNU software can. 
  3039. +#
  3040. +# This file is free software; you can redistribute it and/or modify
  3041. +# it under the terms of the GNU General Public License as published by
  3042. +# the Free Software Foundation; either version 2 of the License, or
  3043. +# (at your option) any later version.
  3044. +#
  3045. +# This program is distributed in the hope that it will be useful,
  3046. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  3047. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  3048. +# GNU General Public License for more details.
  3049. +#
  3050. +# You should have received a copy of the GNU General Public License
  3051. +# along with this program; if not, write to the Free Software
  3052. +# Foundation, Inc., 59 Temple Place - Suite 330,
  3053. +# Boston, MA 02111-1307, USA.
  3054. +
  3055. +# As a special exception to the GNU General Public License, if you
  3056. +# distribute this file as part of a program that contains a
  3057. +# configuration script generated by Autoconf, you may include it under
  3058. +# the same distribution terms that you use for the rest of that program.
  3059. +
  3060. +# Configuration subroutine to validate and canonicalize a configuration type.
  3061. +# Supply the specified configuration type as an argument.
  3062. +# If it is invalid, we print an error message on stderr and exit with code 1.
  3063. +# Otherwise, we print the canonical config type on stdout and succeed.
  3064. +
  3065. +# This file is supposed to be the same for all GNU packages
  3066. +# and recognize all the CPU types, system types and aliases
  3067. +# that are meaningful with *any* GNU software.
  3068. +# Each package is responsible for reporting which valid configurations
  3069. +# it does not support.  The user should be able to distinguish
  3070. +# a failure to support a valid configuration from a meaningless
  3071. +# configuration.
  3072. +
  3073. +# The goal of this file is to map all the various variations of a given
  3074. +# machine specification into a single specification in the form:
  3075. +#    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
  3076. +# It is wrong to echo any other type of specification.
  3077. +
  3078. +if [ x$1 = x ]
  3079. +then
  3080. +    echo Configuration name missing. 1>&2
  3081. +    echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
  3082. +    echo "or     $0 ALIAS" 1>&2
  3083. +    echo where ALIAS is a recognized configuration type. 1>&2
  3084. +    exit 1
  3085. +fi
  3086. +
  3087. +# First pass through any local machine types.
  3088. +case $1 in
  3089. +    *local*)
  3090. +        echo $1
  3091. +        exit 0
  3092. +        ;;
  3093. +    *)
  3094. +    ;;
  3095. +esac
  3096. +
  3097. +# Separate what the user gave into CPU-COMPANY and OS (if any).
  3098. +basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  3099. +if [ $basic_machine != $1 ]
  3100. +then os=`echo $1 | sed 's/.*-/-/'`
  3101. +else os=; fi
  3102. +
  3103. +### Let's recognize common machines as not being operating systems so
  3104. +### that things like config.sub decstation-3100 work.  We also
  3105. +### recognize some manufacturers as not being operating systems, so we
  3106. +### can provide default operating systems below.
  3107. +case $os in
  3108. +    -sun*os*)
  3109. +        # Prevent following clause from handling this invalid input.
  3110. +        ;;
  3111. +    -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
  3112. +    -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
  3113. +    -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
  3114. +    -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  3115. +    -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  3116. +    -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp )
  3117. +        os=
  3118. +        basic_machine=$1
  3119. +        ;;
  3120. +    -hiux*)
  3121. +        os=-hiuxwe2
  3122. +        ;;
  3123. +    -sco4)
  3124. +        os=-sco3.2v4
  3125. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  3126. +        ;;
  3127. +    -sco3.2.[4-9]*)
  3128. +        os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
  3129. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  3130. +        ;;
  3131. +    -sco3.2v[4-9]*)
  3132. +        # Don't forget version if it is 3.2v4 or newer.
  3133. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  3134. +        ;;
  3135. +    -sco*)
  3136. +        os=-sco3.2v2
  3137. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  3138. +        ;;
  3139. +    -isc)
  3140. +        os=-isc2.2
  3141. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  3142. +        ;;
  3143. +    -clix*)
  3144. +        basic_machine=clipper-intergraph
  3145. +        ;;
  3146. +    -isc*)
  3147. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  3148. +        ;;
  3149. +    -lynx*)
  3150. +        os=-lynxos
  3151. +        ;;
  3152. +    -ptx*)
  3153. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
  3154. +        ;;
  3155. +    -windowsnt*)
  3156. +        os=`echo $os | sed -e 's/windowsnt/winnt/'`
  3157. +        ;;
  3158. +esac
  3159. +
  3160. +# Decode aliases for certain CPU-COMPANY combinations.
  3161. +case $basic_machine in
  3162. +    # Recognize the basic CPU types without company name.
  3163. +    # Some are omitted here because they have special meanings below.
  3164. +    tahoe | i[345]86 | i860 | m68k | m68000 | m88k | ns32k | arm \
  3165. +        | arme[lb] | pyramid \
  3166. +        | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
  3167. +        | alpha | we32k | ns16k | clipper | sparclite | i370 | sh \
  3168. +        | powerpc | powerpcle | sparc64 | 1750a | dsp16xx | mips64 | mipsel \
  3169. +        | pdp11 | mips64el | mips64orion | mips64orionel \
  3170. +        | sparc)
  3171. +        basic_machine=$basic_machine-unknown
  3172. +        ;;
  3173. +    # Object if more than one company name word.
  3174. +    *-*-*)
  3175. +        echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  3176. +        exit 1
  3177. +        ;;
  3178. +    # Recognize the basic CPU types with company name.
  3179. +    vax-* | tahoe-* | i[345]86-* | i860-* | m68k-* | m68000-* | m88k-* \
  3180. +          | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
  3181. +          | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \
  3182. +          | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
  3183. +          | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
  3184. +          | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
  3185. +          | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
  3186. +          | mips64el-* | mips64orion-* | mips64orionel-*)
  3187. +        ;;
  3188. +    # Recognize the various machine names and aliases which stand
  3189. +    # for a CPU type and a company and sometimes even an OS.
  3190. +    3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
  3191. +        basic_machine=m68000-att
  3192. +        ;;
  3193. +    3b*)
  3194. +        basic_machine=we32k-att
  3195. +        ;;
  3196. +    alliant | fx80)
  3197. +        basic_machine=fx80-alliant
  3198. +        ;;
  3199. +    altos | altos3068)
  3200. +        basic_machine=m68k-altos
  3201. +        ;;
  3202. +    am29k)
  3203. +        basic_machine=a29k-none
  3204. +        os=-bsd
  3205. +        ;;
  3206. +    amdahl)
  3207. +        basic_machine=580-amdahl
  3208. +        os=-sysv
  3209. +        ;;
  3210. +    amiga | amiga-*)
  3211. +        basic_machine=m68k-unknown
  3212. +        ;;
  3213. +    amigaos)
  3214. +        basic_machine=m68k-unknown
  3215. +        os=-amigaos
  3216. +        ;;
  3217. +    amigaunix | amix)
  3218. +        basic_machine=m68k-cbm
  3219. +        os=-sysv4
  3220. +        ;;
  3221. +    apollo68)
  3222. +        basic_machine=m68k-apollo
  3223. +        os=-sysv
  3224. +        ;;
  3225. +    balance)
  3226. +        basic_machine=ns32k-sequent
  3227. +        os=-dynix
  3228. +        ;;
  3229. +    convex-c1)
  3230. +        basic_machine=c1-convex
  3231. +        os=-bsd
  3232. +        ;;
  3233. +    convex-c2)
  3234. +        basic_machine=c2-convex
  3235. +        os=-bsd
  3236. +        ;;
  3237. +    convex-c32)
  3238. +        basic_machine=c32-convex
  3239. +        os=-bsd
  3240. +        ;;
  3241. +    convex-c34)
  3242. +        basic_machine=c34-convex
  3243. +        os=-bsd
  3244. +        ;;
  3245. +    convex-c38)
  3246. +        basic_machine=c38-convex
  3247. +        os=-bsd
  3248. +        ;;
  3249. +    cray | ymp)
  3250. +        basic_machine=ymp-cray
  3251. +        os=-unicos
  3252. +        ;;
  3253. +    cray2)
  3254. +        basic_machine=cray2-cray
  3255. +        os=-unicos
  3256. +        ;;
  3257. +    crds | unos)
  3258. +        basic_machine=m68k-crds
  3259. +        ;;
  3260. +    da30 | da30-*)
  3261. +        basic_machine=m68k-da30
  3262. +        ;;
  3263. +    decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
  3264. +        basic_machine=mips-dec
  3265. +        ;;
  3266. +    delta | 3300 | motorola-3300 | motorola-delta \
  3267. +          | 3300-motorola | delta-motorola)
  3268. +        basic_machine=m68k-motorola
  3269. +        ;;
  3270. +    delta88)
  3271. +        basic_machine=m88k-motorola
  3272. +        os=-sysv3
  3273. +        ;;
  3274. +    dpx20 | dpx20-*)
  3275. +        basic_machine=rs6000-bull
  3276. +        os=-bosx
  3277. +        ;;
  3278. +    dpx2* | dpx2*-bull)
  3279. +        basic_machine=m68k-bull
  3280. +        os=-sysv3
  3281. +        ;;
  3282. +    ebmon29k)
  3283. +        basic_machine=a29k-amd
  3284. +        os=-ebmon
  3285. +        ;;
  3286. +    elxsi)
  3287. +        basic_machine=elxsi-elxsi
  3288. +        os=-bsd
  3289. +        ;;
  3290. +    encore | umax | mmax)
  3291. +        basic_machine=ns32k-encore
  3292. +        ;;
  3293. +    fx2800)
  3294. +        basic_machine=i860-alliant
  3295. +        ;;
  3296. +    genix)
  3297. +        basic_machine=ns32k-ns
  3298. +        ;;
  3299. +    gmicro)
  3300. +        basic_machine=tron-gmicro
  3301. +        os=-sysv
  3302. +        ;;
  3303. +    h3050r* | hiux*)
  3304. +        basic_machine=hppa1.1-hitachi
  3305. +        os=-hiuxwe2
  3306. +        ;;
  3307. +    h8300hms)
  3308. +        basic_machine=h8300-hitachi
  3309. +        os=-hms
  3310. +        ;;
  3311. +    harris)
  3312. +        basic_machine=m88k-harris
  3313. +        os=-sysv3
  3314. +        ;;
  3315. +    hp300-*)
  3316. +        basic_machine=m68k-hp
  3317. +        ;;
  3318. +    hp300bsd)
  3319. +        basic_machine=m68k-hp
  3320. +        os=-bsd
  3321. +        ;;
  3322. +    hp300hpux)
  3323. +        basic_machine=m68k-hp
  3324. +        os=-hpux
  3325. +        ;;
  3326. +    hp9k2[0-9][0-9] | hp9k31[0-9])
  3327. +        basic_machine=m68000-hp
  3328. +        ;;
  3329. +    hp9k3[2-9][0-9])
  3330. +        basic_machine=m68k-hp
  3331. +        ;;
  3332. +    hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
  3333. +        basic_machine=hppa1.1-hp
  3334. +        ;;
  3335. +    hp9k8[0-9][0-9] | hp8[0-9][0-9])
  3336. +        basic_machine=hppa1.0-hp
  3337. +        ;;
  3338. +    i370-ibm* | ibm*)
  3339. +        basic_machine=i370-ibm
  3340. +        os=-mvs
  3341. +        ;;
  3342. +# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
  3343. +    i[345]86v32)
  3344. +        basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
  3345. +        os=-sysv32
  3346. +        ;;
  3347. +    i[345]86v4*)
  3348. +        basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
  3349. +        os=-sysv4
  3350. +        ;;
  3351. +    i[345]86v)
  3352. +        basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
  3353. +        os=-sysv
  3354. +        ;;
  3355. +    i[345]86sol2)
  3356. +        basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
  3357. +        os=-solaris2
  3358. +        ;;
  3359. +    iris | iris4d)
  3360. +        basic_machine=mips-sgi
  3361. +        case $os in
  3362. +            -irix*)
  3363. +            ;;
  3364. +            *)
  3365. +            os=-irix4
  3366. +            ;;
  3367. +        esac
  3368. +        ;;
  3369. +    isi68 | isi)
  3370. +        basic_machine=m68k-isi
  3371. +        os=-sysv
  3372. +        ;;
  3373. +    m88k-omron*)
  3374. +        basic_machine=m88k-omron
  3375. +        ;;
  3376. +    magnum | m3230)
  3377. +        basic_machine=mips-mips
  3378. +        os=-sysv
  3379. +        ;;
  3380. +    merlin)
  3381. +        basic_machine=ns32k-utek
  3382. +        os=-sysv
  3383. +        ;;
  3384. +    miniframe)
  3385. +        basic_machine=m68000-convergent
  3386. +        ;;
  3387. +    mips3*-*)
  3388. +        basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  3389. +        ;;
  3390. +    mips3*)
  3391. +        basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
  3392. +        ;;
  3393. +    ncr3000)
  3394. +        basic_machine=i486-ncr
  3395. +        os=-sysv4
  3396. +        ;;
  3397. +    news | news700 | news800 | news900)
  3398. +        basic_machine=m68k-sony
  3399. +        os=-newsos
  3400. +        ;;
  3401. +    news1000)
  3402. +        basic_machine=m68030-sony
  3403. +        os=-newsos
  3404. +        ;;
  3405. +    news-3600 | risc-news)
  3406. +        basic_machine=mips-sony
  3407. +        os=-newsos
  3408. +        ;;
  3409. +    next | m*-next )
  3410. +        basic_machine=m68k-next
  3411. +        case $os in
  3412. +            -nextstep* )
  3413. +            ;;
  3414. +            -ns2*)
  3415. +              os=-nextstep2
  3416. +            ;;
  3417. +            *)
  3418. +              os=-nextstep3
  3419. +            ;;
  3420. +        esac
  3421. +        ;;
  3422. +    nh3000)
  3423. +        basic_machine=m68k-harris
  3424. +        os=-cxux
  3425. +        ;;
  3426. +    nh[45]000)
  3427. +        basic_machine=m88k-harris
  3428. +        os=-cxux
  3429. +        ;;
  3430. +    nindy960)
  3431. +        basic_machine=i960-intel
  3432. +        os=-nindy
  3433. +        ;;
  3434. +    np1)
  3435. +        basic_machine=np1-gould
  3436. +        ;;
  3437. +    pa-hitachi)
  3438. +        basic_machine=hppa1.1-hitachi
  3439. +        os=-hiuxwe2
  3440. +        ;;
  3441. +    paragon)
  3442. +        basic_machine=i860-intel
  3443. +        os=-osf
  3444. +        ;;
  3445. +    pbd)
  3446. +        basic_machine=sparc-tti
  3447. +        ;;
  3448. +    pbb)
  3449. +        basic_machine=m68k-tti
  3450. +        ;;
  3451. +        pc532 | pc532-*)
  3452. +        basic_machine=ns32k-pc532
  3453. +        ;;
  3454. +    pentium | p5 | p6)
  3455. +        # We don't have specific support for the Intel Pentium (p6) followon yet, so just call it a Pentium
  3456. +        basic_machine=i586-intel
  3457. +        ;;
  3458. +    pentium-* | p5-* | p6-*)
  3459. +        # We don't have specific support for the Intel Pentium (p6) followon yet, so just call it a Pentium
  3460. +        basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
  3461. +        ;;
  3462. +    k5)
  3463. +        # We don't have specific support for AMD's K5 yet, so just call it a Pentium
  3464. +        basic_machine=i586-amd
  3465. +        ;;
  3466. +    nexen)
  3467. +        # We don't have specific support for Nexgen yet, so just call it a Pentium
  3468. +        basic_machine=i586-nexgen
  3469. +        ;;
  3470. +    pn)
  3471. +        basic_machine=pn-gould
  3472. +        ;;
  3473. +    power)    basic_machine=rs6000-ibm
  3474. +        ;;
  3475. +    ppc)    basic_machine=powerpc-unknown
  3476. +            ;;
  3477. +    ppc-*)    basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  3478. +        ;;
  3479. +    ppcle | powerpclittle | ppc-le | powerpc-little)
  3480. +        basic_machine=powerpcle-unknown
  3481. +            ;;
  3482. +    ppcle-* | powerpclittle-*)
  3483. +        basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
  3484. +        ;;
  3485. +    ps2)
  3486. +        basic_machine=i386-ibm
  3487. +        ;;
  3488. +    rm[46]00)
  3489. +        basic_machine=mips-siemens
  3490. +        ;;
  3491. +    rtpc | rtpc-*)
  3492. +        basic_machine=romp-ibm
  3493. +        ;;
  3494. +    sequent)
  3495. +        basic_machine=i386-sequent
  3496. +        ;;
  3497. +    sh)
  3498. +        basic_machine=sh-hitachi
  3499. +        os=-hms
  3500. +        ;;
  3501. +    sps7)
  3502. +        basic_machine=m68k-bull
  3503. +        os=-sysv2
  3504. +        ;;
  3505. +    spur)
  3506. +        basic_machine=spur-unknown
  3507. +        ;;
  3508. +    sun2)
  3509. +        basic_machine=m68000-sun
  3510. +        ;;
  3511. +    sun2os3)
  3512. +        basic_machine=m68000-sun
  3513. +        os=-sunos3
  3514. +        ;;
  3515. +    sun2os4)
  3516. +        basic_machine=m68000-sun
  3517. +        os=-sunos4
  3518. +        ;;
  3519. +    sun3os3)
  3520. +        basic_machine=m68k-sun
  3521. +        os=-sunos3
  3522. +        ;;
  3523. +    sun3os4)
  3524. +        basic_machine=m68k-sun
  3525. +        os=-sunos4
  3526. +        ;;
  3527. +    sun4os3)
  3528. +        basic_machine=sparc-sun
  3529. +        os=-sunos3
  3530. +        ;;
  3531. +    sun4os4)
  3532. +        basic_machine=sparc-sun
  3533. +        os=-sunos4
  3534. +        ;;
  3535. +    sun4sol2)
  3536. +        basic_machine=sparc-sun
  3537. +        os=-solaris2
  3538. +        ;;
  3539. +    sun3 | sun3-*)
  3540. +        basic_machine=m68k-sun
  3541. +        ;;
  3542. +    sun4)
  3543. +        basic_machine=sparc-sun
  3544. +        ;;
  3545. +    sun386 | sun386i | roadrunner)
  3546. +        basic_machine=i386-sun
  3547. +        ;;
  3548. +    symmetry)
  3549. +        basic_machine=i386-sequent
  3550. +        os=-dynix
  3551. +        ;;
  3552. +    tower | tower-32)
  3553. +        basic_machine=m68k-ncr
  3554. +        ;;
  3555. +    udi29k)
  3556. +        basic_machine=a29k-amd
  3557. +        os=-udi
  3558. +        ;;
  3559. +    ultra3)
  3560. +        basic_machine=a29k-nyu
  3561. +        os=-sym1
  3562. +        ;;
  3563. +    vaxv)
  3564. +        basic_machine=vax-dec
  3565. +        os=-sysv
  3566. +        ;;
  3567. +    vms)
  3568. +        basic_machine=vax-dec
  3569. +        os=-vms
  3570. +        ;;
  3571. +    vxworks960)
  3572. +        basic_machine=i960-wrs
  3573. +        os=-vxworks
  3574. +        ;;
  3575. +    vxworks68)
  3576. +        basic_machine=m68k-wrs
  3577. +        os=-vxworks
  3578. +        ;;
  3579. +    vxworks29k)
  3580. +        basic_machine=a29k-wrs
  3581. +        os=-vxworks
  3582. +        ;;
  3583. +    xmp)
  3584. +        basic_machine=xmp-cray
  3585. +        os=-unicos
  3586. +        ;;
  3587. +        xps | xps100)
  3588. +        basic_machine=xps100-honeywell
  3589. +        ;;
  3590. +    none)
  3591. +        basic_machine=none-none
  3592. +        os=-none
  3593. +        ;;
  3594. +
  3595. +# Here we handle the default manufacturer of certain CPU types.  It is in
  3596. +# some cases the only manufacturer, in others, it is the most popular.
  3597. +    mips)
  3598. +        basic_machine=mips-mips
  3599. +        ;;
  3600. +    romp)
  3601. +        basic_machine=romp-ibm
  3602. +        ;;
  3603. +    rs6000)
  3604. +        basic_machine=rs6000-ibm
  3605. +        ;;
  3606. +    vax)
  3607. +        basic_machine=vax-dec
  3608. +        ;;
  3609. +    pdp11)
  3610. +        basic_machine=pdp11-dec
  3611. +        ;;
  3612. +    we32k)
  3613. +        basic_machine=we32k-att
  3614. +        ;;
  3615. +    sparc)
  3616. +        basic_machine=sparc-sun
  3617. +        ;;
  3618. +        cydra)
  3619. +        basic_machine=cydra-cydrome
  3620. +        ;;
  3621. +    orion)
  3622. +        basic_machine=orion-highlevel
  3623. +        ;;
  3624. +    orion105)
  3625. +        basic_machine=clipper-highlevel
  3626. +        ;;
  3627. +    *)
  3628. +        echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  3629. +        exit 1
  3630. +        ;;
  3631. +esac
  3632. +
  3633. +# Here we canonicalize certain aliases for manufacturers.
  3634. +case $basic_machine in
  3635. +    *-digital*)
  3636. +        basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
  3637. +        ;;
  3638. +    *-commodore*)
  3639. +        basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
  3640. +        ;;
  3641. +    *)
  3642. +        ;;
  3643. +esac
  3644. +
  3645. +# Decode manufacturer-specific aliases for certain operating systems.
  3646. +
  3647. +if [ x"$os" != x"" ]
  3648. +then
  3649. +case $os in
  3650. +    # -solaris* is a basic system type, with this one exception.
  3651. +    -solaris1 | -solaris1.*)
  3652. +        os=`echo $os | sed -e 's|solaris1|sunos4|'`
  3653. +        ;;
  3654. +    -solaris)
  3655. +        os=-solaris2
  3656. +        ;;
  3657. +    -unixware* | svr4*)
  3658. +        os=-sysv4
  3659. +        ;;
  3660. +    -gnu/linux*)
  3661. +        os=`echo $os | sed -e 's|gnu/linux|linux|'`
  3662. +        ;;
  3663. +    # First accept the basic system types.
  3664. +    # The portable systems comes first.
  3665. +    # Each alternative MUST END IN A *, to match a version number.
  3666. +    # -sysv* is not here because it comes later, after sysvr4.
  3667. +    -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  3668. +          | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[345]* \
  3669. +          | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  3670. +          | -amigaos* | -msdos* | -newsos* | -unicos* | -aos* \
  3671. +          | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
  3672. +          | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
  3673. +          | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
  3674. +          | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
  3675. +          | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  3676. +          | -udi* | -eabi* | -lites* )
  3677. +    # Remember, each alternative MUST END IN *, to match a version number.
  3678. +        ;;
  3679. +    -sunos5*)
  3680. +        os=`echo $os | sed -e 's|sunos5|solaris2|'`
  3681. +        ;;
  3682. +    -sunos6*)
  3683. +        os=`echo $os | sed -e 's|sunos6|solaris3|'`
  3684. +        ;;
  3685. +    -osfrose*)
  3686. +        os=-osfrose
  3687. +        ;;
  3688. +    -osf*)
  3689. +        os=-osf
  3690. +        ;;
  3691. +    -utek*)
  3692. +        os=-bsd
  3693. +        ;;
  3694. +    -dynix*)
  3695. +        os=-bsd
  3696. +        ;;
  3697. +    -acis*)
  3698. +        os=-aos
  3699. +        ;;
  3700. +    -ctix* | -uts*)
  3701. +        os=-sysv
  3702. +        ;;
  3703. +    # Preserve the version number of sinix5.
  3704. +    -sinix5.*)
  3705. +        os=`echo $os | sed -e 's|sinix|sysv|'`
  3706. +        ;;
  3707. +    -sinix*)
  3708. +        os=-sysv4
  3709. +        ;;
  3710. +    -triton*)
  3711. +        os=-sysv3
  3712. +        ;;
  3713. +    -oss*)
  3714. +        os=-sysv3
  3715. +        ;;
  3716. +    -svr4)
  3717. +        os=-sysv4
  3718. +        ;;
  3719. +    -svr3)
  3720. +        os=-sysv3
  3721. +        ;;
  3722. +    -sysvr4)
  3723. +        os=-sysv4
  3724. +        ;;
  3725. +    # This must come after -sysvr4.
  3726. +    -sysv*)
  3727. +        ;;
  3728. +    -xenix)
  3729. +        os=-xenix
  3730. +        ;;
  3731. +    -none)
  3732. +        ;;
  3733. +    *)
  3734. +        # Get rid of the `-' at the beginning of $os.
  3735. +        os=`echo $os | sed 's/[^-]*-//'`
  3736. +        echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
  3737. +        exit 1
  3738. +        ;;
  3739. +esac
  3740. +else
  3741. +
  3742. +# Here we handle the default operating systems that come with various machines.
  3743. +# The value should be what the vendor currently ships out the door with their
  3744. +# machine or put another way, the most popular os provided with the machine.
  3745. +
  3746. +# Note that if you're going to try to match "-MANUFACTURER" here (say,
  3747. +# "-sun"), then you have to tell the case statement up towards the top
  3748. +# that MANUFACTURER isn't an operating system.  Otherwise, code above
  3749. +# will signal an error saying that MANUFACTURER isn't an operating
  3750. +# system, and we'll never get to this point.
  3751. +
  3752. +case $basic_machine in
  3753. +    *-acorn)
  3754. +        os=-riscix1.2
  3755. +        ;;
  3756. +    arm*-semi)
  3757. +        os=-aout
  3758. +        ;;
  3759. +        pdp11-*)
  3760. +        os=-none
  3761. +        ;;
  3762. +    *-dec | vax-*)
  3763. +        os=-ultrix4.2
  3764. +        ;;
  3765. +    m68*-apollo)
  3766. +        os=-domain
  3767. +        ;;
  3768. +    i386-sun)
  3769. +        os=-sunos4.0.2
  3770. +        ;;
  3771. +    m68000-sun)
  3772. +        os=-sunos3
  3773. +        # This also exists in the configure program, but was not the
  3774. +        # default.
  3775. +        # os=-sunos4
  3776. +        ;;
  3777. +    *-tti)    # must be before sparc entry or we get the wrong os.
  3778. +        os=-sysv3
  3779. +        ;;
  3780. +    sparc-* | *-sun)
  3781. +        os=-sunos4.1.1
  3782. +        ;;
  3783. +    *-ibm)
  3784. +        os=-aix
  3785. +        ;;
  3786. +    *-hp)
  3787. +        os=-hpux
  3788. +        ;;
  3789. +    *-hitachi)
  3790. +        os=-hiux
  3791. +        ;;
  3792. +    i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
  3793. +        os=-sysv
  3794. +        ;;
  3795. +    *-cbm)
  3796. +        os=-amigaos
  3797. +        ;;
  3798. +    *-dg)
  3799. +        os=-dgux
  3800. +        ;;
  3801. +    *-dolphin)
  3802. +        os=-sysv3
  3803. +        ;;
  3804. +    m68k-ccur)
  3805. +        os=-rtu
  3806. +        ;;
  3807. +    m88k-omron*)
  3808. +        os=-luna
  3809. +        ;;
  3810. +    *-sequent)
  3811. +        os=-ptx
  3812. +        ;;
  3813. +    *-crds)
  3814. +        os=-unos
  3815. +        ;;
  3816. +    *-ns)
  3817. +        os=-genix
  3818. +        ;;
  3819. +    i370-*)
  3820. +        os=-mvs
  3821. +        ;;
  3822. +    *-next)
  3823. +        os=-nextstep3
  3824. +        ;;
  3825. +        *-gould)
  3826. +        os=-sysv
  3827. +        ;;
  3828. +        *-highlevel)
  3829. +        os=-bsd
  3830. +        ;;
  3831. +    *-encore)
  3832. +        os=-bsd
  3833. +        ;;
  3834. +        *-sgi)
  3835. +        os=-irix
  3836. +        ;;
  3837. +        *-siemens)
  3838. +        os=-sysv4
  3839. +        ;;
  3840. +    *-masscomp)
  3841. +        os=-rtu
  3842. +        ;;
  3843. +    *)
  3844. +        os=-none
  3845. +        ;;
  3846. +esac
  3847. +fi
  3848. +
  3849. +# Here we handle the case where we know the os, and the CPU type, but not the
  3850. +# manufacturer.  We pick the logical manufacturer.
  3851. +vendor=unknown
  3852. +case $basic_machine in
  3853. +    *-unknown)
  3854. +        case $os in
  3855. +            -riscix*)
  3856. +                vendor=acorn
  3857. +                ;;
  3858. +            -sunos*)
  3859. +                vendor=sun
  3860. +                ;;
  3861. +            -lynxos*)
  3862. +                vendor=lynx
  3863. +                ;;
  3864. +            -aix*)
  3865. +                vendor=ibm
  3866. +                ;;
  3867. +            -hpux*)
  3868. +                vendor=hp
  3869. +                ;;
  3870. +            -hiux*)
  3871. +                vendor=hitachi
  3872. +                ;;
  3873. +            -unos*)
  3874. +                vendor=crds
  3875. +                ;;
  3876. +            -dgux*)
  3877. +                vendor=dg
  3878. +                ;;
  3879. +            -luna*)
  3880. +                vendor=omron
  3881. +                ;;
  3882. +            -genix*)
  3883. +                vendor=ns
  3884. +                ;;
  3885. +            -mvs*)
  3886. +                vendor=ibm
  3887. +                ;;
  3888. +            -ptx*)
  3889. +                vendor=sequent
  3890. +                ;;
  3891. +            -vxworks*)
  3892. +                vendor=wrs
  3893. +                ;;
  3894. +        esac
  3895. +        basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
  3896. +        ;;
  3897. +esac
  3898. +
  3899. +echo $basic_machine$os
  3900. diff -rup --new-file baseline/fsf/fileutils/configure amiga/fsf/fileutils/configure
  3901. --- baseline/fsf/fileutils/configure    Thu Jul 11 19:50:45 1996
  3902. +++ amiga/fsf/fileutils/configure    Mon Sep 30 22:40:21 1996
  3903. @@ -53,6 +53,9 @@ libdir='${exec_prefix}/lib'
  3904.  includedir='${prefix}/include'
  3905.  oldincludedir='/usr/include'
  3906.  infodir='${prefix}/info'
  3907. +guidedir='${prefix}/guide'
  3908. +psdir='${prefix}/ps'
  3909. +dvidir='${prefix}/dvi'
  3910.  mandir='${prefix}/man'
  3911.  
  3912.  # Initialize some other variables.
  3913. @@ -167,6 +170,9 @@ Directory and file names:
  3914.    --includedir=DIR        C header files in DIR [PREFIX/include]
  3915.    --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  3916.    --infodir=DIR           info documentation in DIR [PREFIX/info]
  3917. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  3918. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  3919. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  3920.    --mandir=DIR            man documentation in DIR [PREFIX/man]
  3921.    --srcdir=DIR            find the sources in DIR [configure dir or ..]
  3922.    --program-prefix=PREFIX prepend PREFIX to installed program names
  3923. @@ -209,6 +215,18 @@ EOF
  3924.    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  3925.      infodir="$ac_optarg" ;;
  3926.  
  3927. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  3928. +   ac_prev=guidedir ;;
  3929. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  3930. +
  3931. + -psdir | --psdir | --psdi | --psd | --ps)
  3932. +   ac_prev=psdir ;;
  3933. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  3934. +
  3935. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  3936. +   ac_prev=dvidir ;;
  3937. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  3938. +
  3939.    -libdir | --libdir | --libdi | --libd)
  3940.      ac_prev=libdir ;;
  3941.    -libdir=* | --libdir=* | --libdi=* | --libd=*)
  3942. @@ -827,7 +845,7 @@ else
  3943.    yes;
  3944.  #endif
  3945.  EOF
  3946. -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  3947. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  3948.    ac_cv_prog_gcc=yes
  3949.  else
  3950.    ac_cv_prog_gcc=no
  3951. @@ -854,9 +872,9 @@ fi
  3952.  
  3953.  echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  3954.      if test $ac_cv_prog_gcc_g = yes; then
  3955. -      CFLAGS="-g -O"
  3956. +      CFLAGS="-g -O2"
  3957.      else
  3958. -      CFLAGS="-O"
  3959. +      CFLAGS="-O2"
  3960.      fi
  3961.    fi
  3962.  else
  3963. @@ -879,13 +897,13 @@ else
  3964.    # On the NeXT, cc -E runs the code through the compiler's parser,
  3965.    # not just through cpp.
  3966.    cat > conftest.$ac_ext <<EOF
  3967. -#line 883 "configure"
  3968. +#line 901 "configure"
  3969.  #include "confdefs.h"
  3970.  #include <assert.h>
  3971.  Syntax Error
  3972.  EOF
  3973.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  3974. -{ (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  3975. +{ (eval echo configure:907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  3976.  ac_err=`grep -v '^ *+' conftest.out`
  3977.  if test -z "$ac_err"; then
  3978.    :
  3979. @@ -894,13 +912,13 @@ else
  3980.    rm -rf conftest*
  3981.    CPP="${CC-cc} -E -traditional-cpp"
  3982.    cat > conftest.$ac_ext <<EOF
  3983. -#line 898 "configure"
  3984. +#line 916 "configure"
  3985.  #include "confdefs.h"
  3986.  #include <assert.h>
  3987.  Syntax Error
  3988.  EOF
  3989.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  3990. -{ (eval echo configure:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  3991. +{ (eval echo configure:922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  3992.  ac_err=`grep -v '^ *+' conftest.out`
  3993.  if test -z "$ac_err"; then
  3994.    :
  3995. @@ -927,7 +945,7 @@ if eval "test \"`echo '$''{'ac_cv_prog_g
  3996.  else
  3997.      ac_pattern="Autoconf.*'x'"
  3998.    cat > conftest.$ac_ext <<EOF
  3999. -#line 931 "configure"
  4000. +#line 949 "configure"
  4001.  #include "confdefs.h"
  4002.  #include <sgtty.h>
  4003.  Autoconf TIOCGETP
  4004. @@ -945,7 +963,7 @@ rm -f conftest*
  4005.  
  4006.    if test $ac_cv_prog_gcc_traditional = no; then
  4007.      cat > conftest.$ac_ext <<EOF
  4008. -#line 949 "configure"
  4009. +#line 967 "configure"
  4010.  #include "confdefs.h"
  4011.  #include <termio.h>
  4012.  Autoconf TCGETA
  4013. @@ -992,6 +1010,7 @@ ac_configure=$ac_aux_dir/configure # Thi
  4014.  # SunOS /usr/etc/install
  4015.  # IRIX /sbin/install
  4016.  # AIX /bin/install
  4017. +# AmigaOS /c/install
  4018.  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  4019.  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  4020.  # ./install, which can be erroneously created by make from ./install.sh.
  4021. @@ -1004,7 +1023,7 @@ else
  4022.    for ac_dir in $PATH; do
  4023.      # Account for people who put trailing slashes in PATH elements.
  4024.      case "$ac_dir/" in
  4025. -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  4026. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  4027.      *)
  4028.        # OSF1 and SCO ODT 3.0 have their own names for install.
  4029.        for ac_prog in ginstall installbsd scoinst install; do
  4030. @@ -1044,7 +1063,86 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PR
  4031.  
  4032.  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  4033.  
  4034. -# Extract the first word of "ranlib", so it can be a program name with args.
  4035. +
  4036. +# Make sure we can run config.sub.
  4037. +if $ac_config_sub sun4 >/dev/null 2>&1; then :
  4038. +else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
  4039. +fi
  4040. +
  4041. +echo $ac_n "checking host system type""... $ac_c" 1>&6
  4042. +
  4043. +host_alias=$host
  4044. +case "$host_alias" in
  4045. +NONE)
  4046. +  case $nonopt in
  4047. +  NONE)
  4048. +    if host_alias=`$ac_config_guess`; then :
  4049. +    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
  4050. +    fi ;;
  4051. +  *) host_alias=$nonopt ;;
  4052. +  esac ;;
  4053. +esac
  4054. +
  4055. +host=`$ac_config_sub $host_alias`
  4056. +host_cpu=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  4057. +host_vendor=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  4058. +host_os=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  4059. +echo "$ac_t""$host" 1>&6
  4060. +
  4061. +echo $ac_n "checking build system type""... $ac_c" 1>&6
  4062. +
  4063. +build_alias=$build
  4064. +case "$build_alias" in
  4065. +NONE)
  4066. +  case $nonopt in
  4067. +  NONE) build_alias=$host_alias ;;
  4068. +  *) build_alias=$nonopt ;;
  4069. +  esac ;;
  4070. +esac
  4071. +
  4072. +build=`$ac_config_sub $build_alias`
  4073. +build_cpu=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  4074. +build_vendor=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  4075. +build_os=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  4076. +echo "$ac_t""$build" 1>&6
  4077. +
  4078. +if test $host != $build; then
  4079. +  ac_tool_prefix=${host_alias}-
  4080. +else
  4081. +  ac_tool_prefix=
  4082. +fi
  4083. +
  4084. +# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  4085. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  4086. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  4087. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  4088. +  echo $ac_n "(cached) $ac_c" 1>&6
  4089. +else
  4090. +  if test -n "$RANLIB"; then
  4091. +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4092. +else
  4093. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  4094. +  for ac_dir in $PATH; do
  4095. +    test -z "$ac_dir" && ac_dir=.
  4096. +    if test -f $ac_dir/$ac_word; then
  4097. +      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  4098. +      break
  4099. +    fi
  4100. +  done
  4101. +  IFS="$ac_save_ifs"
  4102. +fi
  4103. +fi
  4104. +RANLIB="$ac_cv_prog_RANLIB"
  4105. +if test -n "$RANLIB"; then
  4106. +  echo "$ac_t""$RANLIB" 1>&6
  4107. +else
  4108. +  echo "$ac_t""no" 1>&6
  4109. +fi
  4110. +
  4111. +
  4112. +if test -z "$ac_cv_prog_RANLIB"; then
  4113. +if test -n "$ac_tool_prefix"; then
  4114. +  # Extract the first word of "ranlib", so it can be a program name with args.
  4115.  set dummy ranlib; ac_word=$2
  4116.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  4117.  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  4118. @@ -1072,6 +1170,41 @@ else
  4119.    echo "$ac_t""no" 1>&6
  4120.  fi
  4121.  
  4122. +else
  4123. +  RANLIB=":"
  4124. +fi
  4125. +fi
  4126. +
  4127. +# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  4128. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  4129. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  4130. +if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  4131. +  echo $ac_n "(cached) $ac_c" 1>&6
  4132. +else
  4133. +  if test -n "$AR"; then
  4134. +  ac_cv_prog_AR="$AR" # Let the user override the test.
  4135. +else
  4136. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  4137. +  for ac_dir in $PATH; do
  4138. +    test -z "$ac_dir" && ac_dir=.
  4139. +    if test -f $ac_dir/$ac_word; then
  4140. +      ac_cv_prog_AR="${ac_tool_prefix}ar"
  4141. +      break
  4142. +    fi
  4143. +  done
  4144. +  IFS="$ac_save_ifs"
  4145. +  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
  4146. +fi
  4147. +fi
  4148. +AR="$ac_cv_prog_AR"
  4149. +if test -n "$AR"; then
  4150. +  echo "$ac_t""$AR" 1>&6
  4151. +else
  4152. +  echo "$ac_t""no" 1>&6
  4153. +fi
  4154. +
  4155. +
  4156. +
  4157.  for ac_prog in 'bison -y' byacc
  4158.  do
  4159.  # Extract the first word of "$ac_prog", so it can be a program name with args.
  4160. @@ -1107,7 +1240,7 @@ test -n "$YACC" || YACC="yacc"
  4161.  
  4162.  echo $ac_n "checking for AIX""... $ac_c" 1>&6
  4163.  cat > conftest.$ac_ext <<EOF
  4164. -#line 1111 "configure"
  4165. +#line 1244 "configure"
  4166.  #include "confdefs.h"
  4167.  #ifdef _AIX
  4168.    yes
  4169. @@ -1134,12 +1267,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  4170.    echo $ac_n "(cached) $ac_c" 1>&6
  4171.  else
  4172.    cat > conftest.$ac_ext <<EOF
  4173. -#line 1138 "configure"
  4174. +#line 1271 "configure"
  4175.  #include "confdefs.h"
  4176.  #include <minix/config.h>
  4177.  EOF
  4178.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  4179. -{ (eval echo configure:1143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4180. +{ (eval echo configure:1276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4181.  ac_err=`grep -v '^ *+' conftest.out`
  4182.  if test -z "$ac_err"; then
  4183.    rm -rf conftest*
  4184. @@ -1211,7 +1344,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 "-
  4185.  do
  4186.    CFLAGS="$ac_save_CFLAGS $ac_arg"
  4187.    cat > conftest.$ac_ext <<EOF
  4188. -#line 1215 "configure"
  4189. +#line 1348 "configure"
  4190.  #include "confdefs.h"
  4191.  #if !defined(__STDC__) || __STDC__ != 1
  4192.  choke me
  4193. @@ -1227,7 +1360,7 @@ struct s1 {int (*f) (int a);};
  4194.  struct s2 {int (*f) (double a);};
  4195.  ; return 0; }
  4196.  EOF
  4197. -if { (eval echo configure:1231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4198. +if { (eval echo configure:1364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4199.    rm -rf conftest*
  4200.    ac_cv_prog_cc_stdc="$ac_arg"; break
  4201.  fi
  4202. @@ -1264,15 +1397,15 @@ if eval "test \"`echo '$''{'ac_cv_header
  4203.    echo $ac_n "(cached) $ac_c" 1>&6
  4204.  else
  4205.    cat > conftest.$ac_ext <<EOF
  4206. -#line 1268 "configure"
  4207. +#line 1401 "configure"
  4208.  #include "confdefs.h"
  4209.  #include <sys/types.h>
  4210. -int main() { return 0; }
  4211. +int main() { t(); return 0; }
  4212.  int t() {
  4213.  return makedev(0, 0);
  4214.  ; return 0; }
  4215.  EOF
  4216. -if { (eval echo configure:1276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4217. +if { (eval echo configure:1409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4218.    rm -rf conftest*
  4219.    ac_cv_header_sys_types_h_makedev=yes
  4220.  else
  4221. @@ -1293,12 +1426,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  4222.    echo $ac_n "(cached) $ac_c" 1>&6
  4223.  else
  4224.    cat > conftest.$ac_ext <<EOF
  4225. -#line 1297 "configure"
  4226. +#line 1430 "configure"
  4227.  #include "confdefs.h"
  4228.  #include <sys/mkdev.h>
  4229.  EOF
  4230.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  4231. -{ (eval echo configure:1302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4232. +{ (eval echo configure:1435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4233.  ac_err=`grep -v '^ *+' conftest.out`
  4234.  if test -z "$ac_err"; then
  4235.    rm -rf conftest*
  4236. @@ -1328,12 +1461,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  4237.    echo $ac_n "(cached) $ac_c" 1>&6
  4238.  else
  4239.    cat > conftest.$ac_ext <<EOF
  4240. -#line 1332 "configure"
  4241. +#line 1465 "configure"
  4242.  #include "confdefs.h"
  4243.  #include <sys/sysmacros.h>
  4244.  EOF
  4245.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  4246. -{ (eval echo configure:1337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4247. +{ (eval echo configure:1470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4248.  ac_err=`grep -v '^ *+' conftest.out`
  4249.  if test -z "$ac_err"; then
  4250.    rm -rf conftest*
  4251. @@ -1367,7 +1500,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  4252.    echo $ac_n "(cached) $ac_c" 1>&6
  4253.  else
  4254.    cat > conftest.$ac_ext <<EOF
  4255. -#line 1371 "configure"
  4256. +#line 1504 "configure"
  4257.  #include "confdefs.h"
  4258.  #include <sys/types.h>
  4259.  #include <$ac_hdr>
  4260. @@ -1376,7 +1509,7 @@ int t() {
  4261.  DIR *dirp = 0;
  4262.  ; return 0; }
  4263.  EOF
  4264. -if { (eval echo configure:1380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4265. +if { (eval echo configure:1513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4266.    rm -rf conftest*
  4267.    eval "ac_cv_header_dirent_$ac_safe=yes"
  4268.  else
  4269. @@ -1407,19 +1540,19 @@ else
  4270.    ac_save_LIBS="$LIBS"
  4271.  LIBS="-ldir  $LIBS"
  4272.  cat > conftest.$ac_ext <<EOF
  4273. -#line 1411 "configure"
  4274. +#line 1544 "configure"
  4275.  #include "confdefs.h"
  4276.  /* Override any gcc2 internal prototype to avoid an error.  */
  4277.  /* We use char because int might match the return type of a gcc2
  4278.      builtin and then its argument prototype would still apply.  */
  4279.  char opendir();
  4280.  
  4281. -int main() { return 0; }
  4282. +int main() { t(); return 0; }
  4283.  int t() {
  4284.  opendir()
  4285.  ; return 0; }
  4286.  EOF
  4287. -if { (eval echo configure:1423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4288. +if { (eval echo configure:1556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4289.    rm -rf conftest*
  4290.    eval "ac_cv_lib_$ac_lib_var=yes"
  4291.  else
  4292. @@ -1446,19 +1579,19 @@ else
  4293.    ac_save_LIBS="$LIBS"
  4294.  LIBS="-lx  $LIBS"
  4295.  cat > conftest.$ac_ext <<EOF
  4296. -#line 1450 "configure"
  4297. +#line 1583 "configure"
  4298.  #include "confdefs.h"
  4299.  /* Override any gcc2 internal prototype to avoid an error.  */
  4300.  /* We use char because int might match the return type of a gcc2
  4301.      builtin and then its argument prototype would still apply.  */
  4302.  char opendir();
  4303.  
  4304. -int main() { return 0; }
  4305. +int main() { t(); return 0; }
  4306.  int t() {
  4307.  opendir()
  4308.  ; return 0; }
  4309.  EOF
  4310. -if { (eval echo configure:1462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4311. +if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4312.    rm -rf conftest*
  4313.    eval "ac_cv_lib_$ac_lib_var=yes"
  4314.  else
  4315. @@ -1487,11 +1620,11 @@ else
  4316.    ac_cv_c_cross=yes
  4317.  else
  4318.  cat > conftest.$ac_ext <<EOF
  4319. -#line 1491 "configure"
  4320. +#line 1624 "configure"
  4321.  #include "confdefs.h"
  4322.  main(){return(0);}
  4323.  EOF
  4324. -{ (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4325. +{ (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4326.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  4327.    ac_cv_c_cross=no
  4328.  else
  4329. @@ -1512,13 +1645,13 @@ else
  4330.    ac_cv_func_closedir_void=yes
  4331.  else
  4332.  cat > conftest.$ac_ext <<EOF
  4333. -#line 1516 "configure"
  4334. +#line 1649 "configure"
  4335.  #include "confdefs.h"
  4336.  #include <sys/types.h>
  4337.  #include <$ac_header_dirent>
  4338.  int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  4339.  EOF
  4340. -{ (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4341. +{ (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4342.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  4343.    ac_cv_func_closedir_void=no
  4344.  else
  4345. @@ -1542,7 +1675,7 @@ if eval "test \"`echo '$''{'ac_cv_type_u
  4346.    echo $ac_n "(cached) $ac_c" 1>&6
  4347.  else
  4348.    cat > conftest.$ac_ext <<EOF
  4349. -#line 1546 "configure"
  4350. +#line 1679 "configure"
  4351.  #include "confdefs.h"
  4352.  #include <sys/types.h>
  4353.  EOF
  4354. @@ -1578,7 +1711,7 @@ else
  4355.    ac_cv_type_getgroups=cross
  4356.  else
  4357.  cat > conftest.$ac_ext <<EOF
  4358. -#line 1582 "configure"
  4359. +#line 1715 "configure"
  4360.  #include "confdefs.h"
  4361.  
  4362.  /* Thanks to Mike Rendell for this test.  */
  4363. @@ -1603,7 +1736,7 @@ main()
  4364.  }
  4365.  
  4366.  EOF
  4367. -{ (eval echo configure:1607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4368. +{ (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4369.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  4370.      ac_cv_type_getgroups=gid_t
  4371.  else
  4372. @@ -1613,7 +1746,7 @@ fi
  4373.  rm -fr conftest*
  4374.  if test $ac_cv_type_getgroups = cross; then
  4375.          cat > conftest.$ac_ext <<EOF
  4376. -#line 1617 "configure"
  4377. +#line 1750 "configure"
  4378.  #include "confdefs.h"
  4379.  #include <unistd.h>
  4380.  EOF
  4381. @@ -1641,7 +1774,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  4382.    echo $ac_n "(cached) $ac_c" 1>&6
  4383.  else
  4384.    cat > conftest.$ac_ext <<EOF
  4385. -#line 1645 "configure"
  4386. +#line 1778 "configure"
  4387.  #include "confdefs.h"
  4388.  #include <stdlib.h>
  4389.  #include <stdarg.h>
  4390. @@ -1649,7 +1782,7 @@ else
  4391.  #include <float.h>
  4392.  EOF
  4393.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  4394. -{ (eval echo configure:1653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4395. +{ (eval echo configure:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4396.  ac_err=`grep -v '^ *+' conftest.out`
  4397.  if test -z "$ac_err"; then
  4398.    rm -rf conftest*
  4399. @@ -1664,7 +1797,7 @@ rm -f conftest*
  4400.  if test $ac_cv_header_stdc = yes; then
  4401.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4402.  cat > conftest.$ac_ext <<EOF
  4403. -#line 1668 "configure"
  4404. +#line 1801 "configure"
  4405.  #include "confdefs.h"
  4406.  #include <string.h>
  4407.  EOF
  4408. @@ -1682,7 +1815,7 @@ fi
  4409.  if test $ac_cv_header_stdc = yes; then
  4410.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4411.  cat > conftest.$ac_ext <<EOF
  4412. -#line 1686 "configure"
  4413. +#line 1819 "configure"
  4414.  #include "confdefs.h"
  4415.  #include <stdlib.h>
  4416.  EOF
  4417. @@ -1703,7 +1836,7 @@ if test "$cross_compiling" = yes; then
  4418.    :
  4419.  else
  4420.  cat > conftest.$ac_ext <<EOF
  4421. -#line 1707 "configure"
  4422. +#line 1840 "configure"
  4423.  #include "confdefs.h"
  4424.  #include <ctype.h>
  4425.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4426. @@ -1714,7 +1847,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  4427.  exit (0); }
  4428.  
  4429.  EOF
  4430. -{ (eval echo configure:1718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4431. +{ (eval echo configure:1851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4432.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  4433.    :
  4434.  else
  4435. @@ -1738,7 +1871,7 @@ if eval "test \"`echo '$''{'ac_cv_type_m
  4436.    echo $ac_n "(cached) $ac_c" 1>&6
  4437.  else
  4438.    cat > conftest.$ac_ext <<EOF
  4439. -#line 1742 "configure"
  4440. +#line 1875 "configure"
  4441.  #include "confdefs.h"
  4442.  #include <sys/types.h>
  4443.  #if STDC_HEADERS
  4444. @@ -1769,7 +1902,7 @@ if eval "test \"`echo '$''{'ac_cv_type_o
  4445.    echo $ac_n "(cached) $ac_c" 1>&6
  4446.  else
  4447.    cat > conftest.$ac_ext <<EOF
  4448. -#line 1773 "configure"
  4449. +#line 1906 "configure"
  4450.  #include "confdefs.h"
  4451.  #include <sys/types.h>
  4452.  #if STDC_HEADERS
  4453. @@ -1800,7 +1933,7 @@ if eval "test \"`echo '$''{'ac_cv_type_s
  4454.    echo $ac_n "(cached) $ac_c" 1>&6
  4455.  else
  4456.    cat > conftest.$ac_ext <<EOF
  4457. -#line 1804 "configure"
  4458. +#line 1937 "configure"
  4459.  #include "confdefs.h"
  4460.  #include <sys/types.h>
  4461.  #include <signal.h>
  4462. @@ -1818,7 +1951,7 @@ int t() {
  4463.  int i;
  4464.  ; return 0; }
  4465.  EOF
  4466. -if { (eval echo configure:1822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4467. +if { (eval echo configure:1955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4468.    rm -rf conftest*
  4469.    ac_cv_type_signal=void
  4470.  else
  4471. @@ -1840,7 +1973,7 @@ if eval "test \"`echo '$''{'ac_cv_type_s
  4472.    echo $ac_n "(cached) $ac_c" 1>&6
  4473.  else
  4474.    cat > conftest.$ac_ext <<EOF
  4475. -#line 1844 "configure"
  4476. +#line 1977 "configure"
  4477.  #include "confdefs.h"
  4478.  #include <sys/types.h>
  4479.  #if STDC_HEADERS
  4480. @@ -1871,7 +2004,7 @@ if eval "test \"`echo '$''{'ac_cv_type_u
  4481.    echo $ac_n "(cached) $ac_c" 1>&6
  4482.  else
  4483.    cat > conftest.$ac_ext <<EOF
  4484. -#line 1875 "configure"
  4485. +#line 2008 "configure"
  4486.  #include "confdefs.h"
  4487.  #include <sys/types.h>
  4488.  EOF
  4489. @@ -1904,7 +2037,7 @@ if eval "test \"`echo '$''{'ac_cv_type_i
  4490.    echo $ac_n "(cached) $ac_c" 1>&6
  4491.  else
  4492.    cat > conftest.$ac_ext <<EOF
  4493. -#line 1908 "configure"
  4494. +#line 2041 "configure"
  4495.  #include "confdefs.h"
  4496.  #include <sys/types.h>
  4497.  #if STDC_HEADERS
  4498. @@ -1936,7 +2069,7 @@ if eval "test \"`echo '$''{'ac_cv_c_cons
  4499.    echo $ac_n "(cached) $ac_c" 1>&6
  4500.  else
  4501.    cat > conftest.$ac_ext <<EOF
  4502. -#line 1940 "configure"
  4503. +#line 2073 "configure"
  4504.  #include "confdefs.h"
  4505.  
  4506.  int main() { return 0; }
  4507. @@ -1986,7 +2119,7 @@ ccp = (char const *const *) p;
  4508.  
  4509.  ; return 0; }
  4510.  EOF
  4511. -if { (eval echo configure:1990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4512. +if { (eval echo configure:2123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4513.    rm -rf conftest*
  4514.    ac_cv_c_const=yes
  4515.  else
  4516. @@ -2010,7 +2143,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  4517.    echo $ac_n "(cached) $ac_c" 1>&6
  4518.  else
  4519.    cat > conftest.$ac_ext <<EOF
  4520. -#line 2014 "configure"
  4521. +#line 2147 "configure"
  4522.  #include "confdefs.h"
  4523.  #include <stdlib.h>
  4524.  #include <stdarg.h>
  4525. @@ -2018,7 +2151,7 @@ else
  4526.  #include <float.h>
  4527.  EOF
  4528.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  4529. -{ (eval echo configure:2022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4530. +{ (eval echo configure:2155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4531.  ac_err=`grep -v '^ *+' conftest.out`
  4532.  if test -z "$ac_err"; then
  4533.    rm -rf conftest*
  4534. @@ -2033,7 +2166,7 @@ rm -f conftest*
  4535.  if test $ac_cv_header_stdc = yes; then
  4536.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4537.  cat > conftest.$ac_ext <<EOF
  4538. -#line 2037 "configure"
  4539. +#line 2170 "configure"
  4540.  #include "confdefs.h"
  4541.  #include <string.h>
  4542.  EOF
  4543. @@ -2051,7 +2184,7 @@ fi
  4544.  if test $ac_cv_header_stdc = yes; then
  4545.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4546.  cat > conftest.$ac_ext <<EOF
  4547. -#line 2055 "configure"
  4548. +#line 2188 "configure"
  4549.  #include "confdefs.h"
  4550.  #include <stdlib.h>
  4551.  EOF
  4552. @@ -2072,7 +2205,7 @@ if test "$cross_compiling" = yes; then
  4553.    :
  4554.  else
  4555.  cat > conftest.$ac_ext <<EOF
  4556. -#line 2076 "configure"
  4557. +#line 2209 "configure"
  4558.  #include "confdefs.h"
  4559.  #include <ctype.h>
  4560.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4561. @@ -2083,7 +2216,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  4562.  exit (0); }
  4563.  
  4564.  EOF
  4565. -{ (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4566. +{ (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4567.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  4568.    :
  4569.  else
  4570. @@ -2107,7 +2240,7 @@ if eval "test \"`echo '$''{'ac_cv_struct
  4571.    echo $ac_n "(cached) $ac_c" 1>&6
  4572.  else
  4573.    cat > conftest.$ac_ext <<EOF
  4574. -#line 2111 "configure"
  4575. +#line 2244 "configure"
  4576.  #include "confdefs.h"
  4577.  #include <sys/types.h>
  4578.  #include <time.h>
  4579. @@ -2116,7 +2249,7 @@ int t() {
  4580.  struct tm *tp; tp->tm_sec;
  4581.  ; return 0; }
  4582.  EOF
  4583. -if { (eval echo configure:2120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4584. +if { (eval echo configure:2253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4585.    rm -rf conftest*
  4586.    ac_cv_struct_tm=time.h
  4587.  else
  4588. @@ -2140,7 +2273,7 @@ if eval "test \"`echo '$''{'ac_cv_struct
  4589.    echo $ac_n "(cached) $ac_c" 1>&6
  4590.  else
  4591.    cat > conftest.$ac_ext <<EOF
  4592. -#line 2144 "configure"
  4593. +#line 2277 "configure"
  4594.  #include "confdefs.h"
  4595.  #include <sys/types.h>
  4596.  #include <sys/stat.h>
  4597. @@ -2149,7 +2282,7 @@ int t() {
  4598.  struct stat s; s.st_blocks;
  4599.  ; return 0; }
  4600.  EOF
  4601. -if { (eval echo configure:2153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4602. +if { (eval echo configure:2286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4603.    rm -rf conftest*
  4604.    ac_cv_struct_st_blocks=yes
  4605.  else
  4606. @@ -2175,7 +2308,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  4607.    echo $ac_n "(cached) $ac_c" 1>&6
  4608.  else
  4609.    cat > conftest.$ac_ext <<EOF
  4610. -#line 2179 "configure"
  4611. +#line 2312 "configure"
  4612.  #include "confdefs.h"
  4613.  #include <sys/types.h>
  4614.  #include <sys/time.h>
  4615. @@ -2185,7 +2318,7 @@ int t() {
  4616.  struct tm *tp;
  4617.  ; return 0; }
  4618.  EOF
  4619. -if { (eval echo configure:2189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4620. +if { (eval echo configure:2322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4621.    rm -rf conftest*
  4622.    ac_cv_header_time=yes
  4623.  else
  4624. @@ -2209,7 +2342,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  4625.    echo $ac_n "(cached) $ac_c" 1>&6
  4626.  else
  4627.    cat > conftest.$ac_ext <<EOF
  4628. -#line 2213 "configure"
  4629. +#line 2346 "configure"
  4630.  #include "confdefs.h"
  4631.  #include <sys/types.h>
  4632.  #include <sys/stat.h>
  4633. @@ -2271,12 +2404,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  4634.    echo $ac_n "(cached) $ac_c" 1>&6
  4635.  else
  4636.    cat > conftest.$ac_ext <<EOF
  4637. -#line 2275 "configure"
  4638. +#line 2408 "configure"
  4639.  #include "confdefs.h"
  4640.  #include <$ac_hdr>
  4641.  EOF
  4642.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  4643. -{ (eval echo configure:2280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4644. +{ (eval echo configure:2413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  4645.  ac_err=`grep -v '^ *+' conftest.out`
  4646.  if test -z "$ac_err"; then
  4647.    rm -rf conftest*
  4648. @@ -2309,7 +2442,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  4649.    echo $ac_n "(cached) $ac_c" 1>&6
  4650.  else
  4651.    cat > conftest.$ac_ext <<EOF
  4652. -#line 2313 "configure"
  4653. +#line 2446 "configure"
  4654.  #include "confdefs.h"
  4655.  /* System header to define __stub macros and hopefully few prototypes,
  4656.      which can conflict with char $ac_func(); below.  */
  4657. @@ -2319,7 +2452,7 @@ else
  4658.      builtin and then its argument prototype would still apply.  */
  4659.  char $ac_func();
  4660.  
  4661. -int main() { return 0; }
  4662. +int main() { t(); return 0; }
  4663.  int t() {
  4664.  
  4665.  /* The GNU C library defines this for functions which it implements
  4666. @@ -2333,7 +2466,7 @@ $ac_func();
  4667.  
  4668.  ; return 0; }
  4669.  EOF
  4670. -if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4671. +if { (eval echo configure:2470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4672.    rm -rf conftest*
  4673.    eval "ac_cv_func_$ac_func=yes"
  4674.  else
  4675. @@ -2358,7 +2491,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
  4676.    echo $ac_n "(cached) $ac_c" 1>&6
  4677.  else
  4678.    cat > conftest.$ac_ext <<EOF
  4679. -#line 2362 "configure"
  4680. +#line 2495 "configure"
  4681.  #include "confdefs.h"
  4682.  /* System header to define __stub macros and hopefully few prototypes,
  4683.      which can conflict with char getopt_long(); below.  */
  4684. @@ -2368,7 +2501,7 @@ else
  4685.      builtin and then its argument prototype would still apply.  */
  4686.  char getopt_long();
  4687.  
  4688. -int main() { return 0; }
  4689. +int main() { t(); return 0; }
  4690.  int t() {
  4691.  
  4692.  /* The GNU C library defines this for functions which it implements
  4693. @@ -2382,7 +2515,7 @@ getopt_long();
  4694.  
  4695.  ; return 0; }
  4696.  EOF
  4697. -if { (eval echo configure:2386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4698. +if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4699.    rm -rf conftest*
  4700.    eval "ac_cv_func_getopt_long=yes"
  4701.  else
  4702. @@ -2402,15 +2535,15 @@ fi
  4703.  
  4704.  
  4705.  for ac_func in bcopy endgrent endpwent fchdir ftime ftruncate \
  4706. -    getcwd getgroups getmntinfo gettimeofday isascii lchown \
  4707. -    listmntent memcpy mkfifo strchr strerror strrchr
  4708. +    getcwd getgroups getmntinfo gettimeofday isascii lchown lstat\
  4709. +    listmntent memcpy mkfifo strchr strerror strrchr vfork
  4710.  do
  4711.  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  4712.  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  4713.    echo $ac_n "(cached) $ac_c" 1>&6
  4714.  else
  4715.    cat > conftest.$ac_ext <<EOF
  4716. -#line 2414 "configure"
  4717. +#line 2547 "configure"
  4718.  #include "confdefs.h"
  4719.  /* System header to define __stub macros and hopefully few prototypes,
  4720.      which can conflict with char $ac_func(); below.  */
  4721. @@ -2420,7 +2553,7 @@ else
  4722.      builtin and then its argument prototype would still apply.  */
  4723.  char $ac_func();
  4724.  
  4725. -int main() { return 0; }
  4726. +int main() { t(); return 0; }
  4727.  int t() {
  4728.  
  4729.  /* The GNU C library defines this for functions which it implements
  4730. @@ -2434,7 +2567,7 @@ $ac_func();
  4731.  
  4732.  ; return 0; }
  4733.  EOF
  4734. -if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4735. +if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4736.    rm -rf conftest*
  4737.    eval "ac_cv_func_$ac_func=yes"
  4738.  else
  4739. @@ -2462,18 +2595,18 @@ if eval "test \"`echo '$''{'am_cv_sys_po
  4740.    echo $ac_n "(cached) $ac_c" 1>&6
  4741.  else
  4742.    cat > conftest.$ac_ext <<EOF
  4743. -#line 2466 "configure"
  4744. +#line 2599 "configure"
  4745.  #include "confdefs.h"
  4746.  #include <sys/types.h>
  4747.  #include <unistd.h>
  4748.  #include <termios.h>
  4749. -int main() { return 0; }
  4750. +int main() { t(); return 0; }
  4751.  int t() {
  4752.  /* SunOS 4.0.3 has termios.h but not the library calls.  */
  4753.     tcgetattr(0, 0);
  4754.  ; return 0; }
  4755.  EOF
  4756. -if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4757. +if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4758.    rm -rf conftest*
  4759.    am_cv_sys_posix_termios=yes
  4760.  else
  4761. @@ -2496,7 +2629,7 @@ else
  4762.    gwinsz_in_termios_h=no
  4763.    if test $am_cv_sys_posix_termios = yes; then
  4764.      cat > conftest.$ac_ext <<EOF
  4765. -#line 2500 "configure"
  4766. +#line 2633 "configure"
  4767.  #include "confdefs.h"
  4768.  #include <sys/types.h>
  4769.  #     include <termios.h>
  4770. @@ -2516,7 +2649,7 @@ rm -f conftest*
  4771.  
  4772.    if test $gwinsz_in_termios_h = no; then
  4773.      cat > conftest.$ac_ext <<EOF
  4774. -#line 2520 "configure"
  4775. +#line 2653 "configure"
  4776.  #include "confdefs.h"
  4777.  #include <sys/types.h>
  4778.  #     include <sys/ioctl.h>
  4779. @@ -2550,7 +2683,7 @@ if eval "test \"`echo '$''{'ac_cv_func_v
  4780.    echo $ac_n "(cached) $ac_c" 1>&6
  4781.  else
  4782.    cat > conftest.$ac_ext <<EOF
  4783. -#line 2554 "configure"
  4784. +#line 2687 "configure"
  4785.  #include "confdefs.h"
  4786.  /* System header to define __stub macros and hopefully few prototypes,
  4787.      which can conflict with char vprintf(); below.  */
  4788. @@ -2560,7 +2693,7 @@ else
  4789.      builtin and then its argument prototype would still apply.  */
  4790.  char vprintf();
  4791.  
  4792. -int main() { return 0; }
  4793. +int main() { t(); return 0; }
  4794.  int t() {
  4795.  
  4796.  /* The GNU C library defines this for functions which it implements
  4797. @@ -2574,7 +2707,7 @@ vprintf();
  4798.  
  4799.  ; return 0; }
  4800.  EOF
  4801. -if { (eval echo configure:2578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4802. +if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4803.    rm -rf conftest*
  4804.    eval "ac_cv_func_vprintf=yes"
  4805.  else
  4806. @@ -2600,7 +2733,7 @@ if eval "test \"`echo '$''{'ac_cv_func__
  4807.    echo $ac_n "(cached) $ac_c" 1>&6
  4808.  else
  4809.    cat > conftest.$ac_ext <<EOF
  4810. -#line 2604 "configure"
  4811. +#line 2737 "configure"
  4812.  #include "confdefs.h"
  4813.  /* System header to define __stub macros and hopefully few prototypes,
  4814.      which can conflict with char _doprnt(); below.  */
  4815. @@ -2610,7 +2743,7 @@ else
  4816.      builtin and then its argument prototype would still apply.  */
  4817.  char _doprnt();
  4818.  
  4819. -int main() { return 0; }
  4820. +int main() { t(); return 0; }
  4821.  int t() {
  4822.  
  4823.  /* The GNU C library defines this for functions which it implements
  4824. @@ -2624,7 +2757,7 @@ _doprnt();
  4825.  
  4826.  ; return 0; }
  4827.  EOF
  4828. -if { (eval echo configure:2628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4829. +if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4830.    rm -rf conftest*
  4831.    eval "ac_cv_func__doprnt=yes"
  4832.  else
  4833. @@ -2653,15 +2786,15 @@ if eval "test \"`echo '$''{'ac_cv_header
  4834.    echo $ac_n "(cached) $ac_c" 1>&6
  4835.  else
  4836.    cat > conftest.$ac_ext <<EOF
  4837. -#line 2657 "configure"
  4838. +#line 2790 "configure"
  4839.  #include "confdefs.h"
  4840.  #include <alloca.h>
  4841. -int main() { return 0; }
  4842. +int main() { t(); return 0; }
  4843.  int t() {
  4844.  char *p = alloca(2 * sizeof(int));
  4845.  ; return 0; }
  4846.  EOF
  4847. -if { (eval echo configure:2665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4848. +if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4849.    rm -rf conftest*
  4850.    ac_cv_header_alloca_h=yes
  4851.  else
  4852. @@ -2685,7 +2818,7 @@ if eval "test \"`echo '$''{'ac_cv_func_a
  4853.    echo $ac_n "(cached) $ac_c" 1>&6
  4854.  else
  4855.    cat > conftest.$ac_ext <<EOF
  4856. -#line 2689 "configure"
  4857. +#line 2822 "configure"
  4858.  #include "confdefs.h"
  4859.  
  4860.  #ifdef __GNUC__
  4861. @@ -2704,12 +2837,12 @@ char *alloca ();
  4862.  # endif
  4863.  #endif
  4864.  
  4865. -int main() { return 0; }
  4866. +int main() { t(); return 0; }
  4867.  int t() {
  4868.  char *p = (char *) alloca(1);
  4869.  ; return 0; }
  4870.  EOF
  4871. -if { (eval echo configure:2713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4872. +if { (eval echo configure:2846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4873.    rm -rf conftest*
  4874.    ac_cv_func_alloca=yes
  4875.  else
  4876. @@ -2744,7 +2877,7 @@ if eval "test \"`echo '$''{'ac_cv_os_cra
  4877.    echo $ac_n "(cached) $ac_c" 1>&6
  4878.  else
  4879.    cat > conftest.$ac_ext <<EOF
  4880. -#line 2748 "configure"
  4881. +#line 2881 "configure"
  4882.  #include "confdefs.h"
  4883.  #if defined(CRAY) && ! defined(CRAY2)
  4884.  webecray
  4885. @@ -2773,7 +2906,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  4886.    echo $ac_n "(cached) $ac_c" 1>&6
  4887.  else
  4888.    cat > conftest.$ac_ext <<EOF
  4889. -#line 2777 "configure"
  4890. +#line 2910 "configure"
  4891.  #include "confdefs.h"
  4892.  /* System header to define __stub macros and hopefully few prototypes,
  4893.      which can conflict with char $ac_func(); below.  */
  4894. @@ -2783,7 +2916,7 @@ else
  4895.      builtin and then its argument prototype would still apply.  */
  4896.  char $ac_func();
  4897.  
  4898. -int main() { return 0; }
  4899. +int main() { t(); return 0; }
  4900.  int t() {
  4901.  
  4902.  /* The GNU C library defines this for functions which it implements
  4903. @@ -2797,7 +2930,7 @@ $ac_func();
  4904.  
  4905.  ; return 0; }
  4906.  EOF
  4907. -if { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4908. +if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  4909.    rm -rf conftest*
  4910.    eval "ac_cv_func_$ac_func=yes"
  4911.  else
  4912. @@ -2829,7 +2962,7 @@ else
  4913.    ac_cv_c_stack_direction=0
  4914.  else
  4915.  cat > conftest.$ac_ext <<EOF
  4916. -#line 2833 "configure"
  4917. +#line 2966 "configure"
  4918.  #include "confdefs.h"
  4919.  find_stack_direction ()
  4920.  {
  4921. @@ -2848,7 +2981,7 @@ main ()
  4922.    exit (find_stack_direction() < 0);
  4923.  }
  4924.  EOF
  4925. -{ (eval echo configure:2852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4926. +{ (eval echo configure:2985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4927.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  4928.    ac_cv_c_stack_direction=1
  4929.  else
  4930. @@ -2875,7 +3008,7 @@ if test "$cross_compiling" = yes; then
  4931.    ac_cv_func_utime_null=no
  4932.  else
  4933.  cat > conftest.$ac_ext <<EOF
  4934. -#line 2879 "configure"
  4935. +#line 3012 "configure"
  4936.  #include "confdefs.h"
  4937.  #include <sys/types.h>
  4938.  #include <sys/stat.h>
  4939. @@ -2886,7 +3019,7 @@ exit(!(stat ("conftestdata", &s) == 0 &&
  4940.  && t.st_mtime - s.st_mtime < 120));
  4941.  }
  4942.  EOF
  4943. -{ (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4944. +{ (eval echo configure:3023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4945.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  4946.    ac_cv_func_utime_null=yes
  4947.  else
  4948. @@ -2911,7 +3044,7 @@ if eval "test \"`echo '$''{'fu_cv_sys_st
  4949.    echo $ac_n "(cached) $ac_c" 1>&6
  4950.  else
  4951.    cat > conftest.$ac_ext <<EOF
  4952. -#line 2915 "configure"
  4953. +#line 3048 "configure"
  4954.  #include "confdefs.h"
  4955.  #ifdef TIME_WITH_SYS_TIME
  4956.  #include <sys/time.h>
  4957. @@ -2931,7 +3064,7 @@ int t() {
  4958.  static struct utimbuf x; x.actime = x.modtime;
  4959.  ; return 0; }
  4960.  EOF
  4961. -if { (eval echo configure:2935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4962. +if { (eval echo configure:3068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  4963.    rm -rf conftest*
  4964.    fu_cv_sys_struct_utimbuf=yes
  4965.  else
  4966. @@ -2958,7 +3091,7 @@ else
  4967.    fu_cv_sys_working_fnmatch=no
  4968.  else
  4969.  cat > conftest.$ac_ext <<EOF
  4970. -#line 2962 "configure"
  4971. +#line 3095 "configure"
  4972.  #include "confdefs.h"
  4973.  
  4974.  #include <fnmatch.h>
  4975. @@ -2970,7 +3103,7 @@ main ()
  4976.      ? 0 : 1);
  4977.  }
  4978.  EOF
  4979. -{ (eval echo configure:2974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4980. +{ (eval echo configure:3107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  4981.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  4982.    fu_cv_sys_working_fnmatch=yes
  4983.  else
  4984. @@ -2990,7 +3123,7 @@ if eval "test \"`echo '$''{'fu_cv_sys_d_
  4985.    echo $ac_n "(cached) $ac_c" 1>&6
  4986.  else
  4987.    cat > conftest.$ac_ext <<EOF
  4988. -#line 2994 "configure"
  4989. +#line 3127 "configure"
  4990.  #include "confdefs.h"
  4991.  
  4992.  #include <sys/types.h>
  4993. @@ -3009,12 +3142,12 @@ else
  4994.  # endif /* HAVE_NDIR_H */
  4995.  #endif /* HAVE_DIRENT_H */
  4996.  
  4997. -int main() { return 0; }
  4998. +int main() { t(); return 0; }
  4999.  int t() {
  5000.  struct dirent dp; dp.d_ino = 0;
  5001.  ; return 0; }
  5002.  EOF
  5003. -if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5004. +if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5005.    rm -rf conftest*
  5006.    fu_cv_sys_d_ino_in_dirent=yes
  5007.  else
  5008. @@ -3047,19 +3180,19 @@ else
  5009.    ac_save_LIBS="$LIBS"
  5010.  LIBS="-lsun  $LIBS"
  5011.  cat > conftest.$ac_ext <<EOF
  5012. -#line 3051 "configure"
  5013. +#line 3184 "configure"
  5014.  #include "confdefs.h"
  5015.  /* Override any gcc2 internal prototype to avoid an error.  */
  5016.  /* We use char because int might match the return type of a gcc2
  5017.      builtin and then its argument prototype would still apply.  */
  5018.  char getmntent();
  5019.  
  5020. -int main() { return 0; }
  5021. +int main() { t(); return 0; }
  5022.  int t() {
  5023.  getmntent()
  5024.  ; return 0; }
  5025.  EOF
  5026. -if { (eval echo configure:3063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5027. +if { (eval echo configure:3196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5028.    rm -rf conftest*
  5029.    eval "ac_cv_lib_$ac_lib_var=yes"
  5030.  else
  5031. @@ -3083,19 +3216,19 @@ else
  5032.    ac_save_LIBS="$LIBS"
  5033.  LIBS="-lseq  $LIBS"
  5034.  cat > conftest.$ac_ext <<EOF
  5035. -#line 3087 "configure"
  5036. +#line 3220 "configure"
  5037.  #include "confdefs.h"
  5038.  /* Override any gcc2 internal prototype to avoid an error.  */
  5039.  /* We use char because int might match the return type of a gcc2
  5040.      builtin and then its argument prototype would still apply.  */
  5041.  char getmntent();
  5042.  
  5043. -int main() { return 0; }
  5044. +int main() { t(); return 0; }
  5045.  int t() {
  5046.  getmntent()
  5047.  ; return 0; }
  5048.  EOF
  5049. -if { (eval echo configure:3099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5050. +if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5051.    rm -rf conftest*
  5052.    eval "ac_cv_lib_$ac_lib_var=yes"
  5053.  else
  5054. @@ -3119,19 +3252,19 @@ else
  5055.    ac_save_LIBS="$LIBS"
  5056.  LIBS="-lgen  $LIBS"
  5057.  cat > conftest.$ac_ext <<EOF
  5058. -#line 3123 "configure"
  5059. +#line 3256 "configure"
  5060.  #include "confdefs.h"
  5061.  /* Override any gcc2 internal prototype to avoid an error.  */
  5062.  /* We use char because int might match the return type of a gcc2
  5063.      builtin and then its argument prototype would still apply.  */
  5064.  char getmntent();
  5065.  
  5066. -int main() { return 0; }
  5067. +int main() { t(); return 0; }
  5068.  int t() {
  5069.  getmntent()
  5070.  ; return 0; }
  5071.  EOF
  5072. -if { (eval echo configure:3135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5073. +if { (eval echo configure:3268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5074.    rm -rf conftest*
  5075.    eval "ac_cv_lib_$ac_lib_var=yes"
  5076.  else
  5077. @@ -3158,7 +3291,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
  5078.    echo $ac_n "(cached) $ac_c" 1>&6
  5079.  else
  5080.    cat > conftest.$ac_ext <<EOF
  5081. -#line 3162 "configure"
  5082. +#line 3295 "configure"
  5083.  #include "confdefs.h"
  5084.  /* System header to define __stub macros and hopefully few prototypes,
  5085.      which can conflict with char getmntent(); below.  */
  5086. @@ -3168,7 +3301,7 @@ else
  5087.      builtin and then its argument prototype would still apply.  */
  5088.  char getmntent();
  5089.  
  5090. -int main() { return 0; }
  5091. +int main() { t(); return 0; }
  5092.  int t() {
  5093.  
  5094.  /* The GNU C library defines this for functions which it implements
  5095. @@ -3182,7 +3315,7 @@ getmntent();
  5096.  
  5097.  ; return 0; }
  5098.  EOF
  5099. -if { (eval echo configure:3186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5100. +if { (eval echo configure:3319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5101.    rm -rf conftest*
  5102.    eval "ac_cv_func_getmntent=yes"
  5103.  else
  5104. @@ -3220,7 +3353,7 @@ if test -z "$list_mounted_fs"; then
  5105.  else
  5106.    fu_cv_sys_mounted_cray_listmntent=no
  5107.        cat > conftest.$ac_ext <<EOF
  5108. -#line 3224 "configure"
  5109. +#line 3357 "configure"
  5110.  #include "confdefs.h"
  5111.  #ifdef _CRAY
  5112.  yes
  5113. @@ -3283,7 +3416,7 @@ EOF
  5114.    echo $ac_n "(cached) $ac_c" 1>&6
  5115.  else
  5116.    cat > conftest.$ac_ext <<EOF
  5117. -#line 3287 "configure"
  5118. +#line 3420 "configure"
  5119.  #include "confdefs.h"
  5120.  #include <sys/mnttab.h>
  5121.  EOF
  5122. @@ -3310,7 +3443,9 @@ EOF
  5123.    fi
  5124.  
  5125.    if test -z "$list_mounted_fs"; then
  5126. -    { echo "configure: error: could not determine how to read list of mounted filesystems" 1>&2; exit 1; }
  5127. +    echo "configure: warning: could not determine how to read list of mounted filesystems" 1>&2
  5128. +    # FIXME -- no need to abort building the whole package
  5129. +    # Can't build mountlist.c or anything that needs its functions
  5130.    fi
  5131.  
  5132.  fi
  5133. @@ -3322,19 +3457,19 @@ if test -z "$list_mounted_fs"; then
  5134.    echo $ac_n "(cached) $ac_c" 1>&6
  5135.  else
  5136.    cat > conftest.$ac_ext <<EOF
  5137. -#line 3326 "configure"
  5138. +#line 3461 "configure"
  5139.  #include "confdefs.h"
  5140.  
  5141.  #include <sys/types.h>
  5142.  #include <sys/mount.h>
  5143.  #include <sys/fs_types.h>
  5144. -int main() { return 0; }
  5145. +int main() { t(); return 0; }
  5146.  int t() {
  5147.  struct statfs *stats;
  5148.    numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); 
  5149.  ; return 0; }
  5150.  EOF
  5151. -if { (eval echo configure:3338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5152. +if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5153.    rm -rf conftest*
  5154.    fu_cv_sys_mounted_getsstat=yes
  5155.  else
  5156. @@ -3362,12 +3497,12 @@ if test -z "$list_mounted_fs"; then
  5157.    echo $ac_n "(cached) $ac_c" 1>&6
  5158.  else
  5159.    cat > conftest.$ac_ext <<EOF
  5160. -#line 3366 "configure"
  5161. +#line 3501 "configure"
  5162.  #include "confdefs.h"
  5163.  #include <fshelp.h>
  5164.  EOF
  5165.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  5166. -{ (eval echo configure:3371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5167. +{ (eval echo configure:3506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5168.  ac_err=`grep -v '^ *+' conftest.out`
  5169.  if test -z "$ac_err"; then
  5170.    rm -rf conftest*
  5171. @@ -3397,7 +3532,7 @@ if test -z "$list_mounted_fs"; then
  5172.    echo $ac_n "(cached) $ac_c" 1>&6
  5173.  else
  5174.    cat > conftest.$ac_ext <<EOF
  5175. -#line 3401 "configure"
  5176. +#line 3536 "configure"
  5177.  #include "confdefs.h"
  5178.  
  5179.  #include <sys/statfs.h>
  5180. @@ -3405,7 +3540,7 @@ else
  5181.  #include <mnttab.h>
  5182.  EOF
  5183.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  5184. -{ (eval echo configure:3409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5185. +{ (eval echo configure:3544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5186.  ac_err=`grep -v '^ *+' conftest.out`
  5187.  if test -z "$ac_err"; then
  5188.    rm -rf conftest*
  5189. @@ -3438,7 +3573,7 @@ else
  5190.        ok=
  5191.        if test $ac_cv_func_getmntinfo = yes; then
  5192.      cat > conftest.$ac_ext <<EOF
  5193. -#line 3442 "configure"
  5194. +#line 3577 "configure"
  5195.  #include "confdefs.h"
  5196.  #include <sys/mount.h>
  5197.  EOF
  5198. @@ -3475,14 +3610,14 @@ if test -z "$list_mounted_fs"; then
  5199.    echo $ac_n "(cached) $ac_c" 1>&6
  5200.  else
  5201.    cat > conftest.$ac_ext <<EOF
  5202. -#line 3479 "configure"
  5203. +#line 3614 "configure"
  5204.  #include "confdefs.h"
  5205.  
  5206.  #include <sys/fs_types.h>
  5207.  #include <sys/mount.h>
  5208.  EOF
  5209.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  5210. -{ (eval echo configure:3486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5211. +{ (eval echo configure:3621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5212.  ac_err=`grep -v '^ *+' conftest.out`
  5213.  if test -z "$ac_err"; then
  5214.    rm -rf conftest*
  5215. @@ -3512,12 +3647,12 @@ if test -z "$list_mounted_fs"; then
  5216.    echo $ac_n "(cached) $ac_c" 1>&6
  5217.  else
  5218.    cat > conftest.$ac_ext <<EOF
  5219. -#line 3516 "configure"
  5220. +#line 3651 "configure"
  5221.  #include "confdefs.h"
  5222.  #include <mnttab.h>
  5223.  EOF
  5224.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  5225. -{ (eval echo configure:3521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5226. +{ (eval echo configure:3656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5227.  ac_err=`grep -v '^ *+' conftest.out`
  5228.  if test -z "$ac_err"; then
  5229.    rm -rf conftest*
  5230. @@ -3541,7 +3676,7 @@ EOF
  5231.  fi
  5232.  
  5233.  if test -z "$list_mounted_fs"; then
  5234. -  { echo "configure: error: could not determine how to read list of mounted filesystems" 1>&2; exit 1; }
  5235. +  echo "configure: warning: could not determine how to read list of mounted filesystems" 1>&2
  5236.    # FIXME -- no need to abort building the whole package
  5237.    # Can't build mountlist.c or anything that needs its functions
  5238.  fi
  5239. @@ -3560,7 +3695,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  5240.    echo $ac_n "(cached) $ac_c" 1>&6
  5241.  else
  5242.    cat > conftest.$ac_ext <<EOF
  5243. -#line 3564 "configure"
  5244. +#line 3699 "configure"
  5245.  #include "confdefs.h"
  5246.  /* System header to define __stub macros and hopefully few prototypes,
  5247.      which can conflict with char $ac_func(); below.  */
  5248. @@ -3570,7 +3705,7 @@ else
  5249.      builtin and then its argument prototype would still apply.  */
  5250.  char $ac_func();
  5251.  
  5252. -int main() { return 0; }
  5253. +int main() { t(); return 0; }
  5254.  int t() {
  5255.  
  5256.  /* The GNU C library defines this for functions which it implements
  5257. @@ -3584,7 +3719,7 @@ $ac_func();
  5258.  
  5259.  ; return 0; }
  5260.  EOF
  5261. -if { (eval echo configure:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5262. +if { (eval echo configure:3723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5263.    rm -rf conftest*
  5264.    eval "ac_cv_func_$ac_func=yes"
  5265.  else
  5266. @@ -3625,7 +3760,7 @@ else
  5267.    fu_cv_sys_stat_statfs3_osf1=no
  5268.  else
  5269.  cat > conftest.$ac_ext <<EOF
  5270. -#line 3629 "configure"
  5271. +#line 3764 "configure"
  5272.  #include "confdefs.h"
  5273.  
  5274.  #include <sys/param.h>
  5275. @@ -3638,7 +3773,7 @@ cat > conftest.$ac_ext <<EOF
  5276.      exit (statfs (".", &fsd, sizeof (struct statfs)));
  5277.    }
  5278.  EOF
  5279. -{ (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5280. +{ (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5281.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  5282.    fu_cv_sys_stat_statfs3_osf1=yes
  5283.  else
  5284. @@ -3658,7 +3793,9 @@ EOF
  5285.    fi
  5286.  fi
  5287.  
  5288. -if test $space = no; then
  5289. +# Amiga hack - short circuit this test since it matches and prevents
  5290. +# us from finding the 4.4 BSD case below that we really want.
  5291. +if false; then
  5292.  # AIX
  5293.    echo $ac_n "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)""... $ac_c" 1>&6
  5294.    if eval "test \"`echo '$''{'fu_cv_sys_stat_statfs2_bsize'+set}'`\" = set"; then
  5295. @@ -3668,7 +3805,7 @@ else
  5296.    fu_cv_sys_stat_statfs2_bsize=no
  5297.  else
  5298.  cat > conftest.$ac_ext <<EOF
  5299. -#line 3672 "configure"
  5300. +#line 3809 "configure"
  5301.  #include "confdefs.h"
  5302.  
  5303.  #ifdef HAVE_SYS_PARAM_H
  5304. @@ -3687,7 +3824,7 @@ cat > conftest.$ac_ext <<EOF
  5305.    exit (statfs (".", &fsd));
  5306.    }
  5307.  EOF
  5308. -{ (eval echo configure:3691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5309. +{ (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5310.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  5311.    fu_cv_sys_stat_statfs2_bsize=yes
  5312.  else
  5313. @@ -3717,7 +3854,7 @@ else
  5314.    fu_cv_sys_stat_statfs4=no
  5315.  else
  5316.  cat > conftest.$ac_ext <<EOF
  5317. -#line 3721 "configure"
  5318. +#line 3858 "configure"
  5319.  #include "confdefs.h"
  5320.  #include <sys/types.h>
  5321.  #include <sys/statfs.h>
  5322. @@ -3727,7 +3864,7 @@ cat > conftest.$ac_ext <<EOF
  5323.    exit (statfs (".", &fsd, sizeof fsd, 0));
  5324.    }
  5325.  EOF
  5326. -{ (eval echo configure:3731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5327. +{ (eval echo configure:3868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5328.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  5329.    fu_cv_sys_stat_statfs4=yes
  5330.  else
  5331. @@ -3757,7 +3894,7 @@ else
  5332.    fu_cv_sys_stat_statfs2_fsize=no
  5333.  else
  5334.  cat > conftest.$ac_ext <<EOF
  5335. -#line 3761 "configure"
  5336. +#line 3898 "configure"
  5337.  #include "confdefs.h"
  5338.  #include <sys/types.h>
  5339.  #ifdef HAVE_SYS_PARAM_H
  5340. @@ -3773,7 +3910,7 @@ cat > conftest.$ac_ext <<EOF
  5341.    exit (statfs (".", &fsd));
  5342.    }
  5343.  EOF
  5344. -{ (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5345. +{ (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5346.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  5347.    fu_cv_sys_stat_statfs2_fsize=yes
  5348.  else
  5349. @@ -3803,7 +3940,7 @@ else
  5350.    fu_cv_sys_stat_fs_data=no
  5351.  else
  5352.  cat > conftest.$ac_ext <<EOF
  5353. -#line 3807 "configure"
  5354. +#line 3944 "configure"
  5355.  #include "confdefs.h"
  5356.  #include <sys/types.h>
  5357.  #ifdef HAVE_SYS_PARAM_H
  5358. @@ -3823,7 +3960,7 @@ cat > conftest.$ac_ext <<EOF
  5359.    exit (statfs (".", &fsd) != 1);
  5360.    }
  5361.  EOF
  5362. -{ (eval echo configure:3827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5363. +{ (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5364.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  5365.    fu_cv_sys_stat_fs_data=yes
  5366.  else
  5367. @@ -3846,12 +3983,12 @@ fi
  5368.  if test $space = no; then
  5369.  # SVR2
  5370.  cat > conftest.$ac_ext <<EOF
  5371. -#line 3850 "configure"
  5372. +#line 3987 "configure"
  5373.  #include "confdefs.h"
  5374.  #include <sys/filsys.h>
  5375.  EOF
  5376.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  5377. -{ (eval echo configure:3855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5378. +{ (eval echo configure:3992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5379.  ac_err=`grep -v '^ *+' conftest.out`
  5380.  if test -z "$ac_err"; then
  5381.    rm -rf conftest*
  5382. @@ -3878,7 +4015,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  5383.    echo $ac_n "(cached) $ac_c" 1>&6
  5384.  else
  5385.    cat > conftest.$ac_ext <<EOF
  5386. -#line 3882 "configure"
  5387. +#line 4019 "configure"
  5388.  #include "confdefs.h"
  5389.  /* System header to define __stub macros and hopefully few prototypes,
  5390.      which can conflict with char $ac_func(); below.  */
  5391. @@ -3888,7 +4025,7 @@ else
  5392.      builtin and then its argument prototype would still apply.  */
  5393.  char $ac_func();
  5394.  
  5395. -int main() { return 0; }
  5396. +int main() { t(); return 0; }
  5397.  int t() {
  5398.  
  5399.  /* The GNU C library defines this for functions which it implements
  5400. @@ -3902,7 +4039,7 @@ $ac_func();
  5401.  
  5402.  ; return 0; }
  5403.  EOF
  5404. -if { (eval echo configure:3906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5405. +if { (eval echo configure:4043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5406.    rm -rf conftest*
  5407.    eval "ac_cv_func_$ac_func=yes"
  5408.  else
  5409. @@ -3932,12 +4069,12 @@ if test "$ftruncate_missing" = yes; then
  5410.    echo $ac_n "(cached) $ac_c" 1>&6
  5411.  else
  5412.    cat > conftest.$ac_ext <<EOF
  5413. -#line 3936 "configure"
  5414. +#line 4073 "configure"
  5415.  #include "confdefs.h"
  5416.  
  5417.  #include <sys/types.h>
  5418.  #include <fcntl.h>
  5419. -int main() { return 0; }
  5420. +int main() { t(); return 0; }
  5421.  int t() {
  5422.  
  5423.  #if !defined(F_CHSIZE) && !defined(F_FREESP)
  5424. @@ -3946,7 +4083,7 @@ chsize();
  5425.  
  5426.  ; return 0; }
  5427.  EOF
  5428. -if { (eval echo configure:3950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5429. +if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5430.    rm -rf conftest*
  5431.    fu_cv_sys_ftruncate_emulation=yes
  5432.  else
  5433. @@ -3977,7 +4114,7 @@ if eval "test \"`echo '$''{'fu_cv_sys_tr
  5434.    echo $ac_n "(cached) $ac_c" 1>&6
  5435.  else
  5436.    cat > conftest.$ac_ext <<EOF
  5437. -#line 3981 "configure"
  5438. +#line 4118 "configure"
  5439.  #include "confdefs.h"
  5440.  
  5441.  #include <sys/types.h>
  5442. @@ -3987,7 +4124,7 @@ int t() {
  5443.  struct statfs t; long c = *(t.f_spare);
  5444.  ; return 0; }
  5445.  EOF
  5446. -if { (eval echo configure:3991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  5447. +if { (eval echo configure:4128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  5448.    rm -rf conftest*
  5449.    fu_cv_sys_truncating_statfs=yes
  5450.  else
  5451. @@ -4013,7 +4150,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
  5452.    echo $ac_n "(cached) $ac_c" 1>&6
  5453.  else
  5454.    cat > conftest.$ac_ext <<EOF
  5455. -#line 4017 "configure"
  5456. +#line 4154 "configure"
  5457.  #include "confdefs.h"
  5458.  /* System header to define __stub macros and hopefully few prototypes,
  5459.      which can conflict with char getgroups(); below.  */
  5460. @@ -4023,7 +4160,7 @@ else
  5461.      builtin and then its argument prototype would still apply.  */
  5462.  char getgroups();
  5463.  
  5464. -int main() { return 0; }
  5465. +int main() { t(); return 0; }
  5466.  int t() {
  5467.  
  5468.  /* The GNU C library defines this for functions which it implements
  5469. @@ -4037,7 +4174,7 @@ getgroups();
  5470.  
  5471.  ; return 0; }
  5472.  EOF
  5473. -if { (eval echo configure:4041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5474. +if { (eval echo configure:4178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5475.    rm -rf conftest*
  5476.    eval "ac_cv_func_getgroups=yes"
  5477.  else
  5478. @@ -4060,19 +4197,19 @@ else
  5479.    ac_save_LIBS="$LIBS"
  5480.  LIBS="-lbsd  $LIBS"
  5481.  cat > conftest.$ac_ext <<EOF
  5482. -#line 4064 "configure"
  5483. +#line 4201 "configure"
  5484.  #include "confdefs.h"
  5485.  /* Override any gcc2 internal prototype to avoid an error.  */
  5486.  /* We use char because int might match the return type of a gcc2
  5487.      builtin and then its argument prototype would still apply.  */
  5488.  char getgroups();
  5489.  
  5490. -int main() { return 0; }
  5491. +int main() { t(); return 0; }
  5492.  int t() {
  5493.  getgroups()
  5494.  ; return 0; }
  5495.  EOF
  5496. -if { (eval echo configure:4076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5497. +if { (eval echo configure:4213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5498.    rm -rf conftest*
  5499.    eval "ac_cv_lib_$ac_lib_var=yes"
  5500.  else
  5501. @@ -4085,7 +4222,7 @@ LIBS="$ac_save_LIBS"
  5502.  fi
  5503.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  5504.    echo "$ac_t""yes" 1>&6
  5505. -    ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  5506. +    ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  5507.    cat >> confdefs.h <<EOF
  5508.  #define $ac_tr_lib 1
  5509.  EOF
  5510. @@ -4108,15 +4245,15 @@ else
  5511.    ac_save_LIBS="$LIBS"
  5512.  LIBS="-lypsec  $LIBS"
  5513.  cat > conftest.$ac_ext <<EOF
  5514. -#line 4112 "configure"
  5515. +#line 4249 "configure"
  5516.  #include "confdefs.h"
  5517.  
  5518. -int main() { return 0; }
  5519. +int main() { t(); return 0; }
  5520.  int t() {
  5521.  main()
  5522.  ; return 0; }
  5523.  EOF
  5524. -if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5525. +if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5526.    rm -rf conftest*
  5527.    eval "ac_cv_lib_$ac_lib_var=yes"
  5528.  else
  5529. @@ -4129,7 +4266,7 @@ LIBS="$ac_save_LIBS"
  5530.  fi
  5531.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  5532.    echo "$ac_t""yes" 1>&6
  5533. -    ac_tr_lib=HAVE_LIB`echo ypsec | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  5534. +    ac_tr_lib=HAVE_LIB`echo ypsec | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  5535.    cat >> confdefs.h <<EOF
  5536.  #define $ac_tr_lib 1
  5537.  EOF
  5538. @@ -4150,15 +4287,15 @@ else
  5539.    ac_save_LIBS="$LIBS"
  5540.  LIBS="-lldgc  $LIBS"
  5541.  cat > conftest.$ac_ext <<EOF
  5542. -#line 4154 "configure"
  5543. +#line 4291 "configure"
  5544.  #include "confdefs.h"
  5545.  
  5546. -int main() { return 0; }
  5547. +int main() { t(); return 0; }
  5548.  int t() {
  5549.  main()
  5550.  ; return 0; }
  5551.  EOF
  5552. -if { (eval echo configure:4162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5553. +if { (eval echo configure:4299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5554.    rm -rf conftest*
  5555.    eval "ac_cv_lib_$ac_lib_var=yes"
  5556.  else
  5557. @@ -4171,7 +4308,7 @@ LIBS="$ac_save_LIBS"
  5558.  fi
  5559.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  5560.    echo "$ac_t""yes" 1>&6
  5561. -    ac_tr_lib=HAVE_LIB`echo ldgc | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  5562. +    ac_tr_lib=HAVE_LIB`echo ldgc | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  5563.    cat >> confdefs.h <<EOF
  5564.  #define $ac_tr_lib 1
  5565.  EOF
  5566. @@ -4184,11 +4321,39 @@ fi
  5567.  
  5568.  
  5569.  echo "checking for AFS" 1>&6
  5570. -test -d /afs && cat >> confdefs.h <<\EOF
  5571. +test -d /ade/afs && cat >> confdefs.h <<\EOF
  5572.  #define AFS 1
  5573.  EOF
  5574.  
  5575.  
  5576. +# Extract the first word of "ranlib", so it can be a program name with args.
  5577. +set dummy ranlib; ac_word=$2
  5578. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  5579. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  5580. +  echo $ac_n "(cached) $ac_c" 1>&6
  5581. +else
  5582. +  if test -n "$RANLIB"; then
  5583. +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5584. +else
  5585. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  5586. +  for ac_dir in $PATH; do
  5587. +    test -z "$ac_dir" && ac_dir=.
  5588. +    if test -f $ac_dir/$ac_word; then
  5589. +      ac_cv_prog_RANLIB="ranlib"
  5590. +      break
  5591. +    fi
  5592. +  done
  5593. +  IFS="$ac_save_ifs"
  5594. +  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  5595. +fi
  5596. +fi
  5597. +RANLIB="$ac_cv_prog_RANLIB"
  5598. +if test -n "$RANLIB"; then
  5599. +  echo "$ac_t""$RANLIB" 1>&6
  5600. +else
  5601. +  echo "$ac_t""no" 1>&6
  5602. +fi
  5603. +
  5604.  echo $ac_n "checking for inline""... $ac_c" 1>&6
  5605.  if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
  5606.    echo $ac_n "(cached) $ac_c" 1>&6
  5607. @@ -4196,7 +4361,7 @@ else
  5608.    ac_cv_c_inline=no
  5609.  for ac_kw in inline __inline__ __inline; do
  5610.    cat > conftest.$ac_ext <<EOF
  5611. -#line 4200 "configure"
  5612. +#line 4365 "configure"
  5613.  #include "confdefs.h"
  5614.  
  5615.  int main() { return 0; }
  5616. @@ -4204,7 +4369,7 @@ int t() {
  5617.  } $ac_kw foo() {
  5618.  ; return 0; }
  5619.  EOF
  5620. -if { (eval echo configure:4208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  5621. +if { (eval echo configure:4373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  5622.    rm -rf conftest*
  5623.    ac_cv_c_inline=$ac_kw; break
  5624.  fi
  5625. @@ -4234,7 +4399,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  5626.    echo $ac_n "(cached) $ac_c" 1>&6
  5627.  else
  5628.    cat > conftest.$ac_ext <<EOF
  5629. -#line 4238 "configure"
  5630. +#line 4403 "configure"
  5631.  #include "confdefs.h"
  5632.  /* System header to define __stub macros and hopefully few prototypes,
  5633.      which can conflict with char $ac_func(); below.  */
  5634. @@ -4244,7 +4409,7 @@ else
  5635.      builtin and then its argument prototype would still apply.  */
  5636.  char $ac_func();
  5637.  
  5638. -int main() { return 0; }
  5639. +int main() { t(); return 0; }
  5640.  int t() {
  5641.  
  5642.  /* The GNU C library defines this for functions which it implements
  5643. @@ -4258,7 +4423,7 @@ $ac_func();
  5644.  
  5645.  ; return 0; }
  5646.  EOF
  5647. -if { (eval echo configure:4262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5648. +if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5649.    rm -rf conftest*
  5650.    eval "ac_cv_func_$ac_func=yes"
  5651.  else
  5652. @@ -4288,7 +4453,7 @@ else
  5653.    ac_cv_func_mmap=no
  5654.  else
  5655.  cat > conftest.$ac_ext <<EOF
  5656. -#line 4292 "configure"
  5657. +#line 4457 "configure"
  5658.  #include "confdefs.h"
  5659.  
  5660.  /* Thanks to Mike Haertel and Jim Avera for this test. */
  5661. @@ -4357,7 +4522,7 @@ main()
  5662.  }
  5663.  
  5664.  EOF
  5665. -{ (eval echo configure:4361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5666. +{ (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  5667.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  5668.    ac_cv_func_mmap=yes
  5669.  else
  5670. @@ -4385,12 +4550,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  5671.    echo $ac_n "(cached) $ac_c" 1>&6
  5672.  else
  5673.    cat > conftest.$ac_ext <<EOF
  5674. -#line 4389 "configure"
  5675. +#line 4554 "configure"
  5676.  #include "confdefs.h"
  5677.  #include <$ac_hdr>
  5678.  EOF
  5679.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  5680. -{ (eval echo configure:4394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5681. +{ (eval echo configure:4559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5682.  ac_err=`grep -v '^ *+' conftest.out`
  5683.  if test -z "$ac_err"; then
  5684.    rm -rf conftest*
  5685. @@ -4422,7 +4587,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  5686.    echo $ac_n "(cached) $ac_c" 1>&6
  5687.  else
  5688.    cat > conftest.$ac_ext <<EOF
  5689. -#line 4426 "configure"
  5690. +#line 4591 "configure"
  5691.  #include "confdefs.h"
  5692.  /* System header to define __stub macros and hopefully few prototypes,
  5693.      which can conflict with char $ac_func(); below.  */
  5694. @@ -4432,7 +4597,7 @@ else
  5695.      builtin and then its argument prototype would still apply.  */
  5696.  char $ac_func();
  5697.  
  5698. -int main() { return 0; }
  5699. +int main() { t(); return 0; }
  5700.  int t() {
  5701.  
  5702.  /* The GNU C library defines this for functions which it implements
  5703. @@ -4446,7 +4611,7 @@ $ac_func();
  5704.  
  5705.  ; return 0; }
  5706.  EOF
  5707. -if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5708. +if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5709.    rm -rf conftest*
  5710.    eval "ac_cv_func_$ac_func=yes"
  5711.  else
  5712. @@ -4477,7 +4642,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  5713.    echo $ac_n "(cached) $ac_c" 1>&6
  5714.  else
  5715.    cat > conftest.$ac_ext <<EOF
  5716. -#line 4481 "configure"
  5717. +#line 4646 "configure"
  5718.  #include "confdefs.h"
  5719.  /* System header to define __stub macros and hopefully few prototypes,
  5720.      which can conflict with char $ac_func(); below.  */
  5721. @@ -4487,7 +4652,7 @@ else
  5722.      builtin and then its argument prototype would still apply.  */
  5723.  char $ac_func();
  5724.  
  5725. -int main() { return 0; }
  5726. +int main() { t(); return 0; }
  5727.  int t() {
  5728.  
  5729.  /* The GNU C library defines this for functions which it implements
  5730. @@ -4501,7 +4666,7 @@ $ac_func();
  5731.  
  5732.  ; return 0; }
  5733.  EOF
  5734. -if { (eval echo configure:4505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5735. +if { (eval echo configure:4670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5736.    rm -rf conftest*
  5737.    eval "ac_cv_func_$ac_func=yes"
  5738.  else
  5739. @@ -4537,15 +4702,15 @@ if eval "test \"`echo '$''{'ud_cv_val_LC
  5740.    echo $ac_n "(cached) $ac_c" 1>&6
  5741.  else
  5742.    cat > conftest.$ac_ext <<EOF
  5743. -#line 4541 "configure"
  5744. +#line 4706 "configure"
  5745.  #include "confdefs.h"
  5746.  #include <locale.h>
  5747. -int main() { return 0; }
  5748. +int main() { t(); return 0; }
  5749.  int t() {
  5750.  return LC_MESSAGES
  5751.  ; return 0; }
  5752.  EOF
  5753. -if { (eval echo configure:4549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5754. +if { (eval echo configure:4714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5755.    rm -rf conftest*
  5756.    ud_cv_val_LC_MESSAGES=yes
  5757.  else
  5758. @@ -4606,12 +4771,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  5759.    echo $ac_n "(cached) $ac_c" 1>&6
  5760.  else
  5761.    cat > conftest.$ac_ext <<EOF
  5762. -#line 4610 "configure"
  5763. +#line 4775 "configure"
  5764.  #include "confdefs.h"
  5765.  #include <libintl.h>
  5766.  EOF
  5767.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  5768. -{ (eval echo configure:4615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5769. +{ (eval echo configure:4780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5770.  ac_err=`grep -v '^ *+' conftest.out`
  5771.  if test -z "$ac_err"; then
  5772.    rm -rf conftest*
  5773. @@ -4633,19 +4798,19 @@ else
  5774.    ac_save_LIBS="$LIBS"
  5775.  LIBS="-lintl  $LIBS"
  5776.  cat > conftest.$ac_ext <<EOF
  5777. -#line 4637 "configure"
  5778. +#line 4802 "configure"
  5779.  #include "confdefs.h"
  5780.  /* Override any gcc2 internal prototype to avoid an error.  */
  5781.  /* We use char because int might match the return type of a gcc2
  5782.      builtin and then its argument prototype would still apply.  */
  5783.  char bindtextdomain();
  5784.  
  5785. -int main() { return 0; }
  5786. +int main() { t(); return 0; }
  5787.  int t() {
  5788.  bindtextdomain()
  5789.  ; return 0; }
  5790.  EOF
  5791. -if { (eval echo configure:4649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5792. +if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5793.    rm -rf conftest*
  5794.    eval "ac_cv_lib_$ac_lib_var=yes"
  5795.  else
  5796. @@ -4658,7 +4823,7 @@ LIBS="$ac_save_LIBS"
  5797.  fi
  5798.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  5799.    echo "$ac_t""yes" 1>&6
  5800. -    ac_tr_lib=HAVE_LIB`echo intl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  5801. +    ac_tr_lib=HAVE_LIB`echo intl | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  5802.    cat >> confdefs.h <<EOF
  5803.  #define $ac_tr_lib 1
  5804.  EOF
  5805. @@ -4674,7 +4839,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
  5806.    echo $ac_n "(cached) $ac_c" 1>&6
  5807.  else
  5808.    cat > conftest.$ac_ext <<EOF
  5809. -#line 4678 "configure"
  5810. +#line 4843 "configure"
  5811.  #include "confdefs.h"
  5812.  /* System header to define __stub macros and hopefully few prototypes,
  5813.      which can conflict with char gettext(); below.  */
  5814. @@ -4684,7 +4849,7 @@ else
  5815.      builtin and then its argument prototype would still apply.  */
  5816.  char gettext();
  5817.  
  5818. -int main() { return 0; }
  5819. +int main() { t(); return 0; }
  5820.  int t() {
  5821.  
  5822.  /* The GNU C library defines this for functions which it implements
  5823. @@ -4698,7 +4863,7 @@ gettext();
  5824.  
  5825.  ; return 0; }
  5826.  EOF
  5827. -if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5828. +if { (eval echo configure:4867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5829.    rm -rf conftest*
  5830.    eval "ac_cv_func_gettext=yes"
  5831.  else
  5832. @@ -4754,7 +4919,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  5833.    echo $ac_n "(cached) $ac_c" 1>&6
  5834.  else
  5835.    cat > conftest.$ac_ext <<EOF
  5836. -#line 4758 "configure"
  5837. +#line 4923 "configure"
  5838.  #include "confdefs.h"
  5839.  /* System header to define __stub macros and hopefully few prototypes,
  5840.      which can conflict with char $ac_func(); below.  */
  5841. @@ -4764,7 +4929,7 @@ else
  5842.      builtin and then its argument prototype would still apply.  */
  5843.  char $ac_func();
  5844.  
  5845. -int main() { return 0; }
  5846. +int main() { t(); return 0; }
  5847.  int t() {
  5848.  
  5849.  /* The GNU C library defines this for functions which it implements
  5850. @@ -4778,7 +4943,7 @@ $ac_func();
  5851.  
  5852.  ; return 0; }
  5853.  EOF
  5854. -if { (eval echo configure:4782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5855. +if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5856.    rm -rf conftest*
  5857.    eval "ac_cv_func_$ac_func=yes"
  5858.  else
  5859. @@ -4865,16 +5030,16 @@ else
  5860.  fi
  5861.  
  5862.          cat > conftest.$ac_ext <<EOF
  5863. -#line 4869 "configure"
  5864. +#line 5034 "configure"
  5865.  #include "confdefs.h"
  5866.  
  5867. -int main() { return 0; }
  5868. +int main() { t(); return 0; }
  5869.  int t() {
  5870.  extern int _nl_msg_cat_cntr;
  5871.                     return _nl_msg_cat_cntr
  5872.  ; return 0; }
  5873.  EOF
  5874. -if { (eval echo configure:4878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5875. +if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5876.    rm -rf conftest*
  5877.    CATOBJEXT=.gmo
  5878.             DATADIRNAME=share
  5879. @@ -4917,15 +5082,15 @@ else
  5880.    ac_save_LIBS="$LIBS"
  5881.  LIBS="-li  $LIBS"
  5882.  cat > conftest.$ac_ext <<EOF
  5883. -#line 4921 "configure"
  5884. +#line 5086 "configure"
  5885.  #include "confdefs.h"
  5886.  
  5887. -int main() { return 0; }
  5888. +int main() { t(); return 0; }
  5889.  int t() {
  5890.  main()
  5891.  ; return 0; }
  5892.  EOF
  5893. -if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5894. +if { (eval echo configure:5094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5895.    rm -rf conftest*
  5896.    eval "ac_cv_lib_$ac_lib_var=yes"
  5897.  else
  5898. @@ -4938,7 +5103,7 @@ LIBS="$ac_save_LIBS"
  5899.  fi
  5900.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  5901.    echo "$ac_t""yes" 1>&6
  5902. -    ac_tr_lib=HAVE_LIB`echo i | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  5903. +    ac_tr_lib=HAVE_LIB`echo i | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  5904.    cat >> confdefs.h <<EOF
  5905.  #define $ac_tr_lib 1
  5906.  EOF
  5907. @@ -4954,7 +5119,7 @@ if eval "test \"`echo '$''{'ac_cv_func_c
  5908.    echo $ac_n "(cached) $ac_c" 1>&6
  5909.  else
  5910.    cat > conftest.$ac_ext <<EOF
  5911. -#line 4958 "configure"
  5912. +#line 5123 "configure"
  5913.  #include "confdefs.h"
  5914.  /* System header to define __stub macros and hopefully few prototypes,
  5915.      which can conflict with char catgets(); below.  */
  5916. @@ -4964,7 +5129,7 @@ else
  5917.      builtin and then its argument prototype would still apply.  */
  5918.  char catgets();
  5919.  
  5920. -int main() { return 0; }
  5921. +int main() { t(); return 0; }
  5922.  int t() {
  5923.  
  5924.  /* The GNU C library defines this for functions which it implements
  5925. @@ -4978,7 +5143,7 @@ catgets();
  5926.  
  5927.  ; return 0; }
  5928.  EOF
  5929. -if { (eval echo configure:4982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5930. +if { (eval echo configure:5147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  5931.    rm -rf conftest*
  5932.    eval "ac_cv_func_catgets=yes"
  5933.  else
  5934. @@ -5328,12 +5493,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  5935.    echo $ac_n "(cached) $ac_c" 1>&6
  5936.  else
  5937.    cat > conftest.$ac_ext <<EOF
  5938. -#line 5332 "configure"
  5939. +#line 5497 "configure"
  5940.  #include "confdefs.h"
  5941.  #include <linux/version.h>
  5942.  EOF
  5943.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  5944. -{ (eval echo configure:5337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5945. +{ (eval echo configure:5502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  5946.  ac_err=`grep -v '^ *+' conftest.out`
  5947.  if test -z "$ac_err"; then
  5948.    rm -rf conftest*
  5949. @@ -5450,7 +5615,9 @@ DEFS=-DHAVE_CONFIG_H
  5950.  : ${CONFIG_STATUS=./config.status}
  5951.  
  5952.  echo creating $CONFIG_STATUS
  5953. -rm -f $CONFIG_STATUS
  5954. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  5955. +# being executed, so just move it out of the way instead.
  5956. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  5957.  cat > $CONFIG_STATUS <<EOF
  5958.  #! /bin/sh
  5959.  # Generated automatically by configure.
  5960. @@ -5512,6 +5679,9 @@ s%@libdir@%$libdir%g
  5961.  s%@includedir@%$includedir%g
  5962.  s%@oldincludedir@%$oldincludedir%g
  5963.  s%@infodir@%$infodir%g
  5964. +s%@guidedir@%$guidedir%g
  5965. +s%@psdir@%$psdir%g
  5966. +s%@dvidir@%$dvidir%g
  5967.  s%@mandir@%$mandir%g
  5968.  s%@SET_MAKE@%$SET_MAKE%g
  5969.  s%@PACKAGE@%$PACKAGE%g
  5970. @@ -5529,7 +5699,18 @@ s%@CC@%$CC%g
  5971.  s%@CPP@%$CPP%g
  5972.  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  5973.  s%@INSTALL_DATA@%$INSTALL_DATA%g
  5974. +s%@host@%$host%g
  5975. +s%@host_alias@%$host_alias%g
  5976. +s%@host_cpu@%$host_cpu%g
  5977. +s%@host_vendor@%$host_vendor%g
  5978. +s%@host_os@%$host_os%g
  5979. +s%@build@%$build%g
  5980. +s%@build_alias@%$build_alias%g
  5981. +s%@build_cpu@%$build_cpu%g
  5982. +s%@build_vendor@%$build_vendor%g
  5983. +s%@build_os@%$build_os%g
  5984.  s%@RANLIB@%$RANLIB%g
  5985. +s%@AR@%$AR%g
  5986.  s%@YACC@%$YACC%g
  5987.  s%@U@%$U%g
  5988.  s%@ANSI2KNR@%$ANSI2KNR%g
  5989. @@ -5769,6 +5950,7 @@ test -z "$CONFIG_HEADERS" || echo timest
  5990.  exit 0
  5991.  EOF
  5992.  chmod +x $CONFIG_STATUS
  5993. +rm -f CONFIG.STATUS.old
  5994.  rm -fr confdefs* $ac_clean_files
  5995.  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  5996.  
  5997. diff -rup --new-file baseline/fsf/fileutils/configure.in amiga/fsf/fileutils/configure.in
  5998. --- baseline/fsf/fileutils/configure.in    Thu Jul 11 19:50:19 1996
  5999. +++ amiga/fsf/fileutils/configure.in    Sat Sep 28 00:00:00 1996
  6000. @@ -40,7 +40,8 @@ AC_PROG_CC
  6001.  AC_PROG_CPP
  6002.  AC_PROG_GCC_TRADITIONAL
  6003.  AC_PROG_INSTALL
  6004. -AC_PROG_RANLIB
  6005. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  6006. +AC_CHECK_TOOL(AR, ar)
  6007.  AC_PROG_YACC
  6008.  AC_AIX
  6009.  AC_MINIX
  6010. @@ -79,8 +80,8 @@ AC_REPLACE_FUNCS(basename euidaccess gro
  6011.      strndup strstr strtol strtoul)
  6012.  AC_REPLACE_GNU_GETOPT
  6013.  AC_CHECK_FUNCS(bcopy endgrent endpwent fchdir ftime ftruncate \
  6014. -    getcwd getgroups getmntinfo gettimeofday isascii lchown \
  6015. -    listmntent memcpy mkfifo strchr strerror strrchr)
  6016. +    getcwd getgroups getmntinfo gettimeofday isascii lchown lstat\
  6017. +    listmntent memcpy mkfifo strchr strerror strrchr vfork)
  6018.  
  6019.  AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL
  6020.  
  6021. @@ -228,7 +229,9 @@ if test $ac_cv_func_getmntent = yes; the
  6022.    fi
  6023.  
  6024.    if test -z "$list_mounted_fs"; then
  6025. -    AC_MSG_ERROR([could not determine how to read list of mounted filesystems])
  6026. +    AC_MSG_WARN([could not determine how to read list of mounted filesystems])
  6027. +    # FIXME -- no need to abort building the whole package
  6028. +    # Can't build mountlist.c or anything that needs its functions
  6029.    fi
  6030.  
  6031.  fi
  6032. @@ -337,7 +340,7 @@ if test -z "$list_mounted_fs"; then
  6033.  fi
  6034.  
  6035.  if test -z "$list_mounted_fs"; then
  6036. -  AC_MSG_ERROR([could not determine how to read list of mounted filesystems])
  6037. +  AC_MSG_WARN([could not determine how to read list of mounted filesystems])
  6038.    # FIXME -- no need to abort building the whole package
  6039.    # Can't build mountlist.c or anything that needs its functions
  6040.  fi
  6041. @@ -380,7 +383,9 @@ if test $space = no; then
  6042.    fi
  6043.  fi
  6044.  
  6045. -if test $space = no; then
  6046. +# Amiga hack - short circuit this test since it matches and prevents
  6047. +# us from finding the 4.4 BSD case below that we really want.
  6048. +if false; then
  6049.  # AIX
  6050.    AC_MSG_CHECKING([for two-argument statfs with statfs.bsize dnl
  6051.  member (AIX, 4.3BSD)])
  6052. @@ -557,7 +562,7 @@ AC_CHECK_LIB(ypsec, main)
  6053.  AC_CHECK_LIB(ldgc, main)
  6054.  
  6055.  AC_CHECKING(for AFS)
  6056. -test -d /afs && AC_DEFINE(AFS)
  6057. +test -d /ade/afs && AC_DEFINE(AFS)
  6058.  
  6059.  ud_GNU_GETTEXT
  6060.  
  6061. diff -rup --new-file baseline/fsf/fileutils/doc/Makefile.in amiga/fsf/fileutils/doc/Makefile.in
  6062. --- baseline/fsf/fileutils/doc/Makefile.in    Thu Jul 11 20:31:42 1996
  6063. +++ amiga/fsf/fileutils/doc/Makefile.in    Sat Sep 28 00:00:00 1996
  6064. @@ -102,7 +102,7 @@ fileutils.info: fileutils.texi version.t
  6065.  
  6066.  
  6067.  .texi.info:
  6068. -    $(MAKEINFO) -I$(srcdir) $< -o $(srcdir)/$@
  6069. +    $(MAKEINFO) -I$(srcdir) $< -o $@
  6070.  
  6071.  .texi.dvi:
  6072.      TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
  6073. @@ -156,8 +156,10 @@ install-exec: 
  6074.  
  6075.  install-data: install-info
  6076.  
  6077. -install: install-exec install-data all
  6078. -    @:
  6079. +install: all installdirs
  6080. +    for file in fileutils.info*; do \
  6081. +      $(INSTALL_DATA) $$file $(infodir)/$$file; \
  6082. +    done
  6083.  
  6084.  uninstall: uninstall-info
  6085.  
  6086. diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.info amiga/fsf/fileutils/doc/fileutils.info
  6087. --- baseline/fsf/fileutils/doc/fileutils.info    Thu Jul 11 20:26:05 1996
  6088. +++ amiga/fsf/fileutils/doc/fileutils.info    Wed Dec 31 17:00:00 1969
  6089. @@ -1,111 +0,0 @@
  6090. -This is Info file ./fileutils.info, produced by Makeinfo-1.63 from the
  6091. -input file fileutils.texi.
  6092. -
  6093. -START-INFO-DIR-ENTRY
  6094. -* File utilities: (fileutils).  GNU file utilities.
  6095. -* chgrp: (fileutils)chgrp invocation.           Change file groups.
  6096. -* chown: (fileutils)chown invocation.           Change file owners/groups.
  6097. -* chmod: (fileutils)chmod invocation.           Change file permissions.
  6098. -* cp: (fileutils)cp invocation.                 Copy files.
  6099. -* dd: (fileutils)dd invocation.                 Copy and convert a file.
  6100. -* df: (fileutils)df invocation.                 Report filesystem disk usage.
  6101. -* dir: (fileutils)dir invocation.               List directories briefly.
  6102. -* dircolors: (fileutils)dircolors invocation.   Color setup for ls.
  6103. -* du: (fileutils)du invocation.                 Report on disk usage.
  6104. -* install: (fileutils)install invocation.       Copy and change attributes.
  6105. -* ln: (fileutils)ln invocation.                 Make links between files.
  6106. -* ls: (fileutils)ls invocation.                 List directory contents.
  6107. -* mkdir: (fileutils)mkdir invocation.           Create directories.
  6108. -* mkfifo: (fileutils)mkfifo invocation.         Create FIFOs: (named pipes).
  6109. -* mknod: (fileutils)mknod invocation.           Create special files.
  6110. -* mv: (fileutils)mv invocation.                 Rename files.
  6111. -* rm: (fileutils)rm invocation.                 Remove files.
  6112. -* rmdir: (fileutils)rmdir invocation.           Remove empty directories.
  6113. -* sync: (fileutils)sync invocation.             Synchronize memory and disk.
  6114. -* touch: (fileutils)touch invocation.           Change file timestamps.
  6115. -* vdir: (fileutils)vdir invocation.             List directories verbosely.
  6116. -END-INFO-DIR-ENTRY
  6117. -
  6118. -   This file documents the GNU set of file utilities.
  6119. -
  6120. -   Copyright (C) 1994, 95, 96 Free Software Foundation, Inc.
  6121. -
  6122. -   Permission is granted to make and distribute verbatim copies of this
  6123. -manual provided the copyright notice and this permission notice are
  6124. -preserved on all copies.
  6125. -
  6126. -   Permission is granted to copy and distribute modified versions of
  6127. -this manual under the conditions for verbatim copying, provided that
  6128. -the entire resulting derived work is distributed under the terms of a
  6129. -permission notice identical to this one.
  6130. -
  6131. -   Permission is granted to copy and distribute translations of this
  6132. -manual into another language, under the above conditions for modified
  6133. -versions, except that this permission notice may be stated in a
  6134. -translation approved by the Foundation.
  6135. -
  6136. -
  6137. -Indirect:
  6138. -fileutils.info-1: 2469
  6139. -fileutils.info-2: 49538
  6140. -fileutils.info-3: 88043
  6141. -
  6142. -Tag Table:
  6143. -(Indirect)
  6144. -Node: Top2469
  6145. -Node: Introduction3194
  6146. -Node: Common options4386
  6147. -Node: Backup options4958
  6148. -Node: File permissions6555
  6149. -Node: Mode Structure7142
  6150. -Node: Symbolic Modes9275
  6151. -Node: Setting Permissions10278
  6152. -Node: Copying Permissions12820
  6153. -Node: Changing Special Permissions13609
  6154. -Node: Conditional Executability15450
  6155. -Node: Multiple Changes16072
  6156. -Node: Umask and Protection17725
  6157. -Node: Numeric Modes18819
  6158. -Node: Date input formats20654
  6159. -Node: General date syntax21743
  6160. -Node: Calendar date item23194
  6161. -Node: Time of day item25149
  6162. -Node: Timezone item26757
  6163. -Node: Day of week item30048
  6164. -Node: Relative item in date strings31032
  6165. -Node: Pure numbers in date strings32963
  6166. -Node: Authors of getdate33947
  6167. -Node: Directory listing34684
  6168. -Node: ls invocation35162
  6169. -Node: Which files are listed36602
  6170. -Node: What information is listed37794
  6171. -Node: Sorting the output41531
  6172. -Node: General output formatting43307
  6173. -Node: Formatting the file names46265
  6174. -Node: dir invocation46918
  6175. -Node: vdir invocation47273
  6176. -Node: dircolors invocation47595
  6177. -Node: Basic operations48981
  6178. -Node: cp invocation49538
  6179. -Node: dd invocation54752
  6180. -Node: install invocation57234
  6181. -Node: mv invocation60021
  6182. -Node: rm invocation62034
  6183. -Node: Special file types63887
  6184. -Node: ln invocation65171
  6185. -Node: mkdir invocation68901
  6186. -Node: mkfifo invocation70024
  6187. -Node: mknod invocation70918
  6188. -Node: rmdir invocation72474
  6189. -Node: Changing file attributes73100
  6190. -Node: chown invocation73911
  6191. -Node: chgrp invocation75820
  6192. -Node: chmod invocation76828
  6193. -Node: touch invocation78145
  6194. -Node: Disk usage79772
  6195. -Node: df invocation80385
  6196. -Node: du invocation84733
  6197. -Node: sync invocation87222
  6198. -Node: Index88043
  6199. -
  6200. -End Tag Table
  6201. diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.info-1 amiga/fsf/fileutils/doc/fileutils.info-1
  6202. --- baseline/fsf/fileutils/doc/fileutils.info-1    Thu Jul 11 20:26:04 1996
  6203. +++ amiga/fsf/fileutils/doc/fileutils.info-1    Wed Dec 31 17:00:00 1969
  6204. @@ -1,1433 +0,0 @@
  6205. -This is Info file ./fileutils.info, produced by Makeinfo-1.63 from the
  6206. -input file fileutils.texi.
  6207. -
  6208. -START-INFO-DIR-ENTRY
  6209. -* File utilities: (fileutils).  GNU file utilities.
  6210. -* chgrp: (fileutils)chgrp invocation.           Change file groups.
  6211. -* chown: (fileutils)chown invocation.           Change file owners/groups.
  6212. -* chmod: (fileutils)chmod invocation.           Change file permissions.
  6213. -* cp: (fileutils)cp invocation.                 Copy files.
  6214. -* dd: (fileutils)dd invocation.                 Copy and convert a file.
  6215. -* df: (fileutils)df invocation.                 Report filesystem disk usage.
  6216. -* dir: (fileutils)dir invocation.               List directories briefly.
  6217. -* dircolors: (fileutils)dircolors invocation.   Color setup for ls.
  6218. -* du: (fileutils)du invocation.                 Report on disk usage.
  6219. -* install: (fileutils)install invocation.       Copy and change attributes.
  6220. -* ln: (fileutils)ln invocation.                 Make links between files.
  6221. -* ls: (fileutils)ls invocation.                 List directory contents.
  6222. -* mkdir: (fileutils)mkdir invocation.           Create directories.
  6223. -* mkfifo: (fileutils)mkfifo invocation.         Create FIFOs: (named pipes).
  6224. -* mknod: (fileutils)mknod invocation.           Create special files.
  6225. -* mv: (fileutils)mv invocation.                 Rename files.
  6226. -* rm: (fileutils)rm invocation.                 Remove files.
  6227. -* rmdir: (fileutils)rmdir invocation.           Remove empty directories.
  6228. -* sync: (fileutils)sync invocation.             Synchronize memory and disk.
  6229. -* touch: (fileutils)touch invocation.           Change file timestamps.
  6230. -* vdir: (fileutils)vdir invocation.             List directories verbosely.
  6231. -END-INFO-DIR-ENTRY
  6232. -
  6233. -   This file documents the GNU set of file utilities.
  6234. -
  6235. -   Copyright (C) 1994, 95, 96 Free Software Foundation, Inc.
  6236. -
  6237. -   Permission is granted to make and distribute verbatim copies of this
  6238. -manual provided the copyright notice and this permission notice are
  6239. -preserved on all copies.
  6240. -
  6241. -   Permission is granted to copy and distribute modified versions of
  6242. -this manual under the conditions for verbatim copying, provided that
  6243. -the entire resulting derived work is distributed under the terms of a
  6244. -permission notice identical to this one.
  6245. -
  6246. -   Permission is granted to copy and distribute translations of this
  6247. -manual into another language, under the above conditions for modified
  6248. -versions, except that this permission notice may be stated in a
  6249. -translation approved by the Foundation.
  6250. -
  6251. -
  6252. -File: fileutils.info,  Node: Top,  Next: Introduction,  Up: (dir)
  6253. -
  6254. -GNU file utilities
  6255. -******************
  6256. -
  6257. -   This manual minimally documents version 3.13 of the GNU file
  6258. -utilities.
  6259. -
  6260. -* Menu:
  6261. -
  6262. -* Introduction::                Caveats, overview, and authors.
  6263. -* Common options::              Common options.
  6264. -* File permissions::            Access modes.
  6265. -* Date input formats::          Specifying date strings.
  6266. -* Directory listing::           ls dir vdir d v dircolors
  6267. -* Basic operations::            cp dd install mv rm
  6268. -* Special file types::          ln mkdir rmdir mkfifo mknod
  6269. -* Changing file attributes::    chgrp chmod chown touch
  6270. -* Disk usage::                  df du sync
  6271. -* Index::                       General index.
  6272. -
  6273. -
  6274. -File: fileutils.info,  Node: Introduction,  Next: Common options,  Prev: Top,  Up: Top
  6275. -
  6276. -Introduction
  6277. -************
  6278. -
  6279. -   This manual is incomplete: No attempt is made to explain basic file
  6280. -concepts in a way suitable for novices.  Thus, if you are interested,
  6281. -please get involved in improving this manual.  The entire GNU community
  6282. -will benefit.
  6283. -
  6284. -   The GNU file utilities are mostly compatible with the POSIX.2
  6285. -standard.
  6286. -
  6287. -   Please report bugs to `bug-gnu-utils@prep.ai.mit.edu'.  Remember to
  6288. -include the version number, machine architecture, input files, and any
  6289. -other information needed to reproduce the bug: your input, what you
  6290. -expected, what you got, and why it is wrong.  Diffs are welcome, but
  6291. -please include a description of the problem as well, since this is
  6292. -sometimes difficult to infer. *Note Bugs: (gcc)Bugs.
  6293. -
  6294. -   This manual is based on the Unix man pages in the distribution, which
  6295. -were originally written by David MacKenzie and updated by Jim Meyering.
  6296. -Franc,ois Pinard did the initial conversion to Texinfo format.  Karl
  6297. -Berry did the indexing, some reorganization, and editing of the results.
  6298. -Richard Stallman contributed his usual invaluable insights to the
  6299. -overall process.
  6300. -
  6301. -
  6302. -File: fileutils.info,  Node: Common options,  Next: File permissions,  Prev: Introduction,  Up: Top
  6303. -
  6304. -Common options
  6305. -**************
  6306. -
  6307. -   Certain options are available in all of these programs (in fact,
  6308. -every GNU program should accept them).  Rather than writing identical
  6309. -descriptions for each of the programs, they are described here.
  6310. -
  6311. -`--help'
  6312. -     Print a usage message listing all available options, then exit
  6313. -     successfully.
  6314. -
  6315. -`--version'
  6316. -     Print the version number, then exit successfully.
  6317. -
  6318. -* Menu:
  6319. -
  6320. -* Backup options::              -b -S -V, in some programs.
  6321. -
  6322. -
  6323. -File: fileutils.info,  Node: Backup options,  Up: Common options
  6324. -
  6325. -Backup options
  6326. -==============
  6327. -
  6328. -   Some GNU programs (at least `cp', `install', `ln', and `mv')
  6329. -optionally make backups of files before writing new versions.  These
  6330. -options control the details of these backups.  The options are also
  6331. -briefly mentioned in the descriptions of the particular programs.
  6332. -
  6333. -`-b'
  6334. -`--backup'
  6335. -     Make backups of files that are about to be overwritten or removed.
  6336. -     Without this option, the original versions are destroyed.
  6337. -
  6338. -`-S SUFFIX'
  6339. -`--suffix=SUFFIX'
  6340. -     Append SUFFIX to each backup file made with `-b'.  If this option
  6341. -     is not specified, the value of the `SIMPLE_BACKUP_SUFFIX'
  6342. -     environment variable is used.  And if `SIMPLE_BACKUP_SUFFIX' is not
  6343. -     set, the default is `~', just as in Emacs.
  6344. -
  6345. -`-V METHOD'
  6346. -`--version-control=METHOD'
  6347. -     Use METHOD to determine the type of backups made with `-b'.  If
  6348. -     this option is not specified, the value of the `VERSION_CONTROL'
  6349. -     environment variable is used.  And if `VERSION_CONTROL' is not set,
  6350. -     the default backup type is `existing'.
  6351. -
  6352. -     This option corresponds to the Emacs variable `version-control';
  6353. -     the same values for METHOD are accepted as in Emacs.  This options
  6354. -     also more descriptive name.  The valid METHODs (unique
  6355. -     abbreviations are accepted):
  6356. -
  6357. -    `t'
  6358. -    `numbered'
  6359. -          Always make numbered backups.
  6360. -
  6361. -    `nil'
  6362. -    `existing'
  6363. -          Make numbered backups of files that already have them, simple
  6364. -          backups of the others.
  6365. -
  6366. -    `never'
  6367. -    `simple'
  6368. -          Always make simple backups.
  6369. -
  6370. -
  6371. -File: fileutils.info,  Node: File permissions,  Next: Date input formats,  Prev: Common options,  Up: Top
  6372. -
  6373. -File permissions
  6374. -****************
  6375. -
  6376. -   Each file has a set of "permissions" that control the kinds of
  6377. -access that users have to that file.  The permissions for a file are
  6378. -also called its "access mode".  They can be represented either in
  6379. -symbolic form or as an octal number.
  6380. -
  6381. -* Menu:
  6382. -
  6383. -* Mode Structure::              Structure of file permissions.
  6384. -* Symbolic Modes::              Mnemonic permissions representation.
  6385. -* Numeric Modes::               Permissions as octal numbers.
  6386. -
  6387. -
  6388. -File: fileutils.info,  Node: Mode Structure,  Next: Symbolic Modes,  Up: File permissions
  6389. -
  6390. -Structure of File Permissions
  6391. -=============================
  6392. -
  6393. -   There are three kinds of permissions that a user can have for a file:
  6394. -
  6395. -  1. permission to read the file.  For directories, this means
  6396. -     permission to list the contents of the directory.
  6397. -
  6398. -  2. permission to write to (change) the file.  For directories, this
  6399. -     means permission to create and remove files in the directory.
  6400. -
  6401. -  3. permission to execute the file (run it as a program).  For
  6402. -     directories, this means permission to access files in the
  6403. -     directory.
  6404. -
  6405. -   There are three categories of users who may have different
  6406. -permissions to perform any of the above operations on a file:
  6407. -
  6408. -  1. the file's owner;
  6409. -
  6410. -  2. other users who are in the file's group;
  6411. -
  6412. -  3. everyone else.
  6413. -
  6414. -   Files are given an owner and group when they are created.  Usually
  6415. -the owner is the current user and the group is the group of the
  6416. -directory the file is in, but this varies with the operating system, the
  6417. -filesystem the file is created on, and the way the file is created.  You
  6418. -can change the owner and group of a file by using the `chown' and
  6419. -`chgrp' commands.
  6420. -
  6421. -   In addition to the three sets of three permissions listed above, a
  6422. -file's permissions have three special components, which affect only
  6423. -executable files (programs) and, on some systems, directories:
  6424. -
  6425. -  1. set the process's effective user ID to that of the file upon
  6426. -     execution (called the "setuid bit").  No effect on directories.
  6427. -
  6428. -  2. set the process's effective group ID to that of the file upon
  6429. -     execution (called the "setgid bit").  For directories on some
  6430. -     systems, put files created in the directory into the same group as
  6431. -     the directory, no matter what group the user who creates them is
  6432. -     in.
  6433. -
  6434. -  3. save the program's text image on the swap device so it will load
  6435. -     more quickly when run (called the "sticky bit").  For directories
  6436. -     on some systems, prevent users from removing files that they do
  6437. -     not own in the directory; this is called making the directory
  6438. -     "append-only".
  6439. -
  6440. -
  6441. -File: fileutils.info,  Node: Symbolic Modes,  Next: Numeric Modes,  Prev: Mode Structure,  Up: File permissions
  6442. -
  6443. -Symbolic Modes
  6444. -==============
  6445. -
  6446. -   "Symbolic modes" represent changes to files' permissions as
  6447. -operations on single-character symbols.  They allow you to modify either
  6448. -all or selected parts of files' permissions, optionally based on their
  6449. -previous values, and perhaps on the current `umask' as well (*note
  6450. -Umask and Protection::.).
  6451. -
  6452. -   The format of symbolic modes is:
  6453. -
  6454. -     [ugoa...][[+-=][rwxXstugo...]...][,...]
  6455. -
  6456. -   The following sections describe the operators and other details of
  6457. -symbolic modes.
  6458. -
  6459. -* Menu:
  6460. -
  6461. -* Setting Permissions::          Basic operations on permissions.
  6462. -* Copying Permissions::          Copying existing permissions.
  6463. -* Changing Special Permissions:: Special permissions.
  6464. -* Conditional Executability::    Conditionally affecting executability.
  6465. -* Multiple Changes::             Making multiple changes.
  6466. -* Umask and Protection::              The effect of the umask.
  6467. -
  6468. -
  6469. -File: fileutils.info,  Node: Setting Permissions,  Next: Copying Permissions,  Up: Symbolic Modes
  6470. -
  6471. -Setting Permissions
  6472. --------------------
  6473. -
  6474. -   The basic symbolic operations on a file's permissions are adding,
  6475. -removing, and setting the permission that certain users have to read,
  6476. -write, and execute the file.  These operations have the following
  6477. -format:
  6478. -
  6479. -     USERS OPERATION PERMISSIONS
  6480. -
  6481. -The spaces between the three parts above are shown for readability only;
  6482. -symbolic modes can not contain spaces.
  6483. -
  6484. -   The USERS part tells which users' access to the file is changed.  It
  6485. -consists of one or more of the following letters (or it can be empty;
  6486. -*note Umask and Protection::., for a description of what happens then).
  6487. -When more than one of these letters is given, the order that they are
  6488. -in does not matter.
  6489. -
  6490. -`u'
  6491. -     the user who owns the file;
  6492. -
  6493. -`g'
  6494. -     other users who are in the file's group;
  6495. -
  6496. -`o'
  6497. -     all other users;
  6498. -
  6499. -`a'
  6500. -     all users; the same as `ugo'.
  6501. -
  6502. -   The OPERATION part tells how to change the affected users' access to
  6503. -the file, and is one of the following symbols:
  6504. -
  6505. -`+'
  6506. -     to add the PERMISSIONS to whatever permissions the USERS already
  6507. -     have for the file;
  6508. -
  6509. -`-'
  6510. -     to remove the PERMISSIONS from whatever permissions the USERS
  6511. -     already have for the file;
  6512. -
  6513. -`='
  6514. -     to make the PERMISSIONS the only permissions that the USERS have
  6515. -     for the file.
  6516. -
  6517. -   The PERMISSIONS part tells what kind of access to the file should be
  6518. -changed; it is zero or more of the following letters.  As with the
  6519. -USERS part, the order does not matter when more than one letter is
  6520. -given.  Omitting the PERMISSIONS part is useful only with the `='
  6521. -operation, where it gives the specified USERS no access at all to the
  6522. -file.
  6523. -
  6524. -`r'
  6525. -     the permission the USERS have to read the file;
  6526. -
  6527. -`w'
  6528. -     the permission the USERS have to write to the file;
  6529. -
  6530. -`x'
  6531. -     the permission the USERS have to execute the file.
  6532. -
  6533. -   For example, to give everyone permission to read and write a file,
  6534. -but not to execute it, use:
  6535. -
  6536. -     a=rw
  6537. -
  6538. -   To remove write permission for from all users other than the file's
  6539. -owner, use:
  6540. -
  6541. -     go-w
  6542. -
  6543. -The above command does not affect the access that the owner of the file
  6544. -has to it, nor does it affect whether other users can read or execute
  6545. -the file.
  6546. -
  6547. -   To give everyone except a file's owner no permission to do anything
  6548. -with that file, use the mode below.  Other users could still remove the
  6549. -file, if they have write permission on the directory it is in.
  6550. -
  6551. -     go=
  6552. -
  6553. -Another way to specify the same thing is:
  6554. -
  6555. -     og-rxw
  6556. -
  6557. -
  6558. -File: fileutils.info,  Node: Copying Permissions,  Next: Changing Special Permissions,  Prev: Setting Permissions,  Up: Symbolic Modes
  6559. -
  6560. -Copying Existing Permissions
  6561. -----------------------------
  6562. -
  6563. -   You can base a file's permissions on its existing permissions.  To do
  6564. -this, instead of using `r', `w', or `x' after the operator, you use the
  6565. -letter `u', `g', or `o'.  For example, the mode
  6566. -     o+g
  6567. -
  6568. -adds the permissions for users who are in a file's group to the
  6569. -permissions that other users have for the file.  Thus, if the file
  6570. -started out as mode 664 (`rw-rw-r--'), the above mode would change it
  6571. -to mode 666 (`rw-rw-rw-').  If the file had started out as mode 741
  6572. -(`rwxr----x'), the above mode would change it to mode 745
  6573. -(`rwxr--r-x').  The `-' and `=' operations work analogously.
  6574. -
  6575. -
  6576. -File: fileutils.info,  Node: Changing Special Permissions,  Next: Conditional Executability,  Prev: Copying Permissions,  Up: Symbolic Modes
  6577. -
  6578. -Changing Special Permissions
  6579. -----------------------------
  6580. -
  6581. -   In addition to changing a file's read, write, and execute
  6582. -permissions, you can change its special permissions.  *Note Mode
  6583. -Structure::, for a summary of these permissions.
  6584. -
  6585. -   To change a file's permission to set the user ID on execution, use
  6586. -`u' in the USERS part of the symbolic mode and `s' in the PERMISSIONS
  6587. -part.
  6588. -
  6589. -   To change a file's permission to set the group ID on execution, use
  6590. -`g' in the USERS part of the symbolic mode and `s' in the PERMISSIONS
  6591. -part.
  6592. -
  6593. -   To change a file's permission to stay permanently on the swap device,
  6594. -use `o' in the USERS part of the symbolic mode and `t' in the
  6595. -PERMISSIONS part.
  6596. -
  6597. -   For example, to add set user ID permission to a program, you can use
  6598. -the mode:
  6599. -
  6600. -     u+s
  6601. -
  6602. -   To remove both set user ID and set group ID permission from it, you
  6603. -can use the mode:
  6604. -
  6605. -     ug-s
  6606. -
  6607. -   To cause a program to be saved on the swap device, you can use the
  6608. -mode:
  6609. -
  6610. -     o+t
  6611. -
  6612. -   Remember that the special permissions only affect files that are
  6613. -executable, plus, on some systems, directories (on which they have
  6614. -different meanings; *note Mode Structure::.).  Using `a' in the USERS
  6615. -part of a symbolic mode does not cause the special permissions to be
  6616. -affected; thus,
  6617. -
  6618. -     a+s
  6619. -
  6620. -has *no effect*.  You must use `u', `g', and `o' explicitly to affect
  6621. -the special permissions.  Also, the combinations `u+t', `g+t', and
  6622. -`o+s' have no effect.
  6623. -
  6624. -   The `=' operator is not very useful with special permissions; for
  6625. -example, the mode:
  6626. -
  6627. -     o=t
  6628. -
  6629. -does cause the file to be saved on the swap device, but it also removes
  6630. -all read, write, and execute permissions that users not in the file's
  6631. -group might have had for it.
  6632. -
  6633. -
  6634. -File: fileutils.info,  Node: Conditional Executability,  Next: Multiple Changes,  Prev: Changing Special Permissions,  Up: Symbolic Modes
  6635. -
  6636. -Conditional Executability
  6637. --------------------------
  6638. -
  6639. -   There is one more special type of symbolic permission: if you use
  6640. -`X' instead of `x', execute permission is affected only if the file
  6641. -already had execute permission or is a directory.  It affects
  6642. -directories' execute permission even if they did not initially have any
  6643. -execute permissions set.
  6644. -
  6645. -   For example, this mode:
  6646. -
  6647. -     a+X
  6648. -
  6649. -gives all users permission to execute files (or search directories) if
  6650. -anyone could before.
  6651. -
  6652. -
  6653. -File: fileutils.info,  Node: Multiple Changes,  Next: Umask and Protection,  Prev: Conditional Executability,  Up: Symbolic Modes
  6654. -
  6655. -Making Multiple Changes
  6656. ------------------------
  6657. -
  6658. -   The format of symbolic modes is actually more complex than described
  6659. -above (*note Setting Permissions::.).  It provides two ways to make
  6660. -multiple changes to files' permissions.
  6661. -
  6662. -   The first way is to specify multiple OPERATION and PERMISSIONS parts
  6663. -after a USERS part in the symbolic mode.
  6664. -
  6665. -   For example, the mode:
  6666. -
  6667. -     og+rX-w
  6668. -
  6669. -gives users other than the owner of the file read permission and, if it
  6670. -is a directory or if someone already had execute permission to it,
  6671. -gives them execute permission; and it also denies them write permission
  6672. -to it file.  It does not affect the permission that the owner of the
  6673. -file has for it.  The above mode is equivalent to the two modes:
  6674. -
  6675. -     og+rX
  6676. -     og-w
  6677. -
  6678. -   The second way to make multiple changes is to specify more than one
  6679. -simple symbolic mode, separated by commas.  For example, the mode:
  6680. -
  6681. -     a+r,go-w
  6682. -
  6683. -gives everyone permission to read the file and removes write permission
  6684. -on it for all users except its owner.  Another example:
  6685. -
  6686. -     u=rwx,g=rx,o=
  6687. -
  6688. -sets all of the non-special permissions for the file explicitly.  (It
  6689. -gives users who are not in the file's group no permission at all for
  6690. -it.)
  6691. -
  6692. -   The two methods can be combined.  The mode:
  6693. -
  6694. -     a+r,g+x-w
  6695. -
  6696. -gives all users permission to read the file, and gives users who are in
  6697. -the file's group permission to execute it, as well, but not permission
  6698. -to write to it.  The above mode could be written in several different
  6699. -ways; another is:
  6700. -
  6701. -     u+r,g+rx,o+r,g-w
  6702. -
  6703. -
  6704. -File: fileutils.info,  Node: Umask and Protection,  Prev: Multiple Changes,  Up: Symbolic Modes
  6705. -
  6706. -The Umask and Protection
  6707. -------------------------
  6708. -
  6709. -   If the USERS part of a symbolic mode is omitted, it defaults to `a'
  6710. -(affect all users), except that any permissions that are *set* in the
  6711. -system variable `umask' are *not affected*.  The value of `umask' can
  6712. -be set using the `umask' command.  Its default value varies from system
  6713. -to system.
  6714. -
  6715. -   Omitting the USERS part of a symbolic mode is generally not useful
  6716. -with operations other than `+'.  It is useful with `+' because it
  6717. -allows you to use `umask' as an easily customizable protection against
  6718. -giving away more permission to files than you intended to.
  6719. -
  6720. -   As an example, if `umask' has the value 2, which removes write
  6721. -permission for users who are not in the file's group, then the mode:
  6722. -
  6723. -     +w
  6724. -
  6725. -adds permission to write to the file to its owner and to other users who
  6726. -are in the file's group, but *not* to other users.  In contrast, the
  6727. -mode:
  6728. -
  6729. -     a+w
  6730. -
  6731. -ignores `umask', and *does* give write permission for the file to all
  6732. -users.
  6733. -
  6734. -
  6735. -File: fileutils.info,  Node: Numeric Modes,  Prev: Symbolic Modes,  Up: File permissions
  6736. -
  6737. -Numeric Modes
  6738. -=============
  6739. -
  6740. -   File permissions are stored internally as 16 bit integers.  As an
  6741. -alternative to giving a symbolic mode, you can give an octal (base 8)
  6742. -number that corresponds to the internal representation of the new mode.
  6743. -This number is always interpreted in octal; you do not have to add a
  6744. -leading 0, as you do in C.  Mode 0055 is the same as mode 55.
  6745. -
  6746. -   A numeric mode is usually shorter than the corresponding symbolic
  6747. -mode, but it is limited in that it can not take into account a file's
  6748. -previous permissions; it can only set them absolutely.
  6749. -
  6750. -   The permissions granted to the user, to other users in the file's
  6751. -group, and to other users not in the file's group are each stored as
  6752. -three bits, which are represented as one octal digit.  The three special
  6753. -permissions are also each stored as one bit, and they are as a group
  6754. -represented as another octal digit.  Here is how the bits are arranged
  6755. -in the 16 bit integer, starting with the lowest valued bit:
  6756. -
  6757. -     Value in  Corresponding
  6758. -     Mode      Permission
  6759. -     
  6760. -               Other users not in the file's group:
  6761. -        1      Execute
  6762. -        2      Write
  6763. -        4      Read
  6764. -     
  6765. -               Other users in the file's group:
  6766. -       10      Execute
  6767. -       20      Write
  6768. -       40      Read
  6769. -     
  6770. -               The file's owner:
  6771. -      100      Execute
  6772. -      200      Write
  6773. -      400      Read
  6774. -     
  6775. -               Special permissions:
  6776. -     1000      Save text image on swap device
  6777. -     2000      Set group ID on execution
  6778. -     4000      Set user ID on execution
  6779. -
  6780. -   For example, numeric mode 4755 corresponds to symbolic mode
  6781. -`u=rwxs,go=rx', and numeric mode 664 corresponds to symbolic mode
  6782. -`ug=rw,o=r'.  Numeric mode 0 corresponds to symbolic mode `ugo='.
  6783. -
  6784. -
  6785. -File: fileutils.info,  Node: Date input formats,  Next: Directory listing,  Prev: File permissions,  Up: Top
  6786. -
  6787. -Date input formats
  6788. -******************
  6789. -
  6790. -   This section describes the textual date representations that GNU
  6791. -programs accept.  These are the strings you, as a user, can supply as
  6792. -arguments to the various programs.  The C interface (via the `getdate'
  6793. -function) is not described here.
  6794. -
  6795. -   Although the date syntax here can represent any possible time since
  6796. -zero A.D., computer integers are not big enough for such a
  6797. -(comparatively) long time.  The earliest date semantically allowed on
  6798. -Unix systems is midnight, 1 January 1970 UCT.
  6799. -
  6800. -* Menu:
  6801. -
  6802. -* General date syntax::            Common rules.
  6803. -* Calendar date item::             19 Dec 1994.
  6804. -* Time of day item::               9:20pm.
  6805. -* Timezone item::                  EST, DST, BST, UCT, AHST, ...
  6806. -* Day of week item::               Monday and others.
  6807. -* Relative item in date strings::  next tuesday, 2 years ago.
  6808. -* Pure numbers in date strings::   19931219, 1440.
  6809. -* Authors of getdate::             Bellovin, Salz, Berets, et al.
  6810. -
  6811. -
  6812. -File: fileutils.info,  Node: General date syntax,  Next: Calendar date item,  Up: Date input formats
  6813. -
  6814. -General date syntax
  6815. -===================
  6816. -
  6817. -   A "date" is a string, possibly empty, containing many items
  6818. -separated by whitespace.  The whitespace may be omitted when no
  6819. -ambiguity arises.  The empty string means the beginning of today (i.e.,
  6820. -midnight).  Order of the items is immaterial.  A date string may contain
  6821. -many flavors of items:
  6822. -
  6823. -   * calendar date items
  6824. -
  6825. -   * time of the day items
  6826. -
  6827. -   * time zone items
  6828. -
  6829. -   * day of the week items
  6830. -
  6831. -   * relative items
  6832. -
  6833. -   * pure numbers.
  6834. -
  6835. -We describe each of these item types in turn, below.
  6836. -
  6837. -   A few numbers may be written out in words in most contexts.  This is
  6838. -most useful for specifying day of the week items or relative items (see
  6839. -below).  Here is the list: `first' for 1, `next' for 2, `third' for 3,
  6840. -`fourth' for 4, `fifth' for 5, `sixth' for 6, `seventh' for 7, `eighth'
  6841. -for 8, `ninth' for 9, `tenth' for 10, `eleventh' for 11 and `twelfth'
  6842. -for 12.  Also, `last' means exactly -1.
  6843. -
  6844. -   When a month is written this way, it is still considered to be
  6845. -written numerically, instead of being "spelled in full"; this changes
  6846. -the allowed strings.
  6847. -
  6848. -   Alphabetic case is completely ignored in dates.  Comments may be
  6849. -introduced between round parentheses, as long as included parentheses
  6850. -are properly nested.  Hyphens not followed by a digit are currently
  6851. -ignored.  Leading zeros on numbers are ignored.
  6852. -
  6853. -
  6854. -File: fileutils.info,  Node: Calendar date item,  Next: Time of day item,  Prev: General date syntax,  Up: Date input formats
  6855. -
  6856. -Calendar date item
  6857. -==================
  6858. -
  6859. -   A "calendar date item" specifies a day of the year.  It is specified
  6860. -differently, depending on whether the month is specified numerically or
  6861. -literally.  All these strings specify the same calendar date:
  6862. -
  6863. -     1970-09-17           # ISO 8601.
  6864. -     70-9-17              # This century assumed by default.
  6865. -     70-09-17             # Leading zeros are ignored.
  6866. -     9/17/72              # Common U.S. writing.
  6867. -     24 September 1972
  6868. -     24 Sept 72           # September has a special abbreviation.
  6869. -     24 Sep 72            # Three-letter abbreviations always allowed.
  6870. -     Sep 24, 1972
  6871. -     24-sep-72
  6872. -     24sep72
  6873. -
  6874. -   The year can also be omitted.  In this case, the last specified year
  6875. -is used, or the current year if none.  For example:
  6876. -
  6877. -     9/17
  6878. -     sep 17
  6879. -
  6880. -   Here are the rules.
  6881. -
  6882. -   For numeric months, the ISO 8601 format `YEAR-MONTH-DAY' is allowed,
  6883. -where YEAR is any positive number, MONTH is a number between 01 and 12,
  6884. -and DAY is a number between 01 and 31.  A leading zero must be present
  6885. -if a number is less than ten.  If YEAR is less than 100, then 1900 is
  6886. -added to it to force a date in this century.  The construct
  6887. -`MONTH/DAY/YEAR', popular in the United States, is accepted.  Also
  6888. -`MONTH/DAY', omitting the year.
  6889. -
  6890. -   Literal months may be spelled out in full: `January', `February',
  6891. -`March', `April', `May', `June', `July', `August', `September',
  6892. -`October', `November' or `December'.  Literal months may be abbreviated
  6893. -to their first three letters, possibly followed by an abbreviating dot.
  6894. -It is also permitted to write `Sept' instead of `September'.
  6895. -
  6896. -   When months are written literally, the calendar date may be given as
  6897. -any of the following:
  6898. -
  6899. -     DAY MONTH YEAR
  6900. -     DAY MONTH
  6901. -     MONTH DAY YEAR
  6902. -     DAY-MONTH-YEAR
  6903. -
  6904. -   Or, omitting the year:
  6905. -
  6906. -     MONTH DAY
  6907. -
  6908. -
  6909. -File: fileutils.info,  Node: Time of day item,  Next: Timezone item,  Prev: Calendar date item,  Up: Date input formats
  6910. -
  6911. -Time of day item
  6912. -================
  6913. -
  6914. -   A "time of day item" in date strings specifies the time on a given
  6915. -day.  Here are some examples, all of which represent the same time:
  6916. -
  6917. -     20:02:0
  6918. -     20:02
  6919. -     8:02pm
  6920. -     20:02-0500      # In EST (Eastern U.S. Standard Time).
  6921. -
  6922. -   More generally, the time of the day may be given as
  6923. -`HOUR:MINUTE:SECOND', where HOUR is a number between 0 and 23, MINUTE
  6924. -is a number between 0 and 59, and SECOND is a number between 0 and 59.
  6925. -Alternatively, `:SECOND' can be omitted, in which case it is taken to
  6926. -be zero.
  6927. -
  6928. -   If the time is followed by `am' or `pm' (or `a.m.' or `p.m.'), HOUR
  6929. -is restricted to run from 1 to 12, and `:MINUTE' may be omitted (taken
  6930. -to be zero).  `am' indicates the first half of the day, `pm' indicates
  6931. -the second half of the day.  In this notation, 12 is the predecessor of
  6932. -1: midnight is `12am' while noon is `12pm'.
  6933. -
  6934. -   The time may alternatively be followed by a timezone correction,
  6935. -expressed as `SHHMM', where S is `+' or `-', HH is a number of zone
  6936. -hours and MM is a number of zone minutes.  When a timezone correction
  6937. -is given this way, it forces interpretation of the time in UTC,
  6938. -overriding any previous specification for the timezone or the local
  6939. -timezone.  The MINUTE part of the time of the day may not be elided
  6940. -when a timezone correction is used.  This is the only way to specify a
  6941. -timezone correction by fractional parts of an hour.
  6942. -
  6943. -   Either `am'/`pm' or a timezone correction may be specified, but not
  6944. -both.
  6945. -
  6946. -
  6947. -File: fileutils.info,  Node: Timezone item,  Next: Day of week item,  Prev: Time of day item,  Up: Date input formats
  6948. -
  6949. -Timezone item
  6950. -=============
  6951. -
  6952. -   A "timezone item" specifies an international timezone, indicated by
  6953. -a small set of letters.  Any included period is ignored.  Military
  6954. -timezone designations use a single letter.  Currently, only integral
  6955. -zone hours may be represented in a timezone item.  See the previous
  6956. -section for a finer control over the timezone correction.
  6957. -
  6958. -   Here are many non-daylight-savings-time timezones, indexed by the
  6959. -zone hour value.
  6960. -
  6961. -+000
  6962. -     `GMT' for Greenwich Mean, `UT' or `UTC' for Universal
  6963. -     (Coordinated), `WET' for Western European and `Z' for militaries.
  6964. -
  6965. -+100
  6966. -     `WAT' for West Africa and `A' for militaries.
  6967. -
  6968. -+200
  6969. -     `AT' for Azores and `B' for militaries.
  6970. -
  6971. -+300
  6972. -     `C' for militaries.
  6973. -
  6974. -+400
  6975. -     `AST' for Atlantic Standard and `D' for militaries.
  6976. -
  6977. -+500
  6978. -     `E' for militaries and `EST' for Eastern Standard.
  6979. -
  6980. -+600
  6981. -     `CST' for Central Standard and `F' for militaries.
  6982. -
  6983. -+700
  6984. -     `G' for militaries and `MST' for Mountain Standard.
  6985. -
  6986. -+800
  6987. -     `H' for militaries and `PST' for Pacific Standard.
  6988. -
  6989. -+900
  6990. -     `I' for militaries and `YST' for Yukon Standard.
  6991. -
  6992. -+1000
  6993. -     `AHST' for Alaska-Hawaii Standard, `CAT' for Central Alaska, `HST'
  6994. -     for Hawaii Standard and `K' for militaries.
  6995. -
  6996. -+1100
  6997. -     `L' for militaries and `NT' for Nome.
  6998. -
  6999. -+1200
  7000. -     `IDLW' for International Date Line West and `M' for militaries.
  7001. -
  7002. --100
  7003. -     `CET' for Central European, `FWT' for French Winter, `MET' for
  7004. -     Middle European, `MEWT' for Middle European Winter, `N' for
  7005. -     militaries and `SWT' for Swedish Winter.
  7006. -
  7007. --200
  7008. -     `EET' for Eastern European, USSR Zone 1 and `O' for militaries.
  7009. -
  7010. --300
  7011. -     `BT' for Baghdad, USSR Zone 2 and `P' for militaries.
  7012. -
  7013. --400
  7014. -     `Q' for militaries and `ZP4' for USSR Zone 3.
  7015. -
  7016. --500
  7017. -     `R' for militaries and `ZP5' for USSR Zone 4.
  7018. -
  7019. --600
  7020. -     `S' for militaries and `ZP6' for USSR Zone 5.
  7021. -
  7022. --700
  7023. -     `T' for militaries and `WAST' for West Australian Standard.
  7024. -
  7025. --800
  7026. -     `CCT' for China Coast, USSR Zone 7 and `U' for militaries.
  7027. -
  7028. --900
  7029. -     `JST' for Japan Standard, USSR Zone 8 and `V' for militaries.
  7030. -
  7031. --1000
  7032. -     `EAST' for East Australian Standard, `GST' for Guam Standard, USSR
  7033. -     Zone 9 and `W' for militaries.
  7034. -
  7035. --1100
  7036. -     `X' for militaries.
  7037. -
  7038. --1200
  7039. -     `IDLE' for International Date Line East, `NZST' for New Zealand
  7040. -     Standard, `NZT' for New Zealand and `Y' for militaries.
  7041. -
  7042. -   Here are many DST timezones, indexed by the zone hour value.  Also,
  7043. -by following a non-DST timezone by the string `DST' in a separate word
  7044. -(that is, separated by some whitespace), the corresponding DST timezone
  7045. -may be specified.
  7046. -
  7047. -0
  7048. -     `BST' for British Summer.
  7049. -
  7050. -+400
  7051. -     `ADT' for Atlantic Daylight.
  7052. -
  7053. -+500
  7054. -     `EDT' for Eastern Daylight.
  7055. -
  7056. -+600
  7057. -     `CDT' for Central Daylight.
  7058. -
  7059. -+700
  7060. -     `MDT' for Mountain Daylight.
  7061. -
  7062. -+800
  7063. -     `PDT' for Pacific Daylight.
  7064. -
  7065. -+900
  7066. -     `YDT' for Yukon Daylight.
  7067. -
  7068. -+1000
  7069. -     `HDT' for Hawaii Daylight.
  7070. -
  7071. --100
  7072. -     `MEST' for Middle European Summer, `MESZ' for Middle European
  7073. -     Summer, `SST' for Swedish Summer and `FST' for French Summer.
  7074. -
  7075. --700
  7076. -     `WADT' for West Australian Daylight.
  7077. -
  7078. --1000
  7079. -     `EADT' for Eastern Australian Daylight.
  7080. -
  7081. --1200
  7082. -     `NZDT' for New Zealand Daylight.
  7083. -
  7084. -
  7085. -File: fileutils.info,  Node: Day of week item,  Next: Relative item in date strings,  Prev: Timezone item,  Up: Date input formats
  7086. -
  7087. -Day of week item
  7088. -================
  7089. -
  7090. -   The explicit mention of a day of the week will forward the date
  7091. -(only if necessary) to reach that day of the week in the future.
  7092. -
  7093. -   Days of the week may be spelled out in full: `Sunday', `Monday',
  7094. -`Tuesday', `Wednesday', `Thursday', `Friday' or `Saturday'.  Days may
  7095. -be abbreviated to their first three letters, optionally followed by a
  7096. -period.  The special abbreviations `Tues' for `Tuesday', `Wednes' for
  7097. -`Wednesday' and `Thur' or `Thurs' for `Thursday' are also allowed.
  7098. -
  7099. -   A number may precede a day of the week item to move forward
  7100. -supplementary weeks.  It is best used in expression like `third
  7101. -monday'.  In this context, `last DAY' or `next DAY' is also acceptable;
  7102. -they move one week before or after the day that DAY by itself would
  7103. -represent.
  7104. -
  7105. -   A comma following a day of the week item is ignored.
  7106. -
  7107. -
  7108. -File: fileutils.info,  Node: Relative item in date strings,  Next: Pure numbers in date strings,  Prev: Day of week item,  Up: Date input formats
  7109. -
  7110. -Relative item in date strings
  7111. -=============================
  7112. -
  7113. -   "Relative items" adjust a date (or the current date if none) forward
  7114. -or backward.  The effects of relative items accumulate.  Here are some
  7115. -examples:
  7116. -
  7117. -     1 year
  7118. -     1 year ago
  7119. -     3 years
  7120. -     2 days
  7121. -
  7122. -   The unit of time displacement may be selected by the string `year'
  7123. -or `month' for moving by whole years or months.  These are fuzzy units,
  7124. -as years and months are not all of equal duration.  More precise units
  7125. -are `fortnight' which is worth 14 days, `week' worth 7 days, `day'
  7126. -worth 24 hours, `hour' worth 60 minutes, `minute' or `min' worth 60
  7127. -seconds, and `second' or `sec' worth one second.  An `s' suffix on
  7128. -these units is accepted and ignored.
  7129. -
  7130. -   The unit of time may be preceded by a multiplier, given as an
  7131. -optionally signed number.  Unsigned numbers are taken as positively
  7132. -signed.  No number at all implies 1 for a multiplier.  Following a
  7133. -relative item by the string `ago' is equivalent to preceding the unit
  7134. -by a multiplicator with value -1.
  7135. -
  7136. -   The string `tomorrow' is worth one day in the future (equivalent to
  7137. -`day'), the string `yesterday' is worth one day in the past (equivalent
  7138. -to `day ago').
  7139. -
  7140. -   The strings `now' or `today' are relative items corresponding to
  7141. -zero-valued time displacement, these strings come from the fact a
  7142. -zero-valued time displacement represents the current time when not
  7143. -otherwise change by previous items.  They may be used to stress other
  7144. -items, like in `12:00 today'.  The string `this' also has the meaning
  7145. -of a zero-valued time displacement, but is preferred in date strings
  7146. -like `this thursday'.
  7147. -
  7148. -   When a relative item makes the resulting date to cross the boundary
  7149. -between DST and non-DST (or vice-versa), the hour is adjusted according
  7150. -to the local time.
  7151. -
  7152. -
  7153. -File: fileutils.info,  Node: Pure numbers in date strings,  Next: Authors of getdate,  Prev: Relative item in date strings,  Up: Date input formats
  7154. -
  7155. -Pure numbers in date strings
  7156. -============================
  7157. -
  7158. -   The precise intepretation of a pure decimal number is dependent of
  7159. -the context in the date string.
  7160. -
  7161. -   If the decimal number is of the form YYYYMMDD and no other calendar
  7162. -date item (*note Calendar date item::.) appears before it in the date
  7163. -string, then YYYY is read as the year, MM as the month number and DD as
  7164. -the day of the month, for the specified calendar date.
  7165. -
  7166. -   If the decimal number is of the form HHMM and no other time of day
  7167. -item appears before it in the date string, then HH is read as the hour
  7168. -of the day and MM as the minute of the hour, for the specified time of
  7169. -the day.  MM can also be omitted.
  7170. -
  7171. -   If both a calendar date and a time of day appear to the left of a
  7172. -number in the date string, but no relative item, then the number
  7173. -overrides the year.
  7174. -
  7175. -
  7176. -File: fileutils.info,  Node: Authors of getdate,  Prev: Pure numbers in date strings,  Up: Date input formats
  7177. -
  7178. -Authors of `getdate'
  7179. -====================
  7180. -
  7181. -   `getdate' was originally implemented by Steven M. Bellovin
  7182. -(`smb@research.att.com') while at the University of North Carolina at
  7183. -Chapel Hill.  The code was later tweaked by a couple of people on
  7184. -Usenet, then completely overhauled by Rich $alz (`rsalz@bbn.com') and
  7185. -Jim Berets (`jberets@bbn.com') in August, 1990.  Various revisions for
  7186. -the GNU system were made by David MacKenzie, Jim Meyering, and others.
  7187. -
  7188. -   This chapter was originally produced by Franc,ois Pinard
  7189. -(`pinard@iro.umontreal.ca') from the `getdate.y' source code, and then
  7190. -edited by K. Berry (`kb@cs.umb.edu').
  7191. -
  7192. -
  7193. -File: fileutils.info,  Node: Directory listing,  Next: Basic operations,  Prev: Date input formats,  Up: Top
  7194. -
  7195. -Directory listing
  7196. -*****************
  7197. -
  7198. -   This chapter describes the `ls' command and its variants `dir' and
  7199. -`vdir', which list information about files.
  7200. -
  7201. -* Menu:
  7202. -
  7203. -* ls invocation::               List directory contents.
  7204. -* dir invocation::              Briefly ls.
  7205. -* vdir invocation::             Verbosely ls.
  7206. -* dircolors invocation::        Color setup for ls, etc.
  7207. -
  7208. -
  7209. -File: fileutils.info,  Node: ls invocation,  Next: dir invocation,  Up: Directory listing
  7210. -
  7211. -`ls': List directory contents
  7212. -=============================
  7213. -
  7214. -   The `ls' program lists information about files (of any type,
  7215. -including directories).  Options and file arguments can be intermixed
  7216. -arbitrarily, as usual.
  7217. -
  7218. -   For non-option command-line arguments that are directories, by
  7219. -default `ls' lists the contents of directories, not recursively, and
  7220. -omitting files with names beginning with `.'.  For other non-option
  7221. -arguments, by default `ls' lists just the file name.  If no non-option
  7222. -arguments are specified, `ls' lists the contents of the current
  7223. -directory.
  7224. -
  7225. -   By default, the output is sorted alphabetically.  If standard output
  7226. -is a terminal, the output is in columns (sorted vertically); otherwise,
  7227. -they are listed one per line.
  7228. -
  7229. -   Because `ls' is such a fundamental program, it has accumulated many
  7230. -options over the years.  They are described in the subsections below;
  7231. -within each section, options are listed alphabetically (ignoring case).
  7232. -The division of options into the subsections is not absolute, since some
  7233. -options affect more than one aspect of `ls''s operation.
  7234. -
  7235. -   The `-g' option is accepted but ignored, for compatibility with
  7236. -Unix.  Also see *Note Common options::.
  7237. -
  7238. -* Menu:
  7239. -
  7240. -* Which files are listed::
  7241. -* What information is listed::
  7242. -* Sorting the output::
  7243. -* General output formatting::
  7244. -* Formatting the file names::
  7245. -
  7246. -
  7247. -File: fileutils.info,  Node: Which files are listed,  Next: What information is listed,  Up: ls invocation
  7248. -
  7249. -Which files are listed
  7250. -----------------------
  7251. -
  7252. -   These options determine which files `ls' lists information for.  By
  7253. -default, any files and the contents of any directories on the command
  7254. -line are shown.
  7255. -
  7256. -`-a'
  7257. -`--all'
  7258. -     List all files in directories, including files that start with `.'.
  7259. -
  7260. -`-A'
  7261. -`--almost-all'
  7262. -     List all files in directories except for `.' and `..'.
  7263. -
  7264. -`-B'
  7265. -`--ignore-backups'
  7266. -     Do not list files that end with `~', unless they are given on the
  7267. -     command line.
  7268. -
  7269. -`-d'
  7270. -`--directory'
  7271. -     List just the names of directories, as with other types of files,
  7272. -     rather than listing their contents.
  7273. -
  7274. -`-I'
  7275. -`--ignore'
  7276. -     Do not list files whose names match the shell pattern (not regular
  7277. -     expression) PATTERN unless they are given on the command line.  As
  7278. -     in the shell, an initial `.' in a file name does not match a
  7279. -     wildcard at the start of PATTERN.
  7280. -
  7281. -`-L'
  7282. -`--dereference'
  7283. -     List the files linked to by symbolic links instead of listing the
  7284. -     contents of the links.
  7285. -
  7286. -`-R'
  7287. -`--recursive'
  7288. -     List the contents of all directories recursively.
  7289. -
  7290. -
  7291. -File: fileutils.info,  Node: What information is listed,  Next: Sorting the output,  Prev: Which files are listed,  Up: ls invocation
  7292. -
  7293. -What information is listed
  7294. ---------------------------
  7295. -
  7296. -   These options affect the information that `ls' displays.  By
  7297. -default, only file names are shown.
  7298. -
  7299. -`-D'
  7300. -`--dired'
  7301. -     With the long listing (`-l') format, print an additional line after
  7302. -     the main output:
  7303. -
  7304. -          //DIRED// BEG1 END1 BEG2 END2 ...
  7305. -
  7306. -     The BEGN and ENDN are unsigned integers which record the byte
  7307. -     position of the beginning and end of each file name in the output.
  7308. -     This makes it easy for Emacs to find the names, even when they
  7309. -     contain unusual characters such as space or newline, without fancy
  7310. -     searching.
  7311. -
  7312. -     If directories are being listed recursively (`-R'), output a
  7313. -     similar line after each subdirectory:
  7314. -          //SUBDIRED// BEG1 END1 ...
  7315. -
  7316. -`-G'
  7317. -`--no-group'
  7318. -     Inhibit display of group information in a long format directory
  7319. -     listing.  (This is the default in some non-GNU versions of `ls',
  7320. -     so we provide this option for compatibility.)
  7321. -
  7322. -`-i'
  7323. -`--inode'
  7324. -     Print the inode number (also called the file serial number and
  7325. -     index number) of each file to the left of the file name.  (This
  7326. -     number uniquely identifies each file within a particular
  7327. -     filesystem.)
  7328. -
  7329. -`-l'
  7330. -`--format=long'
  7331. -`--format=verbose'
  7332. -     In addition to the name of each file, print the file type,
  7333. -     permissions, number of hard links, owner name, group name, size in
  7334. -     bytes, and timestamp (by default, the modification time).  For
  7335. -     files with a time more than six months old or more than one hour
  7336. -     into the future, the timestamp contains the year instead of the
  7337. -     time of day.
  7338. -
  7339. -     For each directory that is listed, preface the files with a line
  7340. -     `total BLOCKS', where BLOCKS is the total disk space used by all
  7341. -     files in that directory.  By default, 1024-byte blocks are used;
  7342. -     if the environment variable `POSIXLY_CORRECT' is set, 512-byte
  7343. -     blocks are used (unless the `-k' option is given).  The BLOCKS
  7344. -     computed counts each hard link separately; this is arguably a
  7345. -     deficiency.
  7346. -
  7347. -     The permissions listed are similar to symbolic mode specifications
  7348. -     (*note Symbolic Modes::.).  But `ls' combines multiple bits into
  7349. -     the third character of each set of permissions as follows:
  7350. -    `s'
  7351. -          If the setuid or setgid bit and the corresponding executable
  7352. -          bit are both set.
  7353. -
  7354. -    `S'
  7355. -          If the setuid or setgid bit is set but the corresponding
  7356. -          executable bit is not set.
  7357. -
  7358. -    `t'
  7359. -          If the sticky bit and the other-executable bit are both set.
  7360. -
  7361. -    `T'
  7362. -          If the sticky bit is set but the other-executable bit is not
  7363. -          set.
  7364. -
  7365. -    `x'
  7366. -          If the executable bit is set and none of the above apply.
  7367. -
  7368. -    `-'
  7369. -          Otherwise.
  7370. -
  7371. -`-o'
  7372. -     Produce long format directory listings, but don't display group
  7373. -     information.  It is equivalent to using `--format=long' with
  7374. -     `--no-group' .  This option is provided for compatibility with
  7375. -     other versions of `ls'.
  7376. -
  7377. -`-s'
  7378. -`--size'
  7379. -     Print the size of each file in 1024-byte blocks to the left of the
  7380. -     file name.  If the environment variable `POSIXLY_CORRECT' is set,
  7381. -     512-byte blocks are used instead, unless the `-k' option is given
  7382. -     (*note General output formatting::.).
  7383. -
  7384. -     For files that are NFS-mounted from an HP-UX system to a BSD
  7385. -     system, this option reports sizes that are half the correct
  7386. -     values.  On HP-UX systems, it reports sizes that are twice the
  7387. -     correct values for files that are NFS-mounted from BSD systems.
  7388. -     This is due to a flaw in HP-UX; it also affects the HP-UX `ls'
  7389. -     program.
  7390. -
  7391. -
  7392. -File: fileutils.info,  Node: Sorting the output,  Next: General output formatting,  Prev: What information is listed,  Up: ls invocation
  7393. -
  7394. -Sorting the output
  7395. -------------------
  7396. -
  7397. -   These options change the order in which `ls' sorts the information
  7398. -it outputs.  By default, sorting is done by character code (e.g., ASCII
  7399. -order).
  7400. -
  7401. -`-c'
  7402. -`--time=ctime'
  7403. -`--time=status'
  7404. -     Sort according to the status change time (the `ctime' in the
  7405. -     inode).  If the long listing format (`-l') is being used, print the
  7406. -     status change time instead of the modification time.
  7407. -
  7408. -`-f'
  7409. -     Primarily, like `-U'--do not sort; list the files in whatever
  7410. -     order they are stored in the directory.  But also enable `-a' (list
  7411. -     all files) and disable `-l', `--color', and `-s' (if they were
  7412. -     specified before the `-f').
  7413. -
  7414. -`-r'
  7415. -`--reverse'
  7416. -     Reverse whatever the sorting method is--e.g., list files in reverse
  7417. -     alphabetical order, youngest first, smallest first, or whatever.
  7418. -
  7419. -`-S'
  7420. -`--sort=size'
  7421. -     Sort by file size, largest first.
  7422. -
  7423. -`-t'
  7424. -`--sort=time'
  7425. -     Sort by modification time (the `mtime' in the inode), newest first.
  7426. -
  7427. -`-u'
  7428. -`--time=atime'
  7429. -`--time=access'
  7430. -`--time=use'
  7431. -     Sort by access time (the `atime' in the inode).  If the long
  7432. -     listing format is being used, print the last access time.
  7433. -
  7434. -`-U'
  7435. -`--sort=none'
  7436. -     Do not sort; list the files in whatever order they are stored in
  7437. -     the directory.  (Do not do any of the other unrelated things that
  7438. -     `-f' does.)  This is especially useful when listing very large
  7439. -     directories, since not doing any sorting can be noticeably faster.
  7440. -
  7441. -`-X'
  7442. -`--sort=extension'
  7443. -     Sort directory contents alphabetically by file extension
  7444. -     (characters after the last `.'); files with no extension are
  7445. -     sorted first.
  7446. -
  7447. -
  7448. -File: fileutils.info,  Node: General output formatting,  Next: Formatting the file names,  Prev: Sorting the output,  Up: ls invocation
  7449. -
  7450. -General output formatting
  7451. --------------------------
  7452. -
  7453. -   These options affect the appearance of the overall output.
  7454. -
  7455. -`-1'
  7456. -`--format=single-column'
  7457. -     List one file per line.  This is the default for `ls' when standard
  7458. -     output is not a terminal.
  7459. -
  7460. -`-C'
  7461. -`--format=vertical'
  7462. -     List files in columns, sorted vertically.  This is the default for
  7463. -     `ls' if standard output is a terminal.  It is always the default
  7464. -     for the `dir' and `d' programs.
  7465. -
  7466. -`--color [=WHEN]'
  7467. -     Specify whether to use color for distinguishing file types.  WHEN
  7468. -     may be omitted, or one of:
  7469. -        * none Do not use color at all.  This is the default.
  7470. -
  7471. -        * auto Only use color if standard output is a terminal.
  7472. -
  7473. -        * always Always use color.  Specifying `--color' and no WHEN is
  7474. -     equivalent to `--color=always'.
  7475. -
  7476. -`-F'
  7477. -`--classify'
  7478. -     Append a character to each file name indicating the file type.
  7479. -     Also, for regular files that are executable, append `*'.  The file
  7480. -     type indicators are `/' for directories, `@' for symbolic links,
  7481. -     `|' for FIFOs, `=' for sockets, and nothing for regular files.
  7482. -
  7483. -`--full-time'
  7484. -     List times in full, rather than using the standard abbreviation
  7485. -     heuristics.  The format is the same as `date''s default; it's not
  7486. -     possible to change this, but you can extract out the date string
  7487. -     with `cut' and then pass the result to `date -d'.  *Note `date'
  7488. -     invocation: (sh-utils)date invocation.
  7489. -
  7490. -     This is most useful because the time output includes the seconds.
  7491. -     (Unix filesystems store file timestamps only to the nearest
  7492. -     second, so this option shows all the information there is.)  For
  7493. -     example, this can help when you have a Makefile that is not
  7494. -     regenerating files properly.
  7495. -
  7496. -`-k'
  7497. -`--kilobytes'
  7498. -     If file sizes are being listed, print them in kilobytes.  This
  7499. -     overrides the environment variable `POSIXLY_CORRECT'.
  7500. -
  7501. -`-m'
  7502. -`--format=commas'
  7503. -     List files horizontally, with as many as will fit on each line,
  7504. -     separated by `, ' (a comma and a space).
  7505. -
  7506. -`-n'
  7507. -`--numeric-uid-gid'
  7508. -     List the numeric UID and GID instead of the names.
  7509. -
  7510. -`-p'
  7511. -     Append a character to each file name indicating the file type.
  7512. -     This is like `-F', except that executables are not marked.
  7513. -
  7514. -`-x FORMAT'
  7515. -`--format=across'
  7516. -`--format=horizontal'
  7517. -     List the files in columns, sorted horizontally.
  7518. -
  7519. -`-T COLS'
  7520. -`--tabsize=COLS'
  7521. -     Assume that each tabstop is COLS columns wide.  The default is 8.
  7522. -     `ls' uses tabs where possible in the output, for efficiency.  If
  7523. -     COLS is zero, do not use tabs at all.
  7524. -
  7525. -`-w'
  7526. -`--width=COLS'
  7527. -     Assume the screen is COLS columns wide.  The default is taken from
  7528. -     the terminal settings if possible; otherwise the environment
  7529. -     variable `COLUMNS' is used if it is set; otherwise the default is
  7530. -     80.
  7531. -
  7532. -
  7533. -File: fileutils.info,  Node: Formatting the file names,  Prev: General output formatting,  Up: ls invocation
  7534. -
  7535. -Formatting the file names
  7536. --------------------------
  7537. -
  7538. -   These options change how file names themselves are printed.
  7539. -
  7540. -`-b'
  7541. -`--escape'
  7542. -     Quote nongraphic characters in file names using alphabetic and
  7543. -     octal backslash sequences like those used in C.
  7544. -
  7545. -`-N'
  7546. -`--literal'
  7547. -     Do not quote file names.
  7548. -
  7549. -`-q'
  7550. -`--hide-control-chars'
  7551. -     Print question marks instead of nongraphic characters in file
  7552. -     names.  This is the default.
  7553. -
  7554. -`-Q'
  7555. -`--quote-name'
  7556. -     Enclose file names in double quotes and quote nongraphic
  7557. -     characters as in C.
  7558. -
  7559. -
  7560. -File: fileutils.info,  Node: dir invocation,  Next: vdir invocation,  Prev: ls invocation,  Up: Directory listing
  7561. -
  7562. -`dir': Briefly list directory contents
  7563. -======================================
  7564. -
  7565. -   `dir' (also installed as `d') is equivalent to `ls -C'; that is,
  7566. -files are by default listed in columns, sorted vertically.
  7567. -
  7568. -   *Note `ls': ls invocation.
  7569. -
  7570. -
  7571. -File: fileutils.info,  Node: vdir invocation,  Next: dircolors invocation,  Prev: dir invocation,  Up: Directory listing
  7572. -
  7573. -`vdir': Verbosely list directory contents
  7574. -=========================================
  7575. -
  7576. -   `vdir' (also installed as `v')is equivalent to `ls -l'; that is,
  7577. -files are by default listed in long format.
  7578. -
  7579. -
  7580. -File: fileutils.info,  Node: dircolors invocation,  Prev: vdir invocation,  Up: Directory listing
  7581. -
  7582. -`dircolors': Color setup for `ls'
  7583. -=================================
  7584. -
  7585. -   `dircolors' outputs a sequence of shell commands to set up the
  7586. -terminal for color output from `ls' (and `dir', etc.).  Typical usage:
  7587. -
  7588. -     eval `dircolors [OPTION]... [FILE]`
  7589. -
  7590. -   If FILE is specified, `dircolors' reads it to determine which colors
  7591. -to use for which file types and extensions.  Otherwise, a precompiled
  7592. -database is used.  For details on the format of these files, run
  7593. -`dircolors --print-data-base'.
  7594. -
  7595. -   The output is a shell command to set the `LS_COLOR' environment
  7596. -variable.  You can specify the shell syntax to use on the command line,
  7597. -or `dircolors' will guess it from the value of the `SHELL' environment
  7598. -variable.
  7599. -
  7600. -   The program accepts the following options.  Also see *Note Common
  7601. -options::.
  7602. -
  7603. -`-b'
  7604. -`--sh'
  7605. -`--bourne-shell'
  7606. -     Output Bourne shell commands.  This is the default if the `SHELL'
  7607. -     environment variable is set and does not end with `csh' or `tcsh'.
  7608. -
  7609. -`-c'
  7610. -`--csh'
  7611. -`--c-shell'
  7612. -     Output C shell commands.  This is the default if `SHELL' ends with
  7613. -     `csh' or `tcsh'.
  7614. -
  7615. -`-p'
  7616. -`--print-data-base'
  7617. -     Print the (compiled-in) default color configuration database.  This
  7618. -     output is itself a valid configuration file, and is fairly
  7619. -     descriptive of the possibilities.
  7620. -
  7621. -
  7622. -File: fileutils.info,  Node: Basic operations,  Next: Special file types,  Prev: Directory listing,  Up: Top
  7623. -
  7624. -Basic operations
  7625. -****************
  7626. -
  7627. -   This chapter describes the commands for basic file manipulation:
  7628. -copying, moving (renaming), and deleting (removing).
  7629. -
  7630. -* Menu:
  7631. -
  7632. -* cp invocation::               Copy files.
  7633. -* dd invocation::               Convert and copy a file.
  7634. -* install invocation::          Copy files and set attributes.
  7635. -* mv invocation::               Move (rename) files.
  7636. -* rm invocation::               Remove files or directories.
  7637. -
  7638. diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.info-2 amiga/fsf/fileutils/doc/fileutils.info-2
  7639. --- baseline/fsf/fileutils/doc/fileutils.info-2    Thu Jul 11 20:26:04 1996
  7640. +++ amiga/fsf/fileutils/doc/fileutils.info-2    Wed Dec 31 17:00:00 1969
  7641. @@ -1,1215 +0,0 @@
  7642. -This is Info file ./fileutils.info, produced by Makeinfo-1.63 from the
  7643. -input file fileutils.texi.
  7644. -
  7645. -START-INFO-DIR-ENTRY
  7646. -* File utilities: (fileutils).  GNU file utilities.
  7647. -* chgrp: (fileutils)chgrp invocation.           Change file groups.
  7648. -* chown: (fileutils)chown invocation.           Change file owners/groups.
  7649. -* chmod: (fileutils)chmod invocation.           Change file permissions.
  7650. -* cp: (fileutils)cp invocation.                 Copy files.
  7651. -* dd: (fileutils)dd invocation.                 Copy and convert a file.
  7652. -* df: (fileutils)df invocation.                 Report filesystem disk usage.
  7653. -* dir: (fileutils)dir invocation.               List directories briefly.
  7654. -* dircolors: (fileutils)dircolors invocation.   Color setup for ls.
  7655. -* du: (fileutils)du invocation.                 Report on disk usage.
  7656. -* install: (fileutils)install invocation.       Copy and change attributes.
  7657. -* ln: (fileutils)ln invocation.                 Make links between files.
  7658. -* ls: (fileutils)ls invocation.                 List directory contents.
  7659. -* mkdir: (fileutils)mkdir invocation.           Create directories.
  7660. -* mkfifo: (fileutils)mkfifo invocation.         Create FIFOs: (named pipes).
  7661. -* mknod: (fileutils)mknod invocation.           Create special files.
  7662. -* mv: (fileutils)mv invocation.                 Rename files.
  7663. -* rm: (fileutils)rm invocation.                 Remove files.
  7664. -* rmdir: (fileutils)rmdir invocation.           Remove empty directories.
  7665. -* sync: (fileutils)sync invocation.             Synchronize memory and disk.
  7666. -* touch: (fileutils)touch invocation.           Change file timestamps.
  7667. -* vdir: (fileutils)vdir invocation.             List directories verbosely.
  7668. -END-INFO-DIR-ENTRY
  7669. -
  7670. -   This file documents the GNU set of file utilities.
  7671. -
  7672. -   Copyright (C) 1994, 95, 96 Free Software Foundation, Inc.
  7673. -
  7674. -   Permission is granted to make and distribute verbatim copies of this
  7675. -manual provided the copyright notice and this permission notice are
  7676. -preserved on all copies.
  7677. -
  7678. -   Permission is granted to copy and distribute modified versions of
  7679. -this manual under the conditions for verbatim copying, provided that
  7680. -the entire resulting derived work is distributed under the terms of a
  7681. -permission notice identical to this one.
  7682. -
  7683. -   Permission is granted to copy and distribute translations of this
  7684. -manual into another language, under the above conditions for modified
  7685. -versions, except that this permission notice may be stated in a
  7686. -translation approved by the Foundation.
  7687. -
  7688. -
  7689. -File: fileutils.info,  Node: cp invocation,  Next: dd invocation,  Up: Basic operations
  7690. -
  7691. -`cp': Copy files and directories
  7692. -================================
  7693. -
  7694. -   `cp' copies files (or, optionally, directories).  The copy is
  7695. -completely independent of the original.  You can either copy one file to
  7696. -another, or copy arbitrarily many files to a destination directory.
  7697. -Synopsis:
  7698. -
  7699. -     cp [OPTION]... SOURCE DEST
  7700. -     cp [OPTION]... SOURCE... DIRECTORY
  7701. -
  7702. -   If the last argument names an existing directory, `cp' copies each
  7703. -SOURCE file into that directory (retaining the same name).  Otherwise,
  7704. -if only two files are given, it copies the first onto the second.  It
  7705. -is an error if the last argument is not a directory and more than two
  7706. -non-option arguments are given.
  7707. -
  7708. -   Generally, files are written just as they are read.  For exceptions,
  7709. -see the `--sparse' option below.
  7710. -
  7711. -   By default, `cp' does not copy directories (see `-r' below).
  7712. -
  7713. -   `cp' generally refuses to copy a file onto itself, with the
  7714. -following exception: if `--force --backup' is specified with SOURCE and
  7715. -DEST identical, and referring to a regular file, `cp' will make a
  7716. -backup file, either regular or numbered, as specified in the usual ways
  7717. -(*note Backup options::.).  This is useful when you simply want to make
  7718. -a backup of an existing file before changing it.
  7719. -
  7720. -   The program accepts the following options.  Also see *Note Common
  7721. -options::.
  7722. -
  7723. -`-a'
  7724. -`--archive'
  7725. -     Preserve as much as possible of the structure and attributes of the
  7726. -     original files in the copy (but do not preserve directory
  7727. -     structure).  Equivalent to `-dpR'.
  7728. -
  7729. -`-b'
  7730. -`--backup'
  7731. -     Make backups of files that are about to be overwritten or removed.
  7732. -     *Note Backup options::.
  7733. -
  7734. -`-d'
  7735. -`--no-dereference'
  7736. -     Copy symbolic links as symbolic links rather than copying the
  7737. -     files that they point to, and preserve hard links between source
  7738. -     files in the copies.
  7739. -
  7740. -`-f'
  7741. -`--force'
  7742. -     Remove existing destination files.
  7743. -
  7744. -`-i'
  7745. -`--interactive'
  7746. -     Prompt whether to overwrite existing regular destination files.
  7747. -
  7748. -`-l'
  7749. -`--link'
  7750. -     Make hard links instead of copies of non-directories.
  7751. -
  7752. -`-p'
  7753. -`--preserve'
  7754. -     Preserve the original files' owner, group, permissions, and
  7755. -     timestamps.
  7756. -
  7757. -`-P'
  7758. -`--parents'
  7759. -     Form the name of each destination file by appending to the target
  7760. -     directory a slash and the specified name of the source file.  The
  7761. -     last argument given to `cp' must be the name of an existing
  7762. -     directory.  For example, the command:
  7763. -
  7764. -          cp --parents a/b/c existing_dir
  7765. -
  7766. -     copies the file `a/b/c' to `existing_dir/a/b/c', creating any
  7767. -     missing intermediate directories.
  7768. -
  7769. -`-r'
  7770. -     Copy directories recursively, copying any non-directories and
  7771. -     non-symbolic links (that is, FIFOs and special files) as if they
  7772. -     were regular files.  This means trying to read the data in each
  7773. -     source file and writing it to the destination.  Thus, with this
  7774. -     option, `cp' may well hang indefinitely reading a FIFO, unless
  7775. -     something else happens to be writing it.
  7776. -
  7777. -`-R'
  7778. -`--recursive'
  7779. -     Copy directories recursively, preserving non-directories (see `-r'
  7780. -     just above).
  7781. -
  7782. -`--sparse=WHEN'
  7783. -     A "sparse file" contains "holes"--a sequence of zero bytes that
  7784. -     does not occupy any physical disk blocks; the `read' system call
  7785. -     reads these as zeroes.  This can both save considerable disk space
  7786. -     and increase speed, since many binary files contain lots of
  7787. -     consecutive zero bytes.  By default, `cp' detects holes in input
  7788. -     source files via a crude heuristic and makes the corresponding
  7789. -     output file sparse as well.
  7790. -
  7791. -     The WHEN value can be one of the following:
  7792. -    `auto'
  7793. -          The default behavior: the output file is sparse if the input
  7794. -          file is sparse.
  7795. -
  7796. -    `always'
  7797. -          Always make the output file sparse.  This is useful when the
  7798. -          input file resides on a filesystem that does not support
  7799. -          sparse files (the most notable example is `efs' filesystems
  7800. -          in SGI IRIX 5.3 and earlier), but the output file is on
  7801. -          another type of filesystem.
  7802. -
  7803. -    `never'
  7804. -          Never make the output file sparse.  If you find an
  7805. -          application for this option, let us know.
  7806. -
  7807. -`-s'
  7808. -`--symbolic-link'
  7809. -     Make symbolic links instead of copies of non-directories.  All
  7810. -     source file names must be absolute (starting with `/') unless the
  7811. -     destination files are in the current directory.  This option merely
  7812. -     results in an error message on systems that do not support
  7813. -     symbolic links.
  7814. -
  7815. -`-S SUFFIX'
  7816. -`--suffix=SUFFIX'
  7817. -     Append SUFFIX to each backup file made with `-b'.  *Note Backup
  7818. -     options::.
  7819. -
  7820. -`-u'
  7821. -`--update'
  7822. -     Do not copy a nondirectory that has an existing destination with
  7823. -     the same or newer modification time.
  7824. -
  7825. -`-v'
  7826. -`--verbose'
  7827. -     Print the name of each file before copying it.
  7828. -
  7829. -`-V METHOD'
  7830. -`--version-control=METHOD'
  7831. -     Change the type of backups made with `-b'.  The METHOD argument
  7832. -     can be `numbered' (or `t'), `existing' (or `nil'), or `never' (or
  7833. -     `simple').  *Note Backup options::.
  7834. -
  7835. -`-x'
  7836. -`--one-file-system'
  7837. -     Skip subdirectories that are on different filesystems from the one
  7838. -     that the copy started on.
  7839. -
  7840. -
  7841. -File: fileutils.info,  Node: dd invocation,  Next: install invocation,  Prev: cp invocation,  Up: Basic operations
  7842. -
  7843. -`dd': Convert and copy a file
  7844. -=============================
  7845. -
  7846. -   `dd' copies a file (from standard input to standard output, by
  7847. -default) with a changeable I/O blocksize, while optionally performing
  7848. -conversions on it.  Synopsis:
  7849. -
  7850. -     dd [OPTION]...
  7851. -
  7852. -   The program accepts the following options.  Also see *Note Common
  7853. -options::.
  7854. -
  7855. -   The numeric-valued options below (BYTES and BLOCKS) can be followed
  7856. -by a multiplier: `b'=512, `c'=1, `k'=1024, `w'=2, `xM'=M.
  7857. -
  7858. -`if=FILE'
  7859. -     Read from FILE instead of standard input.
  7860. -
  7861. -`of=FILE'
  7862. -     Write to FILE instead of standard output.  Unless `conv=notrunc'
  7863. -     is given, `dd' truncates FILE to zero bytes (or the size specified
  7864. -     with `seek=').
  7865. -
  7866. -`ibs=BYTES'
  7867. -     Read BYTES bytes at a time.
  7868. -
  7869. -`obs=BYTES'
  7870. -     Write BYTES bytes at a time.
  7871. -
  7872. -`bs=BYTES'
  7873. -     Both read and write BYTES bytes at a time.  This overrides `ibs'
  7874. -     and `obs'.
  7875. -
  7876. -`cbs=BYTES'
  7877. -     Convert BYTES bytes at a time.
  7878. -
  7879. -`skip=BLOCKS'
  7880. -     Skip BLOCKS `ibs'-byte blocks in the input file before copying.
  7881. -
  7882. -`seek=BLOCKS'
  7883. -     Skip BLOCKS `obs'-byte blocks in the output file before copying.
  7884. -
  7885. -`count=BLOCKS'
  7886. -     Copy BLOCKS `obs'-byte blocks from the input file, instead of
  7887. -     everything until the end of the file.
  7888. -
  7889. -`conv=CONVERSION[,CONVERSION]...'
  7890. -     Convert the file as specified by the CONVERSION argument(s).  (No
  7891. -     spaces around any comma(s).)
  7892. -
  7893. -     Conversions:
  7894. -
  7895. -    `ascii'
  7896. -          Convert EBCDIC to ASCII.
  7897. -
  7898. -    `ebcdic'
  7899. -          Convert ASCII to EBCDIC.
  7900. -
  7901. -    `ibm'
  7902. -          Convert ASCII to alternate EBCDIC.
  7903. -
  7904. -    `block'
  7905. -          For each line in the input, output `cbs' bytes, replacing the
  7906. -          input newline with a space and padding with spaces as
  7907. -          necessary.
  7908. -
  7909. -    `unblock'
  7910. -          Replace trailing spaces in each `cbs'-sized input block with a
  7911. -          newline.
  7912. -
  7913. -    `lcase'
  7914. -          Change uppercase letters to lowercase.
  7915. -
  7916. -    `ucase'
  7917. -          Change lowercase letters to uppercase.
  7918. -
  7919. -    `swab'
  7920. -          Swap every pair of input bytes.  GNU `dd', unlike others,
  7921. -          works when an odd number of bytes are read--the last byte is
  7922. -          simply copied (since there is nothing to swap it with).
  7923. -
  7924. -    `noerror'
  7925. -          Continue after read errors.
  7926. -
  7927. -    `notrunc'
  7928. -          Do not truncate the output file.
  7929. -
  7930. -    `sync'
  7931. -          Pad every input block to size of `ibs' with trailing zero
  7932. -          bytes.
  7933. -
  7934. -
  7935. -File: fileutils.info,  Node: install invocation,  Next: mv invocation,  Prev: dd invocation,  Up: Basic operations
  7936. -
  7937. -`install': Copy files and set attributes
  7938. -========================================
  7939. -
  7940. -   `install' copies files while setting their permission modes and, if
  7941. -possible, their owner and group.  Synopses:
  7942. -
  7943. -     install [OPTION]... SOURCE DEST
  7944. -     install [OPTION]... SOURCE... DIRECTORY
  7945. -     install -d [OPTION]... DIRECTORY...
  7946. -
  7947. -   In the first of these, the SOURCE file is copied to the DEST target
  7948. -file.  In the second, each of the SOURCE files are copied to the
  7949. -destination DIRECTORY.  In the last, each DIRECTORY (and any missing
  7950. -parent directories) is created.
  7951. -
  7952. -   `install' is similar to `cp', but allows you to control the
  7953. -attributes of destination files.  It is typically used in Makefiles to
  7954. -copy programs into their destination directories.  It refuses to copy
  7955. -files onto themselves.
  7956. -
  7957. -   The program accepts the following options.  Also see *Note Common
  7958. -options::.
  7959. -
  7960. -`-b'
  7961. -`--backup'
  7962. -     Make backups of files that are about to be overwritten or removed.
  7963. -     *Note Backup options::.
  7964. -
  7965. -`-c'
  7966. -     Ignored; for compatibility with old Unix versions of `install'.
  7967. -
  7968. -`-d'
  7969. -`--directory'
  7970. -     Create each given directory and any missing parent directories,
  7971. -     setting the owner, group and mode as given on the command line or
  7972. -     to the defaults.  It also gives any parent directories it creates
  7973. -     those attributes.  (This is different from the SunOS 4.x
  7974. -     `install', which gives directories that it creates the default
  7975. -     attributes.)
  7976. -
  7977. -`-g GROUP'
  7978. -`--group=GROUP'
  7979. -     Set the group ownership of installed files or directories to
  7980. -     GROUP. The default is the process's current group.  GROUP may be
  7981. -     either a group name or a numeric group id.
  7982. -
  7983. -`-m MODE'
  7984. -`--mode=MODE'
  7985. -     Set the permissions for the installed file or directory to MODE,
  7986. -     which can be either an octal number, or a symbolic mode as in
  7987. -     `chmod', with 0 as the point of departure (*note File
  7988. -     permissions::.).  The default mode is 0755--read, write, and
  7989. -     execute for the owner, and read and execute for group and other.
  7990. -
  7991. -`-o OWNER'
  7992. -`--owner=OWNER'
  7993. -     If `install' has appropriate privileges (is run as root), set the
  7994. -     ownership of installed files or directories to OWNER. The default
  7995. -     is `root'.  OWNER may be either a user name or a numeric user ID.
  7996. -
  7997. -`-s'
  7998. -`--strip'
  7999. -     Strip the symbol tables from installed binary executables.
  8000. -
  8001. -`-S SUFFIX'
  8002. -`--suffix=SUFFIX'
  8003. -     Append SUFFIX to each backup file made with `-b'.  *Note Backup
  8004. -     options::.
  8005. -
  8006. -`-V METHOD'
  8007. -`--version-control=METHOD'
  8008. -     Change the type of backups made with `-b'.  The METHOD argument
  8009. -     can be `numbered' (or `t'), `existing' (or `nil'), or `never' (or
  8010. -     `simple').  *Note Backup options::.
  8011. -
  8012. -
  8013. -File: fileutils.info,  Node: mv invocation,  Next: rm invocation,  Prev: install invocation,  Up: Basic operations
  8014. -
  8015. -`mv': Move (rename) files
  8016. -=========================
  8017. -
  8018. -   `mv' moves or renames files (or directories).  Synopsis:
  8019. -
  8020. -     mv [OPTION]... SOURCE DEST
  8021. -     mv [OPTION]... SOURCE... DIRECTORY
  8022. -
  8023. -   If the last argument names an existing directory, `mv' moves each
  8024. -other given file into a file with the same name in that directory.
  8025. -Otherwise, if only two files are given, it renames the first as the
  8026. -second.  It is an error if the last argument is not a directory and
  8027. -more than two files are given.
  8028. -
  8029. -   `mv' can move only regular files across filesystems.
  8030. -
  8031. -   If a destination file exists but is normally unwritable, standard
  8032. -input is a terminal, and the `-f' or `--force' option is not given,
  8033. -`mv' prompts the user for whether to replace the file.  (You might own
  8034. -the file, or have write permission on its directory.)  If the response
  8035. -does not begin with `y' or `Y', the file is skipped.
  8036. -
  8037. -   The program accepts the following options.  Also see *Note Common
  8038. -options::.
  8039. -
  8040. -`-b'
  8041. -`--backup'
  8042. -     Make backups of files that are about to be overwritten or removed.
  8043. -     *Note Backup options::.
  8044. -
  8045. -`-f'
  8046. -`--force'
  8047. -     Remove existing destination files and never prompt the user.
  8048. -
  8049. -`-i'
  8050. -`--interactive'
  8051. -     Prompt whether to overwrite each existing destination file,
  8052. -     regardless of its permissions.  If the response does not begin
  8053. -     with `y' or `Y', the file is skipped.
  8054. -
  8055. -`-u'
  8056. -`--update'
  8057. -     Do not move a nondirectory that has an existing destination with
  8058. -     the same or newer modification time.
  8059. -
  8060. -`-v'
  8061. -`--verbose'
  8062. -     Print the name of each file before moving it.
  8063. -
  8064. -`-S SUFFIX'
  8065. -`--suffix=SUFFIX'
  8066. -     Append SUFFIX to each backup file made with `-b'.  *Note Backup
  8067. -     options::.
  8068. -
  8069. -`-V METHOD'
  8070. -`--version-control=METHOD'
  8071. -     Change the type of backups made with `-b'.  The METHOD argument
  8072. -     can be `numbered' (or `t'), `existing' (or `nil'), or `never' (or
  8073. -     `simple').  *Note Backup options::.
  8074. -
  8075. -
  8076. -File: fileutils.info,  Node: rm invocation,  Prev: mv invocation,  Up: Basic operations
  8077. -
  8078. -`rm': Remove files or directories
  8079. -=================================
  8080. -
  8081. -   `rm' removes each given FILE.  By default, it does not remove
  8082. -directories.  Synopsis:
  8083. -
  8084. -     rm [OPTION]... [FILE]...
  8085. -
  8086. -   If a file is unwritable, standard input is a terminal, and the `-f'
  8087. -or `--force' option is not given, or the `-i' or `--interactive' option
  8088. -*is* given, `rm' prompts the user for whether to remove the file.  If
  8089. -the response does not begin with `y' or `Y', the file is skipped.
  8090. -
  8091. -   The program accepts the following options.  Also see *Note Common
  8092. -options::.
  8093. -
  8094. -`-d'
  8095. -`--directory'
  8096. -     Remove directories with `unlink' instead of `rmdir', and don't
  8097. -     require a directory to be empty before trying to unlink it.  Only
  8098. -     works if you have appropriate privileges.  Because unlinking a
  8099. -     directory causes any files in the deleted directory to become
  8100. -     unreferenced, it is wise to `fsck' the filesystem after doing this.
  8101. -
  8102. -`-f'
  8103. -`--force'
  8104. -     Ignore nonexistent files and never prompt the user.
  8105. -
  8106. -`-i'
  8107. -`--interactive'
  8108. -     Prompt whether to remove each file.  If the response does not begin
  8109. -     with `y' or `Y', the file is skipped.
  8110. -
  8111. -`-r'
  8112. -`-R'
  8113. -`--recursive'
  8114. -     Remove the contents of directories recursively.
  8115. -
  8116. -`-v'
  8117. -`--verbose'
  8118. -     Print the name of each file before removing it.
  8119. -
  8120. -   One common question is how to remove files whose names being with a
  8121. -`-'.  GNU `rm', like every program that uses the `getopt' function to
  8122. -parse its arguments, lets you use the `--' option to indicate that all
  8123. -following arguments are non-options.  To remove a file called `-f' in
  8124. -the current directory, you could type either:
  8125. -
  8126. -     rm -- -f
  8127. -
  8128. -or:
  8129. -
  8130. -     rm ./-f
  8131. -
  8132. -   The Unix `rm' program's use of a single `-' for this purpose
  8133. -predates the development of the getopt standard syntax.
  8134. -
  8135. -
  8136. -File: fileutils.info,  Node: Special file types,  Next: Changing file attributes,  Prev: Basic operations,  Up: Top
  8137. -
  8138. -Special file types
  8139. -******************
  8140. -
  8141. -   This chapter describes commands which create special types of files
  8142. -(and `rmdir', which removes directories, one special file type).
  8143. -
  8144. -   Although Unix-like operating systems have markedly fewer special file
  8145. -types than others, not *everything* can be treated only as the
  8146. -undifferentiated byte stream of "normal files".  For example, when a
  8147. -file is created or removed, the system must record this information,
  8148. -which it does in a "directory"--a special type of file.  Although you
  8149. -can read directories as normal files, if you're curious, in order for
  8150. -the system to do its job it must impose a structure, a certain order,
  8151. -on the bytes of the file.  Thus it is a "special" type of file.
  8152. -
  8153. -   Besides directories, other special file types include named pipes
  8154. -(FIFOs), symbolic links, sockets, and so-called "special files".
  8155. -
  8156. -* Menu:
  8157. -
  8158. -* ln invocation::               Make links between files.
  8159. -* mkdir invocation::            Make directories.
  8160. -* mkfifo invocation::           Make FIFOs (named pipes).
  8161. -* mknod invocation::            Make block or character special files.
  8162. -* rmdir invocation::            Remove empty directories.
  8163. -
  8164. -
  8165. -File: fileutils.info,  Node: ln invocation,  Next: mkdir invocation,  Up: Special file types
  8166. -
  8167. -`ln': Make links between files
  8168. -==============================
  8169. -
  8170. -   `ln' makes links between files.  By default, it makes hard links;
  8171. -with the `-s' option, it makes symbolic (or "soft") links.  Synopses:
  8172. -
  8173. -     ln [OPTION]... SOURCE [DEST]
  8174. -     ln [OPTION]... SOURCE... DIRECTORY
  8175. -
  8176. -   If the last argument names an existing directory, `ln' links each
  8177. -SOURCE file into a file with the same name in that directory.  (But see
  8178. -the description of the `--no-dereference' option below.) If only one
  8179. -file is given, it links that file into the current directory.
  8180. -Otherwise, if only two files are given, it links the first onto the
  8181. -second.  It is an error if the last argument is not a directory and more
  8182. -than two files are given.  By default, it does not remove existing
  8183. -files.
  8184. -
  8185. -   A "hard link" is another name for an existing file; the link and the
  8186. -original are indistinguishable.  (Technically speaking, they share the
  8187. -same inode, and the inode contains all the information about a
  8188. -file--indeed, it is not incorrect to say that the inode *is* the file.)
  8189. -On all existing implementations, you cannot make a hard links to
  8190. -directories, and hard links cannot cross filesystem boundaries.  (These
  8191. -restrictions are not mandated by POSIX, however.)
  8192. -
  8193. -   "Symbolic links" ("symlinks" for short), on the other hand, are a
  8194. -special file type (which not all kernels support; in particular, system
  8195. -V release 3 (and older) systems lack symlinks) in which the link file
  8196. -actually refers to a different file, by name.  When most operations
  8197. -(opening, reading, writing, and so on) are passed the symbolic link
  8198. -file, the kernel automatically "dereferences" the link and operates on
  8199. -the target of the link.  But some operations (e.g., removing) work on
  8200. -the link file itself, rather than on its target.  *Note Symbolic Links:
  8201. -(library)Symbolic Links.
  8202. -
  8203. -   The program accepts the following options.  Also see *Note Common
  8204. -options::.
  8205. -
  8206. -`-b'
  8207. -`--backup'
  8208. -     Make backups of files that are about to be overwritten or removed.
  8209. -     *Note Backup options::.
  8210. -
  8211. -`-d'
  8212. -`-F'
  8213. -`--directory'
  8214. -     Allow the super-user to make hard links to directories.
  8215. -
  8216. -`-f'
  8217. -`--force'
  8218. -     Remove existing destination files.
  8219. -
  8220. -`-i'
  8221. -`--interactive'
  8222. -     Prompt whether to remove existing destination files.
  8223. -
  8224. -`-n'
  8225. -`--no-dereference'
  8226. -     When given an explicit destination that is a symlink to a
  8227. -     directory, treat that destination as if it were a normal file.
  8228. -
  8229. -     When the destination is an actual directory (not a symlink to one),
  8230. -     there is no ambiguity.  The link is created in that directory.
  8231. -     But when the specified destination is a symlink to a directory,
  8232. -     there are two ways to treat the user's request.  `ln' can treat
  8233. -     the destination just as it would a normal directory and create the
  8234. -     link in it.  On the other hand, the destination can be viewed as a
  8235. -     non-directory--as the symlink itself.  In that case, `ln' must
  8236. -     delete or backup that symlink before creating the new link.  The
  8237. -     default is to treat a destination that is a symlink to a directory
  8238. -     just like a directory.
  8239. -
  8240. -`-s'
  8241. -`--symbolic'
  8242. -     Make symbolic links instead of hard links.  This option merely
  8243. -     produces an error message on systems that do not support symbolic
  8244. -     links.
  8245. -
  8246. -`-v'
  8247. -`--verbose'
  8248. -     Print the name of each file before linking it.
  8249. -
  8250. -`-S SUFFIX'
  8251. -`--suffix=SUFFIX'
  8252. -     Append SUFFIX to each backup file made with `-b'.  *Note Backup
  8253. -     options::.
  8254. -
  8255. -`-V METHOD'
  8256. -`--version-control=METHOD'
  8257. -     Change the type of backups made with `-b'.  The METHOD argument
  8258. -     can be `numbered' (or `t'), `existing' (or `nil'), or `never' (or
  8259. -     `simple').  *Note Backup options::.
  8260. -
  8261. -
  8262. -File: fileutils.info,  Node: mkdir invocation,  Next: mkfifo invocation,  Prev: ln invocation,  Up: Special file types
  8263. -
  8264. -`mkdir': Make directories
  8265. -=========================
  8266. -
  8267. -   `mkdir' creates directories with the specified names.  Synopsis:
  8268. -
  8269. -     mkdir [OPTION]... NAME...
  8270. -
  8271. -   It is not an error if a NAME is already a directory; `mkdir' simply
  8272. -proceeds.  But if a NAME is an existing file and is anything but a
  8273. -directory, `mkdir' complains.
  8274. -
  8275. -   The program accepts the following options.  Also see *Note Common
  8276. -options::.
  8277. -
  8278. -`-m MODE'
  8279. -`--mode=MODE'
  8280. -     Set the mode of created directories to MODE, which is symbolic as
  8281. -     in `chmod' and uses 0777 (read, write and execute allowed for
  8282. -     everyone) minus the bits set in the umask for the point of the
  8283. -     departure.  *Note File permissions::.
  8284. -
  8285. -`-p'
  8286. -`--parents'
  8287. -     Make any missing parent directories for each argument.  The mode
  8288. -     for parent directories is set to the umask modified by `u+wx'.
  8289. -     Ignore arguments corresponding to existing directories.
  8290. -
  8291. -`--verbose'
  8292. -     Print a message for each created directory.  This is most useful
  8293. -     with `--parents'.
  8294. -
  8295. -
  8296. -File: fileutils.info,  Node: mkfifo invocation,  Next: mknod invocation,  Prev: mkdir invocation,  Up: Special file types
  8297. -
  8298. -`mkfifo': Make FIFOs (named pipes)
  8299. -==================================
  8300. -
  8301. -   `mkfifo' creates FIFOs (also called "named pipes") with the
  8302. -specified names.  Synopsis:
  8303. -
  8304. -     mkfifo [OPTION] NAME...
  8305. -
  8306. -   A "FIFO" is a special file type that permits independent processes
  8307. -to communicate.  One process opens the FIFO file for writing, and
  8308. -another for reading, after which data can flow as with the usual
  8309. -anonymous pipe in shells or elsewhere.
  8310. -
  8311. -   The program accepts the following option.  Also see *Note Common
  8312. -options::.
  8313. -
  8314. -`-m MODE'
  8315. -`--mode=MODE'
  8316. -     Set the mode of created FIFOs to MODE, which is symbolic as in
  8317. -     `chmod' and uses 0666 (read and write allowed for everyone) minus
  8318. -     the bits set in the umask for the point of departure.  *Note File
  8319. -     permissions::.
  8320. -
  8321. -
  8322. -File: fileutils.info,  Node: mknod invocation,  Next: rmdir invocation,  Prev: mkfifo invocation,  Up: Special file types
  8323. -
  8324. -`mknod': Make block or character special files
  8325. -==============================================
  8326. -
  8327. -   `mknod' creates a FIFO, character special file, or block special
  8328. -file with the specified name.  Synopsis:
  8329. -
  8330. -     mknod [OPTION]... NAME TYPE [MAJOR MINOR]
  8331. -
  8332. -   Unlike the phrase "special file type" above, the term "special file"
  8333. -has a technical meaning on Unix: something that can generate or receive
  8334. -data.  Usually this corresponds to a physical piece of hardware, e.g.,
  8335. -a printer or a disk.  (These files are typically created at
  8336. -system-configuration time.)  The `mknod' command is what creates files
  8337. -of this type.  Such devices can be read either a character at a time or
  8338. -a "block" (many characters) at a time, hence we say there are "block
  8339. -special" files and "character special" files.
  8340. -
  8341. -   The arguments after NAME specify the type of file to make:
  8342. -
  8343. -`p'
  8344. -     for a FIFO
  8345. -
  8346. -`b'
  8347. -     for a block (buffered) special file
  8348. -
  8349. -`c'
  8350. -     for a character (buffered) special file
  8351. -
  8352. -`u'
  8353. -     for a character (unbuffered) special file
  8354. -
  8355. -   When making a block or character special file, the major and minor
  8356. -device numbers must be given after the file type.
  8357. -
  8358. -   The program accepts the following option.  Also see *Note Common
  8359. -options::.
  8360. -
  8361. -`-m MODE'
  8362. -`--mode=MODE'
  8363. -     Set the mode of created files to MODE, which is symbolic as in
  8364. -     `chmod' and uses 0666 minus the bits set in the umask as the point
  8365. -     of departure.  *Note File permissions::.
  8366. -
  8367. -
  8368. -File: fileutils.info,  Node: rmdir invocation,  Prev: mknod invocation,  Up: Special file types
  8369. -
  8370. -`rmdir': Remove empty directories
  8371. -=================================
  8372. -
  8373. -   `rmdir' removes empty directories.  Synopsis:
  8374. -
  8375. -     rmdir [OPTION]... DIRECTORY...
  8376. -
  8377. -   If any DIRECTORY argument does not refer to an existing empty
  8378. -directory, it is an error.
  8379. -
  8380. -   The program accepts the following option.  Also see *Note Common
  8381. -options::.
  8382. -
  8383. -`-p'
  8384. -`--parents'
  8385. -     Remove any parent directories that become empty after an argument
  8386. -     DIRECTORY is removed.
  8387. -
  8388. -   *Note rm invocation::, for how to remove non-empty directories
  8389. -(recursively).
  8390. -
  8391. -
  8392. -File: fileutils.info,  Node: Changing file attributes,  Next: Disk usage,  Prev: Special file types,  Up: Top
  8393. -
  8394. -Changing file attributes
  8395. -************************
  8396. -
  8397. -   A file is not merely its contents, a name, and a file type (*note
  8398. -Special file types::.).  A file also has an owner (a userid), a group
  8399. -(a group id), permissions (what the owner can do with the file, what
  8400. -people in the group can do, and what everyone else can do), various
  8401. -timestamps, and other information.  Collectively, we call these a file's
  8402. -"attributes".
  8403. -
  8404. -   These commands change file attributes.
  8405. -
  8406. -* Menu:
  8407. -
  8408. -* chown invocation::            Change file owners and groups.
  8409. -* chgrp invocation::            Change file groups.
  8410. -* chmod invocation::            Change access permissions.
  8411. -* touch invocation::            Change file timestamps.
  8412. -
  8413. -
  8414. -File: fileutils.info,  Node: chown invocation,  Next: chgrp invocation,  Up: Changing file attributes
  8415. -
  8416. -`chown': Change file owner and group
  8417. -====================================
  8418. -
  8419. -   `chown' changes the user and/or group ownership of each given file.
  8420. -Synopsis:
  8421. -
  8422. -     chown [OPTION]... NEW-OWNER FILE...
  8423. -
  8424. -   The first non-option argument, NEW-OWNER, specifies the new owner
  8425. -and/or group, as follows (with no embedded white space):
  8426. -
  8427. -     [OWNER] [ [:.] [GROUP] ]
  8428. -
  8429. -   Specifically:
  8430. -
  8431. -OWNER
  8432. -     If only an OWNER (a user name or numeric user id) is given, that
  8433. -     user is made the owner of each given file, and the files' group is
  8434. -     not changed.
  8435. -
  8436. -OWNER`.'GROUP
  8437. -OWNER`:'GROUP
  8438. -     If the OWNER is followed by a colon or dot and a GROUP (a group
  8439. -     name or numeric group id), with no spaces between them, the group
  8440. -     ownership of the files is changed as well (to GROUP).
  8441. -
  8442. -OWNER`.'
  8443. -OWNER`:'
  8444. -     If a colon or dot but no group name follows OWNER, that user is
  8445. -     made the owner of the files and the group of the files is changed
  8446. -     to OWNER's login group.
  8447. -
  8448. -`.'GROUP
  8449. -`:'GROUP
  8450. -     If the colon or dot and following GROUP are given, but the owner
  8451. -     is omitted, only the group of the files is changed; in this case,
  8452. -     `chown' performs the same function as `chgrp'.
  8453. -
  8454. -   The program accepts the following options.  Also see *Note Common
  8455. -options::.
  8456. -
  8457. -`-c'
  8458. -`--changes'
  8459. -     Verbosely describe the action for each FILE whose ownership
  8460. -     actually changes.
  8461. -
  8462. -`-f'
  8463. -`--silent'
  8464. -`--quiet'
  8465. -     Do not print error messages about files whose ownership cannot be
  8466. -     changed.
  8467. -
  8468. -`-f'
  8469. -`--no-dereference'
  8470. -     Act on symbolic links themselves instead of what they point to.
  8471. -     Only available if the `lchown' system call is provided.
  8472. -
  8473. -`-v'
  8474. -`--verbose'
  8475. -     Verbosely describe the action (or non-action) taken for every FILE.
  8476. -
  8477. -`-R'
  8478. -`--recursive'
  8479. -     Recursively change ownership of directories and their contents.
  8480. -
  8481. -
  8482. -File: fileutils.info,  Node: chgrp invocation,  Next: chmod invocation,  Prev: chown invocation,  Up: Changing file attributes
  8483. -
  8484. -`chgrp': Change group ownership
  8485. -===============================
  8486. -
  8487. -   `chgrp' changes the group ownership of each given FILE to GROUP,
  8488. -which can be either a group name or a numeric group id.  Synopsis:
  8489. -
  8490. -     chgrp [OPTION]... GROUP FILE...
  8491. -
  8492. -   The program accepts the following options.  Also see *Note Common
  8493. -options::.
  8494. -
  8495. -`-c'
  8496. -`--changes'
  8497. -     Verbosely describe the action for each FILE whose group actually
  8498. -     changes.
  8499. -
  8500. -`-f'
  8501. -`--silent'
  8502. -`--quiet'
  8503. -     Do not print error messages about files whose group cannot be
  8504. -     changed.
  8505. -
  8506. -`-f'
  8507. -`--no-dereference'
  8508. -     Act on symbolic links themselves instead of what they point to.
  8509. -     Only available if the `lchown' system call is provided.
  8510. -
  8511. -`-v'
  8512. -`--verbose'
  8513. -     Verbosely describe the action or non-action taken for every FILE.
  8514. -
  8515. -`-R'
  8516. -`--recursive'
  8517. -     Recursively change the group ownership of directories and their
  8518. -     contents.
  8519. -
  8520. -
  8521. -File: fileutils.info,  Node: chmod invocation,  Next: touch invocation,  Prev: chgrp invocation,  Up: Changing file attributes
  8522. -
  8523. -`chmod': Change access permissions
  8524. -==================================
  8525. -
  8526. -   `chmod' changes the access permissions of the named files.  Synopsis:
  8527. -
  8528. -     chmod [OPTION]... MODE FILE...
  8529. -
  8530. -   `chmod' never changes the permissions of symbolic links, since the
  8531. -`chmod' system call cannot change their permissions.  This is not a
  8532. -problem since the permissions of symbolic links are never used.
  8533. -However, for each symbolic link listed on the command line, `chmod'
  8534. -changes the permissions of the pointed-to file.  In contrast, `chmod'
  8535. -ignores symbolic links encountered during recursive directory
  8536. -traversals.
  8537. -
  8538. -   The first non-option argument, MODE, specifies the new permissions.
  8539. -See the section below for details.
  8540. -
  8541. -   The program accepts the following options.  Also see *Note Common
  8542. -options::.
  8543. -
  8544. -`-c'
  8545. -`--changes'
  8546. -     Verbosely describe the action for each FILE whose permissions
  8547. -     actually changes.
  8548. -
  8549. -`-f'
  8550. -`--silent'
  8551. -`--quiet'
  8552. -     Do not print error messages about files whose permissions cannot be
  8553. -     changed.
  8554. -
  8555. -`-v'
  8556. -`--verbose'
  8557. -     Verbosely describe the action or non-action taken for every FILE.
  8558. -
  8559. -`-R'
  8560. -`--recursive'
  8561. -     Recursively change permissions of directories and their contents.
  8562. -
  8563. -
  8564. -File: fileutils.info,  Node: touch invocation,  Prev: chmod invocation,  Up: Changing file attributes
  8565. -
  8566. -`touch': Change file timestamps
  8567. -===============================
  8568. -
  8569. -   `touch' changes the access and/or modification times of the
  8570. -specified files.  Synopsis:
  8571. -
  8572. -     touch [OPTION]... FILE...
  8573. -
  8574. -   If the first FILE would be a valid argument to the `-t' option and
  8575. -no timestamp is given with any of the `-d', `-r', or `-t' options and
  8576. -the `--' argument is not given, that argument is interpreted as the
  8577. -time for the other files instead of as a file name.
  8578. -
  8579. -   Any FILE that does not exist is created empty.
  8580. -
  8581. -   If changing both the access and modification times to the current
  8582. -time, `touch' can change the timestamps for files that the user running
  8583. -it does not own but has write permission for.  Otherwise, the user must
  8584. -own the files.
  8585. -
  8586. -   The program accepts the following options.  Also see *Note Common
  8587. -options::.
  8588. -
  8589. -`-a'
  8590. -`--time=atime'
  8591. -`--time=access'
  8592. -`--time=use'
  8593. -     Change the access time only.
  8594. -
  8595. -`-c'
  8596. -`--no-create'
  8597. -     Do not create files that do not exist.
  8598. -
  8599. -`-d'
  8600. -`--date=time'
  8601. -     Use TIME instead of the current time.  It can contain month names,
  8602. -     timezones, `am' and `pm', etc.  *Note Date input formats::.
  8603. -
  8604. -`-f'
  8605. -     Ignored; for compatibility with BSD versions of `touch'.
  8606. -
  8607. -`-m'
  8608. -`--time=mtime'
  8609. -`--time=modify'
  8610. -     Change the modification time only.
  8611. -
  8612. -`-r FILE'
  8613. -`--reference=FILE'
  8614. -     Use the times of the reference FILE instead of the current time.
  8615. -
  8616. -`-t MMDDhhmm[[CC]YY][.ss]'
  8617. -     Use the argument (months, days, hours, minutes, optional century
  8618. -     and years, optional seconds) instead of the current time.
  8619. -
  8620. -
  8621. -File: fileutils.info,  Node: Disk usage,  Next: Index,  Prev: Changing file attributes,  Up: Top
  8622. -
  8623. -Disk usage
  8624. -**********
  8625. -
  8626. -   No disk can hold an infinite amount of data.  These commands report
  8627. -on how much disk storage is in use or available.  (This has nothing
  8628. -much to do with how much *main memory*, i.e., RAM, a program is using
  8629. -when it runs; for that, you want `ps' or `pstat' or `swap' or some such
  8630. -command.)
  8631. -
  8632. -* Menu:
  8633. -
  8634. -* df invocation::               Report filesystem disk space usage.
  8635. -* du invocation::               Estimate file space usage.
  8636. -* sync invocation::             Synchronize memory and disk.
  8637. -
  8638. -
  8639. -File: fileutils.info,  Node: df invocation,  Next: du invocation,  Up: Disk usage
  8640. -
  8641. -`df': Report filesystem disk space usage
  8642. -========================================
  8643. -
  8644. -   `df' reports the amount of disk space used and available on
  8645. -filesystems.  Synopsis:
  8646. -
  8647. -     df [OPTION]... [FILE]...
  8648. -
  8649. -   With no arguments, `df' reports the space used and available on all
  8650. -currently mounted filesystems (of all types).  Otherwise, `df' reports
  8651. -on the filesystem containing each argument FILE.
  8652. -
  8653. -   Disk space is shown in 1024-byte blocks by default, unless the
  8654. -environment variable `POSIXLY_CORRECT' is set, in which case 512-byte
  8655. -blocks are used (unless the `-k' option is given).
  8656. -
  8657. -   If an argument FILE is a disk device file containing a mounted
  8658. -filesystem, `df' shows the space available on that filesystem rather
  8659. -than on the filesystem containing the device node (i.e., the root
  8660. -filesystem).  GNU `df' does not attempt to determine the disk usage on
  8661. -unmounted filesystems, because on most kinds of systems doing so
  8662. -requires extremely nonportable intimate knowledge of filesystem
  8663. -structures.
  8664. -
  8665. -   The program accepts the following options.  Also see *Note Common
  8666. -options::.
  8667. -
  8668. -`-a'
  8669. -`--all'
  8670. -     Include in the listing filesystems that have a size of 0 blocks,
  8671. -     which are omitted by default.  Such filesystems are typically
  8672. -     special-purpose pseudo-filesystems, such as automounter entries.
  8673. -     Also, filesystems of type "ignore" or "auto", supported by some
  8674. -     operating systems, are only included if this option is specified.
  8675. -
  8676. -`-h'
  8677. -`--human-readable'
  8678. -     Append a size letter such as `M' for megabytes to each size.
  8679. -
  8680. -`-i'
  8681. -`--inodes'
  8682. -     List inode usage information instead of block usage.  An inode
  8683. -     (short for index node) is contains information about a file such
  8684. -     as its owner, permissions, timestamps, and location on the disk.
  8685. -
  8686. -`-k'
  8687. -`--kilobytes'
  8688. -     Print sizes in 1024-byte blocks.  This overrides the environment
  8689. -     variable `POSIXLY_CORRECT'.
  8690. -
  8691. -`-m'
  8692. -`--megabytes'
  8693. -     Print sizes in megabyte (that 1,048,576 bytes) blocks.
  8694. -
  8695. -`--no-sync'
  8696. -     Do not invoke the `sync' system call before getting any usage data.
  8697. -     This may make `df' run significantly faster on systems with many
  8698. -     disks, but on some systems (notably SunOS) the results may be
  8699. -     slightly out of date.  This is the default.
  8700. -
  8701. -`-P'
  8702. -`--portability'
  8703. -     Use the POSIX output format.  This is like the default format
  8704. -     except that the information about each filesystem is always
  8705. -     printed on exactly one line; a mount device is never put on a line
  8706. -     by itself.  This means that if the mount device name is more than
  8707. -     20 characters long (e.g., for some network mounts), the columns
  8708. -     are misaligned.
  8709. -
  8710. -`--sync'
  8711. -     Invoke the `sync' system call before getting any usage data.  On
  8712. -     some systems (notably SunOS), doing this yields more up to date
  8713. -     results, but in general this option makes `df' much slower,
  8714. -     especially when there are many or very busy filesystems.
  8715. -
  8716. -`-t FSTYPE'
  8717. -`--type=FSTYPE'
  8718. -     Limit the listing to filesystems of type FSTYPE.  Multiple
  8719. -     filesystem types can be specified by giving multiple `-t' options.
  8720. -     By default, nothing is omitted.
  8721. -
  8722. -`-T'
  8723. -`--print-type'
  8724. -     Print each filesystem's type.  The types printed here are the same
  8725. -     ones you can include or exclude with `-t' and `-x'.  The particular
  8726. -     types printed are whatever is supported by the system.  Here are
  8727. -     some of the common names (this list is certainly not exhaustive):
  8728. -
  8729. -    `nfs'
  8730. -          An NFS filesystem, i.e., one mounted over a network from
  8731. -          another machine.  This is the one type name which seems to be
  8732. -          used uniformly by all systems.
  8733. -
  8734. -    `4.2, ufs, efs...'
  8735. -          A filesystem on a locally-mounted hard disk.  (The system
  8736. -          might even support more than one type here; Linux does.)
  8737. -
  8738. -    `hsfs, cdfs'
  8739. -          A filesystem on a CD-ROM drive.  HP-UX uses `cdfs', most other
  8740. -          systems use `hsfs' (`hs' for `High Sierra').
  8741. -
  8742. -    `pcfs'
  8743. -          An MS-DOS filesystem, usually on a diskette.
  8744. -
  8745. -`-x FSTYPE'
  8746. -`--exclude-type=FSTYPE'
  8747. -     Limit the listing to filesystems not of type FSTYPE.  Multiple
  8748. -     filesystem types can be eliminated by giving multiple `-x'
  8749. -     options.  By default, no filesystem types are omitted.
  8750. -
  8751. -`-v'
  8752. -     Ignored; for compatibility with System V versions of `df'.
  8753. -
  8754. -
  8755. -File: fileutils.info,  Node: du invocation,  Next: sync invocation,  Prev: df invocation,  Up: Disk usage
  8756. -
  8757. -`du': Estimate file space usage
  8758. -===============================
  8759. -
  8760. -   `du' reports the amount of disk space used by the specified files
  8761. -and for each subdirectory (of directory arguments).  Synopsis:
  8762. -
  8763. -     du [OPTION]... [FILE]...
  8764. -
  8765. -   With no arguments, `du' reports the disk space for the current
  8766. -directory.  The output is in 1024-byte units by default, unless the
  8767. -environment variable `POSIXLY_CORRECT' is set, in which case 512-byte
  8768. -blocks are used (unless `-k' is specified).
  8769. -
  8770. -   The program accepts the following options.  Also see *Note Common
  8771. -options::.
  8772. -
  8773. -`-a'
  8774. -`--all'
  8775. -     Show counts for all files, not just directories.
  8776. -
  8777. -`-b'
  8778. -`--bytes'
  8779. -     Print sizes in bytes, instead of kilobytes.
  8780. -
  8781. -`-c'
  8782. -`--total'
  8783. -     Print a grand total of all arguments after all arguments have been
  8784. -     processed.  This can be used to find out the total disk usage of a
  8785. -     given set of files or directories.
  8786. -
  8787. -`-D'
  8788. -`--dereference-args'
  8789. -     Dereference symbolic links that are command line arguments.  Does
  8790. -     not affect other symbolic links.  This is helpful for finding out
  8791. -     the disk usage of directories, such as `/usr/tmp', which are often
  8792. -     symbolic links.
  8793. -
  8794. -`-h'
  8795. -`--human-readable'
  8796. -     Append a size letter, such as `M' for megabytes, to each size.
  8797. -
  8798. -`-k'
  8799. -`--kilobytes'
  8800. -     Print sizes in kilobytes.  This overrides the environment variable
  8801. -     `POSIXLY_CORRECT'.
  8802. -
  8803. -`-l'
  8804. -`--count-links'
  8805. -     Count the size of all files, even if they have appeared already
  8806. -     (as a hard link).
  8807. -
  8808. -`-L'
  8809. -`--dereference'
  8810. -     Dereference symbolic links (show the disk space used by the file
  8811. -     or directory that the link points to instead of the space used by
  8812. -     the link).
  8813. -
  8814. -`-m'
  8815. -`--megabytes'
  8816. -     Print sizes in megabyte (that 1,048,576 bytes) blocks.
  8817. -
  8818. -`-s'
  8819. -`--summarize'
  8820. -     Display only a total for each argument.
  8821. -
  8822. -`-S'
  8823. -`--separate-dirs'
  8824. -     Report the size of each directory separately, not including the
  8825. -     sizes of subdirectories.
  8826. -
  8827. -`-x'
  8828. -`--one-file-system'
  8829. -     Skip directories that are on different filesystems from the one
  8830. -     that the argument being processed is on.
  8831. -
  8832. -   On BSD systems, `du' reports sizes that are half the correct values
  8833. -for files that are NFS-mounted from HP-UX systems.  On HP-UX systems,
  8834. -it reports sizes that are twice the correct values for files that are
  8835. -NFS-mounted from BSD systems.  This is due to a flaw in HP-UX; it also
  8836. -affects the HP-UX `du' program.
  8837. -
  8838. -
  8839. -File: fileutils.info,  Node: sync invocation,  Prev: du invocation,  Up: Disk usage
  8840. -
  8841. -`sync': Synchronize data on disk with memory
  8842. -============================================
  8843. -
  8844. -   `sync' writes any data buffered in memory out to disk.  This can
  8845. -include (but is not limited to) modified superblocks, modified inodes,
  8846. -and delayed reads and writes.  This must be implemented by the kernel;
  8847. -The `sync' program does nothing but exercise the `sync' system call.
  8848. -
  8849. -   The kernel keeps data in memory to avoid doing (relatively slow) disk
  8850. -reads and writes.  This improves performance, but if the computer
  8851. -crashes, data may be lost or the filesystem corrupted as a result.
  8852. -`sync' ensures everything in memory is written to disk.
  8853. -
  8854. -   Any arguments are ignored, except for a lone `--help' or `--version'
  8855. -(*note Common options::.).
  8856. -
  8857. diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.info-3 amiga/fsf/fileutils/doc/fileutils.info-3
  8858. --- baseline/fsf/fileutils/doc/fileutils.info-3    Thu Jul 11 20:26:05 1996
  8859. +++ amiga/fsf/fileutils/doc/fileutils.info-3    Wed Dec 31 17:00:00 1969
  8860. @@ -1,723 +0,0 @@
  8861. -This is Info file ./fileutils.info, produced by Makeinfo-1.63 from the
  8862. -input file fileutils.texi.
  8863. -
  8864. -START-INFO-DIR-ENTRY
  8865. -* File utilities: (fileutils).  GNU file utilities.
  8866. -* chgrp: (fileutils)chgrp invocation.           Change file groups.
  8867. -* chown: (fileutils)chown invocation.           Change file owners/groups.
  8868. -* chmod: (fileutils)chmod invocation.           Change file permissions.
  8869. -* cp: (fileutils)cp invocation.                 Copy files.
  8870. -* dd: (fileutils)dd invocation.                 Copy and convert a file.
  8871. -* df: (fileutils)df invocation.                 Report filesystem disk usage.
  8872. -* dir: (fileutils)dir invocation.               List directories briefly.
  8873. -* dircolors: (fileutils)dircolors invocation.   Color setup for ls.
  8874. -* du: (fileutils)du invocation.                 Report on disk usage.
  8875. -* install: (fileutils)install invocation.       Copy and change attributes.
  8876. -* ln: (fileutils)ln invocation.                 Make links between files.
  8877. -* ls: (fileutils)ls invocation.                 List directory contents.
  8878. -* mkdir: (fileutils)mkdir invocation.           Create directories.
  8879. -* mkfifo: (fileutils)mkfifo invocation.         Create FIFOs: (named pipes).
  8880. -* mknod: (fileutils)mknod invocation.           Create special files.
  8881. -* mv: (fileutils)mv invocation.                 Rename files.
  8882. -* rm: (fileutils)rm invocation.                 Remove files.
  8883. -* rmdir: (fileutils)rmdir invocation.           Remove empty directories.
  8884. -* sync: (fileutils)sync invocation.             Synchronize memory and disk.
  8885. -* touch: (fileutils)touch invocation.           Change file timestamps.
  8886. -* vdir: (fileutils)vdir invocation.             List directories verbosely.
  8887. -END-INFO-DIR-ENTRY
  8888. -
  8889. -   This file documents the GNU set of file utilities.
  8890. -
  8891. -   Copyright (C) 1994, 95, 96 Free Software Foundation, Inc.
  8892. -
  8893. -   Permission is granted to make and distribute verbatim copies of this
  8894. -manual provided the copyright notice and this permission notice are
  8895. -preserved on all copies.
  8896. -
  8897. -   Permission is granted to copy and distribute modified versions of
  8898. -this manual under the conditions for verbatim copying, provided that
  8899. -the entire resulting derived work is distributed under the terms of a
  8900. -permission notice identical to this one.
  8901. -
  8902. -   Permission is granted to copy and distribute translations of this
  8903. -manual into another language, under the above conditions for modified
  8904. -versions, except that this permission notice may be stated in a
  8905. -translation approved by the Foundation.
  8906. -
  8907. -
  8908. -File: fileutils.info,  Node: Index,  Prev: Disk usage,  Up: Top
  8909. -
  8910. -Index
  8911. -*****
  8912. -
  8913. -* Menu:
  8914. -
  8915. -* - and Unix rm:                        rm invocation.
  8916. -* -all <1>:                             du invocation.
  8917. -* -all <1>:                             df invocation.
  8918. -* -all:                                 Which files are listed.
  8919. -* -almost-all:                          Which files are listed.
  8920. -* -archive:                             cp invocation.
  8921. -* -backup <1>:                          ln invocation.
  8922. -* -backup <1>:                          mv invocation.
  8923. -* -backup <1>:                          install invocation.
  8924. -* -backup <1>:                          cp invocation.
  8925. -* -backup:                              Backup options.
  8926. -* -bourne-shell:                        dircolors invocation.
  8927. -* -bytes:                               du invocation.
  8928. -* -c-shell:                             dircolors invocation.
  8929. -* -changes <1>:                         chmod invocation.
  8930. -* -changes <1>:                         chgrp invocation.
  8931. -* -changes:                             chown invocation.
  8932. -* -classify:                            General output formatting.
  8933. -* -color:                               General output formatting.
  8934. -* -count-links:                         du invocation.
  8935. -* -csh:                                 dircolors invocation.
  8936. -* -date:                                touch invocation.
  8937. -* -dereference <1>:                     du invocation.
  8938. -* -dereference:                         Which files are listed.
  8939. -* -dereference-args:                    du invocation.
  8940. -* -directory <1>:                       ln invocation.
  8941. -* -directory <1>:                       rm invocation.
  8942. -* -directory <1>:                       install invocation.
  8943. -* -directory:                           Which files are listed.
  8944. -* -dired:                               What information is listed.
  8945. -* -escape:                              Formatting the file names.
  8946. -* -exclude-type:                        df invocation.
  8947. -* -force <1>:                           ln invocation.
  8948. -* -force <1>:                           rm invocation.
  8949. -* -force <1>:                           mv invocation.
  8950. -* -force:                               cp invocation.
  8951. -* -format <1>:                          General output formatting.
  8952. -* -format:                              What information is listed.
  8953. -* -full-time:                           General output formatting.
  8954. -* -group:                               install invocation.
  8955. -* -help:                                Common options.
  8956. -* -hide-control-chars:                  Formatting the file names.
  8957. -* -human-readable <1>:                  du invocation.
  8958. -* -human-readable:                      df invocation.
  8959. -* -ignore-backups:                      Which files are listed.
  8960. -* -ignore=PATTERN:                      Which files are listed.
  8961. -* -inode:                               What information is listed.
  8962. -* -inodes:                              df invocation.
  8963. -* -interactive <1>:                     ln invocation.
  8964. -* -interactive <1>:                     rm invocation.
  8965. -* -interactive <1>:                     mv invocation.
  8966. -* -interactive:                         cp invocation.
  8967. -* -kilobytes <1>:                       du invocation.
  8968. -* -kilobytes <1>:                       df invocation.
  8969. -* -kilobytes:                           General output formatting.
  8970. -* -link:                                cp invocation.
  8971. -* -literal:                             Formatting the file names.
  8972. -* -megabytes <1>:                       du invocation.
  8973. -* -megabytes:                           df invocation.
  8974. -* -mode <1>:                            mknod invocation.
  8975. -* -mode <1>:                            mkfifo invocation.
  8976. -* -mode <1>:                            mkdir invocation.
  8977. -* -mode:                                install invocation.
  8978. -* -no-create:                           touch invocation.
  8979. -* -no-dereference <1>:                  chgrp invocation.
  8980. -* -no-dereference <1>:                  chown invocation.
  8981. -* -no-dereference <1>:                  ln invocation.
  8982. -* -no-dereference:                      cp invocation.
  8983. -* -no-group:                            What information is listed.
  8984. -* -no-sync:                             df invocation.
  8985. -* -numeric-uid-gid:                     General output formatting.
  8986. -* -one-file-system <1>:                 du invocation.
  8987. -* -one-file-system:                     cp invocation.
  8988. -* -owner:                               install invocation.
  8989. -* -parents <1>:                         rmdir invocation.
  8990. -* -parents <1>:                         mkdir invocation.
  8991. -* -parents:                             cp invocation.
  8992. -* -portability:                         df invocation.
  8993. -* -preserve:                            cp invocation.
  8994. -* -print-data-base:                     dircolors invocation.
  8995. -* -print-type:                          df invocation.
  8996. -* -quiet <1>:                           chmod invocation.
  8997. -* -quiet <1>:                           chgrp invocation.
  8998. -* -quiet:                               chown invocation.
  8999. -* -quote-name:                          Formatting the file names.
  9000. -* -recursive <1>:                       chmod invocation.
  9001. -* -recursive <1>:                       chgrp invocation.
  9002. -* -recursive <1>:                       chown invocation.
  9003. -* -recursive <1>:                       rm invocation.
  9004. -* -recursive <1>:                       cp invocation.
  9005. -* -recursive:                           Which files are listed.
  9006. -* -reference:                           touch invocation.
  9007. -* -reverse:                             Sorting the output.
  9008. -* -separate-dirs:                       du invocation.
  9009. -* -sh:                                  dircolors invocation.
  9010. -* -silent <1>:                          chmod invocation.
  9011. -* -silent <1>:                          chgrp invocation.
  9012. -* -silent:                              chown invocation.
  9013. -* -size:                                What information is listed.
  9014. -* -sort:                                Sorting the output.
  9015. -* -sparse=WHEN:                         cp invocation.
  9016. -* -strip:                               install invocation.
  9017. -* -suffix <1>:                          ln invocation.
  9018. -* -suffix <1>:                          mv invocation.
  9019. -* -suffix <1>:                          install invocation.
  9020. -* -suffix <1>:                          cp invocation.
  9021. -* -suffix:                              Backup options.
  9022. -* -summarize:                           du invocation.
  9023. -* -symbolic:                            ln invocation.
  9024. -* -symbolic-link:                       cp invocation.
  9025. -* -sync:                                df invocation.
  9026. -* -tabsize:                             General output formatting.
  9027. -* -time <1>:                            touch invocation.
  9028. -* -time:                                Sorting the output.
  9029. -* -total:                               du invocation.
  9030. -* -type:                                df invocation.
  9031. -* -update <1>:                          mv invocation.
  9032. -* -update:                              cp invocation.
  9033. -* -verbose <1>:                         chmod invocation.
  9034. -* -verbose <1>:                         chgrp invocation.
  9035. -* -verbose <1>:                         chown invocation.
  9036. -* -verbose <1>:                         mkdir invocation.
  9037. -* -verbose <1>:                         ln invocation.
  9038. -* -verbose <1>:                         rm invocation.
  9039. -* -verbose <1>:                         mv invocation.
  9040. -* -verbose:                             cp invocation.
  9041. -* -version:                             Common options.
  9042. -* -version-control <1>:                 ln invocation.
  9043. -* -version-control <1>:                 mv invocation.
  9044. -* -version-control <1>:                 install invocation.
  9045. -* -version-control <1>:                 cp invocation.
  9046. -* -version-control:                     Backup options.
  9047. -* -width:                               General output formatting.
  9048. -* -1:                                   General output formatting.
  9049. -* -a <1>:                               du invocation.
  9050. -* -a <1>:                               df invocation.
  9051. -* -a <1>:                               touch invocation.
  9052. -* -a <1>:                               cp invocation.
  9053. -* -a:                                   Which files are listed.
  9054. -* -b <1>:                               du invocation.
  9055. -* -b <1>:                               ln invocation.
  9056. -* -b <1>:                               mv invocation.
  9057. -* -b <1>:                               install invocation.
  9058. -* -b <1>:                               cp invocation.
  9059. -* -b <1>:                               dircolors invocation.
  9060. -* -b:                                   Formatting the file names.
  9061. -* -B:                                   Which files are listed.
  9062. -* -b:                                   Backup options.
  9063. -* -c <1>:                               du invocation.
  9064. -* -c <1>:                               touch invocation.
  9065. -* -c <1>:                               chmod invocation.
  9066. -* -c <1>:                               chgrp invocation.
  9067. -* -c <1>:                               chown invocation.
  9068. -* -c <1>:                               install invocation.
  9069. -* -c:                                   dircolors invocation.
  9070. -* -C:                                   General output formatting.
  9071. -* -c:                                   Sorting the output.
  9072. -* -D:                                   du invocation.
  9073. -* -d <1>:                               touch invocation.
  9074. -* -d <1>:                               ln invocation.
  9075. -* -d <1>:                               rm invocation.
  9076. -* -d <1>:                               install invocation.
  9077. -* -d:                                   cp invocation.
  9078. -* -D:                                   What information is listed.
  9079. -* -d:                                   Which files are listed.
  9080. -* -f <1>:                               touch invocation.
  9081. -* -f <1>:                               chmod invocation.
  9082. -* -f <1>:                               chgrp invocation.
  9083. -* -f:                                   chown invocation.
  9084. -* -F:                                   ln invocation.
  9085. -* -f <1>:                               rm invocation.
  9086. -* -f <1>:                               mv invocation.
  9087. -* -f:                                   cp invocation.
  9088. -* -F:                                   General output formatting.
  9089. -* -f:                                   Sorting the output.
  9090. -* -g:                                   install invocation.
  9091. -* -G:                                   What information is listed.
  9092. -* -g (ignored):                         ls invocation.
  9093. -* -h <1>:                               du invocation.
  9094. -* -h:                                   df invocation.
  9095. -* -i <1>:                               df invocation.
  9096. -* -i <1>:                               ln invocation.
  9097. -* -i <1>:                               rm invocation.
  9098. -* -i <1>:                               mv invocation.
  9099. -* -i <1>:                               cp invocation.
  9100. -* -i:                                   What information is listed.
  9101. -* -I:                                   Which files are listed.
  9102. -* -k <1>:                               du invocation.
  9103. -* -k <1>:                               df invocation.
  9104. -* -k:                                   General output formatting.
  9105. -* -l <1>:                               du invocation.
  9106. -* -l <1>:                               cp invocation.
  9107. -* -l:                                   What information is listed.
  9108. -* -L:                                   Which files are listed.
  9109. -* -m <1>:                               du invocation.
  9110. -* -m <1>:                               df invocation.
  9111. -* -m <1>:                               touch invocation.
  9112. -* -m <1>:                               mknod invocation.
  9113. -* -m <1>:                               mkfifo invocation.
  9114. -* -m <1>:                               mkdir invocation.
  9115. -* -m <1>:                               install invocation.
  9116. -* -m:                                   General output formatting.
  9117. -* -n:                                   ln invocation.
  9118. -* -N:                                   Formatting the file names.
  9119. -* -n:                                   General output formatting.
  9120. -* -o <1>:                               install invocation.
  9121. -* -o:                                   What information is listed.
  9122. -* -P:                                   df invocation.
  9123. -* -p <1>:                               rmdir invocation.
  9124. -* -p <1>:                               mkdir invocation.
  9125. -* -p <1>:                               cp invocation.
  9126. -* -p:                                   dircolors invocation.
  9127. -* -q:                                   Formatting the file names.
  9128. -* -r:                                   touch invocation.
  9129. -* -R <1>:                               chmod invocation.
  9130. -* -R <1>:                               chgrp invocation.
  9131. -* -R:                                   chown invocation.
  9132. -* -r:                                   rm invocation.
  9133. -* -R:                                   cp invocation.
  9134. -* -r:                                   Sorting the output.
  9135. -* -R:                                   Which files are listed.
  9136. -* -s <1>:                               du invocation.
  9137. -* -s:                                   ln invocation.
  9138. -* -S:                                   mv invocation.
  9139. -* -s <1>:                               install invocation.
  9140. -* -s:                                   cp invocation.
  9141. -* -S:                                   Sorting the output.
  9142. -* -s:                                   What information is listed.
  9143. -* -S:                                   Backup options.
  9144. -* -t:                                   df invocation.
  9145. -* -T:                                   General output formatting.
  9146. -* -t:                                   Sorting the output.
  9147. -* -u <1>:                               mv invocation.
  9148. -* -u <1>:                               cp invocation.
  9149. -* -u:                                   Sorting the output.
  9150. -* -v <1>:                               chmod invocation.
  9151. -* -v <1>:                               chgrp invocation.
  9152. -* -v <1>:                               chown invocation.
  9153. -* -v <1>:                               ln invocation.
  9154. -* -v <1>:                               rm invocation.
  9155. -* -v:                                   mv invocation.
  9156. -* -V:                                   install invocation.
  9157. -* -v:                                   cp invocation.
  9158. -* -V:                                   Backup options.
  9159. -* -w:                                   General output formatting.
  9160. -* -x <1>:                               du invocation.
  9161. -* -x <1>:                               df invocation.
  9162. -* -x <1>:                               cp invocation.
  9163. -* -x:                                   General output formatting.
  9164. -* -X:                                   Sorting the output.
  9165. -* 4.2 filesystem type:                  df invocation.
  9166. -* csh syntax for color setup:           dircolors invocation.
  9167. -* sh syntax for color setup:            dircolors invocation.
  9168. -* -, removing files beginning with:     rm invocation.
  9169. -* abbreviations for months:             Calendar date item.
  9170. -* access time, changing:                touch invocation.
  9171. -* access permissions, changing:         chmod invocation.
  9172. -* access time, sorting files by:        Sorting the output.
  9173. -* across, listing files:                General output formatting.
  9174. -* adding permissions:                   Setting Permissions.
  9175. -* ago in date strings:                  Relative item in date strings.
  9176. -* Alaska-Hawaii Time:                   Timezone item.
  9177. -* alternate ebcdic, converting to:      dd invocation.
  9178. -* always color option:                  General output formatting.
  9179. -* am in date strings:                   Time of day item.
  9180. -* append-only directories:              Mode Structure.
  9181. -* appropriate privileges:               install invocation.
  9182. -* ascii, converting to:                 dd invocation.
  9183. -* atime, changing:                      touch invocation.
  9184. -* atime, sorting files by:              Sorting the output.
  9185. -* Atlantic Standard Time:               Timezone item.
  9186. -* attributes, file:                     Changing file attributes.
  9187. -* authors of getdate:                   Authors of getdate.
  9188. -* auto color option:                    General output formatting.
  9189. -* automounter filesystems:              df invocation.
  9190. -* Azores Time:                          Timezone item.
  9191. -* b for block special file:             mknod invocation.
  9192. -* backslash sequences for file names:   Formatting the file names.
  9193. -* backup files, ignoring:               Which files are listed.
  9194. -* backup files, type made:              Backup options.
  9195. -* backup options:                       Backup options.
  9196. -* backup suffix:                        Backup options.
  9197. -* backups, making <1>:                  ln invocation.
  9198. -* backups, making <1>:                  mv invocation.
  9199. -* backups, making <1>:                  install invocation.
  9200. -* backups, making <1>:                  cp invocation.
  9201. -* backups, making:                      Backup options.
  9202. -* backups, making only:                 cp invocation.
  9203. -* Baghdad Time:                         Timezone item.
  9204. -* beginning of time, for Unix:          Date input formats.
  9205. -* Bellovin, Steven M.:                  Authors of getdate.
  9206. -* Berets, Jim:                          Authors of getdate.
  9207. -* Berry, K.:                            Authors of getdate.
  9208. -* block (space-padding):                dd invocation.
  9209. -* block size:                           dd invocation.
  9210. -* block size of conversion:             dd invocation.
  9211. -* block size of input:                  dd invocation.
  9212. -* block size of output:                 dd invocation.
  9213. -* block special files:                  mknod invocation.
  9214. -* block special files, creating:        mknod invocation.
  9215. -* Bourne shell syntax for color setup:  dircolors invocation.
  9216. -* bs:                                   dd invocation.
  9217. -* BSD touch compatibility:              touch invocation.
  9218. -* buffered character file:              mknod invocation.
  9219. -* bugs, reporting:                      Introduction.
  9220. -* byte-swapping:                        dd invocation.
  9221. -* c for character special file:         mknod invocation.
  9222. -* C shell syntax for color setup:       dircolors invocation.
  9223. -* calendar date item:                   Calendar date item.
  9224. -* case, ignored in dates:               General date syntax.
  9225. -* cbs:                                  dd invocation.
  9226. -* CD-ROM filesystem type:               df invocation.
  9227. -* cdfs filesystem type:                 df invocation.
  9228. -* Central Alaska Time:                  Timezone item.
  9229. -* Central European Time:                Timezone item.
  9230. -* Central Standard Time:                Timezone item.
  9231. -* changed files, verbosely describing:  chgrp invocation.
  9232. -* changed owners, verbosely describing: chown invocation.
  9233. -* changing access permissions:          chmod invocation.
  9234. -* changing file attributes:             Changing file attributes.
  9235. -* changing file ownership:              chown invocation.
  9236. -* changing file timestamps:             touch invocation.
  9237. -* changing group ownership <1>:         chgrp invocation.
  9238. -* changing group ownership:             chown invocation.
  9239. -* changing special permissions:         Changing Special Permissions.
  9240. -* character special files:              mknod invocation.
  9241. -* character special files, creating:    mknod invocation.
  9242. -* chgrp:                                chgrp invocation.
  9243. -* China Coast Time:                     Timezone item.
  9244. -* chmod:                                chmod invocation.
  9245. -* chown:                                chown invocation.
  9246. -* color database, printing:             dircolors invocation.
  9247. -* color setup:                          dircolors invocation.
  9248. -* color, distinguishing file types with: General output formatting.
  9249. -* COLUMNS:                              General output formatting.
  9250. -* commas, outputting between files:     General output formatting.
  9251. -* comments, in dates:                   General date syntax.
  9252. -* common options:                       Common options.
  9253. -* conditional executability:            Conditional Executability.
  9254. -* conv:                                 dd invocation.
  9255. -* converstion block size:               dd invocation.
  9256. -* converting while copying a file:      dd invocation.
  9257. -* copying directories recursively:      cp invocation.
  9258. -* copying existing permissions:         Copying Permissions.
  9259. -* copying files and directories:        cp invocation.
  9260. -* copying files and setting attributes: install invocation.
  9261. -* count:                                dd invocation.
  9262. -* cp:                                   cp invocation.
  9263. -* crashes and corruption:               sync invocation.
  9264. -* creating directories:                 mkdir invocation.
  9265. -* creating FIFOs (named pipes):         mkfifo invocation.
  9266. -* creating links (hard or soft):        ln invocation.
  9267. -* ctime, sorting by:                    Sorting the output.
  9268. -* database for color setup, printing:   dircolors invocation.
  9269. -* date format, ISO 8601:                Calendar date item.
  9270. -* date input formats:                   Date input formats.
  9271. -* day in date strings:                  Relative item in date strings.
  9272. -* day of week item:                     Day of week item.
  9273. -* daylight savings time:                Timezone item.
  9274. -* dd:                                   dd invocation.
  9275. -* dereferencing symbolic links:         ln invocation.
  9276. -* device file, disk:                    df invocation.
  9277. -* df:                                   df invocation.
  9278. -* dir:                                  dir invocation.
  9279. -* dircolors:                            dircolors invocation.
  9280. -* directories, copying:                 cp invocation.
  9281. -* directories, copying recursively:     cp invocation.
  9282. -* directories, creating:                mkdir invocation.
  9283. -* directories, creating with given attributes: install invocation.
  9284. -* directories, removing (recursively):  rm invocation.
  9285. -* directories, removing empty:          rmdir invocation.
  9286. -* directories, removing with unlink:    rm invocation.
  9287. -* directory listing:                    ls invocation.
  9288. -* directory listing, brief:             dir invocation.
  9289. -* directory listing, recursive:         Which files are listed.
  9290. -* directory listing, verbose:           vdir invocation.
  9291. -* directory order, listing by:          Sorting the output.
  9292. -* dired Emacs mode support:             What information is listed.
  9293. -* disk device file:                     df invocation.
  9294. -* disk usage:                           Disk usage.
  9295. -* disk usage by filesystem:             df invocation.
  9296. -* disk usage for files:                 du invocation.
  9297. -* diskette filesystem:                  df invocation.
  9298. -* displacement of dates:                Relative item in date strings.
  9299. -* DOS filesystem:                       df invocation.
  9300. -* du:                                   du invocation.
  9301. -* East Australian Standard Time:        Timezone item.
  9302. -* Eastern European Time:                Timezone item.
  9303. -* Eastern Standard Time:                Timezone item.
  9304. -* ebcdic, converting to:                dd invocation.
  9305. -* efs filesystem type:                  df invocation.
  9306. -* empty files, creating:                touch invocation.
  9307. -* epoch, for Unix:                      Date input formats.
  9308. -* error messages, omitting <1>:         chmod invocation.
  9309. -* error messages, omitting <1>:         chgrp invocation.
  9310. -* error messages, omitting:             chown invocation.
  9311. -* executables and file type, marking:   General output formatting.
  9312. -* execute permission:                   Mode Structure.
  9313. -* execute permission, symbolic:         Setting Permissions.
  9314. -* existing backup method:               Backup options.
  9315. -* extension, sorting files by:          Sorting the output.
  9316. -* FIFOs, creating:                      mkfifo invocation.
  9317. -* file attributes, changing:            Changing file attributes.
  9318. -* file information, preserving:         cp invocation.
  9319. -* file ownership, changing:             chown invocation.
  9320. -* file permissions:                     File permissions.
  9321. -* file permissions, numeric:            Numeric Modes.
  9322. -* file space usage:                     du invocation.
  9323. -* file timestamps, changing:            touch invocation.
  9324. -* file type and executables, marking:   General output formatting.
  9325. -* file type, marking:                   General output formatting.
  9326. -* file types:                           Special file types.
  9327. -* file types, special:                  Special file types.
  9328. -* file utilities:                       Top.
  9329. -* files beginning with -, removing:     rm invocation.
  9330. -* files, copying:                       cp invocation.
  9331. -* filesystem disk usage:                df invocation.
  9332. -* filesystem space, retrieving current data more slowly: df invocation.
  9333. -* filesystem space, retrieving old data more quickly: df invocation.
  9334. -* filesystem types, limiting output to certain: df invocation.
  9335. -* filesystem types, printing:           df invocation.
  9336. -* filesystems and hard links:           ln invocation.
  9337. -* filesystems, omitting copying to different: cp invocation.
  9338. -* first in date strings:                General date syntax.
  9339. -* fortnight in date strings:            Relative item in date strings.
  9340. -* French Winter Time:                   Timezone item.
  9341. -* fsck:                                 rm invocation.
  9342. -* general date syntax:                  General date syntax.
  9343. -* getdate:                              Date input formats.
  9344. -* giving away permissions:              Umask and Protection.
  9345. -* grand total of disk space:            du invocation.
  9346. -* Greenwich Mean Time:                  Timezone item.
  9347. -* group owner, default:                 Mode Structure.
  9348. -* group ownership of installed files, setting: install invocation.
  9349. -* group ownership, changing:            chgrp invocation.
  9350. -* group ownerships, changing:           chown invocation.
  9351. -* group, permissions for:               Setting Permissions.
  9352. -* Guam Standard Time:                   Timezone item.
  9353. -* hard links to directories:            ln invocation.
  9354. -* hard links, counting in du:           du invocation.
  9355. -* hard links, creating:                 ln invocation.
  9356. -* hard links, preserving:               cp invocation.
  9357. -* Hawaii Standard Time:                 Timezone item.
  9358. -* help, online:                         Common options.
  9359. -* High Sierra filesystem:               df invocation.
  9360. -* history:                              Introduction.
  9361. -* holes, copying files with:            cp invocation.
  9362. -* horizontal, listing files:            General output formatting.
  9363. -* hour in date strings:                 Relative item in date strings.
  9364. -* hsfs filesystem type:                 df invocation.
  9365. -* human-readable df output <1>:         du invocation.
  9366. -* human-readable df output:             df invocation.
  9367. -* ibs:                                  dd invocation.
  9368. -* if:                                   dd invocation.
  9369. -* ignore filesystems:                   df invocation.
  9370. -* inode number, printing:               What information is listed.
  9371. -* inode usage:                          df invocation.
  9372. -* inodes, written buffered:             sync invocation.
  9373. -* input block size:                     dd invocation.
  9374. -* install:                              install invocation.
  9375. -* International Date Line East:         Timezone item.
  9376. -* International Date Line West:         Timezone item.
  9377. -* introduction:                         Introduction.
  9378. -* ISO 8601 date format:                 Calendar date item.
  9379. -* items in date strings:                General date syntax.
  9380. -* Japan Standard Time:                  Timezone item.
  9381. -* kilobytes for filesystem sizes:       df invocation.
  9382. -* last in date strings:                 General date syntax.
  9383. -* last DAY:                             Day of week item.
  9384. -* lcase, converting to:                 dd invocation.
  9385. -* lchown <1>:                           chgrp invocation.
  9386. -* lchown:                               chown invocation.
  9387. -* leading directories, creating missing: install invocation.
  9388. -* links, creating:                      ln invocation.
  9389. -* Linux filesystem types:               df invocation.
  9390. -* ln:                                   ln invocation.
  9391. -* local filesystem types:               df invocation.
  9392. -* long ls format:                       What information is listed.
  9393. -* ls:                                   ls invocation.
  9394. -* LS_COLOR:                             dircolors invocation.
  9395. -* MacKenzie, David:                     Authors of getdate.
  9396. -* Makefiles, installing programs in:    install invocation.
  9397. -* manipulating files:                   Basic operations.
  9398. -* megabytes for filesystem sizes <1>:   du invocation.
  9399. -* megabytes for filesystem sizes:       df invocation.
  9400. -* Meyering, Jim:                        Authors of getdate.
  9401. -* Middle European Time:                 Timezone item.
  9402. -* Middle European Winter Time:          Timezone item.
  9403. -* midnight in date strings:             Time of day item.
  9404. -* minute in date strings:               Relative item in date strings.
  9405. -* minutes, timezone correction by:      Time of day item.
  9406. -* mkdir:                                mkdir invocation.
  9407. -* mkfifo:                               mkfifo invocation.
  9408. -* mknod:                                mknod invocation.
  9409. -* modes and umask:                      Umask and Protection.
  9410. -* modes of created directories, setting: mkdir invocation.
  9411. -* modes of created FIFOs, setting:      mkfifo invocation.
  9412. -* modification time, sorting files by:  Sorting the output.
  9413. -* modify time, changing:                touch invocation.
  9414. -* month in date strings:                Relative item in date strings.
  9415. -* month names in date strings:          Calendar date item.
  9416. -* months, written-out:                  General date syntax.
  9417. -* Mountain Standard Time:               Timezone item.
  9418. -* MS-DOS filesystem:                    df invocation.
  9419. -* mtime, changing:                      touch invocation.
  9420. -* multiple changes to permissions:      Multiple Changes.
  9421. -* multipliers after numbers:            dd invocation.
  9422. -* mv:                                   mv invocation.
  9423. -* named pipes, creating:                mkfifo invocation.
  9424. -* New Zealand Standard Time:            Timezone item.
  9425. -* newer files, copying only:            cp invocation.
  9426. -* newer files, moving only:             mv invocation.
  9427. -* next in date strings:                 General date syntax.
  9428. -* next DAY:                             Day of week item.
  9429. -* NFS filesystem type:                  df invocation.
  9430. -* NFS mounts from BSD to HP-UX <1>:     du invocation.
  9431. -* NFS mounts from BSD to HP-UX:         What information is listed.
  9432. -* noerror:                              dd invocation.
  9433. -* Nome Standard Time:                   Timezone item.
  9434. -* non-directories, copying as special files: cp invocation.
  9435. -* none color option:                    General output formatting.
  9436. -* none, sorting option for ls:          Sorting the output.
  9437. -* noon in date strings:                 Time of day item.
  9438. -* notrunc:                              dd invocation.
  9439. -* now in date strings:                  Relative item in date strings.
  9440. -* numbered backup method:               Backup options.
  9441. -* numbers, written-out:                 General date syntax.
  9442. -* numeric modes:                        Numeric Modes.
  9443. -* numeric uid and gid:                  General output formatting.
  9444. -* obs:                                  dd invocation.
  9445. -* octal numbers for file modes:         Numeric Modes.
  9446. -* of:                                   dd invocation.
  9447. -* one filesystem, restricting du to:    du invocation.
  9448. -* one-line output format:               df invocation.
  9449. -* ordinal numbers:                      General date syntax.
  9450. -* other permissions:                    Setting Permissions.
  9451. -* output block size:                    dd invocation.
  9452. -* output format, portable:              df invocation.
  9453. -* owner of file, permissions for:       Setting Permissions.
  9454. -* owner, default:                       Mode Structure.
  9455. -* ownership of installed files, setting: install invocation.
  9456. -* p for FIFO file:                      mknod invocation.
  9457. -* Pacific Standard Time:                Timezone item.
  9458. -* parent directories and cp:            cp invocation.
  9459. -* parent directories, creating:         mkdir invocation.
  9460. -* parent directories, creating missing: install invocation.
  9461. -* parent directories, removing:         rmdir invocation.
  9462. -* PC filesystem:                        df invocation.
  9463. -* pcfs:                                 df invocation.
  9464. -* permissions of files:                 File permissions.
  9465. -* permissions of installed files, setting: install invocation.
  9466. -* permissions, changing access:         chmod invocation.
  9467. -* permissions, copying existing:        Copying Permissions.
  9468. -* permissions, for changing file timestamps: touch invocation.
  9469. -* permissions, output by ls:            What information is listed.
  9470. -* Pinard, F.:                           Authors of getdate.
  9471. -* pm in date strings:                   Time of day item.
  9472. -* portable output format:               df invocation.
  9473. -* POSIX output format:                  df invocation.
  9474. -* POSIX.2:                              Introduction.
  9475. -* POSIXLY_CORRECT:                      df invocation.
  9476. -* POSIXLY_CORRECT, overridden by df -k: df invocation.
  9477. -* POSIXLY_CORRECT, overridden by du -k: du invocation.
  9478. -* POSIXLY_CORRECT, overridden by ls -k: General output formatting.
  9479. -* POSIXLY_CORRECT, overrides ls -s:     What information is listed.
  9480. -* printing color database:              dircolors invocation.
  9481. -* prompting, and ln:                    ln invocation.
  9482. -* prompting, and mv:                    mv invocation.
  9483. -* prompting, and rm:                    rm invocation.
  9484. -* prompts, forcing:                     mv invocation.
  9485. -* prompts, omitting:                    mv invocation.
  9486. -* pure numbers in date strings:         Pure numbers in date strings.
  9487. -* read system call, and holes:          cp invocation.
  9488. -* read errors, ignoring:                dd invocation.
  9489. -* read permission:                      Mode Structure.
  9490. -* read permission, symbolic:            Setting Permissions.
  9491. -* recursive directory listing:          Which files are listed.
  9492. -* recursively changing access permissions: chmod invocation.
  9493. -* recursively changing file ownership:  chown invocation.
  9494. -* recursively changing group ownership: chgrp invocation.
  9495. -* recursively copying directories:      cp invocation.
  9496. -* relative items in date strings:       Relative item in date strings.
  9497. -* removing empty directories:           rmdir invocation.
  9498. -* removing files or directories:        rm invocation.
  9499. -* removing permissions:                 Setting Permissions.
  9500. -* reverse sorting:                      Sorting the output.
  9501. -* rm:                                   rm invocation.
  9502. -* rmdir:                                rmdir invocation.
  9503. -* root as default owner:                install invocation.
  9504. -* Salz, Rich:                           Authors of getdate.
  9505. -* seek:                                 dd invocation.
  9506. -* self-backups:                         cp invocation.
  9507. -* setgid:                               Mode Structure.
  9508. -* setting permissions:                  Setting Permissions.
  9509. -* setuid:                               Mode Structure.
  9510. -* setup for color:                      dircolors invocation.
  9511. -* SHELL environment variable, and color: dircolors invocation.
  9512. -* simple backup method:                 Backup options.
  9513. -* SIMPLE_BACKUP_SUFFIX:                 Backup options.
  9514. -* single-column output of files:        General output formatting.
  9515. -* size of files, reporting:             What information is listed.
  9516. -* size of files, sorting files by:      Sorting the output.
  9517. -* skip:                                 dd invocation.
  9518. -* sorting ls output:                    Sorting the output.
  9519. -* sparse files, copying:                cp invocation.
  9520. -* special file types:                   Special file types.
  9521. -* special files:                        mknod invocation.
  9522. -* status time, sorting by:              Sorting the output.
  9523. -* sticky:                               Mode Structure.
  9524. -* stripping symbol table information:   install invocation.
  9525. -* subtracting permissions:              Setting Permissions.
  9526. -* superblock, writing:                  sync invocation.
  9527. -* swab (byte-swapping):                 dd invocation.
  9528. -* swap space, saving text image in:     Mode Structure.
  9529. -* Swedish Winter Time:                  Timezone item.
  9530. -* symbol table information, stripping:  install invocation.
  9531. -* symbolic (soft) links, creating:      ln invocation.
  9532. -* symbolic links, changing group:       chgrp invocation.
  9533. -* symbolic links, changing owner:       chown invocation.
  9534. -* symbolic links, copying:              cp invocation.
  9535. -* symbolic links, copying with:         cp invocation.
  9536. -* symbolic links, dereferencing:        Which files are listed.
  9537. -* symbolic links, permissions of:       chmod invocation.
  9538. -* symbolic modes:                       Symbolic Modes.
  9539. -* sync:                                 sync invocation.
  9540. -* sync (padding with nulls):            dd invocation.
  9541. -* synchronize disk and memory:          sync invocation.
  9542. -* terminal, using color iff:            General output formatting.
  9543. -* text image, saving in swap space:     Mode Structure.
  9544. -* this in date strings:                 Relative item in date strings.
  9545. -* time:                                 touch invocation.
  9546. -* time of day item:                     Time of day item.
  9547. -* timestamps, changing file:            touch invocation.
  9548. -* timezone correction:                  Time of day item.
  9549. -* timezone item:                        Timezone item.
  9550. -* today in date strings:                Relative item in date strings.
  9551. -* tomorrow in date strings:             Relative item in date strings.
  9552. -* touch:                                touch invocation.
  9553. -* truncating output file, avoiding:     dd invocation.
  9554. -* u for unbuffered character special file: mknod invocation.
  9555. -* ucase, converting to:                 dd invocation.
  9556. -* ufs filesystem type:                  df invocation.
  9557. -* umask and modes:                      Umask and Protection.
  9558. -* unblock:                              dd invocation.
  9559. -* unbuffered character special file:    mknod invocation.
  9560. -* Universal Coordinated Time:           Timezone item.
  9561. -* unlink:                               rm invocation.
  9562. -* unsorted directory listing:           Sorting the output.
  9563. -* use time, changing:                   touch invocation.
  9564. -* use time, sorting files by:           Sorting the output.
  9565. -* USSR Zone:                            Timezone item.
  9566. -* utilities for file handling:          Top.
  9567. -* vdir:                                 vdir invocation.
  9568. -* verbose ls format:                    What information is listed.
  9569. -* version number, finding:              Common options.
  9570. -* version-control Emacs variable:       Backup options.
  9571. -* VERSION_CONTROL:                      Backup options.
  9572. -* vertical sorted files in columns:     General output formatting.
  9573. -* week in date strings:                 Relative item in date strings.
  9574. -* West African Time:                    Timezone item.
  9575. -* West Australian Standard Time:        Timezone item.
  9576. -* Western European Time:                Timezone item.
  9577. -* write permission:                     Mode Structure.
  9578. -* write permission, symbolic:           Setting Permissions.
  9579. -* year in date strings:                 Relative item in date strings.
  9580. -* yesterday in date strings:            Relative item in date strings.
  9581. -* Yukon Standard Time:                  Timezone item.
  9582. -
  9583. -
  9584. diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.texi amiga/fsf/fileutils/doc/fileutils.texi
  9585. --- baseline/fsf/fileutils/doc/fileutils.texi    Tue Jul  9 20:28:12 1996
  9586. +++ amiga/fsf/fileutils/doc/fileutils.texi    Sat Sep 28 00:00:00 1996
  9587. @@ -1296,6 +1296,15 @@ ownership of installed files or director
  9588.  is @code{root}.  @var{owner} may be either a user name or a numeric user
  9589.  ID.
  9590.  
  9591. +@item -l @var{logfile}
  9592. +@itemx --log=@var{logile}
  9593. +@opindex -l
  9594. +@opindex --log
  9595. +@cindex installlation log
  9596. +@vindex
  9597. +Create a log file with name, size and date of all installed files.
  9598. +@var{logfile} should be a path like /var/install-logs/fileutils-3.13.
  9599.  @item -s
  9600.  @itemx --strip
  9601.  @opindex -s
  9602. diff -rup --new-file baseline/fsf/fileutils/intl/Makefile.in amiga/fsf/fileutils/intl/Makefile.in
  9603. --- baseline/fsf/fileutils/intl/Makefile.in    Fri Jul  5 20:04:23 1996
  9604. +++ amiga/fsf/fileutils/intl/Makefile.in    Sat Sep 28 00:00:00 1996
  9605. @@ -40,7 +40,8 @@ INSTALL = @INSTALL@
  9606.  INSTALL_DATA = @INSTALL_DATA@
  9607.  MKINSTALLDIRS = @MKINSTALLDIRS@
  9608.  
  9609. -AR = ar
  9610. +AR = @AR@
  9611. +AR_FLAGS = cru
  9612.  CC = @CC@
  9613.  RANLIB = @RANLIB@
  9614.  
  9615. @@ -80,7 +81,7 @@ all-no:
  9616.  
  9617.  libintl.a: $(OBJECTS)
  9618.      rm -f $@
  9619. -    $(AR) cru $@ $(OBJECTS)
  9620. +    $(AR) $(AR_FLAGS) $@ $(OBJECTS)
  9621.      $(RANLIB) $@
  9622.  
  9623.  ../po/cat-id-tbl.o: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot
  9624. diff -rup --new-file baseline/fsf/fileutils/lib/Makefile.in amiga/fsf/fileutils/lib/Makefile.in
  9625. --- baseline/fsf/fileutils/lib/Makefile.in    Thu Jul 11 20:31:46 1996
  9626. +++ amiga/fsf/fileutils/lib/Makefile.in    Sat Sep 28 00:00:00 1996
  9627. @@ -87,7 +87,8 @@ safe-read.o save-cwd.o savedir.o stripsl
  9628.  xmalloc.o xstrdup.o xstrtol.o xstrtoul.o yesno.o
  9629.  EXTRA_fu_SOURCES =
  9630.  LIBFILES =  libfu.a
  9631. -AR = ar
  9632. +AR = @AR@
  9633. +AR_FLAGS = cru
  9634.  RANLIB = @RANLIB@
  9635.  HEADERS = $(noinst_HEADERS)
  9636.  
  9637. @@ -140,7 +141,7 @@ $(fu_OBJECTS): ../config.h
  9638.  
  9639.  libfu.a: $(fu_OBJECTS) $(fu_LIBADD)
  9640.      rm -f libfu.a
  9641. -    $(AR) cru libfu.a $(fu_OBJECTS) $(fu_LIBADD)
  9642. +    $(AR) $(AR_FLAGS) libfu.a $(fu_OBJECTS) $(fu_LIBADD)
  9643.      $(RANLIB) libfu.a
  9644.  
  9645.  ID: $(HEADERS) $(SOURCES)
  9646. diff -rup --new-file baseline/fsf/fileutils/lib/backupfile.c amiga/fsf/fileutils/lib/backupfile.c
  9647. --- baseline/fsf/fileutils/lib/backupfile.c    Sat May  4 18:48:02 1996
  9648. +++ amiga/fsf/fileutils/lib/backupfile.c    Sat Sep 28 00:00:00 1996
  9649. @@ -88,7 +88,13 @@ enum backup_type backup_type = none;
  9650.  
  9651.  /* The extension added to file names to produce a simple (as opposed
  9652.     to numbered) backup file name. */
  9653. +/* If anybody change this, don't forget to do the same in the functions
  9654. +   find_backup_file_name(), make_version_name() and version_number() <t.walter> */
  9655. +#ifdef __amigaos__
  9656. +char *simple_backup_suffix = "!";
  9657. +#else
  9658.  char *simple_backup_suffix = "~";
  9659. +#endif
  9660.  
  9661.  char *basename ();
  9662.  char *dirname ();
  9663. @@ -113,7 +119,11 @@ find_backup_file_name (file)
  9664.  
  9665.    if (backup_type == simple)
  9666.      return concat (file, simple_backup_suffix);
  9667. +#ifdef __amigaos__
  9668. +  base_versions = concat (basename (file), ".!");
  9669. +#else
  9670.    base_versions = concat (basename (file), ".~");
  9671. +#endif
  9672.    if (base_versions == 0)
  9673.      return 0;
  9674.    dir = dirname (file);
  9675. @@ -180,7 +190,11 @@ make_version_name (file, version)
  9676.    backup_name = malloc (strlen (file) + 16);
  9677.    if (backup_name == 0)
  9678.      return 0;
  9679. +#ifdef __amigaos__
  9680. +  sprintf (backup_name, "%s.!%d!", file, version);
  9681. +#else
  9682.    sprintf (backup_name, "%s.~%d~", file, version);
  9683. +#endif
  9684.    return backup_name;
  9685.  }
  9686.  
  9687. @@ -202,7 +216,11 @@ version_number (base, backup, base_lengt
  9688.      {
  9689.        for (p = &backup[base_length]; ISDIGIT (*p); ++p)
  9690.      version = version * 10 + *p - '0';
  9691. +#ifdef __amigaos__
  9692. +      if (p[0] != '!' || p[1])
  9693. +#else
  9694.        if (p[0] != '~' || p[1])
  9695. +#endif
  9696.      version = 0;
  9697.      }
  9698.    return version;
  9699. diff -rup --new-file baseline/fsf/fileutils/lib/euidaccess.c amiga/fsf/fileutils/lib/euidaccess.c
  9700. --- baseline/fsf/fileutils/lib/euidaccess.c    Tue May 21 05:04:28 1996
  9701. +++ amiga/fsf/fileutils/lib/euidaccess.c    Sat Sep 28 00:00:00 1996
  9702. @@ -157,7 +157,13 @@ euidaccess (path, mode)
  9703.  
  9704.    mode &= (X_OK | W_OK | R_OK);    /* Clear any bogus bits. */
  9705.  #if R_OK != S_IROTH || W_OK != S_IWOTH || X_OK != S_IXOTH
  9706. +#ifdef __BEOS__
  9707. +  /* Just punt safely.  Should never happen anyway until BeOS is multiuser. */
  9708. +  errno = EACCESS;
  9709. +  return -1;
  9710. +#else
  9711.    ?error Oops, portability assumptions incorrect.
  9712. +#endif
  9713.  #endif
  9714.  
  9715.    if (mode == F_OK)
  9716. diff -rup --new-file baseline/fsf/fileutils/manifests/bin amiga/fsf/fileutils/manifests/bin
  9717. --- baseline/fsf/fileutils/manifests/bin    Wed Dec 31 17:00:00 1969
  9718. +++ amiga/fsf/fileutils/manifests/bin    Sat Sep 28 00:00:00 1996
  9719. @@ -0,0 +1,49 @@
  9720. +COPYING
  9721. +COPYING.info
  9722. +bin/chgrp
  9723. +bin/chmod
  9724. +bin/chown
  9725. +bin/cp
  9726. +bin/dd
  9727. +bin/df
  9728. +bin/dir
  9729. +bin/dircolors
  9730. +bin/du
  9731. +bin/install
  9732. +bin/ln
  9733. +bin/ls
  9734. +bin/mkdir
  9735. +bin/mkfifo
  9736. +bin/mknod
  9737. +bin/mv
  9738. +bin/rm
  9739. +bin/rmdir
  9740. +bin/sync
  9741. +bin/touch
  9742. +bin/vdir
  9743. +info/fileutils.info
  9744. +info/fileutils.info-1
  9745. +info/fileutils.info-2
  9746. +info/fileutils.info-3
  9747. +man/man1/chgrp.1
  9748. +man/man1/chmod.1
  9749. +man/man1/chown.1
  9750. +man/man1/cp.1
  9751. +man/man1/dd.1
  9752. +man/man1/df.1
  9753. +man/man1/dircolors.1
  9754. +man/man1/du.1
  9755. +man/man1/install.1
  9756. +man/man1/ln.1
  9757. +man/man1/ls.1
  9758. +man/man1/mkdir.1
  9759. +man/man1/mkfifo.1
  9760. +man/man1/mknod.1
  9761. +man/man1/mv.1
  9762. +man/man1/rm.1
  9763. +man/man1/rmdir.1
  9764. +man/man1/touch.1
  9765. +share/locale/de/LC_MESSAGES/fileutils.mo
  9766. +share/locale/fr/LC_MESSAGES/fileutils.mo
  9767. +share/locale/pt/LC_MESSAGES/fileutils.mo
  9768. +share/locale/sv/LC_MESSAGES/fileutils.mo
  9769. diff -rup --new-file baseline/fsf/fileutils/manifests/src amiga/fsf/fileutils/manifests/src
  9770. --- baseline/fsf/fileutils/manifests/src    Wed Dec 31 17:00:00 1969
  9771. +++ amiga/fsf/fileutils/manifests/src    Mon Sep 30 13:02:43 1996
  9772. @@ -0,0 +1,194 @@
  9773. +fsf/fileutils/ABOUT-NLS
  9774. +fsf/fileutils/AUTHORS
  9775. +fsf/fileutils/BeOS.diffs
  9776. +fsf/fileutils/COPYING
  9777. +fsf/fileutils/ChangeLog
  9778. +fsf/fileutils/INSTALL
  9779. +fsf/fileutils/Makefile.am
  9780. +fsf/fileutils/Makefile.in
  9781. +fsf/fileutils/NEWS
  9782. +fsf/fileutils/Product-Info
  9783. +fsf/fileutils/README
  9784. +fsf/fileutils/TODO
  9785. +fsf/fileutils/acconfig.h
  9786. +fsf/fileutils/aclocal.m4
  9787. +fsf/fileutils/config.guess
  9788. +fsf/fileutils/config.h.in
  9789. +fsf/fileutils/config.sub
  9790. +fsf/fileutils/configure
  9791. +fsf/fileutils/configure.in
  9792. +fsf/fileutils/doc/Makefile.am
  9793. +fsf/fileutils/doc/Makefile.in
  9794. +fsf/fileutils/doc/fileutils.texi
  9795. +fsf/fileutils/doc/getdate.texi
  9796. +fsf/fileutils/doc/mdate-sh
  9797. +fsf/fileutils/doc/perm.texi
  9798. +fsf/fileutils/doc/stamp-vti
  9799. +fsf/fileutils/doc/texinfo.tex
  9800. +fsf/fileutils/doc/version.texi
  9801. +fsf/fileutils/install-sh
  9802. +fsf/fileutils/intl/ChangeLog
  9803. +fsf/fileutils/intl/Makefile.in
  9804. +fsf/fileutils/intl/VERSION
  9805. +fsf/fileutils/intl/bindtextdom.c
  9806. +fsf/fileutils/intl/cat-compat.c
  9807. +fsf/fileutils/intl/dcgettext.c
  9808. +fsf/fileutils/intl/dgettext.c
  9809. +fsf/fileutils/intl/explodename.c
  9810. +fsf/fileutils/intl/finddomain.c
  9811. +fsf/fileutils/intl/gettext.c
  9812. +fsf/fileutils/intl/gettext.h
  9813. +fsf/fileutils/intl/gettextP.h
  9814. +fsf/fileutils/intl/hash-string.h
  9815. +fsf/fileutils/intl/intl-compat.c
  9816. +fsf/fileutils/intl/l10nflist.c
  9817. +fsf/fileutils/intl/libgettext.h
  9818. +fsf/fileutils/intl/linux-msg.sed
  9819. +fsf/fileutils/intl/loadinfo.h
  9820. +fsf/fileutils/intl/loadmsgcat.c
  9821. +fsf/fileutils/intl/localealias.c
  9822. +fsf/fileutils/intl/po2tbl.sed.in
  9823. +fsf/fileutils/intl/textdomain.c
  9824. +fsf/fileutils/intl/xopen-msg.sed
  9825. +fsf/fileutils/lib/Makefile.am
  9826. +fsf/fileutils/lib/Makefile.in
  9827. +fsf/fileutils/lib/alloca.c
  9828. +fsf/fileutils/lib/argmatch.c
  9829. +fsf/fileutils/lib/argmatch.h
  9830. +fsf/fileutils/lib/backupfile.c
  9831. +fsf/fileutils/lib/backupfile.h
  9832. +fsf/fileutils/lib/basename.c
  9833. +fsf/fileutils/lib/dirname.c
  9834. +fsf/fileutils/lib/error.c
  9835. +fsf/fileutils/lib/error.h
  9836. +fsf/fileutils/lib/euidaccess.c
  9837. +fsf/fileutils/lib/fileblocks.c
  9838. +fsf/fileutils/lib/filemode.c
  9839. +fsf/fileutils/lib/fnmatch.c
  9840. +fsf/fileutils/lib/fnmatch.h
  9841. +fsf/fileutils/lib/fsusage.c
  9842. +fsf/fileutils/lib/fsusage.h
  9843. +fsf/fileutils/lib/ftruncate.c
  9844. +fsf/fileutils/lib/full-write.c
  9845. +fsf/fileutils/lib/getdate.c
  9846. +fsf/fileutils/lib/getdate.y
  9847. +fsf/fileutils/lib/getline.c
  9848. +fsf/fileutils/lib/getline.h
  9849. +fsf/fileutils/lib/getopt.c
  9850. +fsf/fileutils/lib/getopt.h
  9851. +fsf/fileutils/lib/getopt1.c
  9852. +fsf/fileutils/lib/getversion.c
  9853. +fsf/fileutils/lib/group-member.c
  9854. +fsf/fileutils/lib/group-member.h
  9855. +fsf/fileutils/lib/idcache.c
  9856. +fsf/fileutils/lib/isdir.c
  9857. +fsf/fileutils/lib/long-options.c
  9858. +fsf/fileutils/lib/long-options.h
  9859. +fsf/fileutils/lib/makepath.c
  9860. +fsf/fileutils/lib/makepath.h
  9861. +fsf/fileutils/lib/memcmp.c
  9862. +fsf/fileutils/lib/memcpy.c
  9863. +fsf/fileutils/lib/memset.c
  9864. +fsf/fileutils/lib/mkdir.c
  9865. +fsf/fileutils/lib/mktime.c
  9866. +fsf/fileutils/lib/modechange.c
  9867. +fsf/fileutils/lib/modechange.h
  9868. +fsf/fileutils/lib/mountlist.c
  9869. +fsf/fileutils/lib/mountlist.h
  9870. +fsf/fileutils/lib/obstack.c
  9871. +fsf/fileutils/lib/obstack.h
  9872. +fsf/fileutils/lib/pathmax.h
  9873. +fsf/fileutils/lib/posixtm.c
  9874. +fsf/fileutils/lib/posixtm.y
  9875. +fsf/fileutils/lib/rename.c
  9876. +fsf/fileutils/lib/rmdir.c
  9877. +fsf/fileutils/lib/safe-read.c
  9878. +fsf/fileutils/lib/save-cwd.c
  9879. +fsf/fileutils/lib/save-cwd.h
  9880. +fsf/fileutils/lib/savedir.c
  9881. +fsf/fileutils/lib/stpcpy.c
  9882. +fsf/fileutils/lib/strcasecmp.c
  9883. +fsf/fileutils/lib/strdup.c
  9884. +fsf/fileutils/lib/stripslash.c
  9885. +fsf/fileutils/lib/strndup.c
  9886. +fsf/fileutils/lib/strstr.c
  9887. +fsf/fileutils/lib/strtol.c
  9888. +fsf/fileutils/lib/strtoul.c
  9889. +fsf/fileutils/lib/userspec.c
  9890. +fsf/fileutils/lib/xgetcwd.c
  9891. +fsf/fileutils/lib/xmalloc.c
  9892. +fsf/fileutils/lib/xstrdup.c
  9893. +fsf/fileutils/lib/xstrtol.c
  9894. +fsf/fileutils/lib/xstrtol.h
  9895. +fsf/fileutils/lib/xstrtoul.c
  9896. +fsf/fileutils/lib/xstrtoul.h
  9897. +fsf/fileutils/lib/yesno.c
  9898. +fsf/fileutils/man/Makefile.am
  9899. +fsf/fileutils/man/Makefile.in
  9900. +fsf/fileutils/man/chgrp.1
  9901. +fsf/fileutils/man/chmod.1
  9902. +fsf/fileutils/man/chown.1
  9903. +fsf/fileutils/man/cp.1
  9904. +fsf/fileutils/man/dd.1
  9905. +fsf/fileutils/man/df.1
  9906. +fsf/fileutils/man/dircolors.1
  9907. +fsf/fileutils/man/du.1
  9908. +fsf/fileutils/man/install.1
  9909. +fsf/fileutils/man/ln.1
  9910. +fsf/fileutils/man/ls.1
  9911. +fsf/fileutils/man/mkdir.1
  9912. +fsf/fileutils/man/mkfifo.1
  9913. +fsf/fileutils/man/mknod.1
  9914. +fsf/fileutils/man/mv.1
  9915. +fsf/fileutils/man/rm.1
  9916. +fsf/fileutils/man/rmdir.1
  9917. +fsf/fileutils/man/touch.1
  9918. +fsf/fileutils/manifests/bin
  9919. +fsf/fileutils/manifests/src
  9920. +fsf/fileutils/mkinstalldirs
  9921. +fsf/fileutils/po/ChangeLog
  9922. +fsf/fileutils/po/Makefile.in.in
  9923. +fsf/fileutils/po/POTFILES.in
  9924. +fsf/fileutils/po/cat-id-tbl.c
  9925. +fsf/fileutils/po/de.po
  9926. +fsf/fileutils/po/fileutils.pot
  9927. +fsf/fileutils/po/fr.po
  9928. +fsf/fileutils/po/pt.po
  9929. +fsf/fileutils/po/stamp-cat-id
  9930. +fsf/fileutils/po/sv.po
  9931. +fsf/fileutils/src/Makefile.am
  9932. +fsf/fileutils/src/Makefile.in
  9933. +fsf/fileutils/src/ansi2knr.1
  9934. +fsf/fileutils/src/ansi2knr.c
  9935. +fsf/fileutils/src/chgrp.c
  9936. +fsf/fileutils/src/chmod.c
  9937. +fsf/fileutils/src/chown.c
  9938. +fsf/fileutils/src/cp-aux.c
  9939. +fsf/fileutils/src/cp-hash.c
  9940. +fsf/fileutils/src/cp.c
  9941. +fsf/fileutils/src/cp.h
  9942. +fsf/fileutils/src/dcgen.pl
  9943. +fsf/fileutils/src/dd.c
  9944. +fsf/fileutils/src/df.c
  9945. +fsf/fileutils/src/dircolors.c
  9946. +fsf/fileutils/src/dircolors.h
  9947. +fsf/fileutils/src/dircolors.hin
  9948. +fsf/fileutils/src/du.c
  9949. +fsf/fileutils/src/install.c
  9950. +fsf/fileutils/src/ln.c
  9951. +fsf/fileutils/src/ls-dir.c
  9952. +fsf/fileutils/src/ls-ls.c
  9953. +fsf/fileutils/src/ls-vdir.c
  9954. +fsf/fileutils/src/ls.c
  9955. +fsf/fileutils/src/ls.h
  9956. +fsf/fileutils/src/mkdir.c
  9957. +fsf/fileutils/src/mkfifo.c
  9958. +fsf/fileutils/src/mknod.c
  9959. +fsf/fileutils/src/mv.c
  9960. +fsf/fileutils/src/mvdir.c
  9961. +fsf/fileutils/src/rm.c
  9962. +fsf/fileutils/src/rmdir.c
  9963. +fsf/fileutils/src/sync.c
  9964. +fsf/fileutils/src/system.h
  9965. +fsf/fileutils/src/touch.c
  9966. +fsf/fileutils/stamp-h.in
  9967. diff -rup --new-file baseline/fsf/fileutils/po/Makefile.in.in amiga/fsf/fileutils/po/Makefile.in.in
  9968. --- baseline/fsf/fileutils/po/Makefile.in.in    Tue Jul  9 16:24:53 1996
  9969. +++ amiga/fsf/fileutils/po/Makefile.in.in    Sat Sep 28 00:00:00 1996
  9970. @@ -78,7 +78,7 @@ INSTOBJEXT = @INSTOBJEXT@
  9971.      $(MSGFMT) -o $@ $<
  9972.  
  9973.  .po.gmo:
  9974. -    file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
  9975. +    file=`echo $* | sed 's,.*/,,'`.gmo \
  9976.        && rm -f $$file && $(GMSGFMT) -o $$file $<
  9977.  
  9978.  .po.cat:
  9979. Binary files baseline/fsf/fileutils/po/de.gmo and amiga/fsf/fileutils/po/de.gmo differ
  9980. Binary files baseline/fsf/fileutils/po/fr.gmo and amiga/fsf/fileutils/po/fr.gmo differ
  9981. Binary files baseline/fsf/fileutils/po/pt.gmo and amiga/fsf/fileutils/po/pt.gmo differ
  9982. Binary files baseline/fsf/fileutils/po/sv.gmo and amiga/fsf/fileutils/po/sv.gmo differ
  9983. diff -rup --new-file baseline/fsf/fileutils/src/cp.c amiga/fsf/fileutils/src/cp.c
  9984. --- baseline/fsf/fileutils/src/cp.c    Fri Jun 21 08:29:55 1996
  9985. +++ amiga/fsf/fileutils/src/cp.c    Sat Sep 28 00:00:00 1996
  9986. @@ -1274,8 +1274,10 @@ copy_reg (const char *src_path, const ch
  9987.  #endif
  9988.  
  9989.    /* Make a buffer with space for a sentinel at the end.  */
  9990. +  /* This can be quite large in some circumstances, so get the
  9991. +     memory from malloc rather than alloca'ing a large stack */
  9992.  
  9993. -  buf = (char *) alloca (buf_size + sizeof (int));
  9994. +  buf = (char *) xmalloc (buf_size + sizeof (int));
  9995.  
  9996.    for (;;)
  9997.      {
  9998. @@ -1376,5 +1378,6 @@ ret2:
  9999.        return_val = -1;
  10000.      }
  10001.  
  10002. +  free (buf);
  10003.    return return_val;
  10004.  }
  10005. diff -rup --new-file baseline/fsf/fileutils/src/du.c amiga/fsf/fileutils/src/du.c
  10006. --- baseline/fsf/fileutils/src/du.c    Tue Apr 23 21:55:21 1996
  10007. +++ amiga/fsf/fileutils/src/du.c    Sat Sep 28 00:00:00 1996
  10008. @@ -537,9 +537,13 @@ count_entry (char *ent, int top, dev_t l
  10009.        /* If we're dereferencing symlinks and we're about to chdir through
  10010.       a symlink, remember the current directory so we can return to it
  10011.       later.  In other cases, chdir ("..") works fine.  */
  10012. +#ifndef HAVE_LSTAT
  10013. +      through_symlink = 0;
  10014. +#else
  10015.        through_symlink = (xstat == stat
  10016.               && lstat (ent, &e_buf) == 0
  10017.               && S_ISLNK (e_buf.st_mode));
  10018. +#endif
  10019.        if (through_symlink)
  10020.      if (save_cwd (&cwd))
  10021.        exit (1);
  10022. diff -rup --new-file baseline/fsf/fileutils/src/install.c amiga/fsf/fileutils/src/install.c
  10023. --- baseline/fsf/fileutils/src/install.c    Tue Jul  9 18:19:12 1996
  10024. +++ amiga/fsf/fileutils/src/install.c    Sat Sep 28 00:00:00 1996
  10025. @@ -50,6 +50,11 @@
  10026.      This is different from the SunOS 4.0 install, which gives
  10027.      directories that it creates the default attributes.
  10028.  
  10029. +   -l, --log=LOGFILE
  10030. +        Create a log file with name, size and date of all
  10031. +    installed files. LOGFILE should be a path like
  10032. +    /var/install-logs/fileutils-3.13. lhecking@nmrc.ucc.ie
  10033. +
  10034.     David MacKenzie <djm@gnu.ai.mit.edu> */
  10035.  
  10036.  #include <config.h>
  10037. @@ -79,7 +84,9 @@
  10038.  #endif
  10039.  
  10040.  struct passwd *getpwnam ();
  10041. +#ifndef __BEOS__    /* BEOS has getgrnam but declared as "void *" in DR8 */
  10042.  struct group *getgrnam ();
  10043. +#endif
  10044.  
  10045.  #ifndef _POSIX_VERSION
  10046.  uid_t getuid ();
  10047. @@ -154,6 +161,12 @@ static int strip_files;
  10048.  /* If nonzero, install a directory instead of a regular file. */
  10049.  static int dir_arg;
  10050.  
  10051. +/* File * to log file. */
  10052. +static FILE *log_file;
  10053. +
  10054. +/* If nonzero, create installation log. */
  10055. +static int install_log;
  10056. +
  10057.  /* If nonzero, display usage information and exit.  */
  10058.  static int show_help;
  10059.  
  10060. @@ -167,6 +180,7 @@ static struct option const long_options[
  10061.    {"group", required_argument, NULL, 'g'},
  10062.    {"mode", required_argument, NULL, 'm'},
  10063.    {"owner", required_argument, NULL, 'o'},
  10064. +  {"log", required_argument, NULL, 'l'},
  10065.    {"backup", no_argument, NULL, 'b'},
  10066.    {"version-control", required_argument, NULL, 'V'},
  10067.    {"help", no_argument, &show_help, 1},
  10068. @@ -182,6 +196,7 @@ main (int argc, char **argv)
  10069.    char *symbolic_mode = NULL;
  10070.    int make_backups = 0;
  10071.    char *version;
  10072. +  char *log_file_name = NULL;
  10073.  
  10074.    program_name = argv[0];
  10075.    setlocale (LC_ALL, "");
  10076. @@ -200,7 +215,7 @@ main (int argc, char **argv)
  10077.        simple_backup_suffix = version;
  10078.     version = getenv ("VERSION_CONTROL");
  10079.  
  10080. -  while ((optc = getopt_long (argc, argv, "bcsdg:m:o:V:S:", long_options,
  10081. +  while ((optc = getopt_long (argc, argv, "bcsdg:m:o:l:V:S:", long_options,
  10082.                    (int *) 0)) != EOF)
  10083.      {
  10084.        switch (optc)
  10085. @@ -227,6 +242,9 @@ main (int argc, char **argv)
  10086.      case 'o':
  10087.        owner_name = optarg;
  10088.        break;
  10089. +    case 'l':
  10090. +      log_file_name = optarg;
  10091. +      install_log = 1;
  10092.      case 'S':
  10093.        simple_backup_suffix = optarg;
  10094.        break;
  10095. @@ -273,6 +291,15 @@ main (int argc, char **argv)
  10096.  
  10097.    get_ids ();
  10098.  
  10099. +  if (install_log)
  10100. +    {
  10101. +      log_file = fopen (log_file_name, "a");
  10102. +
  10103. +      if (log_file == NULL)
  10104. +    error (1, 0, _("cannot open log file `%s'"), log_file_name);
  10105. +
  10106. +    }
  10107. +
  10108.    if (dir_arg)
  10109.      {
  10110.        for (; optind < argc; ++optind)
  10111. @@ -301,6 +328,9 @@ main (int argc, char **argv)
  10112.      }
  10113.      }
  10114.  
  10115. +  if (log_file)
  10116. +    fclose (log_file);
  10117. +
  10118.    exit (errors);
  10119.  }
  10120.  
  10121. @@ -452,6 +482,11 @@ copy_file (char *from, char *to, int *to
  10122.      }
  10123.    if (ret == 0)
  10124.      *to_created = target_created;
  10125. +
  10126. +  if (log_file)
  10127. +    fprintf (log_file, "%s\t%-ld\t%-s", \
  10128. +         to, (long)from_stats.st_size, ctime (&(from_stats.st_mtime)));
  10129. +
  10130.    return ret;
  10131.  
  10132.   copy_error:
  10133. @@ -512,7 +547,11 @@ strip (char *path)
  10134.  {
  10135.    int pid, status;
  10136.  
  10137. +#ifdef HAVE_VFORK
  10138. +  pid = vfork ();
  10139. +#else
  10140.    pid = fork ();
  10141. +#endif
  10142.    switch (pid)
  10143.      {
  10144.      case -1:
  10145. @@ -601,6 +640,7 @@ format, make all components of the given
  10146.    -o, --owner=OWNER   set ownership (super-user only)\n\
  10147.    -s, --strip         strip symbol tables, only for 1st and 2nd formats\n\
  10148.    -b, --backup        make backup before removal\n\
  10149. +  -l, --log=FILE      create installation log\n\
  10150.    -S, --suffix=SUFFIX override the usual backup suffix\n\
  10151.    -V, --version-control=WORD   override the usual version control\n\
  10152.        --help          display this help and exit\n\
  10153. diff -rup --new-file baseline/fsf/fileutils/src/ls.c amiga/fsf/fileutils/src/ls.c
  10154. --- baseline/fsf/fileutils/src/ls.c    Sun Jul  7 21:23:47 1996
  10155. +++ amiga/fsf/fileutils/src/ls.c    Sat Sep 28 00:00:00 1996
  10156. @@ -2668,7 +2668,11 @@ attach (char *dest, const char *dirname,
  10157.        while (*dirnamep)
  10158.      *dest++ = *dirnamep++;
  10159.        /* Add '/' if `dirname' doesn't already end with it. */
  10160. -      if (dirnamep > dirname && dirnamep[-1] != '/')
  10161. +      if (dirnamep > dirname && dirnamep[-1] != '/'
  10162. +#ifdef __amigaos__
  10163. +      && dirnamep[-1] != ':'
  10164. +#endif
  10165. +      )
  10166.      *dest++ = '/';
  10167.      }
  10168.    while (*name)
  10169. diff -rup --new-file baseline/fsf/fileutils/src/system.h amiga/fsf/fileutils/src/system.h
  10170. --- baseline/fsf/fileutils/src/system.h    Tue Jul  2 20:59:48 1996
  10171. +++ amiga/fsf/fileutils/src/system.h    Sat Sep 28 00:00:00 1996
  10172. @@ -351,3 +351,9 @@ char *alloca ();
  10173.  #endif
  10174.  
  10175.  #define STREQ(a,b) (strcmp((a), (b)) == 0)
  10176. +
  10177. +/* On systems without lstat(), substitute stat */
  10178. +
  10179. +#ifndef HAVE_LSTAT
  10180. +#define lstat stat
  10181. +#endif
  10182.