home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / cpio-2.4.2-diffs.gz / cpio-2.4.2-diffs
Text File  |  1996-10-13  |  77KB  |  2,344 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/cpio/BeOS.diffs amiga/fsf/cpio/BeOS.diffs
  12. --- baseline/fsf/cpio/BeOS.diffs    Wed Dec 31 17:00:00 1969
  13. +++ amiga/fsf/cpio/BeOS.diffs    Sat Sep 28 00:00:00 1996
  14. @@ -0,0 +1,573 @@
  15. +This patch works around current bugs in the BeOS shell that affect
  16. +configure.
  17. +
  18. +============================================================================
  19. +
  20. +diff -rc cpio-ref/configure cpio/configure
  21. +*** cpio-ref/configure    Tue Sep 10 03:05:53 1996
  22. +--- cpio/configure    Mon Sep 16 01:55:42 1996
  23. +***************
  24. +*** 599,605 ****
  25. +    yes;
  26. +  #endif
  27. +  EOF
  28. +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  29. +    ac_cv_prog_gcc=yes
  30. +  else
  31. +    ac_cv_prog_gcc=no
  32. +--- 599,605 ----
  33. +    yes;
  34. +  #endif
  35. +  EOF
  36. +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:603: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; } | egrep yes >/dev/null 2>&1; then
  37. +    ac_cv_prog_gcc=yes
  38. +  else
  39. +    ac_cv_prog_gcc=no
  40. +***************
  41. +*** 657,663 ****
  42. +  Syntax Error
  43. +  EOF
  44. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  45. +! { (eval echo configure:661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  46. +  ac_err=`grep -v '^ *+' conftest.out`
  47. +  if test -z "$ac_err"; then
  48. +    :
  49. +--- 657,663 ----
  50. +  Syntax Error
  51. +  EOF
  52. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  53. +! { (eval echo configure:661: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  54. +  ac_err=`grep -v '^ *+' conftest.out`
  55. +  if test -z "$ac_err"; then
  56. +    :
  57. +***************
  58. +*** 672,678 ****
  59. +  Syntax Error
  60. +  EOF
  61. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  62. +! { (eval echo configure:676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  63. +  ac_err=`grep -v '^ *+' conftest.out`
  64. +  if test -z "$ac_err"; then
  65. +    :
  66. +--- 672,678 ----
  67. +  Syntax Error
  68. +  EOF
  69. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  70. +! { (eval echo configure:676: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  71. +  ac_err=`grep -v '^ *+' conftest.out`
  72. +  if test -z "$ac_err"; then
  73. +    :
  74. +***************
  75. +*** 851,857 ****
  76. +  #include <minix/config.h>
  77. +  EOF
  78. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  79. +! { (eval echo configure:855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  80. +  ac_err=`grep -v '^ *+' conftest.out`
  81. +  if test -z "$ac_err"; then
  82. +    rm -rf conftest*
  83. +--- 851,857 ----
  84. +  #include <minix/config.h>
  85. +  EOF
  86. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  87. +! { (eval echo configure:855: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  88. +  ac_err=`grep -v '^ *+' conftest.out`
  89. +  if test -z "$ac_err"; then
  90. +    rm -rf conftest*
  91. +***************
  92. +*** 929,935 ****
  93. +  int i;
  94. +  ; return 0; }
  95. +  EOF
  96. +! if { (eval echo configure:933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  97. +    rm -rf conftest*
  98. +    ac_cv_type_signal=void
  99. +  else
  100. +--- 929,935 ----
  101. +  int i;
  102. +  ; return 0; }
  103. +  EOF
  104. +! if { (eval echo configure:933: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  105. +    rm -rf conftest*
  106. +    ac_cv_type_signal=void
  107. +  else
  108. +***************
  109. +*** 959,965 ****
  110. +  return makedev(0, 0);
  111. +  ; return 0; }
  112. +  EOF
  113. +! if { (eval echo configure:963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  114. +    rm -rf conftest*
  115. +    ac_cv_header_sys_types_h_makedev=yes
  116. +  else
  117. +--- 959,965 ----
  118. +  return makedev(0, 0);
  119. +  ; return 0; }
  120. +  EOF
  121. +! if { (eval echo configure:963: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  122. +    rm -rf conftest*
  123. +    ac_cv_header_sys_types_h_makedev=yes
  124. +  else
  125. +***************
  126. +*** 985,991 ****
  127. +  #include <sys/mkdev.h>
  128. +  EOF
  129. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  130. +! { (eval echo configure:989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  131. +  ac_err=`grep -v '^ *+' conftest.out`
  132. +  if test -z "$ac_err"; then
  133. +    rm -rf conftest*
  134. +--- 985,991 ----
  135. +  #include <sys/mkdev.h>
  136. +  EOF
  137. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  138. +! { (eval echo configure:989: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  139. +  ac_err=`grep -v '^ *+' conftest.out`
  140. +  if test -z "$ac_err"; then
  141. +    rm -rf conftest*
  142. +***************
  143. +*** 1020,1026 ****
  144. +  #include <sys/sysmacros.h>
  145. +  EOF
  146. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  147. +! { (eval echo configure:1024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  148. +  ac_err=`grep -v '^ *+' conftest.out`
  149. +  if test -z "$ac_err"; then
  150. +    rm -rf conftest*
  151. +--- 1020,1026 ----
  152. +  #include <sys/sysmacros.h>
  153. +  EOF
  154. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  155. +! { (eval echo configure:1024: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  156. +  ac_err=`grep -v '^ *+' conftest.out`
  157. +  if test -z "$ac_err"; then
  158. +    rm -rf conftest*
  159. +***************
  160. +*** 1058,1064 ****
  161. +  #include <sys/mtio.h>
  162. +  EOF
  163. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  164. +! { (eval echo configure:1062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  165. +  ac_err=`grep -v '^ *+' conftest.out`
  166. +  if test -z "$ac_err"; then
  167. +    rm -rf conftest*
  168. +--- 1058,1064 ----
  169. +  #include <sys/mtio.h>
  170. +  EOF
  171. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  172. +! { (eval echo configure:1062: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  173. +  ac_err=`grep -v '^ *+' conftest.out`
  174. +  if test -z "$ac_err"; then
  175. +    rm -rf conftest*
  176. +***************
  177. +*** 1084,1090 ****
  178. +  #include <sys/socket.h>
  179. +  EOF
  180. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  181. +! { (eval echo configure:1088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  182. +  ac_err=`grep -v '^ *+' conftest.out`
  183. +  if test -z "$ac_err"; then
  184. +    rm -rf conftest*
  185. +--- 1084,1090 ----
  186. +  #include <sys/socket.h>
  187. +  EOF
  188. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  189. +! { (eval echo configure:1088: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  190. +  ac_err=`grep -v '^ *+' conftest.out`
  191. +  if test -z "$ac_err"; then
  192. +    rm -rf conftest*
  193. +***************
  194. +*** 1114,1120 ****
  195. +  #include <netdb.h>
  196. +  EOF
  197. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  198. +! { (eval echo configure:1118: \"$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. +--- 1114,1120 ----
  203. +  #include <netdb.h>
  204. +  EOF
  205. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  206. +! { (eval echo configure:1118: \"$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. +*** 1203,1209 ****
  212. +  
  213. +  ; return 0; }
  214. +  EOF
  215. +! if { (eval echo configure:1207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  216. +    rm -rf conftest*
  217. +    ac_cv_c_const=yes
  218. +  else
  219. +--- 1203,1209 ----
  220. +  
  221. +  ; return 0; }
  222. +  EOF
  223. +! if { (eval echo configure:1207: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  224. +    rm -rf conftest*
  225. +    ac_cv_c_const=yes
  226. +  else
  227. +***************
  228. +*** 1268,1274 ****
  229. +  #include "confdefs.h"
  230. +  main(){return(0);}
  231. +  EOF
  232. +! { (eval echo configure:1272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  233. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  234. +    ac_cv_c_cross=no
  235. +  else
  236. +--- 1268,1274 ----
  237. +  #include "confdefs.h"
  238. +  main(){return(0);}
  239. +  EOF
  240. +! { (eval echo configure:1272: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  241. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  242. +    ac_cv_c_cross=no
  243. +  else
  244. +***************
  245. +*** 1294,1300 ****
  246. +  #include <float.h>
  247. +  EOF
  248. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  249. +! { (eval echo configure:1298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  250. +  ac_err=`grep -v '^ *+' conftest.out`
  251. +  if test -z "$ac_err"; then
  252. +    rm -rf conftest*
  253. +--- 1294,1300 ----
  254. +  #include <float.h>
  255. +  EOF
  256. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  257. +! { (eval echo configure:1298: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  258. +  ac_err=`grep -v '^ *+' conftest.out`
  259. +  if test -z "$ac_err"; then
  260. +    rm -rf conftest*
  261. +***************
  262. +*** 1359,1365 ****
  263. +  exit (0); }
  264. +  
  265. +  EOF
  266. +! { (eval echo configure:1363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  267. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  268. +    :
  269. +  else
  270. +--- 1359,1365 ----
  271. +  exit (0); }
  272. +  
  273. +  EOF
  274. +! { (eval echo configure:1363: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  275. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  276. +    :
  277. +  else
  278. +***************
  279. +*** 1391,1397 ****
  280. +  #include <$ac_hdr>
  281. +  EOF
  282. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  283. +! { (eval echo configure:1395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  284. +  ac_err=`grep -v '^ *+' conftest.out`
  285. +  if test -z "$ac_err"; then
  286. +    rm -rf conftest*
  287. +--- 1391,1397 ----
  288. +  #include <$ac_hdr>
  289. +  EOF
  290. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  291. +! { (eval echo configure:1395: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  292. +  ac_err=`grep -v '^ *+' conftest.out`
  293. +  if test -z "$ac_err"; then
  294. +    rm -rf conftest*
  295. +***************
  296. +*** 1446,1452 ****
  297. +  
  298. +  ; return 0; }
  299. +  EOF
  300. +! if { (eval echo configure:1450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  301. +    rm -rf conftest*
  302. +    eval "ac_cv_func_$ac_func=yes"
  303. +  else
  304. +--- 1446,1452 ----
  305. +  
  306. +  ; return 0; }
  307. +  EOF
  308. +! if { (eval echo configure:1450: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  309. +    rm -rf conftest*
  310. +    eval "ac_cv_func_$ac_func=yes"
  311. +  else
  312. +***************
  313. +*** 1478,1484 ****
  314. +  struct utimbuf foo
  315. +  ; return 0; }
  316. +  EOF
  317. +! if { (eval echo configure:1482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  318. +    rm -rf conftest*
  319. +    echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
  320. +  #define HAVE_UTIME_H 1
  321. +--- 1478,1484 ----
  322. +  struct utimbuf foo
  323. +  ; return 0; }
  324. +  EOF
  325. +! if { (eval echo configure:1482: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  326. +    rm -rf conftest*
  327. +    echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
  328. +  #define HAVE_UTIME_H 1
  329. +***************
  330. +*** 1504,1510 ****
  331. +  if (fnmatch ("a*", "abc", 0) == 0) return 0;
  332. +  else return 1; }
  333. +  EOF
  334. +! { (eval echo configure:1508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  335. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  336. +    have_fnmatch=yes
  337. +  else
  338. +--- 1504,1510 ----
  339. +  if (fnmatch ("a*", "abc", 0) == 0) return 0;
  340. +  else return 1; }
  341. +  EOF
  342. +! { (eval echo configure:1508: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  343. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  344. +    have_fnmatch=yes
  345. +  else
  346. +***************
  347. +*** 1551,1557 ****
  348. +  
  349. +  ; return 0; }
  350. +  EOF
  351. +! if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  352. +    rm -rf conftest*
  353. +    eval "ac_cv_func_$ac_func=yes"
  354. +  else
  355. +--- 1551,1557 ----
  356. +  
  357. +  ; return 0; }
  358. +  EOF
  359. +! if { (eval echo configure:1555: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  360. +    rm -rf conftest*
  361. +    eval "ac_cv_func_$ac_func=yes"
  362. +  else
  363. +***************
  364. +*** 1602,1608 ****
  365. +  
  366. +  ; return 0; }
  367. +  EOF
  368. +! if { (eval echo configure:1606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  369. +    rm -rf conftest*
  370. +    eval "ac_cv_func_vprintf=yes"
  371. +  else
  372. +--- 1602,1608 ----
  373. +  
  374. +  ; return 0; }
  375. +  EOF
  376. +! if { (eval echo configure:1606: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  377. +    rm -rf conftest*
  378. +    eval "ac_cv_func_vprintf=yes"
  379. +  else
  380. +***************
  381. +*** 1652,1658 ****
  382. +  
  383. +  ; return 0; }
  384. +  EOF
  385. +! if { (eval echo configure:1656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  386. +    rm -rf conftest*
  387. +    eval "ac_cv_func__doprnt=yes"
  388. +  else
  389. +--- 1652,1658 ----
  390. +  
  391. +  ; return 0; }
  392. +  EOF
  393. +! if { (eval echo configure:1656: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  394. +    rm -rf conftest*
  395. +    eval "ac_cv_func__doprnt=yes"
  396. +  else
  397. +***************
  398. +*** 1689,1695 ****
  399. +  char *p = alloca(2 * sizeof(int));
  400. +  ; return 0; }
  401. +  EOF
  402. +! if { (eval echo configure:1693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  403. +    rm -rf conftest*
  404. +    ac_cv_header_alloca_h=yes
  405. +  else
  406. +--- 1689,1695 ----
  407. +  char *p = alloca(2 * sizeof(int));
  408. +  ; return 0; }
  409. +  EOF
  410. +! if { (eval echo configure:1693: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  411. +    rm -rf conftest*
  412. +    ac_cv_header_alloca_h=yes
  413. +  else
  414. +***************
  415. +*** 1737,1743 ****
  416. +  char *p = (char *) alloca(1);
  417. +  ; return 0; }
  418. +  EOF
  419. +! if { (eval echo configure:1741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  420. +    rm -rf conftest*
  421. +    ac_cv_func_alloca=yes
  422. +  else
  423. +--- 1737,1743 ----
  424. +  char *p = (char *) alloca(1);
  425. +  ; return 0; }
  426. +  EOF
  427. +! if { (eval echo configure:1741: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  428. +    rm -rf conftest*
  429. +    ac_cv_func_alloca=yes
  430. +  else
  431. +***************
  432. +*** 1825,1831 ****
  433. +  
  434. +  ; return 0; }
  435. +  EOF
  436. +! if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  437. +    rm -rf conftest*
  438. +    eval "ac_cv_func_$ac_func=yes"
  439. +  else
  440. +--- 1825,1831 ----
  441. +  
  442. +  ; return 0; }
  443. +  EOF
  444. +! if { (eval echo configure:1829: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  445. +    rm -rf conftest*
  446. +    eval "ac_cv_func_$ac_func=yes"
  447. +  else
  448. +***************
  449. +*** 1876,1882 ****
  450. +    exit (find_stack_direction() < 0);
  451. +  }
  452. +  EOF
  453. +! { (eval echo configure:1880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  454. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  455. +    ac_cv_c_stack_direction=1
  456. +  else
  457. +--- 1876,1882 ----
  458. +    exit (find_stack_direction() < 0);
  459. +  }
  460. +  EOF
  461. +! { (eval echo configure:1880: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  462. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  463. +    ac_cv_c_stack_direction=1
  464. +  else
  465. +***************
  466. +*** 1911,1917 ****
  467. +  DIR *dirp = 0;
  468. +  ; return 0; }
  469. +  EOF
  470. +! if { (eval echo configure:1915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  471. +    rm -rf conftest*
  472. +    eval "ac_cv_header_dirent_$ac_safe=yes"
  473. +  else
  474. +--- 1911,1917 ----
  475. +  DIR *dirp = 0;
  476. +  ; return 0; }
  477. +  EOF
  478. +! if { (eval echo configure:1915: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  479. +    rm -rf conftest*
  480. +    eval "ac_cv_header_dirent_$ac_safe=yes"
  481. +  else
  482. +***************
  483. +*** 1954,1960 ****
  484. +  opendir()
  485. +  ; return 0; }
  486. +  EOF
  487. +! if { (eval echo configure:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  488. +    rm -rf conftest*
  489. +    eval "ac_cv_lib_$ac_lib_var=yes"
  490. +  else
  491. +--- 1954,1960 ----
  492. +  opendir()
  493. +  ; return 0; }
  494. +  EOF
  495. +! if { (eval echo configure:1958: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  496. +    rm -rf conftest*
  497. +    eval "ac_cv_lib_$ac_lib_var=yes"
  498. +  else
  499. +***************
  500. +*** 1993,1999 ****
  501. +  opendir()
  502. +  ; return 0; }
  503. +  EOF
  504. +! if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  505. +    rm -rf conftest*
  506. +    eval "ac_cv_lib_$ac_lib_var=yes"
  507. +  else
  508. +--- 1993,1999 ----
  509. +  opendir()
  510. +  ; return 0; }
  511. +  EOF
  512. +! if { (eval echo configure:1997: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  513. +    rm -rf conftest*
  514. +    eval "ac_cv_lib_$ac_lib_var=yes"
  515. +  else
  516. +***************
  517. +*** 2033,2039 ****
  518. +  gethostname()
  519. +  ; return 0; }
  520. +  EOF
  521. +! if { (eval echo configure:2037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  522. +    rm -rf conftest*
  523. +    eval "ac_cv_lib_$ac_lib_var=yes"
  524. +  else
  525. +--- 2033,2039 ----
  526. +  gethostname()
  527. +  ; return 0; }
  528. +  EOF
  529. +! if { (eval echo configure:2037: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  530. +    rm -rf conftest*
  531. +    eval "ac_cv_lib_$ac_lib_var=yes"
  532. +  else
  533. +***************
  534. +*** 2071,2077 ****
  535. +  setsockopt()
  536. +  ; return 0; }
  537. +  EOF
  538. +! if { (eval echo configure:2075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  539. +    rm -rf conftest*
  540. +    eval "ac_cv_lib_$ac_lib_var=yes"
  541. +  else
  542. +--- 2071,2077 ----
  543. +  setsockopt()
  544. +  ; return 0; }
  545. +  EOF
  546. +! if { (eval echo configure:2075: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  547. +    rm -rf conftest*
  548. +    eval "ac_cv_lib_$ac_lib_var=yes"
  549. +  else
  550. +***************
  551. +*** 2108,2116 ****
  552. +  EOF
  553. +  # Ultrix sh set writes to stderr and can't be redirected directly,
  554. +  # and sets the high bit in the cache file unless we assign to the vars.
  555. +! (set) 2>&1 |
  556. +    sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  557. +!   >> confcache
  558. +  if cmp -s $cache_file confcache; then
  559. +    :
  560. +  else
  561. +--- 2108,2116 ----
  562. +  EOF
  563. +  # Ultrix sh set writes to stderr and can't be redirected directly,
  564. +  # and sets the high bit in the cache file unless we assign to the vars.
  565. +! (set) >cache.tmp 2>&1 
  566. +    sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  567. +!   <cache.tmp >> confcache
  568. +  if cmp -s $cache_file confcache; then
  569. +    :
  570. +  else
  571. +***************
  572. +*** 2121,2127 ****
  573. +      echo "not updating unwritable cache $cache_file"
  574. +    fi
  575. +  fi
  576. +! rm -f confcache
  577. +  
  578. +  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  579. +  
  580. +--- 2121,2127 ----
  581. +      echo "not updating unwritable cache $cache_file"
  582. +    fi
  583. +  fi
  584. +! rm -f confcache cache.tmp
  585. +  
  586. +  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  587. +  
  588. diff -rup --new-file baseline/fsf/cpio/Makefile.in amiga/fsf/cpio/Makefile.in
  589. --- baseline/fsf/cpio/Makefile.in    Wed Dec 20 09:28:30 1995
  590. +++ amiga/fsf/cpio/Makefile.in    Sat Sep 28 00:00:00 1996
  591. @@ -80,6 +80,15 @@ libexecdir = @libexecdir@
  592.  # Where to put the info 
  593.  infodir = @infodir@
  594.  
  595. +# Where to put the guide files
  596. +guidedir = $(prefix)/guide
  597. +
  598. +# Where to put the dvi files
  599. +dvidir = $(prefix)/dvi
  600. +
  601. +# Where to put the PostScript files
  602. +psdir = $(prefix)/ps
  603. +
  604.  # Where to put the Unix-style manual pages.
  605.  mandir = @mandir@/man1
  606.  # Extension (not including `.') for the Unix-style manual page filenames.
  607. @@ -91,6 +100,7 @@ SHELL = /bin/sh
  608.  
  609.  MAKEINFO = makeinfo
  610.  TEXI2DVI = texi2dvi
  611. +DVIPS = dvips
  612.  
  613.  TEXFILES = *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
  614.  
  615. @@ -117,7 +127,7 @@ README NEWS INSTALL cpio.1 mt.1 makefile
  616.  configure configure.in mkinstalldirs install-sh $(MT_SRCS) rmt.c tcexparg.c \
  617.  alloca.c cpio.texi cpio.info texinfo.tex
  618.  
  619. -all:    @PROGS@
  620. +all:    @PROGS@ cpio.info cpio.guide
  621.  
  622.  .c.o:
  623.      $(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) $(CFLAGS) $<
  624. @@ -170,24 +180,39 @@ configure: configure.in
  625.  TAGS:    $(SRCS)
  626.      etags $(SRCS)
  627.  
  628. -.SUFFIXES: .texi .info .dvi
  629. +.SUFFIXES: .texi .info .dvi .guide .ps
  630.  
  631.  .texi.info:
  632. -    $(MAKEINFO) -I$(srcdir) $<
  633. +    $(MAKEINFO) -I$(srcdir) $< --no-split --output=$@
  634. +
  635. +.texi.guide:
  636. +    $(MAKEINFO) -I$(srcdir) $< --no-split --output=$@ --amiga
  637.  
  638.  .texi.dvi:
  639.      TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
  640.  
  641. +.dvi.ps:
  642. +    $(DVIPS) -o $@ $<
  643. +
  644.  info:: $(INFO_DEPS)
  645.  
  646.  dvi:: $(DVIS)
  647.  
  648. -install:: install-info
  649. +install:: install-info install-guide # install-ps install-dvi 
  650.  
  651.  install-info: $(INFO_DEPS)
  652. -    cd $(srcdir); for file in *.info*; do \
  653. +    for file in *.info*; do \
  654.        $(INSTALL_DATA) $$file $(infodir)/$$file; \
  655.      done
  656. +
  657. +install-guide: cpio.guide
  658. +    $(INSTALL_DATA) $? $(guidedir)/cpio.guide
  659. +
  660. +install-dvi: cpio.dvi
  661. +    $(INSTALL_DATA) $? $(dvidir)/cpio.dvi
  662. +
  663. +install-ps: cpio.ps
  664. +    $(INSTALL_DATA) $? $(psdir)/cpio.ps
  665.  
  666.  uninstall:: uninstall-info
  667.  
  668. diff -rup --new-file baseline/fsf/cpio/Product-Info amiga/fsf/cpio/Product-Info
  669. --- baseline/fsf/cpio/Product-Info    Wed Dec 31 17:00:00 1969
  670. +++ amiga/fsf/cpio/Product-Info    Sat Sep 28 00:00:00 1996
  671. @@ -0,0 +1,81 @@
  672. +.name
  673. +cpio
  674. +.fullname
  675. +GNU cp in/out program
  676. +.type
  677. +System Administration
  678. +.short
  679. +GNU utility to copy to/from archives.
  680. +.description
  681. +Cpio copies files into or out of a cpio or tar archive, which is a
  682. +file that contains other files plus information about them, such as
  683. +their pathname, owner, timestamps, and access permissions.  The
  684. +archive can be another file on the disk, a magnetic tape, or a pipe.
  685. +Cpio has three operating modes.  In copy-out mode, cpio copies files
  686. +into an archive.  It reads a list of filenames, one per line, on the
  687. +standard input, and writes the archive onto the standard output.  A
  688. +typical way to generate the list of filenames is with the find
  689. +command; you should give find the -depth option to minimize problems
  690. +with permissions on directories that are unwritable or not searchable.
  691. +
  692. +In copy-in mode, cpio copies files out of an archive or lists the
  693. +archive contents.  It reads the archive from the standard input.  Any
  694. +non-option command line arguments are shell globbing patterns; only
  695. +files in the archive whose names match one or more of those patterns
  696. +are copied from the archive.  Unlike in the shell, an initial `.' in a
  697. +filename does match a wildcard at the start of a pattern, and a `/' in
  698. +a filename can match wildcards.  If no patterns are given, all files
  699. +are extracted.
  700. +
  701. +In copy-pass mode, cpio copies files from one directory tree to
  702. +another, combining the copy-out and copy-in steps without actually
  703. +using an archive.  It reads the list of files to copy from the
  704. +standard input; the directory into which it will copy them is given as
  705. +a non-option argument.
  706. +
  707. +Cpio supports the following archive formats: binary, old ASCII, new
  708. +ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar.
  709. +The binary format is obsolete because it encodes information about the
  710. +files in a way that is not portable between different machine
  711. +architectures.  The old ASCII format is portable between different
  712. +machine architectures, but should not be used on file systems with
  713. +more than 65536 i-nodes.  The new ASCII format is portable between
  714. +different machine architectures and can be used on any size file
  715. +system, but is not supported by all versions of cpio; currently, it is
  716. +only supported by GNU and Unix System V R4.  The crc format is like
  717. +the new ASCII format, but also contains a checksum for each file which
  718. +cpio calculates when creating an archive and verifies when the file is
  719. +extracted from the archive.  The HPUX formats are provided for
  720. +compatibility with HPUX's cpio which stores device files differently.
  721. +
  722. +The tar format is provided for compatability with the tar program.  It
  723. +can not be used to archive files with names longer than 100
  724. +characters, and can not be used to archive "special" (block or
  725. +character devices) files.  The POSIX.1 tar format can not be used to
  726. +archive files with names longer than 255 characters (less unless they
  727. +have a "/" in just the right place).
  728. +
  729. +By default, cpio creates binary format archives, for compatibility
  730. +with older cpio programs.  When extracting from archives, cpio
  731. +automatically recognizes which kind of archive it is reading and can
  732. +read archives created on machines with a different byte-order.
  733. +
  734. +Some of the options to cpio apply only to certain operating modes; see
  735. +the SYNOPSIS section for a list of which options are allowed in which
  736. +modes.
  737. +.version
  738. +2.4.2
  739. +.author
  740. +Phil Nelson
  741. +David MacKenzie
  742. +John Oleynick
  743. +.email
  744. +phil@cs.wwu.edu
  745. +djm@gnu.ai.mit.edu
  746. +juo@klinzhai.rutgers.edu
  747. +.requirements
  748. +The binary requires ixemul.library.
  749. +.distribution
  750. +GNU Public License
  751. +.described-by
  752. +Fred Fish (fnf@amigalib.com)
  753. diff -rup --new-file baseline/fsf/cpio/configure amiga/fsf/cpio/configure
  754. --- baseline/fsf/cpio/configure    Wed Dec 20 09:34:04 1995
  755. +++ amiga/fsf/cpio/configure    Mon Sep 30 22:38:12 1996
  756. @@ -1,8 +1,8 @@
  757.  #! /bin/sh
  758.  
  759.  # Guess values for system-dependent variables and create Makefiles.
  760. -# Generated automatically using autoconf version 2.7 
  761. -# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  762. +# Generated automatically using autoconf version 2.10 
  763. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  764.  #
  765.  # This configure script is free software; the Free Software Foundation
  766.  # gives unlimited permission to copy, distribute and modify it.
  767. @@ -44,6 +44,9 @@ libdir='${exec_prefix}/lib'
  768.  includedir='${prefix}/include'
  769.  oldincludedir='/usr/include'
  770.  infodir='${prefix}/info'
  771. +guidedir='${prefix}/guide'
  772. +psdir='${prefix}/ps'
  773. +dvidir='${prefix}/dvi'
  774.  mandir='${prefix}/man'
  775.  
  776.  # Initialize some other variables.
  777. @@ -158,6 +161,9 @@ Directory and file names:
  778.    --includedir=DIR        C header files in DIR [PREFIX/include]
  779.    --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  780.    --infodir=DIR           info documentation in DIR [PREFIX/info]
  781. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  782. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  783. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  784.    --mandir=DIR            man documentation in DIR [PREFIX/man]
  785.    --srcdir=DIR            find the sources in DIR [configure dir or ..]
  786.    --program-prefix=PREFIX prepend PREFIX to installed program names
  787. @@ -200,6 +206,18 @@ EOF
  788.    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  789.      infodir="$ac_optarg" ;;
  790.  
  791. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  792. +   ac_prev=guidedir ;;
  793. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  794. +
  795. + -psdir | --psdir | --psdi | --psd | --ps)
  796. +   ac_prev=psdir ;;
  797. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  798. +
  799. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  800. +   ac_prev=dvidir ;;
  801. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  802. +
  803.    -libdir | --libdir | --libdi | --libd)
  804.      ac_prev=libdir ;;
  805.    -libdir=* | --libdir=* | --libdi=* | --libd=*)
  806. @@ -330,7 +348,7 @@ EOF
  807.      verbose=yes ;;
  808.  
  809.    -version | --version | --versio | --versi | --vers)
  810. -    echo "configure generated by autoconf version 2.7"
  811. +    echo "configure generated by autoconf version 2.10"
  812.      exit 0 ;;
  813.  
  814.    -with-* | --with-*)
  815. @@ -495,12 +513,9 @@ fi
  816.  
  817.  ac_ext=c
  818.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  819. -ac_cpp='echo $CPP $CPPFLAGS 1>&5;
  820. -$CPP $CPPFLAGS'
  821. -ac_compile='echo ${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5;
  822. -${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
  823. -ac_link='echo ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5;
  824. -${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
  825. +ac_cpp='$CPP $CPPFLAGS'
  826. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  827. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  828.  
  829.  if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  830.    # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  831. @@ -534,7 +549,6 @@ else
  832.      fi
  833.    done
  834.    IFS="$ac_save_ifs"
  835. -  test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
  836.  fi
  837.  fi
  838.  CC="$ac_cv_prog_CC"
  839. @@ -544,6 +558,55 @@ else
  840.    echo "$ac_t""no" 1>&6
  841.  fi
  842.  
  843. +if test -z "$CC"; then
  844. +  # Extract the first word of "cc", so it can be a program name with args.
  845. +set dummy cc; ac_word=$2
  846. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  847. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  848. +  echo $ac_n "(cached) $ac_c" 1>&6
  849. +else
  850. +  if test -n "$CC"; then
  851. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  852. +else
  853. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  854. +  ac_prog_rejected=no
  855. +  for ac_dir in $PATH; do
  856. +    test -z "$ac_dir" && ac_dir=.
  857. +    if test -f $ac_dir/$ac_word; then
  858. +      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  859. +        ac_prog_rejected=yes
  860. +    continue
  861. +      fi
  862. +      ac_cv_prog_CC="cc"
  863. +      break
  864. +    fi
  865. +  done
  866. +  IFS="$ac_save_ifs"
  867. +if test $ac_prog_rejected = yes; then
  868. +  # We found a bogon in the path, so make sure we never use it.
  869. +  set dummy $ac_cv_prog_CC
  870. +  shift
  871. +  if test $# -gt 0; then
  872. +    # We chose a different compiler from the bogus one.
  873. +    # However, it has the same basename, so the bogon will be chosen
  874. +    # first if we set CC to just the basename; use the full file name.
  875. +    shift
  876. +    set dummy "$ac_dir/$ac_word" "$@"
  877. +    shift
  878. +    ac_cv_prog_CC="$@"
  879. +  fi
  880. +fi
  881. +fi
  882. +fi
  883. +CC="$ac_cv_prog_CC"
  884. +if test -n "$CC"; then
  885. +  echo "$ac_t""$CC" 1>&6
  886. +else
  887. +  echo "$ac_t""no" 1>&6
  888. +fi
  889. +
  890. +  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  891. +fi
  892.  
  893.  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  894.  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  895. @@ -554,7 +617,7 @@ else
  896.    yes;
  897.  #endif
  898.  EOF
  899. -if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  900. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  901.    ac_cv_prog_gcc=yes
  902.  else
  903.    ac_cv_prog_gcc=no
  904. @@ -581,9 +644,9 @@ fi
  905.  
  906.  echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  907.      if test $ac_cv_prog_gcc_g = yes; then
  908. -      CFLAGS="-g -O"
  909. +      CFLAGS="-g -O2"
  910.      else
  911. -      CFLAGS="-O"
  912. +      CFLAGS="-O2"
  913.      fi
  914.    fi
  915.  else
  916. @@ -606,12 +669,13 @@ else
  917.    # On the NeXT, cc -E runs the code through the compiler's parser,
  918.    # not just through cpp.
  919.    cat > conftest.$ac_ext <<EOF
  920. -#line 610 "configure"
  921. +#line 673 "configure"
  922.  #include "confdefs.h"
  923.  #include <assert.h>
  924.  Syntax Error
  925.  EOF
  926. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  927. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  928. +{ (eval echo configure:679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  929.  ac_err=`grep -v '^ *+' conftest.out`
  930.  if test -z "$ac_err"; then
  931.    :
  932. @@ -620,12 +684,13 @@ else
  933.    rm -rf conftest*
  934.    CPP="${CC-cc} -E -traditional-cpp"
  935.    cat > conftest.$ac_ext <<EOF
  936. -#line 624 "configure"
  937. +#line 688 "configure"
  938.  #include "confdefs.h"
  939.  #include <assert.h>
  940.  Syntax Error
  941.  EOF
  942. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  943. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  944. +{ (eval echo configure:694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  945.  ac_err=`grep -v '^ *+' conftest.out`
  946.  if test -z "$ac_err"; then
  947.    :
  948. @@ -652,7 +717,7 @@ if eval "test \"`echo '$''{'ac_cv_prog_g
  949.  else
  950.      ac_pattern="Autoconf.*'x'"
  951.    cat > conftest.$ac_ext <<EOF
  952. -#line 656 "configure"
  953. +#line 721 "configure"
  954.  #include "confdefs.h"
  955.  #include <sgtty.h>
  956.  Autoconf TIOCGETP
  957. @@ -670,7 +735,7 @@ rm -f conftest*
  958.  
  959.    if test $ac_cv_prog_gcc_traditional = no; then
  960.      cat > conftest.$ac_ext <<EOF
  961. -#line 674 "configure"
  962. +#line 739 "configure"
  963.  #include "confdefs.h"
  964.  #include <termio.h>
  965.  Autoconf TCGETA
  966. @@ -717,6 +782,7 @@ ac_configure=$ac_aux_dir/configure # Thi
  967.  # SunOS /usr/etc/install
  968.  # IRIX /sbin/install
  969.  # AIX /bin/install
  970. +# AmigaOS /c/install
  971.  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  972.  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  973.  # ./install, which can be erroneously created by make from ./install.sh.
  974. @@ -729,7 +795,7 @@ else
  975.    for ac_dir in $PATH; do
  976.      # Account for people who put trailing slashes in PATH elements.
  977.      case "$ac_dir/" in
  978. -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  979. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  980.      *)
  981.        # OSF1 and SCO ODT 3.0 have their own names for install.
  982.        for ac_prog in ginstall installbsd scoinst install; do
  983. @@ -771,7 +837,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
  984.  
  985.  echo $ac_n "checking for AIX""... $ac_c" 1>&6
  986.  cat > conftest.$ac_ext <<EOF
  987. -#line 775 "configure"
  988. +#line 841 "configure"
  989.  #include "confdefs.h"
  990.  #ifdef _AIX
  991.    yes
  992. @@ -798,11 +864,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  993.    echo $ac_n "(cached) $ac_c" 1>&6
  994.  else
  995.    cat > conftest.$ac_ext <<EOF
  996. -#line 802 "configure"
  997. +#line 868 "configure"
  998.  #include "confdefs.h"
  999.  #include <minix/config.h>
  1000.  EOF
  1001. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1002. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1003. +{ (eval echo configure:873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1004.  ac_err=`grep -v '^ *+' conftest.out`
  1005.  if test -z "$ac_err"; then
  1006.    rm -rf conftest*
  1007. @@ -862,7 +929,7 @@ if eval "test \"`echo '$''{'ac_cv_type_s
  1008.    echo $ac_n "(cached) $ac_c" 1>&6
  1009.  else
  1010.    cat > conftest.$ac_ext <<EOF
  1011. -#line 866 "configure"
  1012. +#line 933 "configure"
  1013.  #include "confdefs.h"
  1014.  #include <sys/types.h>
  1015.  #include <signal.h>
  1016. @@ -880,7 +947,7 @@ int t() {
  1017.  int i;
  1018.  ; return 0; }
  1019.  EOF
  1020. -if eval $ac_compile; then
  1021. +if { (eval echo configure:951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1022.    rm -rf conftest*
  1023.    ac_cv_type_signal=void
  1024.  else
  1025. @@ -902,15 +969,15 @@ if eval "test \"`echo '$''{'ac_cv_header
  1026.    echo $ac_n "(cached) $ac_c" 1>&6
  1027.  else
  1028.    cat > conftest.$ac_ext <<EOF
  1029. -#line 906 "configure"
  1030. +#line 973 "configure"
  1031.  #include "confdefs.h"
  1032.  #include <sys/types.h>
  1033. -int main() { return 0; }
  1034. +int main() { t(); return 0; }
  1035.  int t() {
  1036.  return makedev(0, 0);
  1037.  ; return 0; }
  1038.  EOF
  1039. -if eval $ac_link; then
  1040. +if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1041.    rm -rf conftest*
  1042.    ac_cv_header_sys_types_h_makedev=yes
  1043.  else
  1044. @@ -931,11 +998,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  1045.    echo $ac_n "(cached) $ac_c" 1>&6
  1046.  else
  1047.    cat > conftest.$ac_ext <<EOF
  1048. -#line 935 "configure"
  1049. +#line 1002 "configure"
  1050.  #include "confdefs.h"
  1051.  #include <sys/mkdev.h>
  1052.  EOF
  1053. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1054. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1055. +{ (eval echo configure:1007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1056.  ac_err=`grep -v '^ *+' conftest.out`
  1057.  if test -z "$ac_err"; then
  1058.    rm -rf conftest*
  1059. @@ -965,11 +1033,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  1060.    echo $ac_n "(cached) $ac_c" 1>&6
  1061.  else
  1062.    cat > conftest.$ac_ext <<EOF
  1063. -#line 969 "configure"
  1064. +#line 1037 "configure"
  1065.  #include "confdefs.h"
  1066.  #include <sys/sysmacros.h>
  1067.  EOF
  1068. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1069. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1070. +{ (eval echo configure:1042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1071.  ac_err=`grep -v '^ *+' conftest.out`
  1072.  if test -z "$ac_err"; then
  1073.    rm -rf conftest*
  1074. @@ -1002,11 +1071,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  1075.    echo $ac_n "(cached) $ac_c" 1>&6
  1076.  else
  1077.    cat > conftest.$ac_ext <<EOF
  1078. -#line 1006 "configure"
  1079. +#line 1075 "configure"
  1080.  #include "confdefs.h"
  1081.  #include <sys/mtio.h>
  1082.  EOF
  1083. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1084. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1085. +{ (eval echo configure:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1086.  ac_err=`grep -v '^ *+' conftest.out`
  1087.  if test -z "$ac_err"; then
  1088.    rm -rf conftest*
  1089. @@ -1026,12 +1096,13 @@ EOF
  1090.  
  1091.  PROGS="$PROGS mt"
  1092.  cat > conftest.$ac_ext <<EOF
  1093. -#line 1030 "configure"
  1094. +#line 1100 "configure"
  1095.  #include "confdefs.h"
  1096.  #include <sgtty.h>
  1097.  #include <sys/socket.h>
  1098.  EOF
  1099. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1100. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1101. +{ (eval echo configure:1106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1102.  ac_err=`grep -v '^ *+' conftest.out`
  1103.  if test -z "$ac_err"; then
  1104.    rm -rf conftest*
  1105. @@ -1056,11 +1127,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  1106.    echo $ac_n "(cached) $ac_c" 1>&6
  1107.  else
  1108.    cat > conftest.$ac_ext <<EOF
  1109. -#line 1060 "configure"
  1110. +#line 1131 "configure"
  1111.  #include "confdefs.h"
  1112.  #include <netdb.h>
  1113.  EOF
  1114. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1115. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1116. +{ (eval echo configure:1136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1117.  ac_err=`grep -v '^ *+' conftest.out`
  1118.  if test -z "$ac_err"; then
  1119.    rm -rf conftest*
  1120. @@ -1087,13 +1159,19 @@ EOF
  1121.  fi
  1122.  
  1123.  fi
  1124. +# Amiga hack - force NO_REMOTE to be defined and override RTAPELIB to null
  1125. +RTAPELIB=
  1126. +cat >> confdefs.h <<\EOF
  1127. +#define NO_REMOTE 1
  1128. +EOF
  1129. +
  1130.  
  1131.  echo $ac_n "checking for working const""... $ac_c" 1>&6
  1132.  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  1133.    echo $ac_n "(cached) $ac_c" 1>&6
  1134.  else
  1135.    cat > conftest.$ac_ext <<EOF
  1136. -#line 1097 "configure"
  1137. +#line 1175 "configure"
  1138.  #include "confdefs.h"
  1139.  
  1140.  int main() { return 0; }
  1141. @@ -1143,7 +1221,7 @@ ccp = (char const *const *) p;
  1142.  
  1143.  ; return 0; }
  1144.  EOF
  1145. -if eval $ac_compile; then
  1146. +if { (eval echo configure:1225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1147.    rm -rf conftest*
  1148.    ac_cv_c_const=yes
  1149.  else
  1150. @@ -1167,7 +1245,7 @@ if eval "test \"`echo '$''{'ac_cv_type_u
  1151.    echo $ac_n "(cached) $ac_c" 1>&6
  1152.  else
  1153.    cat > conftest.$ac_ext <<EOF
  1154. -#line 1171 "configure"
  1155. +#line 1249 "configure"
  1156.  #include "confdefs.h"
  1157.  #include <sys/types.h>
  1158.  EOF
  1159. @@ -1204,11 +1282,11 @@ else
  1160.    ac_cv_c_cross=yes
  1161.  else
  1162.  cat > conftest.$ac_ext <<EOF
  1163. -#line 1208 "configure"
  1164. +#line 1286 "configure"
  1165.  #include "confdefs.h"
  1166.  main(){return(0);}
  1167.  EOF
  1168. -eval $ac_link
  1169. +{ (eval echo configure:1290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1170.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1171.    ac_cv_c_cross=no
  1172.  else
  1173. @@ -1226,14 +1304,15 @@ if eval "test \"`echo '$''{'ac_cv_header
  1174.    echo $ac_n "(cached) $ac_c" 1>&6
  1175.  else
  1176.    cat > conftest.$ac_ext <<EOF
  1177. -#line 1230 "configure"
  1178. +#line 1308 "configure"
  1179.  #include "confdefs.h"
  1180.  #include <stdlib.h>
  1181.  #include <stdarg.h>
  1182.  #include <string.h>
  1183.  #include <float.h>
  1184.  EOF
  1185. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1186. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1187. +{ (eval echo configure:1316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1188.  ac_err=`grep -v '^ *+' conftest.out`
  1189.  if test -z "$ac_err"; then
  1190.    rm -rf conftest*
  1191. @@ -1248,7 +1327,7 @@ rm -f conftest*
  1192.  if test $ac_cv_header_stdc = yes; then
  1193.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1194.  cat > conftest.$ac_ext <<EOF
  1195. -#line 1252 "configure"
  1196. +#line 1331 "configure"
  1197.  #include "confdefs.h"
  1198.  #include <string.h>
  1199.  EOF
  1200. @@ -1266,7 +1345,7 @@ fi
  1201.  if test $ac_cv_header_stdc = yes; then
  1202.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1203.  cat > conftest.$ac_ext <<EOF
  1204. -#line 1270 "configure"
  1205. +#line 1349 "configure"
  1206.  #include "confdefs.h"
  1207.  #include <stdlib.h>
  1208.  EOF
  1209. @@ -1287,7 +1366,7 @@ if test "$cross_compiling" = yes; then
  1210.    :
  1211.  else
  1212.  cat > conftest.$ac_ext <<EOF
  1213. -#line 1291 "configure"
  1214. +#line 1370 "configure"
  1215.  #include "confdefs.h"
  1216.  #include <ctype.h>
  1217.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1218. @@ -1298,7 +1377,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  1219.  exit (0); }
  1220.  
  1221.  EOF
  1222. -eval $ac_link
  1223. +{ (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1224.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1225.    :
  1226.  else
  1227. @@ -1325,11 +1404,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  1228.    echo $ac_n "(cached) $ac_c" 1>&6
  1229.  else
  1230.    cat > conftest.$ac_ext <<EOF
  1231. -#line 1329 "configure"
  1232. +#line 1408 "configure"
  1233.  #include "confdefs.h"
  1234.  #include <$ac_hdr>
  1235.  EOF
  1236. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1237. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1238. +{ (eval echo configure:1413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1239.  ac_err=`grep -v '^ *+' conftest.out`
  1240.  if test -z "$ac_err"; then
  1241.    rm -rf conftest*
  1242. @@ -1360,15 +1440,17 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1243.    echo $ac_n "(cached) $ac_c" 1>&6
  1244.  else
  1245.    cat > conftest.$ac_ext <<EOF
  1246. -#line 1364 "configure"
  1247. +#line 1444 "configure"
  1248.  #include "confdefs.h"
  1249.  /* System header to define __stub macros and hopefully few prototypes,
  1250.      which can conflict with char $ac_func(); below.  */
  1251.  #include <assert.h>
  1252.  /* Override any gcc2 internal prototype to avoid an error.  */
  1253. +/* We use char because int might match the return type of a gcc2
  1254. +    builtin and then its argument prototype would still apply.  */
  1255.  char $ac_func();
  1256.  
  1257. -int main() { return 0; }
  1258. +int main() { t(); return 0; }
  1259.  int t() {
  1260.  
  1261.  /* The GNU C library defines this for functions which it implements
  1262. @@ -1382,7 +1464,7 @@ $ac_func();
  1263.  
  1264.  ; return 0; }
  1265.  EOF
  1266. -if eval $ac_link; then
  1267. +if { (eval echo configure:1468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1268.    rm -rf conftest*
  1269.    eval "ac_cv_func_$ac_func=yes"
  1270.  else
  1271. @@ -1405,7 +1487,7 @@ done
  1272.  
  1273.  echo $ac_n "checking for utime.h""... $ac_c" 1>&6
  1274.  cat > conftest.$ac_ext <<EOF
  1275. -#line 1409 "configure"
  1276. +#line 1491 "configure"
  1277.  #include "confdefs.h"
  1278.  #include <sys/types.h>
  1279.  #include <utime.h>
  1280. @@ -1414,7 +1496,7 @@ int t() {
  1281.  struct utimbuf foo
  1282.  ; return 0; }
  1283.  EOF
  1284. -if eval $ac_compile; then
  1285. +if { (eval echo configure:1500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1286.    rm -rf conftest*
  1287.    echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
  1288.  #define HAVE_UTIME_H 1
  1289. @@ -1433,14 +1515,14 @@ if test "$cross_compiling" = yes; then
  1290.    have_fnmatch=no
  1291.  else
  1292.  cat > conftest.$ac_ext <<EOF
  1293. -#line 1437 "configure"
  1294. +#line 1519 "configure"
  1295.  #include "confdefs.h"
  1296.  
  1297.  main() {
  1298.  if (fnmatch ("a*", "abc", 0) == 0) return 0;
  1299.  else return 1; }
  1300.  EOF
  1301. -eval $ac_link
  1302. +{ (eval echo configure:1526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1303.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1304.    have_fnmatch=yes
  1305.  else
  1306. @@ -1463,15 +1545,17 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1307.    echo $ac_n "(cached) $ac_c" 1>&6
  1308.  else
  1309.    cat > conftest.$ac_ext <<EOF
  1310. -#line 1467 "configure"
  1311. +#line 1549 "configure"
  1312.  #include "confdefs.h"
  1313.  /* System header to define __stub macros and hopefully few prototypes,
  1314.      which can conflict with char $ac_func(); below.  */
  1315.  #include <assert.h>
  1316.  /* Override any gcc2 internal prototype to avoid an error.  */
  1317. +/* We use char because int might match the return type of a gcc2
  1318. +    builtin and then its argument prototype would still apply.  */
  1319.  char $ac_func();
  1320.  
  1321. -int main() { return 0; }
  1322. +int main() { t(); return 0; }
  1323.  int t() {
  1324.  
  1325.  /* The GNU C library defines this for functions which it implements
  1326. @@ -1485,7 +1569,7 @@ $ac_func();
  1327.  
  1328.  ; return 0; }
  1329.  EOF
  1330. -if eval $ac_link; then
  1331. +if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1332.    rm -rf conftest*
  1333.    eval "ac_cv_func_$ac_func=yes"
  1334.  else
  1335. @@ -1512,15 +1596,17 @@ if eval "test \"`echo '$''{'ac_cv_func_v
  1336.    echo $ac_n "(cached) $ac_c" 1>&6
  1337.  else
  1338.    cat > conftest.$ac_ext <<EOF
  1339. -#line 1516 "configure"
  1340. +#line 1600 "configure"
  1341.  #include "confdefs.h"
  1342.  /* System header to define __stub macros and hopefully few prototypes,
  1343.      which can conflict with char vprintf(); below.  */
  1344.  #include <assert.h>
  1345.  /* Override any gcc2 internal prototype to avoid an error.  */
  1346. +/* We use char because int might match the return type of a gcc2
  1347. +    builtin and then its argument prototype would still apply.  */
  1348.  char vprintf();
  1349.  
  1350. -int main() { return 0; }
  1351. +int main() { t(); return 0; }
  1352.  int t() {
  1353.  
  1354.  /* The GNU C library defines this for functions which it implements
  1355. @@ -1534,7 +1620,7 @@ vprintf();
  1356.  
  1357.  ; return 0; }
  1358.  EOF
  1359. -if eval $ac_link; then
  1360. +if { (eval echo configure:1624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1361.    rm -rf conftest*
  1362.    eval "ac_cv_func_vprintf=yes"
  1363.  else
  1364. @@ -1560,15 +1646,17 @@ if eval "test \"`echo '$''{'ac_cv_func__
  1365.    echo $ac_n "(cached) $ac_c" 1>&6
  1366.  else
  1367.    cat > conftest.$ac_ext <<EOF
  1368. -#line 1564 "configure"
  1369. +#line 1650 "configure"
  1370.  #include "confdefs.h"
  1371.  /* System header to define __stub macros and hopefully few prototypes,
  1372.      which can conflict with char _doprnt(); below.  */
  1373.  #include <assert.h>
  1374.  /* Override any gcc2 internal prototype to avoid an error.  */
  1375. +/* We use char because int might match the return type of a gcc2
  1376. +    builtin and then its argument prototype would still apply.  */
  1377.  char _doprnt();
  1378.  
  1379. -int main() { return 0; }
  1380. +int main() { t(); return 0; }
  1381.  int t() {
  1382.  
  1383.  /* The GNU C library defines this for functions which it implements
  1384. @@ -1582,7 +1670,7 @@ _doprnt();
  1385.  
  1386.  ; return 0; }
  1387.  EOF
  1388. -if eval $ac_link; then
  1389. +if { (eval echo configure:1674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1390.    rm -rf conftest*
  1391.    eval "ac_cv_func__doprnt=yes"
  1392.  else
  1393. @@ -1611,15 +1699,15 @@ if eval "test \"`echo '$''{'ac_cv_header
  1394.    echo $ac_n "(cached) $ac_c" 1>&6
  1395.  else
  1396.    cat > conftest.$ac_ext <<EOF
  1397. -#line 1615 "configure"
  1398. +#line 1703 "configure"
  1399.  #include "confdefs.h"
  1400.  #include <alloca.h>
  1401. -int main() { return 0; }
  1402. +int main() { t(); return 0; }
  1403.  int t() {
  1404.  char *p = alloca(2 * sizeof(int));
  1405.  ; return 0; }
  1406.  EOF
  1407. -if eval $ac_link; then
  1408. +if { (eval echo configure:1711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1409.    rm -rf conftest*
  1410.    ac_cv_header_alloca_h=yes
  1411.  else
  1412. @@ -1643,7 +1731,7 @@ if eval "test \"`echo '$''{'ac_cv_func_a
  1413.    echo $ac_n "(cached) $ac_c" 1>&6
  1414.  else
  1415.    cat > conftest.$ac_ext <<EOF
  1416. -#line 1647 "configure"
  1417. +#line 1735 "configure"
  1418.  #include "confdefs.h"
  1419.  
  1420.  #ifdef __GNUC__
  1421. @@ -1662,12 +1750,12 @@ char *alloca ();
  1422.  # endif
  1423.  #endif
  1424.  
  1425. -int main() { return 0; }
  1426. +int main() { t(); return 0; }
  1427.  int t() {
  1428.  char *p = (char *) alloca(1);
  1429.  ; return 0; }
  1430.  EOF
  1431. -if eval $ac_link; then
  1432. +if { (eval echo configure:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1433.    rm -rf conftest*
  1434.    ac_cv_func_alloca=yes
  1435.  else
  1436. @@ -1702,7 +1790,7 @@ if eval "test \"`echo '$''{'ac_cv_os_cra
  1437.    echo $ac_n "(cached) $ac_c" 1>&6
  1438.  else
  1439.    cat > conftest.$ac_ext <<EOF
  1440. -#line 1706 "configure"
  1441. +#line 1794 "configure"
  1442.  #include "confdefs.h"
  1443.  #if defined(CRAY) && ! defined(CRAY2)
  1444.  webecray
  1445. @@ -1731,15 +1819,17 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1446.    echo $ac_n "(cached) $ac_c" 1>&6
  1447.  else
  1448.    cat > conftest.$ac_ext <<EOF
  1449. -#line 1735 "configure"
  1450. +#line 1823 "configure"
  1451.  #include "confdefs.h"
  1452.  /* System header to define __stub macros and hopefully few prototypes,
  1453.      which can conflict with char $ac_func(); below.  */
  1454.  #include <assert.h>
  1455.  /* Override any gcc2 internal prototype to avoid an error.  */
  1456. +/* We use char because int might match the return type of a gcc2
  1457. +    builtin and then its argument prototype would still apply.  */
  1458.  char $ac_func();
  1459.  
  1460. -int main() { return 0; }
  1461. +int main() { t(); return 0; }
  1462.  int t() {
  1463.  
  1464.  /* The GNU C library defines this for functions which it implements
  1465. @@ -1753,7 +1843,7 @@ $ac_func();
  1466.  
  1467.  ; return 0; }
  1468.  EOF
  1469. -if eval $ac_link; then
  1470. +if { (eval echo configure:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1471.    rm -rf conftest*
  1472.    eval "ac_cv_func_$ac_func=yes"
  1473.  else
  1474. @@ -1785,7 +1875,7 @@ else
  1475.    ac_cv_c_stack_direction=0
  1476.  else
  1477.  cat > conftest.$ac_ext <<EOF
  1478. -#line 1789 "configure"
  1479. +#line 1879 "configure"
  1480.  #include "confdefs.h"
  1481.  find_stack_direction ()
  1482.  {
  1483. @@ -1804,7 +1894,7 @@ main ()
  1484.    exit (find_stack_direction() < 0);
  1485.  }
  1486.  EOF
  1487. -eval $ac_link
  1488. +{ (eval echo configure:1898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1489.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1490.    ac_cv_c_stack_direction=1
  1491.  else
  1492. @@ -1830,7 +1920,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  1493.    echo $ac_n "(cached) $ac_c" 1>&6
  1494.  else
  1495.    cat > conftest.$ac_ext <<EOF
  1496. -#line 1834 "configure"
  1497. +#line 1924 "configure"
  1498.  #include "confdefs.h"
  1499.  #include <sys/types.h>
  1500.  #include <$ac_hdr>
  1501. @@ -1839,7 +1929,7 @@ int t() {
  1502.  DIR *dirp = 0;
  1503.  ; return 0; }
  1504.  EOF
  1505. -if eval $ac_compile; then
  1506. +if { (eval echo configure:1933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1507.    rm -rf conftest*
  1508.    eval "ac_cv_header_dirent_$ac_safe=yes"
  1509.  else
  1510. @@ -1863,22 +1953,26 @@ done
  1511.  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  1512.  if test $ac_header_dirent = dirent.h; then
  1513.  echo $ac_n "checking for -ldir""... $ac_c" 1>&6
  1514. -ac_lib_var=`echo dir | tr '.-/+' '___p'`
  1515. +ac_lib_var=`echo dir'_'opendir | tr './+\055' '__p_'`
  1516.  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1517.    echo $ac_n "(cached) $ac_c" 1>&6
  1518.  else
  1519.    ac_save_LIBS="$LIBS"
  1520.  LIBS="-ldir  $LIBS"
  1521.  cat > conftest.$ac_ext <<EOF
  1522. -#line 1874 "configure"
  1523. +#line 1964 "configure"
  1524.  #include "confdefs.h"
  1525. +/* Override any gcc2 internal prototype to avoid an error.  */
  1526. +/* We use char because int might match the return type of a gcc2
  1527. +    builtin and then its argument prototype would still apply.  */
  1528. +char opendir();
  1529.  
  1530. -int main() { return 0; }
  1531. +int main() { t(); return 0; }
  1532.  int t() {
  1533.  opendir()
  1534.  ; return 0; }
  1535.  EOF
  1536. -if eval $ac_link; then
  1537. +if { (eval echo configure:1976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1538.    rm -rf conftest*
  1539.    eval "ac_cv_lib_$ac_lib_var=yes"
  1540.  else
  1541. @@ -1898,22 +1992,26 @@ fi
  1542.  
  1543.  else
  1544.  echo $ac_n "checking for -lx""... $ac_c" 1>&6
  1545. -ac_lib_var=`echo x | tr '.-/+' '___p'`
  1546. +ac_lib_var=`echo x'_'opendir | tr './+\055' '__p_'`
  1547.  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1548.    echo $ac_n "(cached) $ac_c" 1>&6
  1549.  else
  1550.    ac_save_LIBS="$LIBS"
  1551.  LIBS="-lx  $LIBS"
  1552.  cat > conftest.$ac_ext <<EOF
  1553. -#line 1909 "configure"
  1554. +#line 2003 "configure"
  1555.  #include "confdefs.h"
  1556. +/* Override any gcc2 internal prototype to avoid an error.  */
  1557. +/* We use char because int might match the return type of a gcc2
  1558. +    builtin and then its argument prototype would still apply.  */
  1559. +char opendir();
  1560.  
  1561. -int main() { return 0; }
  1562. +int main() { t(); return 0; }
  1563.  int t() {
  1564.  opendir()
  1565.  ; return 0; }
  1566.  EOF
  1567. -if eval $ac_link; then
  1568. +if { (eval echo configure:2015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1569.    rm -rf conftest*
  1570.    eval "ac_cv_lib_$ac_lib_var=yes"
  1571.  else
  1572. @@ -1934,22 +2032,26 @@ fi
  1573.  fi
  1574.  
  1575.  echo $ac_n "checking for -lnsl""... $ac_c" 1>&6
  1576. -ac_lib_var=`echo nsl | tr '.-/+' '___p'`
  1577. +ac_lib_var=`echo nsl'_'gethostname | tr './+\055' '__p_'`
  1578.  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1579.    echo $ac_n "(cached) $ac_c" 1>&6
  1580.  else
  1581.    ac_save_LIBS="$LIBS"
  1582.  LIBS="-lnsl  $LIBS"
  1583.  cat > conftest.$ac_ext <<EOF
  1584. -#line 1945 "configure"
  1585. +#line 2043 "configure"
  1586.  #include "confdefs.h"
  1587. +/* Override any gcc2 internal prototype to avoid an error.  */
  1588. +/* We use char because int might match the return type of a gcc2
  1589. +    builtin and then its argument prototype would still apply.  */
  1590. +char gethostname();
  1591.  
  1592. -int main() { return 0; }
  1593. +int main() { t(); return 0; }
  1594.  int t() {
  1595.  gethostname()
  1596.  ; return 0; }
  1597.  EOF
  1598. -if eval $ac_link; then
  1599. +if { (eval echo configure:2055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1600.    rm -rf conftest*
  1601.    eval "ac_cv_lib_$ac_lib_var=yes"
  1602.  else
  1603. @@ -1968,22 +2070,26 @@ else
  1604.  fi
  1605.  
  1606.  echo $ac_n "checking for -lsocket""... $ac_c" 1>&6
  1607. -ac_lib_var=`echo socket | tr '.-/+' '___p'`
  1608. +ac_lib_var=`echo socket'_'setsockopt | tr './+\055' '__p_'`
  1609.  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1610.    echo $ac_n "(cached) $ac_c" 1>&6
  1611.  else
  1612.    ac_save_LIBS="$LIBS"
  1613.  LIBS="-lsocket  $LIBS"
  1614.  cat > conftest.$ac_ext <<EOF
  1615. -#line 1979 "configure"
  1616. +#line 2081 "configure"
  1617.  #include "confdefs.h"
  1618. +/* Override any gcc2 internal prototype to avoid an error.  */
  1619. +/* We use char because int might match the return type of a gcc2
  1620. +    builtin and then its argument prototype would still apply.  */
  1621. +char setsockopt();
  1622.  
  1623. -int main() { return 0; }
  1624. +int main() { t(); return 0; }
  1625.  int t() {
  1626.  setsockopt()
  1627.  ; return 0; }
  1628.  EOF
  1629. -if eval $ac_link; then
  1630. +if { (eval echo configure:2093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1631.    rm -rf conftest*
  1632.    eval "ac_cv_lib_$ac_lib_var=yes"
  1633.  else
  1634. @@ -2054,7 +2160,7 @@ trap 'rm -f $CONFIG_STATUS conftest*; ex
  1635.  # Protect against shell expansion while executing Makefile rules.
  1636.  # Protect against Makefile macro expansion.
  1637.  cat > conftest.defs <<\EOF
  1638. -s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
  1639. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  1640.  s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  1641.  s%\[%\\&%g
  1642.  s%\]%\\&%g
  1643. @@ -2068,7 +2174,9 @@ rm -f conftest.defs
  1644.  : ${CONFIG_STATUS=./config.status}
  1645.  
  1646.  echo creating $CONFIG_STATUS
  1647. -rm -f $CONFIG_STATUS
  1648. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  1649. +# being executed, so just move it out of the way instead.
  1650. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1651.  cat > $CONFIG_STATUS <<EOF
  1652.  #! /bin/sh
  1653.  # Generated automatically by configure.
  1654. @@ -2089,7 +2197,7 @@ do
  1655.      echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1656.      exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1657.    -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1658. -    echo "$CONFIG_STATUS generated by autoconf version 2.7"
  1659. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  1660.      exit 0 ;;
  1661.    -help | --help | --hel | --he | --h)
  1662.      echo "\$ac_cs_usage"; exit 0 ;;
  1663. @@ -2129,6 +2237,9 @@ s%@libdir@%$libdir%g
  1664.  s%@includedir@%$includedir%g
  1665.  s%@oldincludedir@%$oldincludedir%g
  1666.  s%@infodir@%$infodir%g
  1667. +s%@guidedir@%$guidedir%g
  1668. +s%@psdir@%$psdir%g
  1669. +s%@dvidir@%$dvidir%g
  1670.  s%@mandir@%$mandir%g
  1671.  s%@PROGS@%$PROGS%g
  1672.  s%@CC@%$CC%g
  1673. @@ -2205,6 +2316,7 @@ rm -f conftest.subs
  1674.  exit 0
  1675.  EOF
  1676.  chmod +x $CONFIG_STATUS
  1677. +rm -f CONFIG.STATUS.old
  1678.  rm -fr confdefs* $ac_clean_files
  1679.  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1680.  
  1681. diff -rup --new-file baseline/fsf/cpio/configure.in amiga/fsf/cpio/configure.in
  1682. --- baseline/fsf/cpio/configure.in    Wed Dec 20 09:28:29 1995
  1683. +++ amiga/fsf/cpio/configure.in    Sat Sep 28 00:00:00 1996
  1684. @@ -27,6 +27,9 @@ else
  1685.    AC_CHECK_HEADER(netdb.h, AC_DEFINE(HAVE_NETDB_H) RTAPELIB=rtapelib.o,
  1686.      AC_DEFINE(NO_REMOTE))
  1687.  fi
  1688. +# Amiga hack - force NO_REMOTE to be defined and override RTAPELIB to null
  1689. +RTAPELIB=
  1690. +AC_DEFINE(NO_REMOTE)
  1691.  AC_SUBST(RTAPELIB)dnl
  1692.  
  1693.  AC_C_CONST
  1694. diff -rup --new-file baseline/fsf/cpio/cpio.info amiga/fsf/cpio/cpio.info
  1695. --- baseline/fsf/cpio/cpio.info    Wed Dec 20 09:35:51 1995
  1696. +++ amiga/fsf/cpio/cpio.info    Wed Dec 31 17:00:00 1969
  1697. @@ -1,489 +0,0 @@
  1698. -This is Info file cpio.info, produced by Makeinfo-1.55 from the input
  1699. -file cpio.texi.
  1700. -
  1701. -START-INFO-DIR-ENTRY
  1702. -* cpio: (cpio).                 Making tape (or disk) archives.
  1703. -END-INFO-DIR-ENTRY
  1704. -
  1705. -   This file documents GNU cpio 2.4.
  1706. -
  1707. -   Copyright (C) 1995 Free Software Foundation, Inc.
  1708. -
  1709. -   Permission is granted to make and distribute verbatim copies of this
  1710. -manual provided the copyright notice and this permission notice are
  1711. -preserved on all copies.
  1712. -
  1713. -   Permission is granted to copy and distribute modified versions of
  1714. -this manual under the conditions for verbatim copying, provided that
  1715. -the entire resulting derived work is distributed under the terms of a
  1716. -permission notice identical to this one.
  1717. -
  1718. -   Permission is granted to copy and distribute translations of this
  1719. -manual into another language, under the above conditions for modified
  1720. -versions, except that this permission notice may be stated in a
  1721. -translation approved by the Foundation.
  1722. -
  1723. -
  1724. -File: cpio.info,  Node: Top,  Next: Introduction,  Prev: (dir),  Up: (dir)
  1725. -
  1726. -
  1727. -
  1728. -   GNU cpio is a tool for creating and extracting archives, or copying
  1729. -files from one place to another.  It handles a number of cpio formats as
  1730. -well as reading and writing tar files.  This is the first edition of the
  1731. -GNU cpio documentation and is consistant with GNU cpio 2.4.
  1732. -
  1733. -* Menu:
  1734. -
  1735. -* Introduction::
  1736. -* Tutorial::                    Getting started.
  1737. -* Invoking `cpio'::             How to invoke `cpio'.
  1738. -* Media::                       Using tapes and other archive media.
  1739. -* Concept Index::               Concept index.
  1740. -
  1741. - -- The Detailed Node Listing --
  1742. -
  1743. -Invoking cpio
  1744. -
  1745. -* Copy-out mode::
  1746. -* Copy-in mode::
  1747. -* Copy-pass mode::
  1748. -* Options::
  1749. -
  1750. -
  1751. -File: cpio.info,  Node: Introduction,  Next: Tutorial,  Prev: Top,  Up: Top
  1752. -
  1753. -Introduction
  1754. -************
  1755. -
  1756. -   GNU cpio copies files into or out of a cpio or tar archive, The
  1757. -archive can be another file on the disk, a magnetic tape, or a pipe.
  1758. -
  1759. -   GNU cpio supports the following archive formats: binary, old ASCII,
  1760. -new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar.
  1761. -The tar format is provided for compatability with the tar program. By
  1762. -default, cpio creates binary format archives, for compatibility with
  1763. -older cpio programs.  When extracting from archives, cpio automatically
  1764. -recognizes which kind of archive it is reading and can read archives
  1765. -created on machines with a different byte-order.
  1766. -
  1767. -
  1768. -File: cpio.info,  Node: Tutorial,  Next: Invoking `cpio',  Prev: Introduction,  Up: Top
  1769. -
  1770. -Tutorial
  1771. -********
  1772. -
  1773. -   GNU cpio performs three primary functions.  Copying files to an
  1774. -archive, Extracting files from an archive, and passing files to another
  1775. -directory tree.  An archive can be a file on disk, one or more floppy
  1776. -disks, or one or more tapes.
  1777. -
  1778. -   When creating an archive, cpio takes the list of files to be
  1779. -processed from the standard input, and then sends the archive to the
  1780. -standard output, or to the device defined by the `-F' option.  *Note
  1781. -Copy-out mode::.  Usually find or ls is used to provide this list to
  1782. -the standard input.  In the following example you can see the
  1783. -possibilities for archiving the contents of a single directory.
  1784. -
  1785. -     % ls | cpio -ov > directory.cpio
  1786. -
  1787. -   The `-o' option creates the archive, and the `-v' option prints the
  1788. -names of the files archived as they are added.  Notice that the options
  1789. -can be put together after a single `-' or can be placed separately on
  1790. -the command line.  The `>' redirects the cpio output to the file
  1791. -`directory.cpio'.
  1792. -
  1793. -   If you wanted to archive an entire directory tree, the find command
  1794. -can provide the file list to cpio:
  1795. -
  1796. -     % find . -print -depth | cpio -ov > tree.cpio
  1797. -
  1798. -   This will take all the files in the current directory, the
  1799. -directories below and place them in the archive tree.cpio.  Again the
  1800. -`-o' creates an archive, and the `-v' option shows you the name of the
  1801. -files as they are archived.  *Note Copy-out mode::.  Using the `.' in
  1802. -the find statement will give you more flexibility when doing restores,
  1803. -as it will save file names with a relative path vice a hard wired,
  1804. -absolute path.  The `-depth' option forces `find' to print of the
  1805. -entries in a directory before printing the directory itself.  This
  1806. -limits the effects of restrictive directory permissions by printing the
  1807. -directory entries in a directory before the directory name itself.
  1808. -
  1809. -   Extracting an archive requires a bit more thought because cpio will
  1810. -not create directories by default.  Another characteristic, is it will
  1811. -not overwrite existing files unless you tell it to.
  1812. -
  1813. -     % cpio -iv < directory.cpio
  1814. -
  1815. -   This will retrieve the files archived in the file directory.cpio and
  1816. -place them in the present directory.  The `-i' option extracts the
  1817. -archive and the `-v' shows the file names as they are extracted.  If
  1818. -you are dealing with an archived directory tree, you need to use the
  1819. -`-d' option to create directories as necessary, something like:
  1820. -
  1821. -     % cpio -idv < tree.cpio
  1822. -
  1823. -   This will take the contents of the archive tree.cpio and extract it
  1824. -to the current directory.  If you try to extract the files on top of
  1825. -files of the same name that already exist (and have the same or later
  1826. -modification time) cpio will not extract the file unless told to do so
  1827. -by the -u option.  *Note Copy-in mode::.
  1828. -
  1829. -   In copy-pass mode, cpio copies files from one directory tree to
  1830. -another, combining the copy-out and copy-in steps without actually
  1831. -using an archive.  It reads the list of files to copy from the standard
  1832. -input; the directory into which it will copy them is given as a
  1833. -non-option argument.  *Note Copy-pass mode::.
  1834. -
  1835. -     % find . -depth -print0 | cpio --null -pvd new-dir
  1836. -
  1837. -   The example shows copying the files of the present directory, and
  1838. -sub-directories to a new directory called new-dir.  Some new options are
  1839. -the `-print0' available with GNU find, combined with the `--null'
  1840. -option of cpio.  These two options act together to send file names
  1841. -between find and cpio, even if special characters are embedded in the
  1842. -file names.  Another is `-p', which tells cpio to pass the files it
  1843. -finds to the directory `new-dir'.
  1844. -
  1845. -
  1846. -File: cpio.info,  Node: Invoking `cpio',  Next: Media,  Prev: Tutorial,  Up: Top
  1847. -
  1848. -Invoking cpio
  1849. -*************
  1850. -
  1851. -* Menu:
  1852. -
  1853. -* Copy-out mode::
  1854. -* Copy-in mode::
  1855. -* Copy-pass mode::
  1856. -* Options::
  1857. -
  1858. -
  1859. -File: cpio.info,  Node: Copy-out mode,  Next: Copy-in mode,  Prev: Invoking `cpio',  Up: Invoking `cpio'
  1860. -
  1861. -Copy-out mode
  1862. -=============
  1863. -
  1864. -   In copy-out mode, cpio copies files into an archive.  It reads a list
  1865. -of filenames, one per line, on the standard input, and writes the
  1866. -archive onto the standard output.  A typical way to generate the list
  1867. -of filenames is with the find command; you should give find the -depth
  1868. -option to minimize problems with permissions on directories that are
  1869. -unreadable.  *Note Options::.
  1870. -
  1871. -     cpio {-o|--create} [-0acvABLV] [-C bytes] [-H format]
  1872. -     [-M message] [-O [[user@]host:]archive] [-F [[user@]host:]archive]
  1873. -     [--file=[[user@]host:]archive] [--format=format] [--sparse]
  1874. -     [--message=message][--null] [--reset-access-time] [--verbose]
  1875. -     [--dot] [--append] [--block-size=blocks] [--dereference]
  1876. -     [--io-size=bytes] [--help] [--version] < name-list [> archive]
  1877. -
  1878. -
  1879. -File: cpio.info,  Node: Copy-in mode,  Next: Copy-pass mode,  Prev: Copy-out mode,  Up: Invoking `cpio'
  1880. -
  1881. -Copy-in mode
  1882. -============
  1883. -
  1884. -   In copy-in mode, cpio copies files out of an archive or lists the
  1885. -archive contents.  It reads the archive from the standard input.  Any
  1886. -non-option command line arguments are shell globbing patterns; only
  1887. -files in the archive whose names match one or more of those patterns are
  1888. -copied from the archive.  Unlike in the shell, an initial `.' in a
  1889. -filename does match a wildcard at the start of a pattern, and a `/' in a
  1890. -filename can match wildcards.  If no patterns are given, all files are
  1891. -extracted.  *Note Options::.
  1892. -
  1893. -     cpio {-i|--extract} [-bcdfmnrtsuvBSV] [-C bytes] [-E file]
  1894. -     [-H format] [-M message] [-R [user][:.][group]]
  1895. -     [-I [[user@]host:]archive] [-F [[user@]host:]archive]
  1896. -     [--file=[[user@]host:]archive] [--make-directories]
  1897. -     [--nonmatching] [--preserve-modification-time]
  1898. -     [--numeric-uid-gid] [--rename] [--list] [--swap-bytes] [--swap]
  1899. -     [--dot] [--unconditional] [--verbose] [--block-size=blocks]
  1900. -     [--swap-halfwords] [--io-size=bytes] [--pattern-file=file]
  1901. -     [--format=format] [--owner=[user][:.][group]]
  1902. -     [--no- preserve-owner] [--message=message] [--help] [--version]
  1903. -     [-no-abosolute-filenames] [-only-verify-crc] [-quiet]
  1904. -     [pattern...] [< archive]
  1905. -
  1906. -
  1907. -File: cpio.info,  Node: Copy-pass mode,  Next: Options,  Prev: Copy-in mode,  Up: Invoking `cpio'
  1908. -
  1909. -Copy-pass mode
  1910. -==============
  1911. -
  1912. -   In copy-pass mode, cpio copies files from one directory tree to
  1913. -another, combining the copy-out and copy-in steps without actually
  1914. -using an archive.  It reads the list of files to copy from the standard
  1915. -input; the directory into which it will copy them is given as a
  1916. -non-option argument.  *Note Options::.
  1917. -
  1918. -     cpio {-p|--pass-through} [-0adlmuvLV] [-R [user][:.][group]]
  1919. -     [--null] [--reset-access-time] [--make-directories] [--link]
  1920. -     [--preserve-modification-time] [--unconditional] [--verbose]
  1921. -     [--dot] [--dereference] [--owner=[user][:.][group]] [--sparse]
  1922. -     [--no-preserve-owner] [--help] [--version] destination-directory
  1923. -     < name-list
  1924. -
  1925. -
  1926. -File: cpio.info,  Node: Options,  Prev: Copy-pass mode,  Up: Invoking `cpio'
  1927. -
  1928. -Options
  1929. -=======
  1930. -
  1931. -`-0, --null'
  1932. -     Read a list of filenames terminated by a null character, instead
  1933. -     of a newline, so that files whose names contain newlines can be
  1934. -     archived.  GNU find is one way to produce a list of
  1935. -     null-terminated filenames.  This option may be used in copy-out
  1936. -     and copy-pass modes.
  1937. -
  1938. -`-a, --reset-access-time'
  1939. -     Reset the access times of files after reading them, so that it
  1940. -     does not look like they have just been read.
  1941. -
  1942. -`-A, --append'
  1943. -     Append to an existing archive.  Only works in copy-out mode.  The
  1944. -     archive must be a disk file specified with the -O or -F (-file)
  1945. -     option.
  1946. -
  1947. -`-b, --swap'
  1948. -     Swap both halfwords of words and bytes of halfwords in the data.
  1949. -     Equivalent to -sS.  This option may be used in copy-in mode.  Use
  1950. -     this option to convert 32-bit integers between big-endian and
  1951. -     little-endian machines.
  1952. -
  1953. -`-B'
  1954. -     Set the I/O block size to 5120 bytes.  Initially the block size is
  1955. -     512 bytes.
  1956. -
  1957. -`--block-size=BLOCK-SIZE'
  1958. -     Set the I/O block size to BLOCK-SIZE * 512 bytes.
  1959. -
  1960. -`-c'
  1961. -     Use the old portable (ASCII) archive format.
  1962. -
  1963. -`-C IO-SIZE, --io-size=IO-SIZE'
  1964. -     Set the I/O block size to IO-SIZE bytes.
  1965. -
  1966. -`-d, --make-directories'
  1967. -     Create leading directories where needed.
  1968. -
  1969. -`-E FILE, --pattern-file=FILE'
  1970. -     Read additional patterns specifying filenames to extract or list
  1971. -     from FILE.  The lines of FILE are treated as if they had been
  1972. -     non-option arguments to cpio.  This option is used in copy-in mode,
  1973. -
  1974. -`-f, --nonmatching'
  1975. -     Only copy files that do not match any of the given patterns.
  1976. -
  1977. -`-F, --file=archive'
  1978. -     Archive filename to use instead of standard input or output.  To
  1979. -     use a tape drive on another machine as the archive, use a filename
  1980. -     that starts with `HOSTNAME:'.  The hostname can be preceded by a
  1981. -     username and an `@' to access the remote tape drive as that user,
  1982. -     if you have permission to do so (typically an entry in that user's
  1983. -     `~/.rhosts' file).
  1984. -
  1985. -`--force-local'
  1986. -     With -F, -I, or -O, take the archive file name to be a local file
  1987. -     even if it contains a colon, which would ordinarily indicate a
  1988. -     remote host name.
  1989. -
  1990. -`-H FORMAT, --format=FORMAT'
  1991. -     Use archive format FORMAT.  The valid formats are listed below;
  1992. -     the same names are also recognized in all-caps.  The default in
  1993. -     copy-in mode is to automatically detect the archive format, and in
  1994. -     copy-out mode is `bin'.
  1995. -
  1996. -    `bin'
  1997. -          The obsolete binary format.
  1998. -
  1999. -    `odc'
  2000. -          The old (POSIX.1) portable format.
  2001. -
  2002. -    `newc'
  2003. -          The new (SVR4) portable format, which supports file systems
  2004. -          having more than 65536 i-nodes.
  2005. -
  2006. -    `crc'
  2007. -          The new (SVR4) portable format with a checksum added.
  2008. -
  2009. -    `tar'
  2010. -          The old tar format.
  2011. -
  2012. -    `ustar'
  2013. -          The POSIX.1 tar format.  Also recognizes GNU tar archives,
  2014. -          which are similar but not identical.
  2015. -
  2016. -    `hpbin'
  2017. -          The obsolete binary format used by HPUX's cpio (which stores
  2018. -          device files differently).
  2019. -
  2020. -    `hpodc'
  2021. -          The portable format used by HPUX's cpio (which stores device
  2022. -          files differently).
  2023. -
  2024. -`-i, --extract'
  2025. -     Run in copy-in mode.  *Note Copy-in mode::.
  2026. -
  2027. -`-I archive'
  2028. -     Archive filename to use instead of standard input.  To use a tape
  2029. -     drive on another machine as the archive, use a filename that
  2030. -     starts with `HOSTNAME:'.  The hostname can be preceded by a
  2031. -     username and an `@' to access the remote tape drive as that user,
  2032. -     if you have permission to do so (typically an entry in that user's
  2033. -     `~/.rhosts' file).
  2034. -
  2035. -`-k'
  2036. -     Ignored; for compatibility with other versions of cpio.
  2037. -
  2038. -`-l, --link'
  2039. -     Link files instead of copying them, when possible.
  2040. -
  2041. -`-L, --dereference'
  2042. -     Copy the file that a symbolic link points to, rather than the
  2043. -     symbolic link itself.
  2044. -
  2045. -`-m, --preserve-modification-time'
  2046. -     Retain previous file modification times when creating files.
  2047. -
  2048. -`-M MESSAGE, --message=MESSAGE'
  2049. -     Print MESSAGE when the end of a volume of the backup media (such
  2050. -     as a tape or a floppy disk) is reached, to prompt the user to
  2051. -     insert a new volume.  If MESSAGE contains the string "%d", it is
  2052. -     replaced by the current volume number (starting at 1).
  2053. -
  2054. -`-n, --numeric-uid-gid'
  2055. -     Show numeric UID and GID instead of translating them into names
  2056. -     when using the `--verbose option'.
  2057. -
  2058. -`--no-absolute-filenames'
  2059. -     Create all files relative to the current directory in copy-in
  2060. -     mode, even if they have an absolute file name in the archive.
  2061. -
  2062. -`--no-preserve-owner'
  2063. -     Do not change the ownership of the files; leave them owned by the
  2064. -     user extracting them.  This is the default for non-root users, so
  2065. -     that users on System V don't inadvertantly give away files.  This
  2066. -     option can be used in copy-in mode and copy-pass mode
  2067. -
  2068. -`-o, --create'
  2069. -     Run in copy-out mode.  *Note Copy-out mode::.
  2070. -
  2071. -`-O archive'
  2072. -     Archive filename to use instead of standard output.  To use a tape
  2073. -     drive on another machine as the archive, use a filename that
  2074. -     starts with `HOSTNAME:'.  The hostname can be preceded by a
  2075. -     username and an `@' to access the remote tape drive as that user,
  2076. -     if you have permission to do so (typically an entry in that user's
  2077. -     `~/.rhosts' file).
  2078. -
  2079. -`--only-verify-crc'
  2080. -     Verify the CRC's of each file in the archive, when reading a CRC
  2081. -     format archive. Don't actually extract the files.
  2082. -
  2083. -`-p, --pass-through'
  2084. -     Run in copy-pass mode.  *Note Copy-pass mode::.
  2085. -
  2086. -`--quiet'
  2087. -     Do not print the number of blocks copied.
  2088. -
  2089. -`-r, --rename'
  2090. -     Interactively rename files.
  2091. -
  2092. -`-R [user][:.][group], --owner [user][:.][group]'
  2093. -     Set the ownership of all files created to the specified user and/or
  2094. -     group in copy-out and copy-pass modes.  Either the user, the
  2095. -     group, or both, must be present.  If the group is omitted but the
  2096. -     ":" or "." separator is given, use the given user's login group.
  2097. -     Only the super-user can change files' ownership.
  2098. -
  2099. -`-s, --swap-bytes'
  2100. -     Swap the bytes of each halfword (pair of bytes) in the files.This
  2101. -     option can be used in copy-in mode.
  2102. -
  2103. -`-S, --swap-halfwords'
  2104. -     Swap the halfwords of each word (4 bytes) in the files.  This
  2105. -     option may be used in copy-in mode.
  2106. -
  2107. -`--sparse'
  2108. -     Write files with large blocks of zeros as sparse files.  This
  2109. -     option is used in copy-out and copy-pass modes.
  2110. -
  2111. -`-t, --list'
  2112. -     Print a table of contents of the input.
  2113. -
  2114. -`-u, --unconditional'
  2115. -     Replace all files, without asking whether to replace existing
  2116. -     newer files with older files.
  2117. -
  2118. -`-v, --verbose'
  2119. -     List the files processed, or with `-t', give an `ls -l' style
  2120. -     table of contents listing.  In a verbose table of contents of a
  2121. -     ustar archive, user and group names in the archive that do not
  2122. -     exist on the local system are replaced by the names that
  2123. -     correspond locally to the numeric UID and GID stored in the
  2124. -     archive.
  2125. -
  2126. -`-V --dot'
  2127. -     Print a `.' for each file processed.
  2128. -
  2129. -`--version'
  2130. -     Print the cpio program version number and exit.
  2131. -
  2132. -
  2133. -File: cpio.info,  Node: Media,  Next: Concept Index,  Prev: Invoking `cpio',  Up: Top
  2134. -
  2135. -Magnetic Media
  2136. -**************
  2137. -
  2138. -   Archives are usually written on removable media-tape cartridges, mag
  2139. -tapes, or floppy disks.
  2140. -
  2141. -   The amount of data a tape or disk holds depends not only on its size,
  2142. -but also on how it is formatted.  A 2400 foot long reel of mag tape
  2143. -holds 40 megabytes of data when formated at 1600 bits per inch.  The
  2144. -physically smaller EXABYTE tape cartridge holds 2.3 gigabytes.
  2145. -
  2146. -   Magnetic media are re-usable-once the archive on a tape is no longer
  2147. -needed, the archive can be erased and the tape or disk used over. Media
  2148. -quality does deteriorate with use, however.  Most tapes or disks should
  2149. -be disgarded when they begin to produce data errors.
  2150. -
  2151. -   Magnetic media are written and erased using magnetic fields, and
  2152. -should be protected from such fields to avoid damage to stored data.
  2153. -Sticking a floppy disk to a filing cabinet using a magnet is probably
  2154. -not a good idea.
  2155. -
  2156. -
  2157. -File: cpio.info,  Node: Concept Index,  Prev: Media,  Up: Top
  2158. -
  2159. -Concept Index
  2160. -*************
  2161. -
  2162. -* Menu:
  2163. -
  2164. -* command line options:                 Invoking `cpio'.
  2165. -* copying directory structures:         Tutorial.
  2166. -* creating a cpio archive:              Tutorial.
  2167. -* extracting a cpio archive:            Tutorial.
  2168. -* invoking cpio:                        Invoking `cpio'.
  2169. -* magnetic media:                       Media.
  2170. -* passing directory structures:         Tutorial.
  2171. -
  2172. -
  2173. -
  2174. -Tag Table:
  2175. -Node: Top944
  2176. -Node: Introduction1664
  2177. -Node: Tutorial2379
  2178. -Node: Invoking `cpio'6051
  2179. -Node: Copy-out mode6240
  2180. -Node: Copy-in mode7151
  2181. -Node: Copy-pass mode8499
  2182. -Node: Options9295
  2183. -Node: Media16451
  2184. -Node: Concept Index17437
  2185. -
  2186. -End Tag Table
  2187. diff -rup --new-file baseline/fsf/cpio/main.c amiga/fsf/cpio/main.c
  2188. --- baseline/fsf/cpio/main.c    Wed Nov 30 17:24:21 1994
  2189. +++ amiga/fsf/cpio/main.c    Sat Sep 28 00:00:00 1996
  2190. @@ -492,7 +492,7 @@ initialize_buffers ()
  2191.    bzero (zeros_512, 512);
  2192.  }
  2193.  
  2194. -void
  2195. +int
  2196.  main (argc, argv)
  2197.       int argc;
  2198.       char *argv[];
  2199. diff -rup --new-file baseline/fsf/cpio/manifests/bin amiga/fsf/cpio/manifests/bin
  2200. --- baseline/fsf/cpio/manifests/bin    Wed Dec 31 17:00:00 1969
  2201. +++ amiga/fsf/cpio/manifests/bin    Sat Sep 28 00:00:00 1996
  2202. @@ -0,0 +1,9 @@
  2203. +COPYING
  2204. +COPYING.info
  2205. +bin/cpio
  2206. +bin/mt
  2207. +guide/cpio.guide
  2208. +info/cpio.info
  2209. +libexec/rmt
  2210. +man/man1/cpio.1
  2211. +man/man1/mt.1
  2212. diff -rup --new-file baseline/fsf/cpio/manifests/src amiga/fsf/cpio/manifests/src
  2213. --- baseline/fsf/cpio/manifests/src    Wed Dec 31 17:00:00 1969
  2214. +++ amiga/fsf/cpio/manifests/src    Sat Sep 28 00:00:00 1996
  2215. @@ -0,0 +1,66 @@
  2216. +fsf/cpio/BeOS.diffs
  2217. +fsf/cpio/COPYING
  2218. +fsf/cpio/COPYING.LIB
  2219. +fsf/cpio/ChangeLog
  2220. +fsf/cpio/INSTALL
  2221. +fsf/cpio/Makefile.in
  2222. +fsf/cpio/NEWS
  2223. +fsf/cpio/Product-Info
  2224. +fsf/cpio/README
  2225. +fsf/cpio/alloca.c
  2226. +fsf/cpio/argmatch.c
  2227. +fsf/cpio/bcopy.c
  2228. +fsf/cpio/configure
  2229. +fsf/cpio/configure.in
  2230. +fsf/cpio/copyin.c
  2231. +fsf/cpio/copyout.c
  2232. +fsf/cpio/copypass.c
  2233. +fsf/cpio/cpio.1
  2234. +fsf/cpio/cpio.def
  2235. +fsf/cpio/cpio.h
  2236. +fsf/cpio/cpio.texi
  2237. +fsf/cpio/cpiohdr.h
  2238. +fsf/cpio/defer.c
  2239. +fsf/cpio/defer.h
  2240. +fsf/cpio/dirname.c
  2241. +fsf/cpio/dstring.c
  2242. +fsf/cpio/dstring.h
  2243. +fsf/cpio/error.c
  2244. +fsf/cpio/extern.h
  2245. +fsf/cpio/filemode.c
  2246. +fsf/cpio/filetypes.h
  2247. +fsf/cpio/fnmatch.c
  2248. +fsf/cpio/fnmatch.h
  2249. +fsf/cpio/getopt.c
  2250. +fsf/cpio/getopt.h
  2251. +fsf/cpio/getopt1.c
  2252. +fsf/cpio/global.c
  2253. +fsf/cpio/idcache.c
  2254. +fsf/cpio/install-sh
  2255. +fsf/cpio/main.c
  2256. +fsf/cpio/makefile.os2
  2257. +fsf/cpio/makefile.pc
  2258. +fsf/cpio/makepath.c
  2259. +fsf/cpio/manifests/bin
  2260. +fsf/cpio/manifests/src
  2261. +fsf/cpio/mkdir.c
  2262. +fsf/cpio/mkinstalldirs
  2263. +fsf/cpio/mt.1
  2264. +fsf/cpio/mt.c
  2265. +fsf/cpio/rmt.c
  2266. +fsf/cpio/rmt.h
  2267. +fsf/cpio/rtapelib.c
  2268. +fsf/cpio/safe-stat.h
  2269. +fsf/cpio/strdup.c
  2270. +fsf/cpio/stripslash.c
  2271. +fsf/cpio/system.h
  2272. +fsf/cpio/tar.c
  2273. +fsf/cpio/tar.h
  2274. +fsf/cpio/tarhdr.h
  2275. +fsf/cpio/tcexparg.c
  2276. +fsf/cpio/texinfo.tex
  2277. +fsf/cpio/userspec.c
  2278. +fsf/cpio/util.c
  2279. +fsf/cpio/version.c
  2280. +fsf/cpio/xmalloc.c
  2281. +fsf/cpio/xstrdup.c
  2282. diff -rup --new-file baseline/fsf/cpio/mt.1 amiga/fsf/cpio/mt.1
  2283. --- baseline/fsf/cpio/mt.1    Wed Nov 22 14:31:50 1995
  2284. +++ amiga/fsf/cpio/mt.1    Sat Sep 28 00:00:00 1996
  2285. @@ -16,7 +16,7 @@ which must be one of the tape operations
  2286.  drive.
  2287.  .PP
  2288.  The default tape device to operate on is taken from the file
  2289. -.I /usr/include/sys/mtio.h
  2290. +.I /ade/include/sys/mtio.h
  2291.  when
  2292.  .B mt
  2293.  is compiled.  It can be overridden by giving a device file name in
  2294. diff -rup --new-file baseline/fsf/cpio/mt.c amiga/fsf/cpio/mt.c
  2295. --- baseline/fsf/cpio/mt.c    Wed Nov 22 14:31:49 1995
  2296. +++ amiga/fsf/cpio/mt.c    Sat Sep 28 00:00:00 1996
  2297. @@ -167,7 +167,7 @@ struct option longopts[] =
  2298.  /* The name this program was run with.  */
  2299.  char *program_name;
  2300.  
  2301. -void
  2302. +int
  2303.  main (argc, argv)
  2304.       int argc;
  2305.       char **argv;
  2306. diff -rup --new-file baseline/fsf/cpio/rtapelib.c amiga/fsf/cpio/rtapelib.c
  2307. --- baseline/fsf/cpio/rtapelib.c    Wed Nov 30 15:59:40 1994
  2308. +++ amiga/fsf/cpio/rtapelib.c    Sat Sep 28 00:00:00 1996
  2309. @@ -372,28 +372,20 @@ __rmt_open (path, oflag, mode, bias)
  2310.  
  2311.        if (*login)
  2312.      {
  2313. -      execl ("/usr/ucb/rsh", "rsh", system, "-l", login,
  2314. +      execl ("/ade/bin/remsh", "remsh", system, "-l", login,
  2315.           "/etc/rmt", (char *) 0);
  2316. -      execl ("/usr/bin/remsh", "remsh", system, "-l", login,
  2317. +      execl ("/ade/bin/rsh", "rsh", system, "-l", login,
  2318.           "/etc/rmt", (char *) 0);
  2319. -      execl ("/usr/bin/rsh", "rsh", system, "-l", login,
  2320. -         "/etc/rmt", (char *) 0);
  2321. -      execl ("/usr/bsd/rsh", "rsh", system, "-l", login,
  2322. -         "/etc/rmt", (char *) 0);
  2323. -      execl ("/usr/bin/nsh", "nsh", system, "-l", login,
  2324. +      execl ("/ade/bin/nsh", "nsh", system, "-l", login,
  2325.           "/etc/rmt", (char *) 0);
  2326.      }
  2327.        else
  2328.      {
  2329. -      execl ("/usr/ucb/rsh", "rsh", system,
  2330. -         "/etc/rmt", (char *) 0);
  2331. -      execl ("/usr/bin/remsh", "remsh", system,
  2332. -         "/etc/rmt", (char *) 0);
  2333. -      execl ("/usr/bin/rsh", "rsh", system,
  2334. +      execl ("/ade/bin/remsh", "remsh", system,
  2335.           "/etc/rmt", (char *) 0);
  2336. -      execl ("/usr/bsd/rsh", "rsh", system,
  2337. +      execl ("/ade/bin/rsh", "rsh", system,
  2338.           "/etc/rmt", (char *) 0);
  2339. -      execl ("/usr/bin/nsh", "nsh", system,
  2340. +      execl ("/ade/bin/nsh", "nsh", system,
  2341.           "/etc/rmt", (char *) 0);
  2342.      }
  2343.  
  2344.