home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / ed-0.2-diffs.gz / ed-0.2-diffs
Text File  |  1996-10-13  |  145KB  |  4,762 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/ed/BeOS.diffs amiga/fsf/ed/BeOS.diffs
  12. --- baseline/fsf/ed/BeOS.diffs    Wed Dec 31 17:00:00 1969
  13. +++ amiga/fsf/ed/BeOS.diffs    Sat Sep 28 00:00:00 1996
  14. @@ -0,0 +1,469 @@
  15. +This patch works around current bugs in the BeOS shell that affect
  16. +configure, and also patch up some Makefile targets that are not
  17. +yet fully supported.
  18. +
  19. +============================================================================
  20. +
  21. +diff -rc ed-ref/Makefile.in ed/Makefile.in
  22. +*** ed-ref/Makefile.in    Sat Sep 28 07:50:41 1996
  23. +--- ed/Makefile.in    Fri Sep 20 00:00:00 1996
  24. +***************
  25. +*** 31,38 ****
  26. +  #LN_S = @LN_S@
  27. +  LN_S = cp
  28. +  CC = @CC@
  29. +! AR = @AR@
  30. +! AR_FLAGS = cru
  31. +  RANLIB = @RANLIB@
  32. +  INSTALL = @INSTALL@
  33. +  INSTALL_PROGRAM = @INSTALL_PROGRAM@
  34. +--- 31,38 ----
  35. +  #LN_S = @LN_S@
  36. +  LN_S = cp
  37. +  CC = @CC@
  38. +! AR = mwcc
  39. +! AR_FLAGS = -xml -o
  40. +  RANLIB = @RANLIB@
  41. +  INSTALL = @INSTALL@
  42. +  INSTALL_PROGRAM = @INSTALL_PROGRAM@
  43. +diff -rc ed-ref/configure ed/configure
  44. +*** ed-ref/configure    Sat Sep 28 07:54:18 1996
  45. +--- ed/configure    Fri Sep 20 00:00:00 1996
  46. +***************
  47. +*** 861,867 ****
  48. +    yes;
  49. +  #endif
  50. +  EOF
  51. +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  52. +    ac_cv_prog_gcc=yes
  53. +  else
  54. +    ac_cv_prog_gcc=no
  55. +--- 861,867 ----
  56. +    yes;
  57. +  #endif
  58. +  EOF
  59. +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:865: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; } | egrep yes >/dev/null 2>&1; then
  60. +    ac_cv_prog_gcc=yes
  61. +  else
  62. +    ac_cv_prog_gcc=no
  63. +***************
  64. +*** 953,959 ****
  65. +  
  66. +  ; return 0; }
  67. +  EOF
  68. +! if { (eval echo configure:957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  69. +    rm -rf conftest*
  70. +    ac_cv_c_const=yes
  71. +  else
  72. +--- 953,959 ----
  73. +  
  74. +  ; return 0; }
  75. +  EOF
  76. +! if { (eval echo configure:957: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  77. +    rm -rf conftest*
  78. +    ac_cv_c_const=yes
  79. +  else
  80. +***************
  81. +*** 993,999 ****
  82. +  Syntax Error
  83. +  EOF
  84. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  85. +! { (eval echo configure:997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  86. +  ac_err=`grep -v '^ *+' conftest.out`
  87. +  if test -z "$ac_err"; then
  88. +    :
  89. +--- 993,999 ----
  90. +  Syntax Error
  91. +  EOF
  92. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  93. +! { (eval echo configure:997: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  94. +  ac_err=`grep -v '^ *+' conftest.out`
  95. +  if test -z "$ac_err"; then
  96. +    :
  97. +***************
  98. +*** 1008,1014 ****
  99. +  Syntax Error
  100. +  EOF
  101. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  102. +! { (eval echo configure:1012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  103. +  ac_err=`grep -v '^ *+' conftest.out`
  104. +  if test -z "$ac_err"; then
  105. +    :
  106. +--- 1008,1014 ----
  107. +  Syntax Error
  108. +  EOF
  109. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  110. +! { (eval echo configure:1012: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  111. +  ac_err=`grep -v '^ *+' conftest.out`
  112. +  if test -z "$ac_err"; then
  113. +    :
  114. +***************
  115. +*** 1041,1047 ****
  116. +  #include "confdefs.h"
  117. +  main(){return(0);}
  118. +  EOF
  119. +! { (eval echo configure:1045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  120. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  121. +    ac_cv_c_cross=no
  122. +  else
  123. +--- 1041,1047 ----
  124. +  #include "confdefs.h"
  125. +  main(){return(0);}
  126. +  EOF
  127. +! { (eval echo configure:1045: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  128. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  129. +    ac_cv_c_cross=no
  130. +  else
  131. +***************
  132. +*** 1067,1073 ****
  133. +  #include <float.h>
  134. +  EOF
  135. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  136. +! { (eval echo configure:1071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  137. +  ac_err=`grep -v '^ *+' conftest.out`
  138. +  if test -z "$ac_err"; then
  139. +    rm -rf conftest*
  140. +--- 1067,1073 ----
  141. +  #include <float.h>
  142. +  EOF
  143. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  144. +! { (eval echo configure:1071: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  145. +  ac_err=`grep -v '^ *+' conftest.out`
  146. +  if test -z "$ac_err"; then
  147. +    rm -rf conftest*
  148. +***************
  149. +*** 1086,1093 ****
  150. +  #include "confdefs.h"
  151. +  #include <string.h>
  152. +  EOF
  153. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  154. +!   egrep "memchr" >/dev/null 2>&1; then
  155. +    :
  156. +  else
  157. +    rm -rf conftest*
  158. +--- 1086,1093 ----
  159. +  #include "confdefs.h"
  160. +  #include <string.h>
  161. +  EOF
  162. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  163. +! if egrep "memchr" <conftest.tmp >/dev/null 2>&1; then
  164. +    :
  165. +  else
  166. +    rm -rf conftest*
  167. +***************
  168. +*** 1104,1111 ****
  169. +  #include "confdefs.h"
  170. +  #include <stdlib.h>
  171. +  EOF
  172. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  173. +!   egrep "free" >/dev/null 2>&1; then
  174. +    :
  175. +  else
  176. +    rm -rf conftest*
  177. +--- 1104,1111 ----
  178. +  #include "confdefs.h"
  179. +  #include <stdlib.h>
  180. +  EOF
  181. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  182. +! if egrep "free" <conftest.tmp >/dev/null 2>&1; then
  183. +    :
  184. +  else
  185. +    rm -rf conftest*
  186. +***************
  187. +*** 1132,1138 ****
  188. +  exit (0); }
  189. +  
  190. +  EOF
  191. +! { (eval echo configure:1136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  192. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  193. +    :
  194. +  else
  195. +--- 1132,1138 ----
  196. +  exit (0); }
  197. +  
  198. +  EOF
  199. +! { (eval echo configure:1136: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  200. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  201. +    :
  202. +  else
  203. +***************
  204. +*** 1164,1170 ****
  205. +  #include <$ac_hdr>
  206. +  EOF
  207. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  208. +! { (eval echo configure:1168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  209. +  ac_err=`grep -v '^ *+' conftest.out`
  210. +  if test -z "$ac_err"; then
  211. +    rm -rf conftest*
  212. +--- 1164,1170 ----
  213. +  #include <$ac_hdr>
  214. +  EOF
  215. +  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  216. +! { (eval echo configure:1168: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  217. +  ac_err=`grep -v '^ *+' conftest.out`
  218. +  if test -z "$ac_err"; then
  219. +    rm -rf conftest*
  220. +***************
  221. +*** 1205,1211 ****
  222. +      builtin and then its argument prototype would still apply.  */
  223. +  char $ac_func();
  224. +  
  225. +! int main() { return 0; }
  226. +  int t() {
  227. +  
  228. +  /* The GNU C library defines this for functions which it implements
  229. +--- 1205,1211 ----
  230. +      builtin and then its argument prototype would still apply.  */
  231. +  char $ac_func();
  232. +  
  233. +! int main() { t(); return 0; }
  234. +  int t() {
  235. +  
  236. +  /* The GNU C library defines this for functions which it implements
  237. +***************
  238. +*** 1219,1225 ****
  239. +  
  240. +  ; return 0; }
  241. +  EOF
  242. +! if { (eval echo configure:1223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  243. +    rm -rf conftest*
  244. +    eval "ac_cv_func_$ac_func=yes"
  245. +  else
  246. +--- 1219,1225 ----
  247. +  
  248. +  ; return 0; }
  249. +  EOF
  250. +! if { (eval echo configure:1223: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  251. +    rm -rf conftest*
  252. +    eval "ac_cv_func_$ac_func=yes"
  253. +  else
  254. +***************
  255. +*** 1256,1262 ****
  256. +      builtin and then its argument prototype would still apply.  */
  257. +  char vprintf();
  258. +  
  259. +! int main() { return 0; }
  260. +  int t() {
  261. +  
  262. +  /* The GNU C library defines this for functions which it implements
  263. +--- 1256,1262 ----
  264. +      builtin and then its argument prototype would still apply.  */
  265. +  char vprintf();
  266. +  
  267. +! int main() { t(); return 0; }
  268. +  int t() {
  269. +  
  270. +  /* The GNU C library defines this for functions which it implements
  271. +***************
  272. +*** 1270,1276 ****
  273. +  
  274. +  ; return 0; }
  275. +  EOF
  276. +! if { (eval echo configure:1274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  277. +    rm -rf conftest*
  278. +    eval "ac_cv_func_vprintf=yes"
  279. +  else
  280. +--- 1270,1276 ----
  281. +  
  282. +  ; return 0; }
  283. +  EOF
  284. +! if { (eval echo configure:1274: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  285. +    rm -rf conftest*
  286. +    eval "ac_cv_func_vprintf=yes"
  287. +  else
  288. +***************
  289. +*** 1306,1312 ****
  290. +      builtin and then its argument prototype would still apply.  */
  291. +  char _doprnt();
  292. +  
  293. +! int main() { return 0; }
  294. +  int t() {
  295. +  
  296. +  /* The GNU C library defines this for functions which it implements
  297. +--- 1306,1312 ----
  298. +      builtin and then its argument prototype would still apply.  */
  299. +  char _doprnt();
  300. +  
  301. +! int main() { t(); return 0; }
  302. +  int t() {
  303. +  
  304. +  /* The GNU C library defines this for functions which it implements
  305. +***************
  306. +*** 1320,1326 ****
  307. +  
  308. +  ; return 0; }
  309. +  EOF
  310. +! if { (eval echo configure:1324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  311. +    rm -rf conftest*
  312. +    eval "ac_cv_func__doprnt=yes"
  313. +  else
  314. +--- 1320,1326 ----
  315. +  
  316. +  ; return 0; }
  317. +  EOF
  318. +! if { (eval echo configure:1324: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  319. +    rm -rf conftest*
  320. +    eval "ac_cv_func__doprnt=yes"
  321. +  else
  322. +***************
  323. +*** 1352,1363 ****
  324. +  #line 1353 "configure"
  325. +  #include "confdefs.h"
  326. +  #include <alloca.h>
  327. +! int main() { return 0; }
  328. +  int t() {
  329. +  char *p = alloca(2 * sizeof(int));
  330. +  ; return 0; }
  331. +  EOF
  332. +! if { (eval echo configure:1361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  333. +    rm -rf conftest*
  334. +    ac_cv_header_alloca_h=yes
  335. +  else
  336. +--- 1352,1363 ----
  337. +  #line 1353 "configure"
  338. +  #include "confdefs.h"
  339. +  #include <alloca.h>
  340. +! int main() { t(); return 0; }
  341. +  int t() {
  342. +  char *p = alloca(2 * sizeof(int));
  343. +  ; return 0; }
  344. +  EOF
  345. +! if { (eval echo configure:1361: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  346. +    rm -rf conftest*
  347. +    ac_cv_header_alloca_h=yes
  348. +  else
  349. +***************
  350. +*** 1400,1411 ****
  351. +  # endif
  352. +  #endif
  353. +  
  354. +! int main() { return 0; }
  355. +  int t() {
  356. +  char *p = (char *) alloca(1);
  357. +  ; return 0; }
  358. +  EOF
  359. +! if { (eval echo configure:1409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  360. +    rm -rf conftest*
  361. +    ac_cv_func_alloca=yes
  362. +  else
  363. +--- 1400,1411 ----
  364. +  # endif
  365. +  #endif
  366. +  
  367. +! int main() { t(); return 0; }
  368. +  int t() {
  369. +  char *p = (char *) alloca(1);
  370. +  ; return 0; }
  371. +  EOF
  372. +! if { (eval echo configure:1409: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  373. +    rm -rf conftest*
  374. +    ac_cv_func_alloca=yes
  375. +  else
  376. +***************
  377. +*** 1449,1456 ****
  378. +  #endif
  379. +  
  380. +  EOF
  381. +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  382. +!   egrep "webecray" >/dev/null 2>&1; then
  383. +    rm -rf conftest*
  384. +    ac_cv_os_cray=yes
  385. +  else
  386. +--- 1449,1456 ----
  387. +  #endif
  388. +  
  389. +  EOF
  390. +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  391. +! if egrep "webecray" <conftest.tmp >/dev/null 2>&1; then
  392. +    rm -rf conftest*
  393. +    ac_cv_os_cray=yes
  394. +  else
  395. +***************
  396. +*** 1479,1485 ****
  397. +      builtin and then its argument prototype would still apply.  */
  398. +  char $ac_func();
  399. +  
  400. +! int main() { return 0; }
  401. +  int t() {
  402. +  
  403. +  /* The GNU C library defines this for functions which it implements
  404. +--- 1479,1485 ----
  405. +      builtin and then its argument prototype would still apply.  */
  406. +  char $ac_func();
  407. +  
  408. +! int main() { t(); return 0; }
  409. +  int t() {
  410. +  
  411. +  /* The GNU C library defines this for functions which it implements
  412. +***************
  413. +*** 1493,1499 ****
  414. +  
  415. +  ; return 0; }
  416. +  EOF
  417. +! if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  418. +    rm -rf conftest*
  419. +    eval "ac_cv_func_$ac_func=yes"
  420. +  else
  421. +--- 1493,1499 ----
  422. +  
  423. +  ; return 0; }
  424. +  EOF
  425. +! if { (eval echo configure:1497: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  426. +    rm -rf conftest*
  427. +    eval "ac_cv_func_$ac_func=yes"
  428. +  else
  429. +***************
  430. +*** 1544,1550 ****
  431. +    exit (find_stack_direction() < 0);
  432. +  }
  433. +  EOF
  434. +! { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  435. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  436. +    ac_cv_c_stack_direction=1
  437. +  else
  438. +--- 1544,1550 ----
  439. +    exit (find_stack_direction() < 0);
  440. +  }
  441. +  EOF
  442. +! { (eval echo configure:1548: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  443. +  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  444. +    ac_cv_c_stack_direction=1
  445. +  else
  446. +***************
  447. +*** 1584,1592 ****
  448. +  EOF
  449. +  # Ultrix sh set writes to stderr and can't be redirected directly,
  450. +  # and sets the high bit in the cache file unless we assign to the vars.
  451. +! (set) 2>&1 |
  452. +    sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  453. +!   >> confcache
  454. +  if cmp -s $cache_file confcache; then
  455. +    :
  456. +  else
  457. +--- 1584,1592 ----
  458. +  EOF
  459. +  # Ultrix sh set writes to stderr and can't be redirected directly,
  460. +  # and sets the high bit in the cache file unless we assign to the vars.
  461. +! (set) >cache.tmp 2>&1 
  462. +    sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  463. +!   <cache.tmp >> confcache
  464. +  if cmp -s $cache_file confcache; then
  465. +    :
  466. +  else
  467. +***************
  468. +*** 1597,1603 ****
  469. +      echo "not updating unwritable cache $cache_file"
  470. +    fi
  471. +  fi
  472. +! rm -f confcache
  473. +  
  474. +  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  475. +  
  476. +--- 1597,1603 ----
  477. +      echo "not updating unwritable cache $cache_file"
  478. +    fi
  479. +  fi
  480. +! rm -f confcache cache.tmp
  481. +  
  482. +  trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  483. +  
  484. diff -rup --new-file baseline/fsf/ed/Makefile.in amiga/fsf/ed/Makefile.in
  485. --- baseline/fsf/ed/Makefile.in    Sat Nov 19 05:45:32 1994
  486. +++ amiga/fsf/ed/Makefile.in    Sat Sep 28 00:00:00 1996
  487. @@ -23,9 +23,16 @@ srcdir = @srcdir@
  488.  testdir = $(srcdir)/testsuite
  489.  VPATH = @srcdir@
  490.  
  491. -LN_S = @LN_S@
  492. +# For the Amiga, force LN_S to be just "cp" rather than "ln -s", so that a
  493. +# copy is made rather than a symbolic link.  We support symbolic links, but
  494. +# we don't want to use them in the installation because the "mkisofs" CD-ROM
  495. +# mastering software doesn't know what to do with them yet (convert to a
  496. +# copy on the fly).
  497. +#LN_S = @LN_S@
  498. +LN_S = cp
  499.  CC = @CC@
  500. -AR = ar
  501. +AR = @AR@
  502. +AR_FLAGS = cru
  503.  RANLIB = @RANLIB@
  504.  INSTALL = @INSTALL@
  505.  INSTALL_PROGRAM = @INSTALL_PROGRAM@
  506. @@ -42,6 +49,7 @@ prefix = @prefix@
  507.  exec_prefix = @exec_prefix@
  508.  bindir = $(exec_prefix)/bin
  509.  infodir = $(prefix)/info
  510. +guidedir = $(prefix)/guide
  511.  mandir = $(prefix)/man/man1
  512.  manext = .1
  513.  
  514. @@ -61,9 +69,9 @@ LIBOBJS = @ALLOCA@ getopt.o getopt1.o re
  515.  DISTFILES = $(HEADERS) $(LIBHDRS) $(LIBSRCS) $(SOURCES) ChangeLog COPYING \
  516.  INSTALL Makefile.in NEWS POSIX README TODO THANKS \
  517.  configure configure.in stamp-h.in config.h.in mkinstalldirs install.sh \
  518. -ed.1 ed.info ed.texinfo texinfo.tex
  519. +ed.1 ed.info ed.texinfo texinfo.tex ed.guide
  520.  
  521. -all: ed
  522. +all: ed info guide
  523.  
  524.  ed: $(OBJECTS) libed.a
  525.      $(CC) $(LDFLAGS) -o ed $(OBJECTS) libed.a $(LIBS)
  526. @@ -76,7 +84,7 @@ signal.o: ed.h config.h regex.h
  527.  
  528.  libed.a: $(LIBOBJS)
  529.      rm -f libed.a
  530. -    $(AR) cru libed.a $(LIBOBJS)
  531. +    $(AR) $(AR_FLAGS) libed.a $(LIBOBJS)
  532.      $(RANLIB) libed.a
  533.  
  534.  getopt.o getopt1.o: getopt.h
  535. @@ -93,17 +101,23 @@ info: ed.info
  536.  ed.info: ed.texinfo
  537.      $(MAKEINFO) -I$(srcdir) --no-split ed.texinfo
  538.  
  539. +guide: ed.guide
  540. +
  541. +ed.guide: ed.texinfo
  542. +    $(MAKEINFO) -I$(srcdir) --no-split ed.texinfo --amiga -o $@
  543. +
  544.  dvi: ed.dvi
  545.  
  546.  ed.dvi: ed.texinfo
  547.      $(TEXI2DVI) $(srcdir)/ed.texinfo
  548.  
  549. -install: ed ed.info installdirs
  550. +install: ed ed.info ed.guide installdirs
  551.      $(INSTALL_PROGRAM) ed $(bindir)/$(binprefix)ed
  552.      rm -f $(bindir)/$(binprefix)red
  553.      cd $(bindir); \
  554.        $(LN_S) $(binprefix)ed $(binprefix)red
  555. -    $(INSTALL_DATA) $(srcdir)/ed.info $(infodir)/$(binprefix)ed.info
  556. +    $(INSTALL_DATA) ed.info $(infodir)/$(binprefix)ed.info
  557. +    $(INSTALL_DATA) ed.guide $(guidedir)/$(binprefix)ed.guide
  558.      $(INSTALL_DATA) $(srcdir)/ed.1 $(mandir)/$(binprefix)ed$(manext)
  559.      rm -f $(mandir)/$(binprefix)red$(manext)
  560.      cd $(mandir); \
  561. @@ -112,11 +126,12 @@ install: ed ed.info installdirs
  562.  # Make sure all installation directories, e.g. $(bindir) actually exist by
  563.  # making them if necessary.
  564.  installdirs:
  565. -    $(srcdir)/mkinstalldirs $(bindir) $(infodir) $(mandir)
  566. +    $(srcdir)/mkinstalldirs $(bindir) $(infodir) $(mandir) $(guidedir)
  567.  
  568.  uninstall: all
  569.      rm -f $(bindir)/$(binprefix)ed $(bindir)/$(binprefix)red
  570.      rm -f $(infodir)/$(binprefix)ed.info
  571. +    rm -f $(guidedir)/$(binprefix)ed.guide
  572.      rm -f $(mandir)/$(binprefix)ed.1 $(mandir)/$(binprefix)red.1
  573.  
  574.  tags: $(HEADERS) $(SOURCES)
  575. @@ -141,7 +156,7 @@ distclean: clean
  576.      rm -f tags TAGS Makefile config.h config.status config.log config.cache
  577.  
  578.  realclean: distclean
  579. -    rm -f ed.info
  580. +    rm -f ed.info ed.guide
  581.  
  582.  dist: $(DISTFILES)
  583.      echo > .fname \
  584. diff -rup --new-file baseline/fsf/ed/Product-Info amiga/fsf/ed/Product-Info
  585. --- baseline/fsf/ed/Product-Info    Wed Dec 31 17:00:00 1969
  586. +++ amiga/fsf/ed/Product-Info    Sat Sep 28 00:00:00 1996
  587. @@ -0,0 +1,23 @@
  588. +.name
  589. +ed
  590. +.fullname
  591. +GNU line editor
  592. +.type
  593. +Miscellaneous
  594. +.short
  595. +8-bit-clean POSIX compliant line editor.
  596. +.description
  597. +"Ed" is a line-oriented text editor.  It is used to create, display,
  598. +modify and otherwise manipulate text files.  "Red" is a restricted ed:
  599. +it can only edit files in the current directory and cannot execute
  600. +shell commands.
  601. +.version
  602. +0.2
  603. +.author
  604. +Andrew Moore
  605. +.requirements
  606. +Amiga binary requires ixemul.library.
  607. +.distribution
  608. +GNU Public License
  609. +.described-by
  610. +Fred Fish (fnf@amigalib.com)
  611. diff -rup --new-file baseline/fsf/ed/config.guess amiga/fsf/ed/config.guess
  612. --- baseline/fsf/ed/config.guess    Wed Dec 31 17:00:00 1969
  613. +++ amiga/fsf/ed/config.guess    Sat Sep 28 00:00:00 1996
  614. @@ -0,0 +1,600 @@
  615. +#! /bin/sh
  616. +# Attempt to guess a canonical system name.
  617. +#   Copyright (C) 1992, 93, 94, 95, 1996 Free Software Foundation, Inc.
  618. +#
  619. +# This file is free software; you can redistribute it and/or modify it
  620. +# under the terms of the GNU General Public License as published by
  621. +# the Free Software Foundation; either version 2 of the License, or
  622. +# (at your option) any later version.
  623. +#
  624. +# This program is distributed in the hope that it will be useful, but
  625. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  626. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  627. +# General Public License for more details.
  628. +#
  629. +# You should have received a copy of the GNU General Public License
  630. +# along with this program; if not, write to the Free Software
  631. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  632. +#
  633. +# As a special exception to the GNU General Public License, if you
  634. +# distribute this file as part of a program that contains a
  635. +# configuration script generated by Autoconf, you may include it under
  636. +# the same distribution terms that you use for the rest of that program.
  637. +
  638. +# Written by Per Bothner <bothner@cygnus.com>.
  639. +# The master version of this file is at the FSF in /home/gd/gnu/lib.
  640. +#
  641. +# This script attempts to guess a canonical system name similar to
  642. +# config.sub.  If it succeeds, it prints the system name on stdout, and
  643. +# exits with 0.  Otherwise, it exits with 1.
  644. +#
  645. +# The plan is that this can be called by configure scripts if you
  646. +# don't specify an explicit system type (host/target name).
  647. +#
  648. +# Only a few systems have been added to this list; please add others
  649. +# (but try to keep the structure clean).
  650. +#
  651. +
  652. +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
  653. +# (ghazi@noc.rutgers.edu 8/24/94.)
  654. +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
  655. +    PATH=$PATH:/.attbin ; export PATH
  656. +fi
  657. +
  658. +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
  659. +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
  660. +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
  661. +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
  662. +
  663. +trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
  664. +
  665. +# Note: order is significant - the case branches are not exclusive.
  666. +
  667. +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
  668. +    alpha:OSF1:*:*)
  669. +    # A Vn.n version is a released version.
  670. +    # A Tn.n version is a released field test version.
  671. +    # A Xn.n version is an unreleased experimental baselevel.
  672. +    # 1.2 uses "1.2" for uname -r.
  673. +    echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//'`
  674. +    exit 0 ;;
  675. +    21064:Windows_NT:50:3)
  676. +    echo alpha-dec-winnt3.5
  677. +    exit 0 ;;
  678. +    Amiga*:UNIX_System_V:4.0:*)
  679. +    echo m68k-cbm-sysv4
  680. +    exit 0;;
  681. +    amiga:NetBSD:*:*)
  682. +      echo m68k-cbm-netbsd${UNAME_RELEASE}
  683. +      exit 0 ;;
  684. +    arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
  685. +    echo arm-acorn-riscix${UNAME_RELEASE}
  686. +    exit 0;;
  687. +    Pyramid*:OSx*:*:*)
  688. +    if test "`(/bin/universe) 2>/dev/null`" = att ; then
  689. +        echo pyramid-pyramid-sysv3
  690. +    else
  691. +        echo pyramid-pyramid-bsd
  692. +    fi
  693. +    exit 0 ;;
  694. +    sun4*:SunOS:5.*:*)
  695. +    echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  696. +    exit 0 ;;
  697. +    i86pc:SunOS:5.*:*)
  698. +    echo i386-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  699. +    exit 0 ;;
  700. +    sun4*:SunOS:6*:*)
  701. +    # According to config.sub, this is the proper way to canonicalize
  702. +    # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
  703. +    # it's likely to be more like Solaris than SunOS4.
  704. +    echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  705. +    exit 0 ;;
  706. +    sun4*:SunOS:*:*)
  707. +    case "`/usr/bin/arch -k`" in
  708. +        Series*|S4*)
  709. +        UNAME_RELEASE=`uname -v`
  710. +        ;;
  711. +    esac
  712. +    # Japanese Language versions have a version number like `4.1.3-JL'.
  713. +    echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
  714. +    exit 0 ;;
  715. +    sun3*:SunOS:*:*)
  716. +    echo m68k-sun-sunos${UNAME_RELEASE}
  717. +    exit 0 ;;
  718. +    atari*:NetBSD:*:*)
  719. +    echo m68k-atari-netbsd${UNAME_RELEASE}
  720. +    exit 0 ;;
  721. +    sun3*:NetBSD:*:*)
  722. +    echo m68k-sun-netbsd${UNAME_RELEASE}
  723. +    exit 0 ;;
  724. +    mac68k:NetBSD:*:*)
  725. +    echo m68k-apple-netbsd${UNAME_RELEASE}
  726. +    exit 0 ;;
  727. +    RISC*:ULTRIX:*:*)
  728. +    echo mips-dec-ultrix${UNAME_RELEASE}
  729. +    exit 0 ;;
  730. +    VAX*:ULTRIX*:*:*)
  731. +    echo vax-dec-ultrix${UNAME_RELEASE}
  732. +    exit 0 ;;
  733. +    mips:*:4*:UMIPS)
  734. +    echo mips-mips-riscos4sysv
  735. +    exit 0 ;;
  736. +    mips:*:5*:RISCos)
  737. +    echo mips-mips-riscos${UNAME_RELEASE}
  738. +    exit 0 ;;
  739. +    Night_Hawk:Power_UNIX:*:*)
  740. +    echo powerpc-harris-powerunix
  741. +    exit 0 ;;
  742. +    m88k:CX/UX:7*:*)
  743. +    echo m88k-harris-cxux7
  744. +    exit 0 ;;
  745. +    m88k:*:4*:R4*)
  746. +    echo m88k-motorola-sysv4
  747. +    exit 0 ;;
  748. +    m88k:*:3*:R3*)
  749. +    echo m88k-motorola-sysv3
  750. +    exit 0 ;;
  751. +    AViiON:dgux:*:*)
  752. +        # DG/UX returns AViiON for all architectures
  753. +        UNAME_PROCESSOR=`/usr/bin/uname -p`
  754. +        if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88100 ] ; then
  755. +    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
  756. +         -o ${TARGET_BINARY_INTERFACE}x = x ] ; then
  757. +        echo m88k-dg-dgux${UNAME_RELEASE}
  758. +    else
  759. +        echo m88k-dg-dguxbcs${UNAME_RELEASE}
  760. +    fi
  761. +        else echo i586-dg-dgux${UNAME_RELEASE}
  762. +        fi
  763. +     exit 0 ;;
  764. +    M88*:DolphinOS:*:*)    # DolphinOS (SVR3)
  765. +    echo m88k-dolphin-sysv3
  766. +    exit 0 ;;
  767. +    M88*:*:R3*:*)
  768. +    # Delta 88k system running SVR3
  769. +    echo m88k-motorola-sysv3
  770. +    exit 0 ;;
  771. +    XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
  772. +    echo m88k-tektronix-sysv3
  773. +    exit 0 ;;
  774. +    Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
  775. +    echo m68k-tektronix-bsd
  776. +    exit 0 ;;
  777. +    *:IRIX*:*:*)
  778. +    echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
  779. +    exit 0 ;;
  780. +   ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
  781. +    echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
  782. +    exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
  783. +    i[34]86:AIX:*:*)
  784. +    echo i386-ibm-aix
  785. +    exit 0 ;;
  786. +    *:AIX:2:3)
  787. +    if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
  788. +        sed 's/^        //' << EOF >dummy.c
  789. +        #include <sys/systemcfg.h>
  790. +
  791. +        main()
  792. +            {
  793. +            if (!__power_pc())
  794. +                exit(1);
  795. +            puts("powerpc-ibm-aix3.2.5");
  796. +            exit(0);
  797. +            }
  798. +EOF
  799. +        ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
  800. +        rm -f dummy.c dummy
  801. +        echo rs6000-ibm-aix3.2.5
  802. +    elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
  803. +        echo rs6000-ibm-aix3.2.4
  804. +    else
  805. +        echo rs6000-ibm-aix3.2
  806. +    fi
  807. +    exit 0 ;;
  808. +    *:AIX:*:4)
  809. +    if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
  810. +        IBM_ARCH=rs6000
  811. +    else
  812. +        IBM_ARCH=powerpc
  813. +    fi
  814. +    if [ -x /usr/bin/oslevel ] ; then
  815. +        IBM_REV=`/usr/bin/oslevel`
  816. +    else
  817. +        IBM_REV=4.${UNAME_RELEASE}
  818. +    fi
  819. +    echo ${IBM_ARCH}-ibm-aix${IBM_REV}
  820. +    exit 0 ;;
  821. +    *:AIX:*:*)
  822. +    echo rs6000-ibm-aix
  823. +    exit 0 ;;
  824. +    ibmrt:4.4BSD:*|romp-ibm:BSD:*)
  825. +    echo romp-ibm-bsd4.4
  826. +    exit 0 ;;
  827. +    ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC NetBSD and
  828. +    echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to 
  829. +    exit 0 ;;                           # report: romp-ibm BSD 4.3
  830. +    *:BOSX:*:*)
  831. +    echo rs6000-bull-bosx
  832. +    exit 0 ;;
  833. +    DPX/2?00:B.O.S.:*:*)
  834. +    echo m68k-bull-sysv3
  835. +    exit 0 ;;
  836. +    9000/[34]??:4.3bsd:1.*:*)
  837. +    echo m68k-hp-bsd
  838. +    exit 0 ;;
  839. +    hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
  840. +    echo m68k-hp-bsd4.4
  841. +    exit 0 ;;
  842. +    9000/[3478]??:HP-UX:*:*)
  843. +    case "${UNAME_MACHINE}" in
  844. +        9000/31? )            HP_ARCH=m68000 ;;
  845. +        9000/[34]?? )         HP_ARCH=m68k ;;
  846. +        9000/7?? | 9000/8?[679] ) HP_ARCH=hppa1.1 ;;
  847. +        9000/8?? )            HP_ARCH=hppa1.0 ;;
  848. +    esac
  849. +    HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
  850. +    echo ${HP_ARCH}-hp-hpux${HPUX_REV}
  851. +    exit 0 ;;
  852. +    3050*:HI-UX:*:*)
  853. +    sed 's/^    //' << EOF >dummy.c
  854. +    #include <unistd.h>
  855. +    int
  856. +    main ()
  857. +    {
  858. +      long cpu = sysconf (_SC_CPU_VERSION);
  859. +      /* The order matters, because CPU_IS_HP_MC68K erroneously returns
  860. +         true for CPU_PA_RISC1_0.  CPU_IS_PA_RISC returns correct
  861. +         results, however.  */
  862. +      if (CPU_IS_PA_RISC (cpu))
  863. +        {
  864. +          switch (cpu)
  865. +        {
  866. +          case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
  867. +          case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
  868. +          case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
  869. +          default: puts ("hppa-hitachi-hiuxwe2"); break;
  870. +        }
  871. +        }
  872. +      else if (CPU_IS_HP_MC68K (cpu))
  873. +        puts ("m68k-hitachi-hiuxwe2");
  874. +      else puts ("unknown-hitachi-hiuxwe2");
  875. +      exit (0);
  876. +    }
  877. +EOF
  878. +    ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
  879. +    rm -f dummy.c dummy
  880. +    echo unknown-hitachi-hiuxwe2
  881. +    exit 0 ;;
  882. +    9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
  883. +    echo hppa1.1-hp-bsd
  884. +    exit 0 ;;
  885. +    9000/8??:4.3bsd:*:*)
  886. +    echo hppa1.0-hp-bsd
  887. +    exit 0 ;;
  888. +    hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
  889. +    echo hppa1.1-hp-osf
  890. +    exit 0 ;;
  891. +    hp8??:OSF1:*:*)
  892. +    echo hppa1.0-hp-osf
  893. +    exit 0 ;;
  894. +    parisc*:Lites*:*:*)
  895. +    echo hppa1.1-hp-lites
  896. +    exit 0 ;;
  897. +    C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
  898. +    echo c1-convex-bsd
  899. +        exit 0 ;;
  900. +    C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
  901. +    if getsysinfo -f scalar_acc
  902. +    then echo c32-convex-bsd
  903. +    else echo c2-convex-bsd
  904. +    fi
  905. +        exit 0 ;;
  906. +    C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
  907. +    echo c34-convex-bsd
  908. +        exit 0 ;;
  909. +    C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
  910. +    echo c38-convex-bsd
  911. +        exit 0 ;;
  912. +    C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
  913. +    echo c4-convex-bsd
  914. +        exit 0 ;;
  915. +    CRAY*X-MP:*:*:*)
  916. +    echo xmp-cray-unicos
  917. +        exit 0 ;;
  918. +    CRAY*Y-MP:*:*:*)
  919. +    echo ymp-cray-unicos${UNAME_RELEASE}
  920. +    exit 0 ;;
  921. +    CRAY*C90:*:*:*)
  922. +    echo c90-cray-unicos${UNAME_RELEASE}
  923. +    exit 0 ;;
  924. +    CRAY-2:*:*:*)
  925. +    echo cray2-cray-unicos
  926. +        exit 0 ;;
  927. +    hp3[0-9][05]:NetBSD:*:*)
  928. +    echo m68k-hp-netbsd${UNAME_RELEASE}
  929. +    exit 0 ;;
  930. +    i[34]86:BSD/386:*:* | *:BSD/OS:*:*)
  931. +    echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
  932. +    exit 0 ;;
  933. +    *:FreeBSD:*:*)
  934. +    echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
  935. +    exit 0 ;;
  936. +    *:NetBSD:*:*)
  937. +    echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  938. +    exit 0 ;;
  939. +    i*:CYGWIN*:*)
  940. +    echo i386-unknown-cygwin32
  941. +    exit 0 ;;
  942. +    p*:CYGWIN*:*)
  943. +    echo powerpcle-unknown-cygwin32
  944. +    exit 0 ;;
  945. +    prep*:SunOS:5.*:*)
  946. +    echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  947. +    exit 0 ;;
  948. +    *:GNU:*:*)
  949. +    echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
  950. +    exit 0 ;;
  951. +    *:Linux:*:*)
  952. +    # The BFD linker knows what the default object file format is, so
  953. +    # first see if it will tell us.
  954. +    ld_help_string=`ld --help 2>&1`
  955. +    if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then
  956. +      echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
  957. +    elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then
  958. +      echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
  959. +    elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then
  960. +      echo "${UNAME_MACHINE}-unknown-linuxcoff" ; exit 0
  961. +    elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then
  962. +      echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
  963. +    elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then
  964. +      echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
  965. +    elif test "${UNAME_MACHINE}" = "alpha" ; then
  966. +      echo alpha-unknown-linux ; exit 0
  967. +    else
  968. +      # Either a pre-BFD a.out linker (linuxoldld) or one that does not give us
  969. +      # useful --help.  Gcc wants to distinguish between linuxoldld and linuxaout.
  970. +      test ! -d /usr/lib/ldscripts/. \
  971. +        && echo "${UNAME_MACHINE}-unknown-linuxoldld" && exit 0
  972. +      # Determine whether the default compiler is a.out or elf
  973. +      cat >dummy.c <<EOF
  974. +main(argc, argv)
  975. +int argc;
  976. +char *argv[];
  977. +{
  978. +#ifdef __ELF__
  979. +  printf ("%s-unknown-linux\n", argv[1]);
  980. +#else
  981. +  printf ("%s-unknown-linuxaout\n", argv[1]);
  982. +#endif
  983. +  return 0;
  984. +}
  985. +EOF
  986. +      ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
  987. +      rm -f dummy.c dummy
  988. +    fi ;;
  989. +# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.  earlier versions
  990. +# are messed up and put the nodename in both sysname and nodename.
  991. +    i[34]86:DYNIX/ptx:4*:*)
  992. +    echo i386-sequent-sysv4
  993. +    exit 0 ;;
  994. +    i[34]86:*:4.*:* | i[34]86:SYSTEM_V:4.*:*)
  995. +    if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
  996. +        echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
  997. +    else
  998. +        echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}
  999. +    fi
  1000. +    exit 0 ;;
  1001. +    i[34]86:*:3.2:*)
  1002. +    if test -f /usr/options/cb.name; then
  1003. +        UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
  1004. +        echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL
  1005. +    elif /bin/uname -X 2>/dev/null >/dev/null ; then
  1006. +        UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
  1007. +        (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
  1008. +        (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
  1009. +            && UNAME_MACHINE=i586
  1010. +        echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL
  1011. +    else
  1012. +        echo ${UNAME_MACHINE}-unknown-sysv32
  1013. +    fi
  1014. +    exit 0 ;;
  1015. +    Intel:Mach:3*:*)
  1016. +    echo i386-unknown-mach3
  1017. +    exit 0 ;;
  1018. +    paragon:*:*:*)
  1019. +    echo i860-intel-osf1
  1020. +    exit 0 ;;
  1021. +    i860:*:4.*:*) # i860-SVR4
  1022. +    if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
  1023. +      echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
  1024. +    else # Add other i860-SVR4 vendors below as they are discovered.
  1025. +      echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
  1026. +    fi
  1027. +    exit 0 ;;
  1028. +    mini*:CTIX:SYS*5:*)
  1029. +    # "miniframe"
  1030. +    echo m68010-convergent-sysv
  1031. +    exit 0 ;;
  1032. +    M680[234]0:*:R3V[567]*:*)
  1033. +    test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
  1034. +    3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0)
  1035. +        uname -p 2>/dev/null | grep 86 >/dev/null \
  1036. +          && echo i486-ncr-sysv4.3 && exit 0 ;;
  1037. +    3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
  1038. +        uname -p 2>/dev/null | grep 86 >/dev/null \
  1039. +          && echo i486-ncr-sysv4 && exit 0 ;;
  1040. +    m680[234]0:LynxOS:2.[23]*:*)
  1041. +    echo m68k-lynx-lynxos${UNAME_RELEASE}
  1042. +    exit 0 ;;
  1043. +    mc68030:UNIX_System_V:4.*:*)
  1044. +    echo m68k-atari-sysv4
  1045. +    exit 0 ;;
  1046. +    i[34]86:LynxOS:2.[23]*:*)
  1047. +    echo i386-lynx-lynxos${UNAME_RELEASE}
  1048. +    exit 0 ;;
  1049. +    TSUNAMI:LynxOS:2.[23]*:*)
  1050. +    echo sparc-lynx-lynxos${UNAME_RELEASE}
  1051. +    exit 0 ;;
  1052. +    rs6000:LynxOS:2.[23]*:*)
  1053. +    echo rs6000-lynx-lynxos${UNAME_RELEASE}
  1054. +    exit 0 ;;
  1055. +    RM*:SINIX-*:*:*)
  1056. +    echo mips-sni-sysv4
  1057. +    exit 0 ;;
  1058. +    *:SINIX-*:*:*)
  1059. +    if uname -p 2>/dev/null >/dev/null ; then
  1060. +        UNAME_MACHINE=`(uname -p) 2>/dev/null`
  1061. +        echo ${UNAME_MACHINE}-sni-sysv4
  1062. +    else
  1063. +        echo ns32k-sni-sysv
  1064. +    fi
  1065. +    exit 0 ;;
  1066. +    mc68*:A/UX:*:*)
  1067. +    echo m68k-apple-aux${UNAME_RELEASE}
  1068. +    exit 0 ;;
  1069. +    R3000:*System_V*:*:*)
  1070. +    if [ -d /usr/nec ]; then
  1071. +            echo mips-nec-sysv${UNAME_RELEASE}
  1072. +    else
  1073. +            echo mips-unknown-sysv${UNAME_RELEASE}
  1074. +    fi
  1075. +        exit 0 ;;
  1076. +esac
  1077. +
  1078. +#echo '(No uname command or uname output not recognized.)' 1>&2
  1079. +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
  1080. +
  1081. +cat >dummy.c <<EOF
  1082. +#ifdef _SEQUENT_
  1083. +# include <sys/types.h>
  1084. +# include <sys/utsname.h>
  1085. +#endif
  1086. +main ()
  1087. +{
  1088. +#if defined (sony)
  1089. +#if defined (MIPSEB)
  1090. +  /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
  1091. +     I don't know....  */
  1092. +  printf ("mips-sony-bsd\n"); exit (0);
  1093. +#else
  1094. +#include <sys/param.h>
  1095. +  printf ("m68k-sony-newsos%s\n",
  1096. +#ifdef NEWSOS4
  1097. +          "4"
  1098. +#else
  1099. +      ""
  1100. +#endif
  1101. +         ); exit (0);
  1102. +#endif
  1103. +#endif
  1104. +
  1105. +#if defined (__arm) && defined (__acorn) && defined (__unix)
  1106. +  printf ("arm-acorn-riscix"); exit (0);
  1107. +#endif
  1108. +
  1109. +#if defined (hp300) && !defined (hpux)
  1110. +  printf ("m68k-hp-bsd\n"); exit (0);
  1111. +#endif
  1112. +
  1113. +#if defined (NeXT)
  1114. +#if !defined (__ARCHITECTURE__)
  1115. +#define __ARCHITECTURE__ "m68k"
  1116. +#endif
  1117. +  int version;
  1118. +  version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
  1119. +  printf ("%s-next-nextstep%s\n", __ARCHITECTURE__,  version==2 ? "2" : "3");
  1120. +  exit (0);
  1121. +#endif
  1122. +
  1123. +#if defined (MULTIMAX) || defined (n16)
  1124. +#if defined (UMAXV)
  1125. +  printf ("ns32k-encore-sysv\n"); exit (0);
  1126. +#else
  1127. +#if defined (CMU)
  1128. +  printf ("ns32k-encore-mach\n"); exit (0);
  1129. +#else
  1130. +  printf ("ns32k-encore-bsd\n"); exit (0);
  1131. +#endif
  1132. +#endif
  1133. +#endif
  1134. +
  1135. +#if defined (__386BSD__)
  1136. +  printf ("i386-unknown-bsd\n"); exit (0);
  1137. +#endif
  1138. +
  1139. +#if defined (sequent)
  1140. +#if defined (i386)
  1141. +  printf ("i386-sequent-dynix\n"); exit (0);
  1142. +#endif
  1143. +#if defined (ns32000)
  1144. +  printf ("ns32k-sequent-dynix\n"); exit (0);
  1145. +#endif
  1146. +#endif
  1147. +
  1148. +#if defined (_SEQUENT_)
  1149. +    struct utsname un;
  1150. +
  1151. +    uname(&un);
  1152. +
  1153. +    if (strncmp(un.version, "V2", 2) == 0) {
  1154. +    printf ("i386-sequent-ptx2\n"); exit (0);
  1155. +    }
  1156. +    if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
  1157. +    printf ("i386-sequent-ptx1\n"); exit (0);
  1158. +    }
  1159. +    printf ("i386-sequent-ptx\n"); exit (0);
  1160. +
  1161. +#endif
  1162. +
  1163. +#if defined (vax)
  1164. +#if !defined (ultrix)
  1165. +  printf ("vax-dec-bsd\n"); exit (0);
  1166. +#else
  1167. +  printf ("vax-dec-ultrix\n"); exit (0);
  1168. +#endif
  1169. +#endif
  1170. +
  1171. +#if defined (alliant) && defined (i860)
  1172. +  printf ("i860-alliant-bsd\n"); exit (0);
  1173. +#endif
  1174. +
  1175. +  exit (1);
  1176. +}
  1177. +EOF
  1178. +
  1179. +${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0
  1180. +rm -f dummy.c dummy
  1181. +
  1182. +# Apollos put the system type in the environment.
  1183. +
  1184. +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
  1185. +
  1186. +# Convex versions that predate uname can use getsysinfo(1)
  1187. +
  1188. +if [ -x /usr/convex/getsysinfo ]
  1189. +then
  1190. +    case `getsysinfo -f cpu_type` in
  1191. +    c1*)
  1192. +    echo c1-convex-bsd
  1193. +    exit 0 ;;
  1194. +    c2*)
  1195. +    if getsysinfo -f scalar_acc
  1196. +    then echo c32-convex-bsd
  1197. +    else echo c2-convex-bsd
  1198. +    fi
  1199. +    exit 0 ;;
  1200. +    c34*)
  1201. +    echo c34-convex-bsd
  1202. +    exit 0 ;;
  1203. +    c38*)
  1204. +    echo c38-convex-bsd
  1205. +    exit 0 ;;
  1206. +    c4*)
  1207. +    echo c4-convex-bsd
  1208. +    exit 0 ;;
  1209. +    esac
  1210. +fi
  1211. +
  1212. +#echo '(Unable to guess system type)' 1>&2
  1213. +
  1214. +exit 1
  1215. diff -rup --new-file baseline/fsf/ed/config.h.in amiga/fsf/ed/config.h.in
  1216. --- baseline/fsf/ed/config.h.in    Sat Nov 19 05:37:59 1994
  1217. +++ amiga/fsf/ed/config.h.in    Sat Sep 28 00:00:00 1996
  1218. @@ -40,6 +40,9 @@
  1219.  /* Define if you have the setbuffer function.  */
  1220.  #undef HAVE_SETBUFFER
  1221.  
  1222. +/* Define if you have the setlocale function.  */
  1223. +#undef HAVE_SETLOCALE
  1224. +
  1225.  /* Define if you have the sigaction function.  */
  1226.  #undef HAVE_SIGACTION
  1227.  
  1228. diff -rup --new-file baseline/fsf/ed/config.sub amiga/fsf/ed/config.sub
  1229. --- baseline/fsf/ed/config.sub    Wed Dec 31 17:00:00 1969
  1230. +++ amiga/fsf/ed/config.sub    Sat Sep 28 00:00:00 1996
  1231. @@ -0,0 +1,867 @@
  1232. +#! /bin/sh
  1233. +# Configuration validation subroutine script, version 1.1.
  1234. +#   Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
  1235. +# This file is (in principle) common to ALL GNU software.
  1236. +# The presence of a machine in this file suggests that SOME GNU software
  1237. +# can handle that machine.  It does not imply ALL GNU software can. 
  1238. +#
  1239. +# This file is free software; you can redistribute it and/or modify
  1240. +# it under the terms of the GNU General Public License as published by
  1241. +# the Free Software Foundation; either version 2 of the License, or
  1242. +# (at your option) any later version.
  1243. +#
  1244. +# This program is distributed in the hope that it will be useful,
  1245. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  1246. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  1247. +# GNU General Public License for more details.
  1248. +#
  1249. +# You should have received a copy of the GNU General Public License
  1250. +# along with this program; if not, write to the Free Software
  1251. +# Foundation, Inc., 59 Temple Place - Suite 330,
  1252. +# Boston, MA 02111-1307, USA.
  1253. +
  1254. +# As a special exception to the GNU General Public License, if you
  1255. +# distribute this file as part of a program that contains a
  1256. +# configuration script generated by Autoconf, you may include it under
  1257. +# the same distribution terms that you use for the rest of that program.
  1258. +
  1259. +# Configuration subroutine to validate and canonicalize a configuration type.
  1260. +# Supply the specified configuration type as an argument.
  1261. +# If it is invalid, we print an error message on stderr and exit with code 1.
  1262. +# Otherwise, we print the canonical config type on stdout and succeed.
  1263. +
  1264. +# This file is supposed to be the same for all GNU packages
  1265. +# and recognize all the CPU types, system types and aliases
  1266. +# that are meaningful with *any* GNU software.
  1267. +# Each package is responsible for reporting which valid configurations
  1268. +# it does not support.  The user should be able to distinguish
  1269. +# a failure to support a valid configuration from a meaningless
  1270. +# configuration.
  1271. +
  1272. +# The goal of this file is to map all the various variations of a given
  1273. +# machine specification into a single specification in the form:
  1274. +#    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
  1275. +# It is wrong to echo any other type of specification.
  1276. +
  1277. +if [ x$1 = x ]
  1278. +then
  1279. +    echo Configuration name missing. 1>&2
  1280. +    echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
  1281. +    echo "or     $0 ALIAS" 1>&2
  1282. +    echo where ALIAS is a recognized configuration type. 1>&2
  1283. +    exit 1
  1284. +fi
  1285. +
  1286. +# First pass through any local machine types.
  1287. +case $1 in
  1288. +    *local*)
  1289. +        echo $1
  1290. +        exit 0
  1291. +        ;;
  1292. +    *)
  1293. +    ;;
  1294. +esac
  1295. +
  1296. +# Separate what the user gave into CPU-COMPANY and OS (if any).
  1297. +basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  1298. +if [ $basic_machine != $1 ]
  1299. +then os=`echo $1 | sed 's/.*-/-/'`
  1300. +else os=; fi
  1301. +
  1302. +### Let's recognize common machines as not being operating systems so
  1303. +### that things like config.sub decstation-3100 work.  We also
  1304. +### recognize some manufacturers as not being operating systems, so we
  1305. +### can provide default operating systems below.
  1306. +case $os in
  1307. +    -sun*os*)
  1308. +        # Prevent following clause from handling this invalid input.
  1309. +        ;;
  1310. +    -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
  1311. +    -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
  1312. +    -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
  1313. +    -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  1314. +    -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  1315. +    -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp )
  1316. +        os=
  1317. +        basic_machine=$1
  1318. +        ;;
  1319. +    -hiux*)
  1320. +        os=-hiuxwe2
  1321. +        ;;
  1322. +    -sco4)
  1323. +        os=-sco3.2v4
  1324. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  1325. +        ;;
  1326. +    -sco3.2.[4-9]*)
  1327. +        os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
  1328. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  1329. +        ;;
  1330. +    -sco3.2v[4-9]*)
  1331. +        # Don't forget version if it is 3.2v4 or newer.
  1332. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  1333. +        ;;
  1334. +    -sco*)
  1335. +        os=-sco3.2v2
  1336. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  1337. +        ;;
  1338. +    -isc)
  1339. +        os=-isc2.2
  1340. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  1341. +        ;;
  1342. +    -clix*)
  1343. +        basic_machine=clipper-intergraph
  1344. +        ;;
  1345. +    -isc*)
  1346. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
  1347. +        ;;
  1348. +    -lynx*)
  1349. +        os=-lynxos
  1350. +        ;;
  1351. +    -ptx*)
  1352. +        basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
  1353. +        ;;
  1354. +    -windowsnt*)
  1355. +        os=`echo $os | sed -e 's/windowsnt/winnt/'`
  1356. +        ;;
  1357. +esac
  1358. +
  1359. +# Decode aliases for certain CPU-COMPANY combinations.
  1360. +case $basic_machine in
  1361. +    # Recognize the basic CPU types without company name.
  1362. +    # Some are omitted here because they have special meanings below.
  1363. +    tahoe | i[345]86 | i860 | m68k | m68000 | m88k | ns32k | arm \
  1364. +        | arme[lb] | pyramid \
  1365. +        | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
  1366. +        | alpha | we32k | ns16k | clipper | sparclite | i370 | sh \
  1367. +        | powerpc | powerpcle | sparc64 | 1750a | dsp16xx | mips64 | mipsel \
  1368. +        | pdp11 | mips64el | mips64orion | mips64orionel \
  1369. +        | sparc)
  1370. +        basic_machine=$basic_machine-unknown
  1371. +        ;;
  1372. +    # Object if more than one company name word.
  1373. +    *-*-*)
  1374. +        echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  1375. +        exit 1
  1376. +        ;;
  1377. +    # Recognize the basic CPU types with company name.
  1378. +    vax-* | tahoe-* | i[345]86-* | i860-* | m68k-* | m68000-* | m88k-* \
  1379. +          | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
  1380. +          | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \
  1381. +          | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
  1382. +          | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
  1383. +          | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
  1384. +          | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
  1385. +          | mips64el-* | mips64orion-* | mips64orionel-*)
  1386. +        ;;
  1387. +    # Recognize the various machine names and aliases which stand
  1388. +    # for a CPU type and a company and sometimes even an OS.
  1389. +    3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
  1390. +        basic_machine=m68000-att
  1391. +        ;;
  1392. +    3b*)
  1393. +        basic_machine=we32k-att
  1394. +        ;;
  1395. +    alliant | fx80)
  1396. +        basic_machine=fx80-alliant
  1397. +        ;;
  1398. +    altos | altos3068)
  1399. +        basic_machine=m68k-altos
  1400. +        ;;
  1401. +    am29k)
  1402. +        basic_machine=a29k-none
  1403. +        os=-bsd
  1404. +        ;;
  1405. +    amdahl)
  1406. +        basic_machine=580-amdahl
  1407. +        os=-sysv
  1408. +        ;;
  1409. +    amiga | amiga-*)
  1410. +        basic_machine=m68k-unknown
  1411. +        ;;
  1412. +    amigaos)
  1413. +        basic_machine=m68k-unknown
  1414. +        os=-amigaos
  1415. +        ;;
  1416. +    amigaunix | amix)
  1417. +        basic_machine=m68k-cbm
  1418. +        os=-sysv4
  1419. +        ;;
  1420. +    apollo68)
  1421. +        basic_machine=m68k-apollo
  1422. +        os=-sysv
  1423. +        ;;
  1424. +    balance)
  1425. +        basic_machine=ns32k-sequent
  1426. +        os=-dynix
  1427. +        ;;
  1428. +    convex-c1)
  1429. +        basic_machine=c1-convex
  1430. +        os=-bsd
  1431. +        ;;
  1432. +    convex-c2)
  1433. +        basic_machine=c2-convex
  1434. +        os=-bsd
  1435. +        ;;
  1436. +    convex-c32)
  1437. +        basic_machine=c32-convex
  1438. +        os=-bsd
  1439. +        ;;
  1440. +    convex-c34)
  1441. +        basic_machine=c34-convex
  1442. +        os=-bsd
  1443. +        ;;
  1444. +    convex-c38)
  1445. +        basic_machine=c38-convex
  1446. +        os=-bsd
  1447. +        ;;
  1448. +    cray | ymp)
  1449. +        basic_machine=ymp-cray
  1450. +        os=-unicos
  1451. +        ;;
  1452. +    cray2)
  1453. +        basic_machine=cray2-cray
  1454. +        os=-unicos
  1455. +        ;;
  1456. +    crds | unos)
  1457. +        basic_machine=m68k-crds
  1458. +        ;;
  1459. +    da30 | da30-*)
  1460. +        basic_machine=m68k-da30
  1461. +        ;;
  1462. +    decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
  1463. +        basic_machine=mips-dec
  1464. +        ;;
  1465. +    delta | 3300 | motorola-3300 | motorola-delta \
  1466. +          | 3300-motorola | delta-motorola)
  1467. +        basic_machine=m68k-motorola
  1468. +        ;;
  1469. +    delta88)
  1470. +        basic_machine=m88k-motorola
  1471. +        os=-sysv3
  1472. +        ;;
  1473. +    dpx20 | dpx20-*)
  1474. +        basic_machine=rs6000-bull
  1475. +        os=-bosx
  1476. +        ;;
  1477. +    dpx2* | dpx2*-bull)
  1478. +        basic_machine=m68k-bull
  1479. +        os=-sysv3
  1480. +        ;;
  1481. +    ebmon29k)
  1482. +        basic_machine=a29k-amd
  1483. +        os=-ebmon
  1484. +        ;;
  1485. +    elxsi)
  1486. +        basic_machine=elxsi-elxsi
  1487. +        os=-bsd
  1488. +        ;;
  1489. +    encore | umax | mmax)
  1490. +        basic_machine=ns32k-encore
  1491. +        ;;
  1492. +    fx2800)
  1493. +        basic_machine=i860-alliant
  1494. +        ;;
  1495. +    genix)
  1496. +        basic_machine=ns32k-ns
  1497. +        ;;
  1498. +    gmicro)
  1499. +        basic_machine=tron-gmicro
  1500. +        os=-sysv
  1501. +        ;;
  1502. +    h3050r* | hiux*)
  1503. +        basic_machine=hppa1.1-hitachi
  1504. +        os=-hiuxwe2
  1505. +        ;;
  1506. +    h8300hms)
  1507. +        basic_machine=h8300-hitachi
  1508. +        os=-hms
  1509. +        ;;
  1510. +    harris)
  1511. +        basic_machine=m88k-harris
  1512. +        os=-sysv3
  1513. +        ;;
  1514. +    hp300-*)
  1515. +        basic_machine=m68k-hp
  1516. +        ;;
  1517. +    hp300bsd)
  1518. +        basic_machine=m68k-hp
  1519. +        os=-bsd
  1520. +        ;;
  1521. +    hp300hpux)
  1522. +        basic_machine=m68k-hp
  1523. +        os=-hpux
  1524. +        ;;
  1525. +    hp9k2[0-9][0-9] | hp9k31[0-9])
  1526. +        basic_machine=m68000-hp
  1527. +        ;;
  1528. +    hp9k3[2-9][0-9])
  1529. +        basic_machine=m68k-hp
  1530. +        ;;
  1531. +    hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
  1532. +        basic_machine=hppa1.1-hp
  1533. +        ;;
  1534. +    hp9k8[0-9][0-9] | hp8[0-9][0-9])
  1535. +        basic_machine=hppa1.0-hp
  1536. +        ;;
  1537. +    i370-ibm* | ibm*)
  1538. +        basic_machine=i370-ibm
  1539. +        os=-mvs
  1540. +        ;;
  1541. +# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
  1542. +    i[345]86v32)
  1543. +        basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
  1544. +        os=-sysv32
  1545. +        ;;
  1546. +    i[345]86v4*)
  1547. +        basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
  1548. +        os=-sysv4
  1549. +        ;;
  1550. +    i[345]86v)
  1551. +        basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
  1552. +        os=-sysv
  1553. +        ;;
  1554. +    i[345]86sol2)
  1555. +        basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
  1556. +        os=-solaris2
  1557. +        ;;
  1558. +    iris | iris4d)
  1559. +        basic_machine=mips-sgi
  1560. +        case $os in
  1561. +            -irix*)
  1562. +            ;;
  1563. +            *)
  1564. +            os=-irix4
  1565. +            ;;
  1566. +        esac
  1567. +        ;;
  1568. +    isi68 | isi)
  1569. +        basic_machine=m68k-isi
  1570. +        os=-sysv
  1571. +        ;;
  1572. +    m88k-omron*)
  1573. +        basic_machine=m88k-omron
  1574. +        ;;
  1575. +    magnum | m3230)
  1576. +        basic_machine=mips-mips
  1577. +        os=-sysv
  1578. +        ;;
  1579. +    merlin)
  1580. +        basic_machine=ns32k-utek
  1581. +        os=-sysv
  1582. +        ;;
  1583. +    miniframe)
  1584. +        basic_machine=m68000-convergent
  1585. +        ;;
  1586. +    mips3*-*)
  1587. +        basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  1588. +        ;;
  1589. +    mips3*)
  1590. +        basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
  1591. +        ;;
  1592. +    ncr3000)
  1593. +        basic_machine=i486-ncr
  1594. +        os=-sysv4
  1595. +        ;;
  1596. +    news | news700 | news800 | news900)
  1597. +        basic_machine=m68k-sony
  1598. +        os=-newsos
  1599. +        ;;
  1600. +    news1000)
  1601. +        basic_machine=m68030-sony
  1602. +        os=-newsos
  1603. +        ;;
  1604. +    news-3600 | risc-news)
  1605. +        basic_machine=mips-sony
  1606. +        os=-newsos
  1607. +        ;;
  1608. +    next | m*-next )
  1609. +        basic_machine=m68k-next
  1610. +        case $os in
  1611. +            -nextstep* )
  1612. +            ;;
  1613. +            -ns2*)
  1614. +              os=-nextstep2
  1615. +            ;;
  1616. +            *)
  1617. +              os=-nextstep3
  1618. +            ;;
  1619. +        esac
  1620. +        ;;
  1621. +    nh3000)
  1622. +        basic_machine=m68k-harris
  1623. +        os=-cxux
  1624. +        ;;
  1625. +    nh[45]000)
  1626. +        basic_machine=m88k-harris
  1627. +        os=-cxux
  1628. +        ;;
  1629. +    nindy960)
  1630. +        basic_machine=i960-intel
  1631. +        os=-nindy
  1632. +        ;;
  1633. +    np1)
  1634. +        basic_machine=np1-gould
  1635. +        ;;
  1636. +    pa-hitachi)
  1637. +        basic_machine=hppa1.1-hitachi
  1638. +        os=-hiuxwe2
  1639. +        ;;
  1640. +    paragon)
  1641. +        basic_machine=i860-intel
  1642. +        os=-osf
  1643. +        ;;
  1644. +    pbd)
  1645. +        basic_machine=sparc-tti
  1646. +        ;;
  1647. +    pbb)
  1648. +        basic_machine=m68k-tti
  1649. +        ;;
  1650. +        pc532 | pc532-*)
  1651. +        basic_machine=ns32k-pc532
  1652. +        ;;
  1653. +    pentium | p5 | p6)
  1654. +        # We don't have specific support for the Intel Pentium (p6) followon yet, so just call it a Pentium
  1655. +        basic_machine=i586-intel
  1656. +        ;;
  1657. +    pentium-* | p5-* | p6-*)
  1658. +        # We don't have specific support for the Intel Pentium (p6) followon yet, so just call it a Pentium
  1659. +        basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
  1660. +        ;;
  1661. +    k5)
  1662. +        # We don't have specific support for AMD's K5 yet, so just call it a Pentium
  1663. +        basic_machine=i586-amd
  1664. +        ;;
  1665. +    nexen)
  1666. +        # We don't have specific support for Nexgen yet, so just call it a Pentium
  1667. +        basic_machine=i586-nexgen
  1668. +        ;;
  1669. +    pn)
  1670. +        basic_machine=pn-gould
  1671. +        ;;
  1672. +    power)    basic_machine=rs6000-ibm
  1673. +        ;;
  1674. +    ppc)    basic_machine=powerpc-unknown
  1675. +            ;;
  1676. +    ppc-*)    basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
  1677. +        ;;
  1678. +    ppcle | powerpclittle | ppc-le | powerpc-little)
  1679. +        basic_machine=powerpcle-unknown
  1680. +            ;;
  1681. +    ppcle-* | powerpclittle-*)
  1682. +        basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
  1683. +        ;;
  1684. +    ps2)
  1685. +        basic_machine=i386-ibm
  1686. +        ;;
  1687. +    rm[46]00)
  1688. +        basic_machine=mips-siemens
  1689. +        ;;
  1690. +    rtpc | rtpc-*)
  1691. +        basic_machine=romp-ibm
  1692. +        ;;
  1693. +    sequent)
  1694. +        basic_machine=i386-sequent
  1695. +        ;;
  1696. +    sh)
  1697. +        basic_machine=sh-hitachi
  1698. +        os=-hms
  1699. +        ;;
  1700. +    sps7)
  1701. +        basic_machine=m68k-bull
  1702. +        os=-sysv2
  1703. +        ;;
  1704. +    spur)
  1705. +        basic_machine=spur-unknown
  1706. +        ;;
  1707. +    sun2)
  1708. +        basic_machine=m68000-sun
  1709. +        ;;
  1710. +    sun2os3)
  1711. +        basic_machine=m68000-sun
  1712. +        os=-sunos3
  1713. +        ;;
  1714. +    sun2os4)
  1715. +        basic_machine=m68000-sun
  1716. +        os=-sunos4
  1717. +        ;;
  1718. +    sun3os3)
  1719. +        basic_machine=m68k-sun
  1720. +        os=-sunos3
  1721. +        ;;
  1722. +    sun3os4)
  1723. +        basic_machine=m68k-sun
  1724. +        os=-sunos4
  1725. +        ;;
  1726. +    sun4os3)
  1727. +        basic_machine=sparc-sun
  1728. +        os=-sunos3
  1729. +        ;;
  1730. +    sun4os4)
  1731. +        basic_machine=sparc-sun
  1732. +        os=-sunos4
  1733. +        ;;
  1734. +    sun4sol2)
  1735. +        basic_machine=sparc-sun
  1736. +        os=-solaris2
  1737. +        ;;
  1738. +    sun3 | sun3-*)
  1739. +        basic_machine=m68k-sun
  1740. +        ;;
  1741. +    sun4)
  1742. +        basic_machine=sparc-sun
  1743. +        ;;
  1744. +    sun386 | sun386i | roadrunner)
  1745. +        basic_machine=i386-sun
  1746. +        ;;
  1747. +    symmetry)
  1748. +        basic_machine=i386-sequent
  1749. +        os=-dynix
  1750. +        ;;
  1751. +    tower | tower-32)
  1752. +        basic_machine=m68k-ncr
  1753. +        ;;
  1754. +    udi29k)
  1755. +        basic_machine=a29k-amd
  1756. +        os=-udi
  1757. +        ;;
  1758. +    ultra3)
  1759. +        basic_machine=a29k-nyu
  1760. +        os=-sym1
  1761. +        ;;
  1762. +    vaxv)
  1763. +        basic_machine=vax-dec
  1764. +        os=-sysv
  1765. +        ;;
  1766. +    vms)
  1767. +        basic_machine=vax-dec
  1768. +        os=-vms
  1769. +        ;;
  1770. +    vxworks960)
  1771. +        basic_machine=i960-wrs
  1772. +        os=-vxworks
  1773. +        ;;
  1774. +    vxworks68)
  1775. +        basic_machine=m68k-wrs
  1776. +        os=-vxworks
  1777. +        ;;
  1778. +    vxworks29k)
  1779. +        basic_machine=a29k-wrs
  1780. +        os=-vxworks
  1781. +        ;;
  1782. +    xmp)
  1783. +        basic_machine=xmp-cray
  1784. +        os=-unicos
  1785. +        ;;
  1786. +        xps | xps100)
  1787. +        basic_machine=xps100-honeywell
  1788. +        ;;
  1789. +    none)
  1790. +        basic_machine=none-none
  1791. +        os=-none
  1792. +        ;;
  1793. +
  1794. +# Here we handle the default manufacturer of certain CPU types.  It is in
  1795. +# some cases the only manufacturer, in others, it is the most popular.
  1796. +    mips)
  1797. +        basic_machine=mips-mips
  1798. +        ;;
  1799. +    romp)
  1800. +        basic_machine=romp-ibm
  1801. +        ;;
  1802. +    rs6000)
  1803. +        basic_machine=rs6000-ibm
  1804. +        ;;
  1805. +    vax)
  1806. +        basic_machine=vax-dec
  1807. +        ;;
  1808. +    pdp11)
  1809. +        basic_machine=pdp11-dec
  1810. +        ;;
  1811. +    we32k)
  1812. +        basic_machine=we32k-att
  1813. +        ;;
  1814. +    sparc)
  1815. +        basic_machine=sparc-sun
  1816. +        ;;
  1817. +        cydra)
  1818. +        basic_machine=cydra-cydrome
  1819. +        ;;
  1820. +    orion)
  1821. +        basic_machine=orion-highlevel
  1822. +        ;;
  1823. +    orion105)
  1824. +        basic_machine=clipper-highlevel
  1825. +        ;;
  1826. +    *)
  1827. +        echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  1828. +        exit 1
  1829. +        ;;
  1830. +esac
  1831. +
  1832. +# Here we canonicalize certain aliases for manufacturers.
  1833. +case $basic_machine in
  1834. +    *-digital*)
  1835. +        basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
  1836. +        ;;
  1837. +    *-commodore*)
  1838. +        basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
  1839. +        ;;
  1840. +    *)
  1841. +        ;;
  1842. +esac
  1843. +
  1844. +# Decode manufacturer-specific aliases for certain operating systems.
  1845. +
  1846. +if [ x"$os" != x"" ]
  1847. +then
  1848. +case $os in
  1849. +    # -solaris* is a basic system type, with this one exception.
  1850. +    -solaris1 | -solaris1.*)
  1851. +        os=`echo $os | sed -e 's|solaris1|sunos4|'`
  1852. +        ;;
  1853. +    -solaris)
  1854. +        os=-solaris2
  1855. +        ;;
  1856. +    -unixware* | svr4*)
  1857. +        os=-sysv4
  1858. +        ;;
  1859. +    -gnu/linux*)
  1860. +        os=`echo $os | sed -e 's|gnu/linux|linux|'`
  1861. +        ;;
  1862. +    # First accept the basic system types.
  1863. +    # The portable systems comes first.
  1864. +    # Each alternative MUST END IN A *, to match a version number.
  1865. +    # -sysv* is not here because it comes later, after sysvr4.
  1866. +    -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  1867. +          | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[345]* \
  1868. +          | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  1869. +          | -amigaos* | -msdos* | -newsos* | -unicos* | -aos* \
  1870. +          | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
  1871. +          | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
  1872. +          | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
  1873. +          | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
  1874. +          | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  1875. +          | -udi* | -eabi* | -lites* )
  1876. +    # Remember, each alternative MUST END IN *, to match a version number.
  1877. +        ;;
  1878. +    -sunos5*)
  1879. +        os=`echo $os | sed -e 's|sunos5|solaris2|'`
  1880. +        ;;
  1881. +    -sunos6*)
  1882. +        os=`echo $os | sed -e 's|sunos6|solaris3|'`
  1883. +        ;;
  1884. +    -osfrose*)
  1885. +        os=-osfrose
  1886. +        ;;
  1887. +    -osf*)
  1888. +        os=-osf
  1889. +        ;;
  1890. +    -utek*)
  1891. +        os=-bsd
  1892. +        ;;
  1893. +    -dynix*)
  1894. +        os=-bsd
  1895. +        ;;
  1896. +    -acis*)
  1897. +        os=-aos
  1898. +        ;;
  1899. +    -ctix* | -uts*)
  1900. +        os=-sysv
  1901. +        ;;
  1902. +    # Preserve the version number of sinix5.
  1903. +    -sinix5.*)
  1904. +        os=`echo $os | sed -e 's|sinix|sysv|'`
  1905. +        ;;
  1906. +    -sinix*)
  1907. +        os=-sysv4
  1908. +        ;;
  1909. +    -triton*)
  1910. +        os=-sysv3
  1911. +        ;;
  1912. +    -oss*)
  1913. +        os=-sysv3
  1914. +        ;;
  1915. +    -svr4)
  1916. +        os=-sysv4
  1917. +        ;;
  1918. +    -svr3)
  1919. +        os=-sysv3
  1920. +        ;;
  1921. +    -sysvr4)
  1922. +        os=-sysv4
  1923. +        ;;
  1924. +    # This must come after -sysvr4.
  1925. +    -sysv*)
  1926. +        ;;
  1927. +    -xenix)
  1928. +        os=-xenix
  1929. +        ;;
  1930. +    -none)
  1931. +        ;;
  1932. +    *)
  1933. +        # Get rid of the `-' at the beginning of $os.
  1934. +        os=`echo $os | sed 's/[^-]*-//'`
  1935. +        echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
  1936. +        exit 1
  1937. +        ;;
  1938. +esac
  1939. +else
  1940. +
  1941. +# Here we handle the default operating systems that come with various machines.
  1942. +# The value should be what the vendor currently ships out the door with their
  1943. +# machine or put another way, the most popular os provided with the machine.
  1944. +
  1945. +# Note that if you're going to try to match "-MANUFACTURER" here (say,
  1946. +# "-sun"), then you have to tell the case statement up towards the top
  1947. +# that MANUFACTURER isn't an operating system.  Otherwise, code above
  1948. +# will signal an error saying that MANUFACTURER isn't an operating
  1949. +# system, and we'll never get to this point.
  1950. +
  1951. +case $basic_machine in
  1952. +    *-acorn)
  1953. +        os=-riscix1.2
  1954. +        ;;
  1955. +    arm*-semi)
  1956. +        os=-aout
  1957. +        ;;
  1958. +        pdp11-*)
  1959. +        os=-none
  1960. +        ;;
  1961. +    *-dec | vax-*)
  1962. +        os=-ultrix4.2
  1963. +        ;;
  1964. +    m68*-apollo)
  1965. +        os=-domain
  1966. +        ;;
  1967. +    i386-sun)
  1968. +        os=-sunos4.0.2
  1969. +        ;;
  1970. +    m68000-sun)
  1971. +        os=-sunos3
  1972. +        # This also exists in the configure program, but was not the
  1973. +        # default.
  1974. +        # os=-sunos4
  1975. +        ;;
  1976. +    *-tti)    # must be before sparc entry or we get the wrong os.
  1977. +        os=-sysv3
  1978. +        ;;
  1979. +    sparc-* | *-sun)
  1980. +        os=-sunos4.1.1
  1981. +        ;;
  1982. +    *-ibm)
  1983. +        os=-aix
  1984. +        ;;
  1985. +    *-hp)
  1986. +        os=-hpux
  1987. +        ;;
  1988. +    *-hitachi)
  1989. +        os=-hiux
  1990. +        ;;
  1991. +    i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
  1992. +        os=-sysv
  1993. +        ;;
  1994. +    *-cbm)
  1995. +        os=-amigaos
  1996. +        ;;
  1997. +    *-dg)
  1998. +        os=-dgux
  1999. +        ;;
  2000. +    *-dolphin)
  2001. +        os=-sysv3
  2002. +        ;;
  2003. +    m68k-ccur)
  2004. +        os=-rtu
  2005. +        ;;
  2006. +    m88k-omron*)
  2007. +        os=-luna
  2008. +        ;;
  2009. +    *-sequent)
  2010. +        os=-ptx
  2011. +        ;;
  2012. +    *-crds)
  2013. +        os=-unos
  2014. +        ;;
  2015. +    *-ns)
  2016. +        os=-genix
  2017. +        ;;
  2018. +    i370-*)
  2019. +        os=-mvs
  2020. +        ;;
  2021. +    *-next)
  2022. +        os=-nextstep3
  2023. +        ;;
  2024. +        *-gould)
  2025. +        os=-sysv
  2026. +        ;;
  2027. +        *-highlevel)
  2028. +        os=-bsd
  2029. +        ;;
  2030. +    *-encore)
  2031. +        os=-bsd
  2032. +        ;;
  2033. +        *-sgi)
  2034. +        os=-irix
  2035. +        ;;
  2036. +        *-siemens)
  2037. +        os=-sysv4
  2038. +        ;;
  2039. +    *-masscomp)
  2040. +        os=-rtu
  2041. +        ;;
  2042. +    *)
  2043. +        os=-none
  2044. +        ;;
  2045. +esac
  2046. +fi
  2047. +
  2048. +# Here we handle the case where we know the os, and the CPU type, but not the
  2049. +# manufacturer.  We pick the logical manufacturer.
  2050. +vendor=unknown
  2051. +case $basic_machine in
  2052. +    *-unknown)
  2053. +        case $os in
  2054. +            -riscix*)
  2055. +                vendor=acorn
  2056. +                ;;
  2057. +            -sunos*)
  2058. +                vendor=sun
  2059. +                ;;
  2060. +            -lynxos*)
  2061. +                vendor=lynx
  2062. +                ;;
  2063. +            -aix*)
  2064. +                vendor=ibm
  2065. +                ;;
  2066. +            -hpux*)
  2067. +                vendor=hp
  2068. +                ;;
  2069. +            -hiux*)
  2070. +                vendor=hitachi
  2071. +                ;;
  2072. +            -unos*)
  2073. +                vendor=crds
  2074. +                ;;
  2075. +            -dgux*)
  2076. +                vendor=dg
  2077. +                ;;
  2078. +            -luna*)
  2079. +                vendor=omron
  2080. +                ;;
  2081. +            -genix*)
  2082. +                vendor=ns
  2083. +                ;;
  2084. +            -mvs*)
  2085. +                vendor=ibm
  2086. +                ;;
  2087. +            -ptx*)
  2088. +                vendor=sequent
  2089. +                ;;
  2090. +            -vxworks*)
  2091. +                vendor=wrs
  2092. +                ;;
  2093. +        esac
  2094. +        basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
  2095. +        ;;
  2096. +esac
  2097. +
  2098. +echo $basic_machine$os
  2099. diff -rup --new-file baseline/fsf/ed/configure amiga/fsf/ed/configure
  2100. --- baseline/fsf/ed/configure    Sat Nov 19 05:56:24 1994
  2101. +++ amiga/fsf/ed/configure    Mon Sep 30 22:39:46 1996
  2102. @@ -1,8 +1,8 @@
  2103. -#!/bin/sh
  2104. +#! /bin/sh
  2105.  
  2106.  # Guess values for system-dependent variables and create Makefiles.
  2107. -# Generated automatically using autoconf version 2.1 
  2108. -# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  2109. +# Generated automatically using autoconf version 2.10 
  2110. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  2111.  #
  2112.  # This configure script is free software; the Free Software Foundation
  2113.  # gives unlimited permission to copy, distribute and modify it.
  2114. @@ -33,9 +33,25 @@ target=NONE
  2115.  verbose=
  2116.  x_includes=NONE
  2117.  x_libraries=NONE
  2118. +bindir='${exec_prefix}/bin'
  2119. +sbindir='${exec_prefix}/sbin'
  2120. +libexecdir='${exec_prefix}/libexec'
  2121. +datadir='${prefix}/share'
  2122. +sysconfdir='${prefix}/etc'
  2123. +sharedstatedir='${prefix}/com'
  2124. +localstatedir='${prefix}/var'
  2125. +libdir='${exec_prefix}/lib'
  2126. +includedir='${prefix}/include'
  2127. +oldincludedir='/usr/include'
  2128. +infodir='${prefix}/info'
  2129. +guidedir='${prefix}/guide'
  2130. +psdir='${prefix}/ps'
  2131. +dvidir='${prefix}/dvi'
  2132. +mandir='${prefix}/man'
  2133.  
  2134.  # Initialize some other variables.
  2135.  subdirs=
  2136. +MFLAGS= MAKEFLAGS=
  2137.  
  2138.  ac_prev=
  2139.  for ac_option
  2140. @@ -57,9 +73,14 @@ do
  2141.  
  2142.    case "$ac_option" in
  2143.  
  2144. -  -build | --build | --buil | --bui | --bu | --b)
  2145. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  2146. +    ac_prev=bindir ;;
  2147. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  2148. +    bindir="$ac_optarg" ;;
  2149. +
  2150. +  -build | --build | --buil | --bui | --bu)
  2151.      ac_prev=build ;;
  2152. -  -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
  2153. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  2154.      build="$ac_optarg" ;;
  2155.  
  2156.    -cache-file | --cache-file | --cache-fil | --cache-fi \
  2157. @@ -69,6 +90,12 @@ do
  2158.    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  2159.      cache_file="$ac_optarg" ;;
  2160.  
  2161. +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  2162. +    ac_prev=datadir ;;
  2163. +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  2164. +  | --da=*)
  2165. +    datadir="$ac_optarg" ;;
  2166. +
  2167.    -disable-* | --disable-*)
  2168.      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  2169.      # Reject names that are not valid shell variable names.
  2170. @@ -119,12 +146,32 @@ Configuration:
  2171.  Directory and file names:
  2172.    --prefix=PREFIX         install architecture-independent files in PREFIX
  2173.                            [$ac_default_prefix]
  2174. -  --exec-prefix=PREFIX    install architecture-dependent files in PREFIX
  2175. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  2176.                            [same as prefix]
  2177. +  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  2178. +  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  2179. +  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  2180. +  --datadir=DIR           read-only architecture-independent data in DIR
  2181. +                          [PREFIX/share]
  2182. +  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  2183. +  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  2184. +                          [PREFIX/com]
  2185. +  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  2186. +  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  2187. +  --includedir=DIR        C header files in DIR [PREFIX/include]
  2188. +  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  2189. +  --infodir=DIR           info documentation in DIR [PREFIX/info]
  2190. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  2191. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  2192. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  2193. +  --mandir=DIR            man documentation in DIR [PREFIX/man]
  2194.    --srcdir=DIR            find the sources in DIR [configure dir or ..]
  2195.    --program-prefix=PREFIX prepend PREFIX to installed program names
  2196.    --program-suffix=SUFFIX append SUFFIX to installed program names
  2197. -  --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  2198. +  --program-transform-name=PROGRAM
  2199. +                          run sed PROGRAM on installed program names
  2200. +EOF
  2201. +    cat << EOF
  2202.  Host type:
  2203.    --build=BUILD           configure for building on BUILD [BUILD=HOST]
  2204.    --host=HOST             configure for HOST [guessed]
  2205. @@ -136,8 +183,10 @@ Features and packages:
  2206.    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  2207.    --x-includes=DIR        X include files are in DIR
  2208.    --x-libraries=DIR       X library files are in DIR
  2209. ---enable and --with options recognized:$ac_help
  2210.  EOF
  2211. +    if test -n "$ac_help"; then
  2212. +      echo "--enable and --with options recognized:$ac_help"
  2213. +    fi
  2214.      exit 0 ;;
  2215.  
  2216.    -host | --host | --hos | --ho)
  2217. @@ -145,6 +194,56 @@ EOF
  2218.    -host=* | --host=* | --hos=* | --ho=*)
  2219.      host="$ac_optarg" ;;
  2220.  
  2221. +  -includedir | --includedir | --includedi | --included | --include \
  2222. +  | --includ | --inclu | --incl | --inc)
  2223. +    ac_prev=includedir ;;
  2224. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  2225. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  2226. +    includedir="$ac_optarg" ;;
  2227. +
  2228. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  2229. +    ac_prev=infodir ;;
  2230. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  2231. +    infodir="$ac_optarg" ;;
  2232. +
  2233. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  2234. +   ac_prev=guidedir ;;
  2235. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  2236. +
  2237. + -psdir | --psdir | --psdi | --psd | --ps)
  2238. +   ac_prev=psdir ;;
  2239. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  2240. +
  2241. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  2242. +   ac_prev=dvidir ;;
  2243. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  2244. +
  2245. +  -libdir | --libdir | --libdi | --libd)
  2246. +    ac_prev=libdir ;;
  2247. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  2248. +    libdir="$ac_optarg" ;;
  2249. +
  2250. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  2251. +  | --libexe | --libex | --libe)
  2252. +    ac_prev=libexecdir ;;
  2253. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  2254. +  | --libexe=* | --libex=* | --libe=*)
  2255. +    libexecdir="$ac_optarg" ;;
  2256. +
  2257. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  2258. +  | --localstate | --localstat | --localsta | --localst \
  2259. +  | --locals | --local | --loca | --loc | --lo)
  2260. +    ac_prev=localstatedir ;;
  2261. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  2262. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  2263. +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  2264. +    localstatedir="$ac_optarg" ;;
  2265. +
  2266. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  2267. +    ac_prev=mandir ;;
  2268. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  2269. +    mandir="$ac_optarg" ;;
  2270. +
  2271.    -nfp | --nfp | --nf)
  2272.      # Obsolete; use --without-fp.
  2273.      with_fp=no ;;
  2274. @@ -157,6 +256,15 @@ EOF
  2275.    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  2276.      no_recursion=yes ;;
  2277.  
  2278. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  2279. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  2280. +  | --oldin | --oldi | --old | --ol | --o)
  2281. +    ac_prev=oldincludedir ;;
  2282. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  2283. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  2284. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  2285. +    oldincludedir="$ac_optarg" ;;
  2286. +
  2287.    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  2288.      ac_prev=prefix ;;
  2289.    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  2290. @@ -197,6 +305,23 @@ EOF
  2291.    | -silent | --silent | --silen | --sile | --sil)
  2292.      silent=yes ;;
  2293.  
  2294. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  2295. +    ac_prev=sbindir ;;
  2296. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  2297. +  | --sbi=* | --sb=*)
  2298. +    sbindir="$ac_optarg" ;;
  2299. +
  2300. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  2301. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  2302. +  | --sharedst | --shareds | --shared | --share | --shar \
  2303. +  | --sha | --sh)
  2304. +    ac_prev=sharedstatedir ;;
  2305. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  2306. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  2307. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  2308. +  | --sha=* | --sh=*)
  2309. +    sharedstatedir="$ac_optarg" ;;
  2310. +
  2311.    -site | --site | --sit)
  2312.      ac_prev=site ;;
  2313.    -site=* | --site=* | --sit=*)
  2314. @@ -207,6 +332,13 @@ EOF
  2315.    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  2316.      srcdir="$ac_optarg" ;;
  2317.  
  2318. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  2319. +  | --syscon | --sysco | --sysc | --sys | --sy)
  2320. +    ac_prev=sysconfdir ;;
  2321. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  2322. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  2323. +    sysconfdir="$ac_optarg" ;;
  2324. +
  2325.    -target | --target | --targe | --targ | --tar | --ta | --t)
  2326.      ac_prev=target ;;
  2327.    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  2328. @@ -216,7 +348,7 @@ EOF
  2329.      verbose=yes ;;
  2330.  
  2331.    -version | --version | --versio | --versi | --vers)
  2332. -    echo "configure generated by autoconf version 2.1"
  2333. +    echo "configure generated by autoconf version 2.10"
  2334.      exit 0 ;;
  2335.  
  2336.    -with-* | --with-*)
  2337. @@ -262,7 +394,7 @@ EOF
  2338.    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  2339.      ;;
  2340.  
  2341. -  *) 
  2342. +  *)
  2343.      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  2344.        echo "configure: warning: $ac_option: invalid host type" 1>&2
  2345.      fi
  2346. @@ -279,19 +411,20 @@ if test -n "$ac_prev"; then
  2347.    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  2348.  fi
  2349.  
  2350. -trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  2351. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2352.  
  2353.  # File descriptor usage:
  2354. -# 0 unused; standard input
  2355. +# 0 standard input
  2356.  # 1 file creation
  2357.  # 2 errors and warnings
  2358. -# 3 unused; some systems may open it to /dev/tty
  2359. -# 4 checking for... messages and results
  2360. +# 3 some systems may open it to /dev/tty
  2361. +# 4 used on the Kubota Titan
  2362. +# 6 checking for... messages and results
  2363.  # 5 compiler messages saved in config.log
  2364.  if test "$silent" = yes; then
  2365. -  exec 4>/dev/null
  2366. +  exec 6>/dev/null
  2367.  else
  2368. -  exec 4>&1
  2369. +  exec 6>&1
  2370.  fi
  2371.  exec 5>./config.log
  2372.  
  2373. @@ -381,8 +514,8 @@ fi
  2374.  ac_ext=c
  2375.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  2376.  ac_cpp='$CPP $CPPFLAGS'
  2377. -ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
  2378. -ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
  2379. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  2380. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  2381.  
  2382.  if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  2383.    # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  2384. @@ -399,9 +532,9 @@ fi
  2385.  
  2386.  
  2387.  
  2388. -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&4
  2389. -if eval "test \"`echo '${'ac_cv_prog_LN_S'+set}'`\" = set"; then
  2390. -  echo $ac_n "(cached) $ac_c" 1>&4
  2391. +echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
  2392. +if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
  2393. +  echo $ac_n "(cached) $ac_c" 1>&6
  2394.  else
  2395.    rm -f conftestdata
  2396.  if ln -s X conftestdata 2>/dev/null
  2397. @@ -414,16 +547,114 @@ fi
  2398.  fi
  2399.  LN_S="$ac_cv_prog_LN_S"
  2400.  if test "$ac_cv_prog_LN_S" = "ln -s"; then
  2401. -  echo "$ac_t""yes" 1>&4
  2402. +  echo "$ac_t""yes" 1>&6
  2403. +else
  2404. +  echo "$ac_t""no" 1>&6
  2405. +fi
  2406. +
  2407. +ac_aux_dir=
  2408. +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  2409. +  if test -f $ac_dir/install-sh; then
  2410. +    ac_aux_dir=$ac_dir
  2411. +    ac_install_sh="$ac_aux_dir/install-sh -c"
  2412. +    break
  2413. +  elif test -f $ac_dir/install.sh; then
  2414. +    ac_aux_dir=$ac_dir
  2415. +    ac_install_sh="$ac_aux_dir/install.sh -c"
  2416. +    break
  2417. +  fi
  2418. +done
  2419. +if test -z "$ac_aux_dir"; then
  2420. +  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  2421. +fi
  2422. +ac_config_guess=$ac_aux_dir/config.guess
  2423. +ac_config_sub=$ac_aux_dir/config.sub
  2424. +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  2425. +
  2426. +
  2427. +# Make sure we can run config.sub.
  2428. +if $ac_config_sub sun4 >/dev/null 2>&1; then :
  2429. +else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
  2430. +fi
  2431. +
  2432. +echo $ac_n "checking host system type""... $ac_c" 1>&6
  2433. +
  2434. +host_alias=$host
  2435. +case "$host_alias" in
  2436. +NONE)
  2437. +  case $nonopt in
  2438. +  NONE)
  2439. +    if host_alias=`$ac_config_guess`; then :
  2440. +    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
  2441. +    fi ;;
  2442. +  *) host_alias=$nonopt ;;
  2443. +  esac ;;
  2444. +esac
  2445. +
  2446. +host=`$ac_config_sub $host_alias`
  2447. +host_cpu=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  2448. +host_vendor=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  2449. +host_os=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  2450. +echo "$ac_t""$host" 1>&6
  2451. +
  2452. +echo $ac_n "checking build system type""... $ac_c" 1>&6
  2453. +
  2454. +build_alias=$build
  2455. +case "$build_alias" in
  2456. +NONE)
  2457. +  case $nonopt in
  2458. +  NONE) build_alias=$host_alias ;;
  2459. +  *) build_alias=$nonopt ;;
  2460. +  esac ;;
  2461. +esac
  2462. +
  2463. +build=`$ac_config_sub $build_alias`
  2464. +build_cpu=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  2465. +build_vendor=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  2466. +build_os=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  2467. +echo "$ac_t""$build" 1>&6
  2468. +
  2469. +if test $host != $build; then
  2470. +  ac_tool_prefix=${host_alias}-
  2471. +else
  2472. +  ac_tool_prefix=
  2473. +fi
  2474. +
  2475. +# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  2476. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  2477. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2478. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  2479. +  echo $ac_n "(cached) $ac_c" 1>&6
  2480. +else
  2481. +  if test -n "$RANLIB"; then
  2482. +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  2483. +else
  2484. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2485. +  for ac_dir in $PATH; do
  2486. +    test -z "$ac_dir" && ac_dir=.
  2487. +    if test -f $ac_dir/$ac_word; then
  2488. +      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  2489. +      break
  2490. +    fi
  2491. +  done
  2492. +  IFS="$ac_save_ifs"
  2493. +fi
  2494. +fi
  2495. +RANLIB="$ac_cv_prog_RANLIB"
  2496. +if test -n "$RANLIB"; then
  2497. +  echo "$ac_t""$RANLIB" 1>&6
  2498.  else
  2499. -  echo "$ac_t""no" 1>&4
  2500. +  echo "$ac_t""no" 1>&6
  2501.  fi
  2502.  
  2503. -# Extract the first word of "ranlib", so it can be a program name with args.
  2504. +
  2505. +if test -z "$ac_cv_prog_RANLIB"; then
  2506. +if test -n "$ac_tool_prefix"; then
  2507. +  # Extract the first word of "ranlib", so it can be a program name with args.
  2508.  set dummy ranlib; ac_word=$2
  2509. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  2510. -if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  2511. -  echo $ac_n "(cached) $ac_c" 1>&4
  2512. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2513. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  2514. +  echo $ac_n "(cached) $ac_c" 1>&6
  2515.  else
  2516.    if test -n "$RANLIB"; then
  2517.    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  2518. @@ -442,29 +673,45 @@ fi
  2519.  fi
  2520.  RANLIB="$ac_cv_prog_RANLIB"
  2521.  if test -n "$RANLIB"; then
  2522. -  echo "$ac_t""$RANLIB" 1>&4
  2523. +  echo "$ac_t""$RANLIB" 1>&6
  2524.  else
  2525. -  echo "$ac_t""no" 1>&4
  2526. +  echo "$ac_t""no" 1>&6
  2527.  fi
  2528.  
  2529. -ac_aux_dir=
  2530. -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  2531. -  if test -f $ac_dir/install-sh; then
  2532. -    ac_aux_dir=$ac_dir
  2533. -    ac_install_sh="$ac_aux_dir/install-sh -c"
  2534. -    break
  2535. -  elif test -f $ac_dir/install.sh; then
  2536. -    ac_aux_dir=$ac_dir
  2537. -    ac_install_sh="$ac_aux_dir/install.sh -c"
  2538. -    break
  2539. -  fi
  2540. -done
  2541. -if test -z "$ac_aux_dir"; then
  2542. -  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  2543. +else
  2544. +  RANLIB=":"
  2545.  fi
  2546. -ac_config_guess=$ac_aux_dir/config.guess
  2547. -ac_config_sub=$ac_aux_dir/config.sub
  2548. -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  2549. +fi
  2550. +
  2551. +# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  2552. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  2553. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2554. +if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  2555. +  echo $ac_n "(cached) $ac_c" 1>&6
  2556. +else
  2557. +  if test -n "$AR"; then
  2558. +  ac_cv_prog_AR="$AR" # Let the user override the test.
  2559. +else
  2560. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2561. +  for ac_dir in $PATH; do
  2562. +    test -z "$ac_dir" && ac_dir=.
  2563. +    if test -f $ac_dir/$ac_word; then
  2564. +      ac_cv_prog_AR="${ac_tool_prefix}ar"
  2565. +      break
  2566. +    fi
  2567. +  done
  2568. +  IFS="$ac_save_ifs"
  2569. +  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
  2570. +fi
  2571. +fi
  2572. +AR="$ac_cv_prog_AR"
  2573. +if test -n "$AR"; then
  2574. +  echo "$ac_t""$AR" 1>&6
  2575. +else
  2576. +  echo "$ac_t""no" 1>&6
  2577. +fi
  2578. +
  2579. +
  2580.  
  2581.  # Find a good install program.  We prefer a C program (faster),
  2582.  # so one script is as good as another.  But avoid the broken or
  2583. @@ -473,18 +720,20 @@ ac_configure=$ac_aux_dir/configure # Thi
  2584.  # SunOS /usr/etc/install
  2585.  # IRIX /sbin/install
  2586.  # AIX /bin/install
  2587. +# AmigaOS /c/install
  2588.  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2589.  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2590.  # ./install, which can be erroneously created by make from ./install.sh.
  2591. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
  2592. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  2593.  if test -z "$INSTALL"; then
  2594. -if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
  2595. -  echo $ac_n "(cached) $ac_c" 1>&4
  2596. +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  2597. +  echo $ac_n "(cached) $ac_c" 1>&6
  2598.  else
  2599.      IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2600.    for ac_dir in $PATH; do
  2601. -    case "$ac_dir" in
  2602. -    ''|.|/etc|/usr/sbin|/usr/etc|/sbin|/usr/afsws/bin|/usr/ucb) ;;
  2603. +    # Account for people who put trailing slashes in PATH elements.
  2604. +    case "$ac_dir/" in
  2605. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  2606.      *)
  2607.        # OSF1 and SCO ODT 3.0 have their own names for install.
  2608.        for ac_prog in ginstall installbsd scoinst install; do
  2609. @@ -504,12 +753,19 @@ else
  2610.      esac
  2611.    done
  2612.    IFS="$ac_save_ifs"
  2613. -  # As a last resort, use the slow shell script.
  2614. -  test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"
  2615. +
  2616.  fi
  2617. -  INSTALL="$ac_cv_path_install"
  2618. +  if test "${ac_cv_path_install+set}" = set; then
  2619. +    INSTALL="$ac_cv_path_install"
  2620. +  else
  2621. +    # As a last resort, use the slow shell script.  We don't cache a
  2622. +    # path for INSTALL within a source directory, because that will
  2623. +    # break other packages using the cache if that directory is
  2624. +    # removed, or if the path is relative.
  2625. +    INSTALL="$ac_install_sh"
  2626. +  fi
  2627.  fi
  2628. -echo "$ac_t""$INSTALL" 1>&4
  2629. +echo "$ac_t""$INSTALL" 1>&6
  2630.  
  2631.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2632.  # It thinks the first close brace ends the variable substitution.
  2633. @@ -517,11 +773,11 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PR
  2634.  
  2635.  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2636.  
  2637. -echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&4
  2638. +echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
  2639.  if test -d /etc/conf/kconfig.d &&
  2640.    grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  2641.  then
  2642. -  echo "$ac_t""yes" 1>&4
  2643. +  echo "$ac_t""yes" 1>&6
  2644.    ISC=yes # If later tests want to check for ISC.
  2645.    cat >> confdefs.h <<\EOF
  2646.  #define _POSIX_SOURCE 1
  2647. @@ -533,15 +789,15 @@ EOF
  2648.      CC="$CC -Xp"
  2649.    fi
  2650.  else
  2651. -  echo "$ac_t""no" 1>&4
  2652. +  echo "$ac_t""no" 1>&6
  2653.    ISC=
  2654.  fi
  2655.  
  2656.  # Extract the first word of "gcc", so it can be a program name with args.
  2657.  set dummy gcc; ac_word=$2
  2658. -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
  2659. -if eval "test \"`echo '${'ac_cv_prog_CC'+set}'`\" = set"; then
  2660. -  echo $ac_n "(cached) $ac_c" 1>&4
  2661. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2662. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  2663. +  echo $ac_n "(cached) $ac_c" 1>&6
  2664.  else
  2665.    if test -n "$CC"; then
  2666.    ac_cv_prog_CC="$CC" # Let the user override the test.
  2667. @@ -555,39 +811,88 @@ else
  2668.      fi
  2669.    done
  2670.    IFS="$ac_save_ifs"
  2671. -  test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
  2672.  fi
  2673.  fi
  2674.  CC="$ac_cv_prog_CC"
  2675.  if test -n "$CC"; then
  2676. -  echo "$ac_t""$CC" 1>&4
  2677. +  echo "$ac_t""$CC" 1>&6
  2678. +else
  2679. +  echo "$ac_t""no" 1>&6
  2680. +fi
  2681. +
  2682. +if test -z "$CC"; then
  2683. +  # Extract the first word of "cc", so it can be a program name with args.
  2684. +set dummy cc; ac_word=$2
  2685. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2686. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  2687. +  echo $ac_n "(cached) $ac_c" 1>&6
  2688. +else
  2689. +  if test -n "$CC"; then
  2690. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  2691. +else
  2692. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  2693. +  ac_prog_rejected=no
  2694. +  for ac_dir in $PATH; do
  2695. +    test -z "$ac_dir" && ac_dir=.
  2696. +    if test -f $ac_dir/$ac_word; then
  2697. +      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  2698. +        ac_prog_rejected=yes
  2699. +    continue
  2700. +      fi
  2701. +      ac_cv_prog_CC="cc"
  2702. +      break
  2703. +    fi
  2704. +  done
  2705. +  IFS="$ac_save_ifs"
  2706. +if test $ac_prog_rejected = yes; then
  2707. +  # We found a bogon in the path, so make sure we never use it.
  2708. +  set dummy $ac_cv_prog_CC
  2709. +  shift
  2710. +  if test $# -gt 0; then
  2711. +    # We chose a different compiler from the bogus one.
  2712. +    # However, it has the same basename, so the bogon will be chosen
  2713. +    # first if we set CC to just the basename; use the full file name.
  2714. +    shift
  2715. +    set dummy "$ac_dir/$ac_word" "$@"
  2716. +    shift
  2717. +    ac_cv_prog_CC="$@"
  2718. +  fi
  2719. +fi
  2720. +fi
  2721. +fi
  2722. +CC="$ac_cv_prog_CC"
  2723. +if test -n "$CC"; then
  2724. +  echo "$ac_t""$CC" 1>&6
  2725.  else
  2726. -  echo "$ac_t""no" 1>&4
  2727. +  echo "$ac_t""no" 1>&6
  2728.  fi
  2729.  
  2730. +  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  2731. +fi
  2732.  
  2733. -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&4
  2734. -if eval "test \"`echo '${'ac_cv_prog_gcc'+set}'`\" = set"; then
  2735. -  echo $ac_n "(cached) $ac_c" 1>&4
  2736. +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  2737. +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  2738. +  echo $ac_n "(cached) $ac_c" 1>&6
  2739.  else
  2740.    cat > conftest.c <<EOF
  2741.  #ifdef __GNUC__
  2742.    yes;
  2743.  #endif
  2744.  EOF
  2745. -if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
  2746. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  2747.    ac_cv_prog_gcc=yes
  2748.  else
  2749.    ac_cv_prog_gcc=no
  2750.  fi
  2751.  fi
  2752. -echo "$ac_t""$ac_cv_prog_gcc" 1>&4
  2753. +
  2754. +echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  2755.  if test $ac_cv_prog_gcc = yes; then
  2756.    GCC=yes
  2757.    if test "${CFLAGS+set}" != set; then
  2758. -    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&4
  2759. -if eval "test \"`echo '${'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  2760. -  echo $ac_n "(cached) $ac_c" 1>&4
  2761. +    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  2762. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  2763. +  echo $ac_n "(cached) $ac_c" 1>&6
  2764.  else
  2765.    echo 'void f(){}' > conftest.c
  2766.  if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  2767. @@ -598,11 +903,12 @@ fi
  2768.  rm -f conftest*
  2769.  
  2770.  fi
  2771. -    echo "$ac_t""$ac_cv_prog_gcc_g" 1>&4
  2772. +
  2773. +echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  2774.      if test $ac_cv_prog_gcc_g = yes; then
  2775. -      CFLAGS="-g -O"
  2776. +      CFLAGS="-g -O2"
  2777.      else
  2778. -      CFLAGS="-O"
  2779. +      CFLAGS="-O2"
  2780.      fi
  2781.    fi
  2782.  else
  2783. @@ -610,12 +916,12 @@ else
  2784.    test "${CFLAGS+set}" = set || CFLAGS="-g"
  2785.  fi
  2786.  
  2787. -echo $ac_n "checking for working const""... $ac_c" 1>&4
  2788. -if eval "test \"`echo '${'ac_cv_c_const'+set}'`\" = set"; then
  2789. -  echo $ac_n "(cached) $ac_c" 1>&4
  2790. +echo $ac_n "checking for working const""... $ac_c" 1>&6
  2791. +if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  2792. +  echo $ac_n "(cached) $ac_c" 1>&6
  2793.  else
  2794.    cat > conftest.$ac_ext <<EOF
  2795. -#line 619 "configure"
  2796. +#line 925 "configure"
  2797.  #include "confdefs.h"
  2798.  
  2799.  int main() { return 0; }
  2800. @@ -628,7 +934,7 @@ char const *const *ccp;
  2801.  char **p;
  2802.  /* NEC SVR4.0.2 mips cc rejects this.  */
  2803.  struct point {int x, y;};
  2804. -static struct point const zero;
  2805. +static struct point const zero = {0,0};
  2806.  /* AIX XL C 1.02.0.0 rejects this.
  2807.     It does not let you subtract one const X* pointer from another in an arm
  2808.     of an if-expression whose if-part is not a constant expression */
  2809. @@ -665,7 +971,7 @@ ccp = (char const *const *) p;
  2810.  
  2811.  ; return 0; }
  2812.  EOF
  2813. -if eval $ac_compile; then
  2814. +if { (eval echo configure:975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  2815.    rm -rf conftest*
  2816.    ac_cv_c_const=yes
  2817.  else
  2818. @@ -675,7 +981,8 @@ fi
  2819.  rm -f conftest*
  2820.  
  2821.  fi
  2822. -echo "$ac_t""$ac_cv_c_const" 1>&4
  2823. +
  2824. +echo "$ac_t""$ac_cv_c_const" 1>&6
  2825.  if test $ac_cv_c_const = no; then
  2826.    cat >> confdefs.h <<\EOF
  2827.  #define const 
  2828. @@ -683,14 +990,14 @@ EOF
  2829.  
  2830.  fi
  2831.  
  2832. -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
  2833. +echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  2834.  # On Suns, sometimes $CPP names a directory.
  2835.  if test -n "$CPP" && test -d "$CPP"; then
  2836.    CPP=
  2837.  fi
  2838.  if test -z "$CPP"; then
  2839. -if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then
  2840. -  echo $ac_n "(cached) $ac_c" 1>&4
  2841. +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  2842. +  echo $ac_n "(cached) $ac_c" 1>&6
  2843.  else
  2844.      # This must be in double quotes, not single quotes, because CPP may get
  2845.    # substituted into the Makefile and "${CC-cc}" will confuse make.
  2846. @@ -698,12 +1005,13 @@ else
  2847.    # On the NeXT, cc -E runs the code through the compiler's parser,
  2848.    # not just through cpp.
  2849.    cat > conftest.$ac_ext <<EOF
  2850. -#line 702 "configure"
  2851. +#line 1009 "configure"
  2852.  #include "confdefs.h"
  2853.  #include <assert.h>
  2854.  Syntax Error
  2855.  EOF
  2856. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  2857. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  2858. +{ (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  2859.  ac_err=`grep -v '^ *+' conftest.out`
  2860.  if test -z "$ac_err"; then
  2861.    :
  2862. @@ -712,12 +1020,13 @@ else
  2863.    rm -rf conftest*
  2864.    CPP="${CC-cc} -E -traditional-cpp"
  2865.    cat > conftest.$ac_ext <<EOF
  2866. -#line 716 "configure"
  2867. +#line 1024 "configure"
  2868.  #include "confdefs.h"
  2869.  #include <assert.h>
  2870.  Syntax Error
  2871.  EOF
  2872. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  2873. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  2874. +{ (eval echo configure:1030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  2875.  ac_err=`grep -v '^ *+' conftest.out`
  2876.  if test -z "$ac_err"; then
  2877.    :
  2878. @@ -731,24 +1040,26 @@ fi
  2879.  rm -f conftest*
  2880.    ac_cv_prog_CPP="$CPP"
  2881.  fi
  2882. +  CPP="$ac_cv_prog_CPP"
  2883. +else
  2884. +  ac_cv_prog_CPP="$CPP"
  2885.  fi
  2886. -CPP="$ac_cv_prog_CPP"
  2887. -echo "$ac_t""$CPP" 1>&4
  2888. +echo "$ac_t""$CPP" 1>&6
  2889.  
  2890.  # If we cannot run a trivial program, we must be cross compiling.
  2891. -echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&4
  2892. -if eval "test \"`echo '${'ac_cv_c_cross'+set}'`\" = set"; then
  2893. -  echo $ac_n "(cached) $ac_c" 1>&4
  2894. +echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
  2895. +if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
  2896. +  echo $ac_n "(cached) $ac_c" 1>&6
  2897.  else
  2898.    if test "$cross_compiling" = yes; then
  2899. -  ac_cv_cross=yes
  2900. +  ac_cv_c_cross=yes
  2901.  else
  2902.  cat > conftest.$ac_ext <<EOF
  2903. -#line 748 "configure"
  2904. +#line 1059 "configure"
  2905.  #include "confdefs.h"
  2906.  main(){return(0);}
  2907.  EOF
  2908. -eval $ac_link
  2909. +{ (eval echo configure:1063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  2910.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  2911.    ac_cv_c_cross=no
  2912.  else
  2913. @@ -757,22 +1068,24 @@ fi
  2914.  fi
  2915.  rm -fr conftest*
  2916.  fi
  2917. +
  2918. +echo "$ac_t""$ac_cv_c_cross" 1>&6
  2919.  cross_compiling=$ac_cv_c_cross
  2920. -echo "$ac_t""$ac_cv_c_cross" 1>&4
  2921.  
  2922. -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&4
  2923. -if eval "test \"`echo '${'ac_cv_header_stdc'+set}'`\" = set"; then
  2924. -  echo $ac_n "(cached) $ac_c" 1>&4
  2925. +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  2926. +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  2927. +  echo $ac_n "(cached) $ac_c" 1>&6
  2928.  else
  2929.    cat > conftest.$ac_ext <<EOF
  2930. -#line 769 "configure"
  2931. +#line 1081 "configure"
  2932.  #include "confdefs.h"
  2933.  #include <stdlib.h>
  2934.  #include <stdarg.h>
  2935.  #include <string.h>
  2936.  #include <float.h>
  2937.  EOF
  2938. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  2939. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  2940. +{ (eval echo configure:1089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  2941.  ac_err=`grep -v '^ *+' conftest.out`
  2942.  if test -z "$ac_err"; then
  2943.    rm -rf conftest*
  2944. @@ -787,7 +1100,7 @@ rm -f conftest*
  2945.  if test $ac_cv_header_stdc = yes; then
  2946.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  2947.  cat > conftest.$ac_ext <<EOF
  2948. -#line 791 "configure"
  2949. +#line 1104 "configure"
  2950.  #include "confdefs.h"
  2951.  #include <string.h>
  2952.  EOF
  2953. @@ -805,7 +1118,7 @@ fi
  2954.  if test $ac_cv_header_stdc = yes; then
  2955.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  2956.  cat > conftest.$ac_ext <<EOF
  2957. -#line 809 "configure"
  2958. +#line 1122 "configure"
  2959.  #include "confdefs.h"
  2960.  #include <stdlib.h>
  2961.  EOF
  2962. @@ -823,10 +1136,10 @@ fi
  2963.  if test $ac_cv_header_stdc = yes; then
  2964.    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  2965.  if test "$cross_compiling" = yes; then
  2966. -  ac_cv_header_stdc=no
  2967. +  :
  2968.  else
  2969.  cat > conftest.$ac_ext <<EOF
  2970. -#line 830 "configure"
  2971. +#line 1143 "configure"
  2972.  #include "confdefs.h"
  2973.  #include <ctype.h>
  2974.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  2975. @@ -837,7 +1150,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  2976.  exit (0); }
  2977.  
  2978.  EOF
  2979. -eval $ac_link
  2980. +{ (eval echo configure:1154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  2981.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  2982.    :
  2983.  else
  2984. @@ -847,7 +1160,8 @@ fi
  2985.  rm -fr conftest*
  2986.  fi
  2987.  fi
  2988. -echo "$ac_t""$ac_cv_header_stdc" 1>&4
  2989. +
  2990. +echo "$ac_t""$ac_cv_header_stdc" 1>&6
  2991.  if test $ac_cv_header_stdc = yes; then
  2992.    cat >> confdefs.h <<\EOF
  2993.  #define STDC_HEADERS 1
  2994. @@ -858,16 +1172,17 @@ fi
  2995.  for ac_hdr in limits.h memory.h string.h unistd.h locale.h
  2996.  do
  2997.  ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
  2998. -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&4
  2999. -if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  3000. -  echo $ac_n "(cached) $ac_c" 1>&4
  3001. +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  3002. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  3003. +  echo $ac_n "(cached) $ac_c" 1>&6
  3004.  else
  3005.    cat > conftest.$ac_ext <<EOF
  3006. -#line 867 "configure"
  3007. +#line 1181 "configure"
  3008.  #include "confdefs.h"
  3009.  #include <$ac_hdr>
  3010.  EOF
  3011. -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  3012. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  3013. +{ (eval echo configure:1186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  3014.  ac_err=`grep -v '^ *+' conftest.out`
  3015.  if test -z "$ac_err"; then
  3016.    rm -rf conftest*
  3017. @@ -880,31 +1195,35 @@ fi
  3018.  rm -f conftest*
  3019.  fi
  3020.  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  3021. -  echo "$ac_t""yes" 1>&4
  3022. -    ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  3023. +  echo "$ac_t""yes" 1>&6
  3024. +    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
  3025.    cat >> confdefs.h <<EOF
  3026.  #define $ac_tr_hdr 1
  3027.  EOF
  3028.   
  3029.  else
  3030. -  echo "$ac_t""no" 1>&4
  3031. +  echo "$ac_t""no" 1>&6
  3032.  fi
  3033.  done
  3034.  
  3035. -for ac_func in setbuffer sigsetjmp sigaction strerror
  3036. +for ac_func in setbuffer sigsetjmp sigaction strerror setlocale
  3037.  do
  3038. -echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
  3039. -if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then
  3040. -  echo $ac_n "(cached) $ac_c" 1>&4
  3041. +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  3042. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  3043. +  echo $ac_n "(cached) $ac_c" 1>&6
  3044.  else
  3045.    cat > conftest.$ac_ext <<EOF
  3046. -#line 902 "configure"
  3047. +#line 1217 "configure"
  3048.  #include "confdefs.h"
  3049. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3050. +/* System header to define __stub macros and hopefully few prototypes,
  3051. +    which can conflict with char $ac_func(); below.  */
  3052. +#include <assert.h>
  3053.  /* Override any gcc2 internal prototype to avoid an error.  */
  3054. -char $ac_func(); 
  3055. +/* We use char because int might match the return type of a gcc2
  3056. +    builtin and then its argument prototype would still apply.  */
  3057. +char $ac_func();
  3058.  
  3059. -int main() { return 0; }
  3060. +int main() { t(); return 0; }
  3061.  int t() {
  3062.  
  3063.  /* The GNU C library defines this for functions which it implements
  3064. @@ -918,7 +1237,7 @@ $ac_func();
  3065.  
  3066.  ; return 0; }
  3067.  EOF
  3068. -if eval $ac_link; then
  3069. +if { (eval echo configure:1241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  3070.    rm -rf conftest*
  3071.    eval "ac_cv_func_$ac_func=yes"
  3072.  else
  3073. @@ -929,29 +1248,33 @@ rm -f conftest*
  3074.  
  3075.  fi
  3076.  if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  3077. -  echo "$ac_t""yes" 1>&4
  3078. -    ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
  3079. +  echo "$ac_t""yes" 1>&6
  3080. +    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  3081.    cat >> confdefs.h <<EOF
  3082.  #define $ac_tr_func 1
  3083.  EOF
  3084.   
  3085.  else
  3086. -  echo "$ac_t""no" 1>&4
  3087. +  echo "$ac_t""no" 1>&6
  3088.  fi
  3089.  done
  3090.  
  3091. -echo $ac_n "checking for vprintf""... $ac_c" 1>&4
  3092. -if eval "test \"`echo '${'ac_cv_func_vprintf'+set}'`\" = set"; then
  3093. -  echo $ac_n "(cached) $ac_c" 1>&4
  3094. +echo $ac_n "checking for vprintf""... $ac_c" 1>&6
  3095. +if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
  3096. +  echo $ac_n "(cached) $ac_c" 1>&6
  3097.  else
  3098.    cat > conftest.$ac_ext <<EOF
  3099. -#line 949 "configure"
  3100. +#line 1268 "configure"
  3101.  #include "confdefs.h"
  3102. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3103. +/* System header to define __stub macros and hopefully few prototypes,
  3104. +    which can conflict with char vprintf(); below.  */
  3105. +#include <assert.h>
  3106.  /* Override any gcc2 internal prototype to avoid an error.  */
  3107. -char vprintf(); 
  3108. +/* We use char because int might match the return type of a gcc2
  3109. +    builtin and then its argument prototype would still apply.  */
  3110. +char vprintf();
  3111.  
  3112. -int main() { return 0; }
  3113. +int main() { t(); return 0; }
  3114.  int t() {
  3115.  
  3116.  /* The GNU C library defines this for functions which it implements
  3117. @@ -965,7 +1288,7 @@ vprintf();
  3118.  
  3119.  ; return 0; }
  3120.  EOF
  3121. -if eval $ac_link; then
  3122. +if { (eval echo configure:1292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  3123.    rm -rf conftest*
  3124.    eval "ac_cv_func_vprintf=yes"
  3125.  else
  3126. @@ -976,28 +1299,32 @@ rm -f conftest*
  3127.  
  3128.  fi
  3129.  if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
  3130. -  echo "$ac_t""yes" 1>&4
  3131. +  echo "$ac_t""yes" 1>&6
  3132.    cat >> confdefs.h <<\EOF
  3133.  #define HAVE_VPRINTF 1
  3134.  EOF
  3135.  
  3136.  else
  3137. -  echo "$ac_t""no" 1>&4
  3138. +  echo "$ac_t""no" 1>&6
  3139.  fi
  3140.  
  3141.  if test "$ac_cv_func_vprintf" != yes; then
  3142. -echo $ac_n "checking for _doprnt""... $ac_c" 1>&4
  3143. -if eval "test \"`echo '${'ac_cv_func__doprnt'+set}'`\" = set"; then
  3144. -  echo $ac_n "(cached) $ac_c" 1>&4
  3145. +echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
  3146. +if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
  3147. +  echo $ac_n "(cached) $ac_c" 1>&6
  3148.  else
  3149.    cat > conftest.$ac_ext <<EOF
  3150. -#line 995 "configure"
  3151. +#line 1318 "configure"
  3152.  #include "confdefs.h"
  3153. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3154. +/* System header to define __stub macros and hopefully few prototypes,
  3155. +    which can conflict with char _doprnt(); below.  */
  3156. +#include <assert.h>
  3157.  /* Override any gcc2 internal prototype to avoid an error.  */
  3158. -char _doprnt(); 
  3159. +/* We use char because int might match the return type of a gcc2
  3160. +    builtin and then its argument prototype would still apply.  */
  3161. +char _doprnt();
  3162.  
  3163. -int main() { return 0; }
  3164. +int main() { t(); return 0; }
  3165.  int t() {
  3166.  
  3167.  /* The GNU C library defines this for functions which it implements
  3168. @@ -1011,7 +1338,7 @@ _doprnt();
  3169.  
  3170.  ; return 0; }
  3171.  EOF
  3172. -if eval $ac_link; then
  3173. +if { (eval echo configure:1342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  3174.    rm -rf conftest*
  3175.    eval "ac_cv_func__doprnt=yes"
  3176.  else
  3177. @@ -1022,33 +1349,33 @@ rm -f conftest*
  3178.  
  3179.  fi
  3180.  if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
  3181. -  echo "$ac_t""yes" 1>&4
  3182. +  echo "$ac_t""yes" 1>&6
  3183.    cat >> confdefs.h <<\EOF
  3184.  #define HAVE_DOPRNT 1
  3185.  EOF
  3186.  
  3187.  else
  3188. -  echo "$ac_t""no" 1>&4
  3189. +  echo "$ac_t""no" 1>&6
  3190.  fi
  3191.  
  3192.  fi
  3193.  
  3194.  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  3195.  # for constant arguments.  Useless!
  3196. -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&4
  3197. -if eval "test \"`echo '${'ac_cv_header_alloca_h'+set}'`\" = set"; then
  3198. -  echo $ac_n "(cached) $ac_c" 1>&4
  3199. +echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
  3200. +if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
  3201. +  echo $ac_n "(cached) $ac_c" 1>&6
  3202.  else
  3203.    cat > conftest.$ac_ext <<EOF
  3204. -#line 1044 "configure"
  3205. +#line 1371 "configure"
  3206.  #include "confdefs.h"
  3207.  #include <alloca.h>
  3208. -int main() { return 0; }
  3209. +int main() { t(); return 0; }
  3210.  int t() {
  3211.  char *p = alloca(2 * sizeof(int));
  3212.  ; return 0; }
  3213.  EOF
  3214. -if eval $ac_link; then
  3215. +if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  3216.    rm -rf conftest*
  3217.    ac_cv_header_alloca_h=yes
  3218.  else
  3219. @@ -1058,7 +1385,8 @@ fi
  3220.  rm -f conftest*
  3221.  
  3222.  fi
  3223. -echo "$ac_t""$ac_cv_header_alloca_h" 1>&4
  3224. +
  3225. +echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
  3226.  if test $ac_cv_header_alloca_h = yes; then
  3227.    cat >> confdefs.h <<\EOF
  3228.  #define HAVE_ALLOCA_H 1
  3229. @@ -1066,12 +1394,12 @@ EOF
  3230.  
  3231.  fi
  3232.  
  3233. -echo $ac_n "checking for alloca""... $ac_c" 1>&4
  3234. -if eval "test \"`echo '${'ac_cv_func_alloca'+set}'`\" = set"; then
  3235. -  echo $ac_n "(cached) $ac_c" 1>&4
  3236. +echo $ac_n "checking for alloca""... $ac_c" 1>&6
  3237. +if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then
  3238. +  echo $ac_n "(cached) $ac_c" 1>&6
  3239.  else
  3240.    cat > conftest.$ac_ext <<EOF
  3241. -#line 1075 "configure"
  3242. +#line 1403 "configure"
  3243.  #include "confdefs.h"
  3244.  
  3245.  #ifdef __GNUC__
  3246. @@ -1090,12 +1418,12 @@ char *alloca ();
  3247.  # endif
  3248.  #endif
  3249.  
  3250. -int main() { return 0; }
  3251. +int main() { t(); return 0; }
  3252.  int t() {
  3253.  char *p = (char *) alloca(1);
  3254.  ; return 0; }
  3255.  EOF
  3256. -if eval $ac_link; then
  3257. +if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  3258.    rm -rf conftest*
  3259.    ac_cv_func_alloca=yes
  3260.  else
  3261. @@ -1105,7 +1433,8 @@ fi
  3262.  rm -f conftest*
  3263.  
  3264.  fi
  3265. -echo "$ac_t""$ac_cv_func_alloca" 1>&4
  3266. +
  3267. +echo "$ac_t""$ac_cv_func_alloca" 1>&6
  3268.  if test $ac_cv_func_alloca = yes; then
  3269.    cat >> confdefs.h <<\EOF
  3270.  #define HAVE_ALLOCA 1
  3271. @@ -1124,12 +1453,12 @@ if test $ac_cv_func_alloca = no; then
  3272.  EOF
  3273.  
  3274.  
  3275. -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&4
  3276. -if eval "test \"`echo '${'ac_cv_os_cray'+set}'`\" = set"; then
  3277. -  echo $ac_n "(cached) $ac_c" 1>&4
  3278. +echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
  3279. +if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
  3280. +  echo $ac_n "(cached) $ac_c" 1>&6
  3281.  else
  3282.    cat > conftest.$ac_ext <<EOF
  3283. -#line 1133 "configure"
  3284. +#line 1462 "configure"
  3285.  #include "confdefs.h"
  3286.  #if defined(CRAY) && ! defined(CRAY2)
  3287.  webecray
  3288. @@ -1149,154 +1478,72 @@ fi
  3289.  rm -f conftest*
  3290.  
  3291.  fi
  3292. -echo "$ac_t""$ac_cv_os_cray" 1>&4
  3293. -if test $ac_cv_os_cray = yes; then
  3294. -echo $ac_n "checking for _getb67""... $ac_c" 1>&4
  3295. -if eval "test \"`echo '${'ac_cv_func__getb67'+set}'`\" = set"; then
  3296. -  echo $ac_n "(cached) $ac_c" 1>&4
  3297. -else
  3298. -  cat > conftest.$ac_ext <<EOF
  3299. -#line 1160 "configure"
  3300. -#include "confdefs.h"
  3301. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3302. -/* Override any gcc2 internal prototype to avoid an error.  */
  3303. -char _getb67(); 
  3304. -
  3305. -int main() { return 0; }
  3306. -int t() {
  3307. -
  3308. -/* The GNU C library defines this for functions which it implements
  3309. -    to always fail with ENOSYS.  Some functions are actually named
  3310. -    something starting with __ and the normal name is an alias.  */
  3311. -#if defined (__stub__getb67) || defined (__stub____getb67)
  3312. -choke me
  3313. -#else
  3314. -_getb67();
  3315. -#endif
  3316. -
  3317. -; return 0; }
  3318. -EOF
  3319. -if eval $ac_link; then
  3320. -  rm -rf conftest*
  3321. -  eval "ac_cv_func__getb67=yes"
  3322. -else
  3323. -  rm -rf conftest*
  3324. -  eval "ac_cv_func__getb67=no"
  3325. -fi
  3326. -rm -f conftest*
  3327. -
  3328. -fi
  3329. -if eval "test \"`echo '$ac_cv_func_'_getb67`\" = yes"; then
  3330. -  echo "$ac_t""yes" 1>&4
  3331. -  cat >> confdefs.h <<\EOF
  3332. -#define CRAY_STACKSEG_END _getb67
  3333. -EOF
  3334. -
  3335. -else
  3336. -  echo "$ac_t""no" 1>&4
  3337. -echo $ac_n "checking for GETB67""... $ac_c" 1>&4
  3338. -if eval "test \"`echo '${'ac_cv_func_GETB67'+set}'`\" = set"; then
  3339. -  echo $ac_n "(cached) $ac_c" 1>&4
  3340. -else
  3341. -  cat > conftest.$ac_ext <<EOF
  3342. -#line 1203 "configure"
  3343. -#include "confdefs.h"
  3344. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3345. -/* Override any gcc2 internal prototype to avoid an error.  */
  3346. -char GETB67(); 
  3347. -
  3348. -int main() { return 0; }
  3349. -int t() {
  3350. -
  3351. -/* The GNU C library defines this for functions which it implements
  3352. -    to always fail with ENOSYS.  Some functions are actually named
  3353. -    something starting with __ and the normal name is an alias.  */
  3354. -#if defined (__stub_GETB67) || defined (__stub___GETB67)
  3355. -choke me
  3356. -#else
  3357. -GETB67();
  3358. -#endif
  3359. -
  3360. -; return 0; }
  3361. -EOF
  3362. -if eval $ac_link; then
  3363. -  rm -rf conftest*
  3364. -  eval "ac_cv_func_GETB67=yes"
  3365. -else
  3366. -  rm -rf conftest*
  3367. -  eval "ac_cv_func_GETB67=no"
  3368. -fi
  3369. -rm -f conftest*
  3370. -
  3371. -fi
  3372. -if eval "test \"`echo '$ac_cv_func_'GETB67`\" = yes"; then
  3373. -  echo "$ac_t""yes" 1>&4
  3374. -  cat >> confdefs.h <<\EOF
  3375. -#define CRAY_STACKSEG_END GETB67
  3376. -EOF
  3377.  
  3378. -else
  3379. -  echo "$ac_t""no" 1>&4
  3380. -echo $ac_n "checking for getb67""... $ac_c" 1>&4
  3381. -if eval "test \"`echo '${'ac_cv_func_getb67'+set}'`\" = set"; then
  3382. -  echo $ac_n "(cached) $ac_c" 1>&4
  3383. +echo "$ac_t""$ac_cv_os_cray" 1>&6
  3384. +if test $ac_cv_os_cray = yes; then
  3385. +for ac_func in _getb67 GETB67 getb67; do
  3386. +  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  3387. +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  3388. +  echo $ac_n "(cached) $ac_c" 1>&6
  3389.  else
  3390.    cat > conftest.$ac_ext <<EOF
  3391. -#line 1246 "configure"
  3392. +#line 1491 "configure"
  3393.  #include "confdefs.h"
  3394. -#include <ctype.h> /* Arbitrary system header to define __stub macros. */
  3395. +/* System header to define __stub macros and hopefully few prototypes,
  3396. +    which can conflict with char $ac_func(); below.  */
  3397. +#include <assert.h>
  3398.  /* Override any gcc2 internal prototype to avoid an error.  */
  3399. -char getb67(); 
  3400. +/* We use char because int might match the return type of a gcc2
  3401. +    builtin and then its argument prototype would still apply.  */
  3402. +char $ac_func();
  3403.  
  3404. -int main() { return 0; }
  3405. +int main() { t(); return 0; }
  3406.  int t() {
  3407.  
  3408.  /* The GNU C library defines this for functions which it implements
  3409.      to always fail with ENOSYS.  Some functions are actually named
  3410.      something starting with __ and the normal name is an alias.  */
  3411. -#if defined (__stub_getb67) || defined (__stub___getb67)
  3412. +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  3413.  choke me
  3414.  #else
  3415. -getb67();
  3416. +$ac_func();
  3417.  #endif
  3418.  
  3419.  ; return 0; }
  3420.  EOF
  3421. -if eval $ac_link; then
  3422. +if { (eval echo configure:1515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  3423.    rm -rf conftest*
  3424. -  eval "ac_cv_func_getb67=yes"
  3425. +  eval "ac_cv_func_$ac_func=yes"
  3426.  else
  3427.    rm -rf conftest*
  3428. -  eval "ac_cv_func_getb67=no"
  3429. +  eval "ac_cv_func_$ac_func=no"
  3430.  fi
  3431.  rm -f conftest*
  3432.  
  3433.  fi
  3434. -if eval "test \"`echo '$ac_cv_func_'getb67`\" = yes"; then
  3435. -  echo "$ac_t""yes" 1>&4
  3436. -  cat >> confdefs.h <<\EOF
  3437. -#define CRAY_STACKSEG_END getb67
  3438. +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  3439. +  echo "$ac_t""yes" 1>&6
  3440. +  cat >> confdefs.h <<EOF
  3441. +#define CRAY_STACKSEG_END $ac_func
  3442.  EOF
  3443.  
  3444. +  break
  3445.  else
  3446. -  echo "$ac_t""no" 1>&4
  3447. -fi
  3448. -
  3449. -fi
  3450. -
  3451. +  echo "$ac_t""no" 1>&6
  3452.  fi
  3453.  
  3454. +done
  3455.  fi
  3456.  
  3457. -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&4
  3458. -if eval "test \"`echo '${'ac_cv_c_stack_direction'+set}'`\" = set"; then
  3459. -  echo $ac_n "(cached) $ac_c" 1>&4
  3460. +echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
  3461. +if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
  3462. +  echo $ac_n "(cached) $ac_c" 1>&6
  3463.  else
  3464.    if test "$cross_compiling" = yes; then
  3465.    ac_cv_c_stack_direction=0
  3466.  else
  3467.  cat > conftest.$ac_ext <<EOF
  3468. -#line 1300 "configure"
  3469. +#line 1547 "configure"
  3470.  #include "confdefs.h"
  3471.  find_stack_direction ()
  3472.  {
  3473. @@ -1315,7 +1562,7 @@ main ()
  3474.    exit (find_stack_direction() < 0);
  3475.  }
  3476.  EOF
  3477. -eval $ac_link
  3478. +{ (eval echo configure:1566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  3479.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  3480.    ac_cv_c_stack_direction=1
  3481.  else
  3482. @@ -1324,7 +1571,8 @@ fi
  3483.  fi
  3484.  rm -fr conftest*
  3485.  fi
  3486. -echo "$ac_t""$ac_cv_c_stack_direction" 1>&4
  3487. +
  3488. +echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
  3489.  cat >> confdefs.h <<EOF
  3490.  #define STACK_DIRECTION $ac_cv_c_stack_direction
  3491.  EOF
  3492. @@ -1336,9 +1584,7 @@ if test "$ALLOCA" = alloca.o; then
  3493.  fi
  3494.  
  3495.  trap '' 1 2 15
  3496. -if test -w $cache_file; then
  3497. -echo "updating cache $cache_file"
  3498. -cat > $cache_file <<\EOF
  3499. +cat > confcache <<\EOF
  3500.  # This file is a shell script that caches the results of configure
  3501.  # tests run on this system so they can be shared between configure
  3502.  # scripts and configure runs.  It is not useful on other systems.
  3503. @@ -1354,15 +1600,24 @@ cat > $cache_file <<\EOF
  3504.  # --recheck option to rerun configure.
  3505.  #
  3506.  EOF
  3507. -# Ultrix sh set writes to stderr and can't be redirected directly.
  3508. +# Ultrix sh set writes to stderr and can't be redirected directly,
  3509. +# and sets the high bit in the cache file unless we assign to the vars.
  3510.  (set) 2>&1 |
  3511. -  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
  3512. -  >> $cache_file
  3513. +  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  3514. +  >> confcache
  3515. +if cmp -s $cache_file confcache; then
  3516. +  :
  3517.  else
  3518. -echo "not updating unwritable cache $cache_file"
  3519. +  if test -w $cache_file; then
  3520. +    echo "updating cache $cache_file"
  3521. +    cat confcache > $cache_file
  3522. +  else
  3523. +    echo "not updating unwritable cache $cache_file"
  3524. +  fi
  3525.  fi
  3526. +rm -f confcache
  3527.  
  3528. -trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
  3529. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  3530.  
  3531.  test "x$prefix" = xNONE && prefix=$ac_default_prefix
  3532.  # Let make expand exec_prefix.
  3533. @@ -1383,9 +1638,11 @@ DEFS=-DHAVE_CONFIG_H
  3534.  : ${CONFIG_STATUS=./config.status}
  3535.  
  3536.  echo creating $CONFIG_STATUS
  3537. -rm -f $CONFIG_STATUS
  3538. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  3539. +# being executed, so just move it out of the way instead.
  3540. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  3541.  cat > $CONFIG_STATUS <<EOF
  3542. -#!/bin/sh
  3543. +#! /bin/sh
  3544.  # Generated automatically by configure.
  3545.  # Run this file to recreate the current configuration.
  3546.  # This directory was configured as follows,
  3547. @@ -1404,7 +1661,7 @@ do
  3548.      echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  3549.      exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  3550.    -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  3551. -    echo "$CONFIG_STATUS generated by autoconf version 2.1"
  3552. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  3553.      exit 0 ;;
  3554.    -help | --help | --hel | --he | --h)
  3555.      echo "\$ac_cs_usage"; exit 0 ;;
  3556. @@ -1415,11 +1672,13 @@ done
  3557.  ac_given_srcdir=$srcdir
  3558.  ac_given_INSTALL="$INSTALL"
  3559.  
  3560. -trap 'rm -fr Makefile config.h conftest*; exit 1' 1 2 15
  3561. +trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  3562. +EOF
  3563. +cat >> $CONFIG_STATUS <<EOF
  3564.  
  3565. -# Protect against being on the right side of a sed subst in config.status. 
  3566. -sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; 
  3567. - s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  3568. +# Protect against being on the right side of a sed subst in config.status.
  3569. +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  3570. + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  3571.  $ac_vpsub
  3572.  $extrasub
  3573.  s%@CFLAGS@%$CFLAGS%g
  3574. @@ -1431,8 +1690,34 @@ s%@LIBS@%$LIBS%g
  3575.  s%@exec_prefix@%$exec_prefix%g
  3576.  s%@prefix@%$prefix%g
  3577.  s%@program_transform_name@%$program_transform_name%g
  3578. +s%@bindir@%$bindir%g
  3579. +s%@sbindir@%$sbindir%g
  3580. +s%@libexecdir@%$libexecdir%g
  3581. +s%@datadir@%$datadir%g
  3582. +s%@sysconfdir@%$sysconfdir%g
  3583. +s%@sharedstatedir@%$sharedstatedir%g
  3584. +s%@localstatedir@%$localstatedir%g
  3585. +s%@libdir@%$libdir%g
  3586. +s%@includedir@%$includedir%g
  3587. +s%@oldincludedir@%$oldincludedir%g
  3588. +s%@infodir@%$infodir%g
  3589. +s%@guidedir@%$guidedir%g
  3590. +s%@psdir@%$psdir%g
  3591. +s%@dvidir@%$dvidir%g
  3592. +s%@mandir@%$mandir%g
  3593.  s%@LN_S@%$LN_S%g
  3594. +s%@host@%$host%g
  3595. +s%@host_alias@%$host_alias%g
  3596. +s%@host_cpu@%$host_cpu%g
  3597. +s%@host_vendor@%$host_vendor%g
  3598. +s%@host_os@%$host_os%g
  3599. +s%@build@%$build%g
  3600. +s%@build_alias@%$build_alias%g
  3601. +s%@build_cpu@%$build_cpu%g
  3602. +s%@build_vendor@%$build_vendor%g
  3603. +s%@build_os@%$build_os%g
  3604.  s%@RANLIB@%$RANLIB%g
  3605. +s%@AR@%$AR%g
  3606.  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  3607.  s%@INSTALL_DATA@%$INSTALL_DATA%g
  3608.  s%@CC@%$CC%g
  3609. @@ -1462,7 +1747,7 @@ for ac_file in .. $CONFIG_FILES; do if t
  3610.    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  3611.      # The file is in a subdirectory.
  3612.      test ! -d "$ac_dir" && mkdir "$ac_dir"
  3613. -    ac_dir_suffix="/$ac_dir"
  3614. +    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  3615.      # A "../" for each directory in $ac_dir_suffix.
  3616.      ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  3617.    else
  3618. @@ -1537,13 +1822,13 @@ EOF
  3619.  
  3620.  # Transform confdefs.h into a sed script conftest.vals that substitutes
  3621.  # the proper values into config.h.in to produce config.h.  And first:
  3622. -# Protect against being on the right side of a sed subst in config.status. 
  3623. +# Protect against being on the right side of a sed subst in config.status.
  3624.  # Protect against being in an unquoted here document in config.status.
  3625.  rm -f conftest.vals
  3626.  cat > conftest.hdr <<\EOF
  3627.  s/[\\&%]/\\&/g
  3628.  s%[\\$`]%\\&%g
  3629. -s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  3630. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  3631.  s%ac_d%ac_u%gp
  3632.  s%ac_u%ac_e%gp
  3633.  EOF
  3634. @@ -1591,6 +1876,12 @@ cat >> $CONFIG_STATUS <<\EOF
  3635.      echo "$ac_file is unchanged"
  3636.      rm -f conftest.h
  3637.    else
  3638. +    # Remove last slash and all that follows it.  Not all systems have dirname.
  3639. +      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  3640. +      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  3641. +      # The file is in a subdirectory.
  3642. +      test ! -d "$ac_dir" && mkdir "$ac_dir"
  3643. +    fi
  3644.      rm -f $ac_file
  3645.      mv conftest.h $ac_file
  3646.    fi
  3647. @@ -1601,8 +1892,9 @@ fi; done
  3648.  exit 0
  3649.  EOF
  3650.  chmod +x $CONFIG_STATUS
  3651. +rm -f CONFIG.STATUS.old
  3652.  rm -fr confdefs* $ac_clean_files
  3653. -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS
  3654. +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  3655.  
  3656.  
  3657.  
  3658. diff -rup --new-file baseline/fsf/ed/configure.in amiga/fsf/ed/configure.in
  3659. --- baseline/fsf/ed/configure.in    Sat Nov 19 05:38:00 1994
  3660. +++ amiga/fsf/ed/configure.in    Sat Sep 28 00:00:00 1996
  3661. @@ -4,14 +4,15 @@ AC_INIT(ed.h)
  3662.  AC_CONFIG_HEADER(config.h)
  3663.  
  3664.  AC_PROG_LN_S
  3665. -AC_PROG_RANLIB
  3666. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  3667. +AC_CHECK_TOOL(AR, ar)
  3668.  AC_PROG_INSTALL
  3669.  AC_ISC_POSIX
  3670.  AC_PROG_CC
  3671.  AC_C_CONST
  3672.  AC_HEADER_STDC
  3673.  AC_CHECK_HEADERS(limits.h memory.h string.h unistd.h locale.h)
  3674. -AC_CHECK_FUNCS(setbuffer sigsetjmp sigaction strerror)
  3675. +AC_CHECK_FUNCS(setbuffer sigsetjmp sigaction strerror setlocale)
  3676.  AC_FUNC_VPRINTF
  3677.  AC_FUNC_ALLOCA
  3678.  if test "$ALLOCA" = alloca.o; then
  3679. diff -rup --new-file baseline/fsf/ed/ed.info amiga/fsf/ed/ed.info
  3680. --- baseline/fsf/ed/ed.info    Sat Nov 19 05:50:17 1994
  3681. +++ amiga/fsf/ed/ed.info    Wed Dec 31 17:00:00 1969
  3682. @@ -1,769 +0,0 @@
  3683. -This is Info file ed.info, produced by Makeinfo-1.55 from the input
  3684. -file ed.texinfo.
  3685. -
  3686. -   This file documents the `ed' command, which has the purpose of
  3687. -editing text files.
  3688. -
  3689. -   Copyright (C) 1993 by the Free Software Foundation, Inc.
  3690. -
  3691. -   Permission is granted to make and distribute verbatim copies of this
  3692. -manual provided the copyright notice and this permission notice are
  3693. -preserved on all copies.
  3694. -
  3695. -   Permission is granted to copy and distribute modified versions of
  3696. -this manual under the conditions for verbatim copying, provided that
  3697. -the entire resulting derived work is distributed under the terms of a
  3698. -permission notice identical to this one.
  3699. -
  3700. -   Permission is granted to copy and distribute translations of this
  3701. -manual into another language, under the above conditions for modified
  3702. -versions, except that this permission notice may be stated in a
  3703. -translation approved by the Foundation.
  3704. -
  3705. -
  3706. -File: ed.info,  Node: Top,  Next: Intro,  Prev: (dir),  Up: (dir)
  3707. -
  3708. -
  3709. -
  3710. -   This info file documents the `ed' text editor, as of release 0.2.
  3711. -You may find in this document:
  3712. -
  3713. -* Menu:
  3714. -
  3715. -* Intro::                       An introduction to line editing with  `ed'
  3716. -* Invoking ed::                 GNU `ed' command-line options
  3717. -* Line addressing::             Specifying lines/ranges in the buffer
  3718. -* Regular expressions::         Patterns for selecting text
  3719. -* Commands::                    Commands recognized by GNU `ed'
  3720. -* Limitations::                 Intrinsic limits of GNU `ed'
  3721. -* Diagnostics::                 GNU `ed' error handling
  3722. -
  3723. -
  3724. -File: ed.info,  Node: Intro,  Next: Invoking ed,  Prev: Top,  Up: Top
  3725. -
  3726. -Intro
  3727. -*****
  3728. -
  3729. -   `ed' is a line-oriented text editor.  It is used to create, display,
  3730. -modify and otherwise manipulate text files, both interactively and via
  3731. -shell scripts.  A restricted version of `ed', `red', can only edit
  3732. -files in the current directory and cannot execute shell commands.  `ed'
  3733. -is the "standard" text editor in the sense that it is the original
  3734. -editor for Unix, and thus widely available.  For most purposes,
  3735. -however, it is superceded by full-screen editors such as Emacs and Vi.
  3736. -
  3737. -   The sample sessions below illustrate some basic concepts of line
  3738. -editing with `ed'.  We begin by creating a file, `sonnet', with some
  3739. -help from Shakespeare.  As with the shell, all input to `ed' must be
  3740. -followed by a newline character.  Comments begin with a `#'.
  3741. -
  3742. -     $ ed
  3743. -     # The `a' command is for appending text to the editor buffer.
  3744. -     a
  3745. -     No more be grieved at that which thou hast done.
  3746. -     Roses have thorns, and filvers foutians mud.
  3747. -     Clouds and eclipses stain both moon and sun,
  3748. -     And loathsome canker lives in sweetest bud.
  3749. -     .
  3750. -     # Entering a single period on a line returns `ed' to command mode.
  3751. -     # Now write the buffer to the file `sonnet' and quit:
  3752. -     w sonnet
  3753. -     183
  3754. -     # `ed' reports the number of characters written.
  3755. -     q
  3756. -     $ ls -l
  3757. -     total 2
  3758. -     -rw-rw-r--    1 alm           183 Nov 10 01:16 sonnet
  3759. -     $
  3760. -
  3761. -   Editing with `ed' is done in two distinct modes: "command" and
  3762. -"input".  When first invoked, `ed' is in command mode.  In this mode
  3763. -commands are read from the standard input and executed to manipulate
  3764. -the contents of the editor buffer.  When an input command, such as `a'
  3765. -(append), `i' (insert) or `c' (change), is given, `ed' enters input
  3766. -mode.  This is the primary means of adding text to a file.  In this
  3767. -mode, no commands are available; instead, the standard input is written
  3768. -directly to the editor buffer. A "line" consists of the text up to and
  3769. -including a newline character.  Input mode is terminated by entering a
  3770. -single period (`.') on a line.
  3771. -
  3772. -   In the next example, some typos are corrected in the file `sonnet'.
  3773. -
  3774. -     $ ed sonnet
  3775. -     183
  3776. -     # Begin by printing the buffer to the terminal with the `p' command.
  3777. -     # The `,' means ``all lines.''
  3778. -     ,p
  3779. -     No more be grieved at that which thou hast done.
  3780. -     Roses have thorns, and filvers foutians mud.
  3781. -     Clouds and eclipses stain both moon and sun,
  3782. -     And loathsome canker lives in sweetest bud.
  3783. -     # Select line 2 for editing.
  3784. -     2
  3785. -     Roses have thorns, and filvers foutians mud.
  3786. -     # Use the substitute command, `s', to replace `filvers' with `silver',
  3787. -     # and print the result.
  3788. -     s/filvers/silver/p
  3789. -     Roses have thorns, and silver foutians mud.
  3790. -     # And correct the spelling of `fountains'.
  3791. -     s/utia/untai/p
  3792. -     Roses have thorns, and silver fountains mud.
  3793. -     w sonnet
  3794. -     183
  3795. -     q
  3796. -     $
  3797. -
  3798. -   `ed' may be invoked with or without arguments *Note Invoking ed::.
  3799. -When invoked with a FILE argument, a copy of FILE is read into the
  3800. -editor's buffer.  Changes are made to this copy and not directly to
  3801. -FILE itself.  Upon quitting `ed', any changes not explicitly saved with
  3802. -a `w' command *Note Commands:: are lost.
  3803. -
  3804. -   Since `ed' is line-oriented, we have to tell it which line, or range
  3805. -of lines we want to edit.  In the above example, we do this by
  3806. -specifying the line's number, or sequence in the buffer.  Alternatively,
  3807. -we could have specified a unique string in the line, e.g., `/filvers/',
  3808. -where the `/'s delimit the string in question.  Subsequent commands
  3809. -affect only the selected line, a.k.a. the "current" line.  Portions of
  3810. -that line are then replaced with the substitute command, whose syntax is
  3811. -`s/OLD/NEW/'.
  3812. -
  3813. -   Although `ed' accepts only one command per line, the print command
  3814. -`p' is an exception, and may be appended to the end of most commands.
  3815. -
  3816. -   In the next example, a title is added to our sonnet.
  3817. -
  3818. -     $ ed sonnet
  3819. -     183
  3820. -     a
  3821. -      Sonnet #50
  3822. -     .
  3823. -     ,p
  3824. -     No more be grieved at that which thou hast done.
  3825. -     Roses have thorns, and silver fountains mud.
  3826. -     Clouds and eclipses stain both moon and sun,
  3827. -     And loathsome canker lives in sweetest bud.
  3828. -      Sonnet #50
  3829. -     # The title got appended to the end; we should have used `0a'
  3830. -     # to append ``before the first line.''
  3831. -     # Move the title to its proper place.
  3832. -     5m0p
  3833. -      Sonnet #50
  3834. -     # The title is now the first line, and the current line has been
  3835. -     # set to this line as well.
  3836. -     ,p
  3837. -      Sonnet #50
  3838. -     No more be grieved at that which thou hast done.
  3839. -     Roses have thorns, and silver fountains mud.
  3840. -     Clouds and eclipses stain both moon and sun,
  3841. -     And loathsome canker lives in sweetest bud.
  3842. -     wq sonnet
  3843. -     195
  3844. -     $
  3845. -
  3846. -   When `ed' opens a file, the current line is initially set to the last
  3847. -line of that file.   Similarly, the move command `m' sets the current
  3848. -line to the last line moved.
  3849. -
  3850. -   In summary: All `ed' commands operate on whole lines or ranges of
  3851. -lines; e.g., the `d' command deletes lines; the `m' command moves
  3852. -lines, and so on.  It is possible to modify only a portion of a line by
  3853. -means of replacement, as in the second example above.  However even
  3854. -there, the `s' command is applied to whole lines at a time.
  3855. -
  3856. -   Structurally, `ed' commands consist of zero or more line addresses,
  3857. -followed by a single character command and possibly additional
  3858. -parameters; i.e., commands have the structure:
  3859. -
  3860. -     [ADDRESS [,ADDRESS]]COMMAND[PARAMETERS]
  3861. -
  3862. -   The ADDRESS(es) indicate the line or range of lines to be affected
  3863. -by the command.  If fewer addresses are given than the command accepts,
  3864. -then default addresses are supplied.
  3865. -
  3866. -   Related programs or routines are `vi (1)', `sed (1)', `regex (3)',
  3867. -`sh (1)'.  Relevant documents are:
  3868. -
  3869. -     Unix User's Manual Supplementary Documents: 12 -- 13
  3870. -
  3871. -     B. W. Kernighan and P. J. Plauger: "Software Tools in Pascal",
  3872. -     Addison-Wesley, 1981.
  3873. -
  3874. -
  3875. -File: ed.info,  Node: Invoking ed,  Next: Line addressing,  Prev: Intro,  Up: Top
  3876. -
  3877. -Invoking GNU `ed'
  3878. -*****************
  3879. -
  3880. -     ed [-] [-Gs] [-p STRING] [FILE]
  3881. -     red [-] [-Gs] [-p STRING] [FILE]
  3882. -
  3883. -`-G'
  3884. -     Forces backwards compatibility.  This affects the behavior of the
  3885. -     `ed' commands `G', `V', `f', `l', `m', `t' and `!!'.  If the
  3886. -     default behavior of these commands does not seem familiar, then
  3887. -     try invoking `ed' with this switch.
  3888. -
  3889. -`-s'
  3890. -`-'
  3891. -     Suppresses diagnostics. This should be used if `ed''s standard
  3892. -     input is from a script.
  3893. -
  3894. -`-p STRING'
  3895. -     Specifies a command prompt.  This may be toggled on and off with
  3896. -     the `P' command.
  3897. -
  3898. -   FILE specifies the name of a file to read.  If FILE is prefixed with
  3899. -a bang (!), then it is interpreted as a shell command.  In this case,
  3900. -what is read is the standard output of FILE executed via `sh (1)'.  To
  3901. -read a file whose name begins with a bang, prefix the name with a
  3902. -backslash (`\').  The default filename is set to FILE only if it is not
  3903. -prefixed with a bang.
  3904. -
  3905. -
  3906. -File: ed.info,  Node: Line addressing,  Next: Regular expressions,  Prev: Invoking ed,  Up: Top
  3907. -
  3908. -Line addressing
  3909. -***************
  3910. -
  3911. -   An address represents the number of a line in the buffer.  `ed'
  3912. -maintains a "current address" which is typically supplied to commands
  3913. -as the default address when none is specified.  When a file is first
  3914. -read, the current address is set to the last line of the file.  In
  3915. -general, the current address is set to the last line affected by a
  3916. -command.
  3917. -
  3918. -   A line address is constructed from one of the bases in the list
  3919. -below, optionally followed by a numeric offset.  The offset may include
  3920. -any combination of digits, operators (i.e., `+', `-' and `^') and
  3921. -whitespace.  Addresses are read from left to right, and their values
  3922. -are computed relative to the current address.
  3923. -
  3924. -   One exception to the rule that addresses represent line numbers is
  3925. -the address `0' (zero).  This means "before the first line," and is
  3926. -legal wherever it makes sense.
  3927. -
  3928. -   An address range is two addresses separated either by a comma or
  3929. -semicolon. The value of the first address in a range cannot exceed the
  3930. -value of the the second.  If only one address is given in a range, then
  3931. -the second address is set to the given address.  If an N-tuple of
  3932. -addresses is given where N > 2, then the corresponding range is
  3933. -determined by the last two addresses in the N-tuple.  If only one
  3934. -address is expected, then the last address is used.
  3935. -
  3936. -   Each address in a comma-delimited range is interpreted relative to
  3937. -the current address.  In a semicolon-delimited range, the first address
  3938. -is used to set the current address, and the second address is
  3939. -interpreted relative to the first.
  3940. -
  3941. -   The following address symbols are recognized.
  3942. -
  3943. -`.'
  3944. -     The current line (address) in the buffer.
  3945. -
  3946. -`$'
  3947. -     The last line in the buffer.
  3948. -
  3949. -`N'
  3950. -     The Nth, line in the buffer where N is a number in the range `0,$'.
  3951. -
  3952. -`-'
  3953. -`^'
  3954. -     The previous line.  This is equivalent to `-1' and may be repeated
  3955. -     with cumulative effect.
  3956. -
  3957. -`-N'
  3958. -`^N'
  3959. -     The Nth previous line, where N is a non-negative number.
  3960. -
  3961. -`+'
  3962. -     The next line.  This is equivalent to `+1' and may be repeated with
  3963. -     cumulative effect.
  3964. -
  3965. -`+N'
  3966. -`WHITESPACE N'
  3967. -     The Nth next line, where N is a non-negative number.  Whitespace
  3968. -     followed by a number N is interpreted as `+N'.
  3969. -
  3970. -`,'
  3971. -`%'
  3972. -     The first through last lines in the buffer.  This is equivalent to
  3973. -     the address range `1,$'.
  3974. -
  3975. -`;'
  3976. -     The current through last lines in the buffer.  This is equivalent
  3977. -     to the address range `.,$'.
  3978. -
  3979. -`/RE/'
  3980. -     The next line containing the regular expression RE.  The search
  3981. -     wraps to the beginning of the buffer and continues down to the
  3982. -     current line, if necessary.  `//' repeats the last search.
  3983. -
  3984. -`?RE?'
  3985. -     The previous line containing the regular expression RE.  The
  3986. -     search wraps to the end of the buffer and continues up to the
  3987. -     current line, if necessary.  `??' repeats the last search.
  3988. -
  3989. -`'LC'
  3990. -     The line previously marked by a `k' (mark) command, where LC is a
  3991. -     lower case letter.
  3992. -
  3993. -
  3994. -File: ed.info,  Node: Regular expressions,  Next: Commands,  Prev: Line addressing,  Up: Top
  3995. -
  3996. -Regular expressions
  3997. -*******************
  3998. -
  3999. -   Regular expressions are patterns used in selecting text.  For
  4000. -example, the `ed' command
  4001. -
  4002. -     g/STRING/
  4003. -
  4004. -prints all lines containing STRING.  Regular expressions are also used
  4005. -by the `s' command for selecting old text to be replaced with new.
  4006. -
  4007. -   In addition to a specifying string literals, regular expressions can
  4008. -represent classes of strings.  Strings thus represented are said to be
  4009. -matched by the corresponding regular expression.  If it is possible for
  4010. -a regular expression to match several strings in a line, then the
  4011. -left-most longest match is the one selected.
  4012. -
  4013. -   The following symbols are used in constructing regular expressions:
  4014. -
  4015. -`C'
  4016. -     Any character C not listed below, including `{', `}', `(', `)',
  4017. -     `<' and `>', matches itself.
  4018. -
  4019. -`\C'
  4020. -     Any backslash-escaped character C, other than `{', ``}', `(', `)',
  4021. -     `<', `>', `b', `B', `w', `W', `+' and `?', matches itself.
  4022. -
  4023. -`.'
  4024. -     Matches any single character.
  4025. -
  4026. -`[CHAR-CLASS]'
  4027. -     Matches any single character in CHAR-CLASS.  To include a `]' in
  4028. -     CHAR-CLASS, it must be the first character.  A range of characters
  4029. -     may be specified by separating the end characters of the range
  4030. -     with a `-', e.g., `a-z' specifies the lower case characters.  The
  4031. -     following literal expressions can also be used in CHAR-CLASS to
  4032. -     specify sets of characters:
  4033. -
  4034. -          [:alnum:] [:cntrl:] [:lower:] [:space:]
  4035. -          [:alpha:] [:digit:] [:print:] [:upper:]
  4036. -          [:blank:] [:graph:] [:punct:] [:xdigit:]
  4037. -
  4038. -     If `-' appears as the first or last character of CHAR-CLASS, then
  4039. -     it matches itself.  All other characters in CHAR-CLASS match
  4040. -     themselves.
  4041. -
  4042. -     Patterns in CHAR-CLASS of the form:
  4043. -          [.COL-ELM.]
  4044. -          [=COL-ELM=]
  4045. -
  4046. -     where COL-ELM is a "collating element" are interpreted according
  4047. -     to `locale (5)' (not currently supported).  See `regex (3)' for an
  4048. -     explanation of these constructs.
  4049. -
  4050. -`[^CHAR-CLASS]'
  4051. -     Matches any single character, other than newline, not in
  4052. -     CHAR-CLASS.  CHAR-CLASS is defined as above.
  4053. -
  4054. -`^'
  4055. -     If `^' is the first character of a regular expression, then it
  4056. -     anchors the regular expression to the beginning of a line.
  4057. -     Otherwise, it matches itself.
  4058. -
  4059. -`$'
  4060. -     If `$' is the last character of a regular expression, it anchors
  4061. -     the regular expression to the end of a line.  Otherwise, it matches
  4062. -     itself.
  4063. -
  4064. -`\(RE\)'
  4065. -     Defines a (possibly null) subexpression RE.  Subexpressions may be
  4066. -     nested.  A subsequent backreference of the form `\N', where N is a
  4067. -     number in the range [1,9], expands to the text matched by the Nth
  4068. -     subexpression. For example, the regular expression `\(a.c\)\1'
  4069. -     matches the string `abcabc', but not `abcadc'.  Subexpressions are
  4070. -     ordered relative to their left delimiter.
  4071. -
  4072. -`*'
  4073. -     Matches the single character regular expression or subexpression
  4074. -     immediately preceding it zero or more times.  If `*' is the first
  4075. -     character of a regular expression or subexpression, then it matches
  4076. -     itself.  The `*' operator sometimes yields unexpected results.  For
  4077. -     example, the regular expression `b*' matches the beginning of the
  4078. -     string `abbb', as opposed to the substring `bbb', since a null
  4079. -     match is the only left-most match.
  4080. -
  4081. -`\{N,M\}'
  4082. -`\{N,\}'
  4083. -`\{N\}'
  4084. -     Matches the single character regular expression or subexpression
  4085. -     immediately preceding it at least N and at most M times.  If M is
  4086. -     omitted, then it matches at least N times.  If the comma is also
  4087. -     omitted, then it matches exactly N times.  If any of these forms
  4088. -     occurs first in a regular expression or subexpression, then it is
  4089. -     interpreted literally (i.e., the regular expression `\{2\}'
  4090. -     matches the string `{2}', and so on).
  4091. -
  4092. -`\<'
  4093. -`\>'
  4094. -     Anchors the single character regular expression or subexpression
  4095. -     immediately following it to the beginning (in the case of `\<') or
  4096. -     ending (in the case of `\>') of a "word", i.e., in ASCII, a
  4097. -     maximal string of alphanumeric characters, including the
  4098. -     underscore (_).
  4099. -
  4100. -   The following extended operators are preceded by a backslash `\' to
  4101. -distinguish them from traditional `ed' syntax.
  4102. -
  4103. -`\`'
  4104. -`\''
  4105. -     Unconditionally matches the beginning `\`' or ending `\'' of a
  4106. -     line.
  4107. -
  4108. -`\?'
  4109. -     Optionally matches the single character regular expression or
  4110. -     subexpression immediately preceding it.  For example, the regular
  4111. -     expression `a[bd]\?c' matches the strings `abc', `adc' and `ac'.
  4112. -     If `\?' occurs at the beginning of a regular expressions or
  4113. -     subexpression, then it matches a literal `?'.
  4114. -
  4115. -`\+'
  4116. -     Matches the single character regular expression or subexpression
  4117. -     immediately preceding it one or more times.  So the regular
  4118. -     expression `a+' is shorthand for `aa*'.  If `\+' occurs at the
  4119. -     beginning of a regular expression or subexpression, then it
  4120. -     matches a literal `+'.
  4121. -
  4122. -`\b'
  4123. -     Matches the beginning or ending (null string) of a word.  Thus the
  4124. -     regular expression `\bhello\b' is equivalent to `\<hello\>'.
  4125. -     However, `\b\b' is a valid regular expression whereas `\<\>' is
  4126. -     not.
  4127. -
  4128. -`\B'
  4129. -     Matches (a null string) inside a word.
  4130. -
  4131. -`\w'
  4132. -     Matches any character in a word.
  4133. -
  4134. -`\W'
  4135. -     Matches any character not in a word.
  4136. -
  4137. -
  4138. -File: ed.info,  Node: Commands,  Next: Limitations,  Prev: Regular expressions,  Up: Top
  4139. -
  4140. -Commands
  4141. -********
  4142. -
  4143. -   All `ed' commands are single characters, though some require
  4144. -additonal parameters.  If a command's parameters extend over several
  4145. -lines, then each line except for the last must be terminated with a
  4146. -backslash (`\').
  4147. -
  4148. -   In general, at most one command is allowed per line.  However, most
  4149. -commands accept a print suffix, which is any of `p' (print), `l'
  4150. -(list), or `n' (enumerate), to print the last line affected by the
  4151. -command.
  4152. -
  4153. -   An interrupt (typically ^C) has the effect of aborting the current
  4154. -command and returning the editor to command mode.
  4155. -
  4156. -   `ed' recognizes the following commands.  The commands are shown
  4157. -together with the default address or address range supplied if none is
  4158. -specified (in parenthesis).
  4159. -
  4160. -`(.)a'
  4161. -     Appends text to the buffer after the addressed line, which may be
  4162. -     the address `0' (zero).  Text is entered in input mode.  The
  4163. -     current address is set to last line entered.
  4164. -
  4165. -`(.,.)c'
  4166. -     Changes lines in the buffer.  The addressed lines are deleted from
  4167. -     the buffer, and text is appended in their place.  Text is entered
  4168. -     in input mode.  The current address is set to last line entered.
  4169. -
  4170. -`(.,.)d'
  4171. -     Deletes the addressed lines from the buffer.  If there is a line
  4172. -     after the deleted range, then the current address is set to this
  4173. -     line.  Otherwise the current address is set to the line before the
  4174. -     deleted range.
  4175. -
  4176. -`e FILE'
  4177. -     Edits FILE, and sets the default filename.  If FILE is not
  4178. -     specified, then the default filename is used.  Any lines in the
  4179. -     buffer are deleted before the new file is read.  The current
  4180. -     address is set to the last line read.
  4181. -
  4182. -`e !COMMAND'
  4183. -     Edits the standard output of `!COMMAND', (see the `!' command
  4184. -     below).  The default filename is unchanged.  Any lines in the
  4185. -     buffer are deleted before the output of COMMAND is read.  The
  4186. -     current address is set to the last line read.
  4187. -
  4188. -`E FILE'
  4189. -     Edits FILE unconditionally.  This is similar to the `e' command,
  4190. -     except that unwritten changes are discarded without warning.  The
  4191. -     current address is set to the last line read.
  4192. -
  4193. -`f FILE'
  4194. -     Sets the default filename to FILE.  If FILE is not specified, then
  4195. -     the default unescaped filename is printed.
  4196. -
  4197. -`(1,$)g /RE/COMMAND-LIST'
  4198. -     Applies COMMAND-LIST to each of the addressed lines matching a
  4199. -     regular expression RE.  The current address is set to the line
  4200. -     currently matched before COMMAND-LIST is executed.  At the end of
  4201. -     the `g' command, the current address is set to the last line
  4202. -     affected by COMMAND-LIST.
  4203. -
  4204. -     Each command in COMMAND-LIST must be on a separate line, and every
  4205. -     line except for the last must be terminated by a backslash (`\').
  4206. -     Any commands are allowed, except for `g', `G', `v', and `V'.  By
  4207. -     default, a newline alone in COMMAND-LIST is equivalent to a `p'
  4208. -     command.  If `ed' is invoked with the command-line option `-G',
  4209. -     then a newline in COMMAND-LIST is equivalent to a `.+1p' command.
  4210. -
  4211. -`(1,$)G /RE/'
  4212. -     Interactively edits the addressed lines matching a regular
  4213. -     expression RE.  For each matching line, the line is printed, the
  4214. -     current address is set, and the user is prompted to enter a
  4215. -     COMMAND-LIST.  At the end of the `G' command, the current address
  4216. -     is set to the last line affected by (the last) COMMAND-LIST.
  4217. -
  4218. -     The format of COMMAND-LIST is the same as that of the `g' command.
  4219. -     A newline alone acts as a null command list.  A single `&'
  4220. -     repeats the last non-null command list.
  4221. -
  4222. -`H'
  4223. -     Toggles the printing of error explanations.  By default,
  4224. -     explanations are not printed.  It is recommended that ed scripts
  4225. -     begin with this command to aid in debugging.
  4226. -
  4227. -`h'
  4228. -     Prints an explanation of the last error.
  4229. -
  4230. -`(.)i'
  4231. -     Inserts text in the buffer before the current line.  Text is
  4232. -     entered in input mode.  The current address is set to the last
  4233. -     line entered.
  4234. -
  4235. -`(.,.+1)j'
  4236. -     Joins the addressed lines.  The addressed lines are deleted from
  4237. -     the buffer and replaced by a single line containing their joined
  4238. -     text.  The current address is set to the resultant line.
  4239. -
  4240. -`(.)k LC'
  4241. -     Marks a line with a lower case letter LC.  The line can then be
  4242. -     addressed as `'LC' (i.e., a single quote followed by LC) in
  4243. -     subsequent commands.  The mark is not cleared until the line is
  4244. -     deleted or otherwise modified.
  4245. -
  4246. -`(.,.)l'
  4247. -     Prints the addressed lines unambiguously.  If invoked from a
  4248. -     terminal, `ed' pauses at the end of each page until a newline is
  4249. -     entered.  The current address is set to the last line printed.
  4250. -
  4251. -`(.,.)m(.)'
  4252. -     Moves lines in the buffer.  The addressed lines are moved to after
  4253. -     the right-hand destination address, which may be the address `0'
  4254. -     (zero).  The current address is set to the last line moved.
  4255. -
  4256. -`(.,.)n'
  4257. -     Prints the addressed lines along with their line numbers.  The
  4258. -     current address is set to the last line printed.
  4259. -
  4260. -`(.,.)p'
  4261. -     Prints the addressed lines.  If invoked from a terminal, `ed'
  4262. -     pauses at the end of each page until a newline is entered.  The
  4263. -     current address is set to the last line printed.
  4264. -
  4265. -`P'
  4266. -     Toggles the command prompt on and off.  Unless a prompt is
  4267. -     specified with command-line option `-p STRING', the command prompt
  4268. -     is by default turned off.
  4269. -
  4270. -`q'
  4271. -     Quits `ed'.
  4272. -
  4273. -`Q'
  4274. -     Quits `ed' unconditionally.  This is similar to the `q' command,
  4275. -     except that unwritten changes are discarded without warning.
  4276. -
  4277. -`($)r FILE'
  4278. -     Reads FILE to after the addressed line.  If FILE is not specified,
  4279. -     then the default filename is used.  If there is no default
  4280. -     filename prior to the command, then the default filename is set to
  4281. -     FILE.  Otherwise, the default filename is unchanged.  The current
  4282. -     address is set to the last line read.
  4283. -
  4284. -`($)r !COMMAND'
  4285. -     Reads to after the addressed line the standard output of
  4286. -     `!command', (see the `!' command below).  The default filename is
  4287. -     unchanged.  The current address is set to the last line read.
  4288. -
  4289. -`(.,.)s /RE/REPLACEMENT/'
  4290. -`(.,.)s /RE/REPLACEMENT/g'
  4291. -`(.,.)s /RE/REPLACEMENT/n'
  4292. -     Replaces text in the addressed lines matching a regular expression
  4293. -     RE with REPLACEMENT.  By default, only the first match in each
  4294. -     line is replaced.  If the `g' (global) suffix is given, then every
  4295. -     match to be replaced.  The `n' suffix, where N is a postive
  4296. -     number, causes only the Nth match to be replaced.  It is an error
  4297. -     if no substitutions are performed on any of the addressed lines.
  4298. -     The current address is set the last line affected.
  4299. -
  4300. -     RE and REPLACEMENT may be delimited by any character other than
  4301. -     space and newline (see the `s' command below).  If one or two of
  4302. -     the last delimiters is omitted, then the last line affected is
  4303. -     printed as though the print suffix `p' were specified.
  4304. -
  4305. -     An unescaped `&' in REPLACEMENT is replaced by the currently
  4306. -     matched text.  The character sequence `\M' where M is a number in
  4307. -     the range [1,9], is replaced by the Mth backreference expression
  4308. -     of the matched text.  If REPLACEMENT consists of a single `%',
  4309. -     then REPLACEMENT from the last substitution is used.  Newlines may
  4310. -     be embedded in REPLACEMENT if they are escaped with a backslash
  4311. -     (`\').
  4312. -
  4313. -`(.,.)s'
  4314. -     Repeats the last substitution.  This form of the `s' command
  4315. -     accepts a count suffix N, or any combination of the characters
  4316. -     `r', `g', and `p'.  If a count suffix N is given, then only the
  4317. -     Nth match is replaced.  The `r' suffix causes the regular
  4318. -     expression of the last search to be used instead of the that of
  4319. -     the last substitution.  The `g' suffix toggles the global suffix
  4320. -     of the last substitution.  The `p' suffix toggles the print suffix
  4321. -     of the last substitution The current address is set to the last
  4322. -     line affected.
  4323. -
  4324. -`(.,.)t(.)'
  4325. -     Copies (i.e., transfers) the addressed lines to after the
  4326. -     right-hand destination address, which may be the address `0'
  4327. -     (zero).  The current address is set to the last line copied.
  4328. -
  4329. -`u'
  4330. -     Undoes the last command and restores the current address to what
  4331. -     it was before the command.  The global commands `g', `G', `v', and
  4332. -     `V' are treated as a single command by undo.  `u' is its own
  4333. -     inverse.
  4334. -
  4335. -`(1,$)v /RE/COMMAND-LIST'
  4336. -     Applies COMMAND-LIST to each of the addressed lines not matching a
  4337. -     regular expression RE.  This is similar to the `g' command.
  4338. -
  4339. -`(1,$)V /RE/'
  4340. -     Interactively edits the addressed lines not matching a regular
  4341. -     expression RE.  This is similar to the `G' command.
  4342. -
  4343. -`(1,$)w FILE'
  4344. -     Writes the addressed lines to FILE.  Any previous contents of FILE
  4345. -     is lost without warning.  If there is no default filename, then
  4346. -     the default filename is set to FILE, otherwise it is unchanged.
  4347. -     If no filename is specified, then the default filename is used.
  4348. -     The current address is unchanged.
  4349. -
  4350. -`(1,$)wq FILE'
  4351. -     Writes the addressed lines to FILE, and then executes a `q'
  4352. -     command.
  4353. -
  4354. -`(1,$)w !COMMAND'
  4355. -     Writes the addressed lines to the standard input of `!COMMAND',
  4356. -     (see the `!' command below).  The default filename and current
  4357. -     address are unchanged.
  4358. -
  4359. -`(1,$)W FILE'
  4360. -     Appends the addressed lines to the end of FILE.  This is similar
  4361. -     to the `w' command, expect that the previous contents of file is
  4362. -     not clobbered.  The current address is unchanged.
  4363. -
  4364. -`(.)x'
  4365. -     Copies (puts) the contents of the cut buffer to after the
  4366. -     addressed line.  The current address is set to the last line
  4367. -     copied.
  4368. -
  4369. -`(.,.)y'
  4370. -     Copies (yanks) the addressed lines to the cut buffer.  The cut
  4371. -     buffer is overwritten by subsequent `y', `s', `j', `d', or `c'
  4372. -     commands.  The current address is unchanged.
  4373. -
  4374. -`(.+1)z N'
  4375. -     Scrolls N lines at a time starting at addressed line.  If N is not
  4376. -     specified, then the current window size is used.  The current
  4377. -     address is set to the last line printed.
  4378. -
  4379. -`! COMMAND'
  4380. -     Executes COMMAND via `sh (1)'.  If the first character of COMMAND
  4381. -     is `!', then it is replaced by text of the previous `!COMMAND'.
  4382. -     `ed' does not process COMMAND for backslash (`\') escapes.
  4383. -     However, an unescaped `%' is replaced by the default filename.
  4384. -     When the shell returns from execution, a `!' is printed to the
  4385. -     standard output.  The current line is unchanged.
  4386. -
  4387. -`(.,.)#'
  4388. -     Begins a comment;  the rest of the line, up to a newline, is
  4389. -     ignored.  If a line address followed by a semicolon is given, then
  4390. -     the current address is set to that address.  Otherwise, the
  4391. -     current address is unchanged.
  4392. -
  4393. -`($)='
  4394. -     Prints the line number of the addressed line.
  4395. -
  4396. -`(.+1)newline'
  4397. -     Prints the addressed line, and sets the current address to that
  4398. -     line.
  4399. -
  4400. -
  4401. -File: ed.info,  Node: Limitations,  Next: Diagnostics,  Prev: Commands,  Up: Top
  4402. -
  4403. -Limitations
  4404. -***********
  4405. -
  4406. -   The buffer files are kept in `/tmp/ed.*'.  If the terminal hangs up,
  4407. -`ed' attempts to write the buffer to file `ed.hup'.
  4408. -
  4409. -   `ed' processes FILE arguments for backslash escapes, i.e., in a
  4410. -filename, any characters preceded by a backslash (`\') are interpreted
  4411. -literally.
  4412. -
  4413. -   If a text (non-binary) file is not terminated by a newline character,
  4414. -then `ed' appends one on reading/writing it.  In the case of a binary
  4415. -file, `ed' does not append a newline on reading/writing.
  4416. -
  4417. -   Per line overhead: 4 `int's.
  4418. -
  4419. -
  4420. -File: ed.info,  Node: Diagnostics,  Prev: Limitations,  Up: Top
  4421. -
  4422. -Diagnostics
  4423. -***********
  4424. -
  4425. -   When an error occurs, if `ed''s input is from a regular file or here
  4426. -document, then it exits, otherwise it prints a `?' and returns to
  4427. -command mode.  An explanation of the last error can be printed with the
  4428. -`h' (help) command.
  4429. -
  4430. -If the `u' (undo) command occurs in a global command list, then the
  4431. -command list is executed only once.
  4432. -
  4433. -   Attempting to quit `ed' or edit another file before writing a
  4434. -modified buffer results in an error.  If the command is entered a
  4435. -second time, it succeeds, but any changes to the buffer are lost.
  4436. -
  4437. -   `ed' exits with 0 if no errors occurred; otherwise >0.
  4438. -
  4439. -
  4440. -
  4441. -Tag Table:
  4442. -Node: Top894
  4443. -Node: Intro1524
  4444. -Node: Invoking ed7497
  4445. -Node: Line addressing8534
  4446. -Node: Regular expressions11590
  4447. -Node: Commands16976
  4448. -Node: Limitations27862
  4449. -Node: Diagnostics28480
  4450. -
  4451. -End Tag Table
  4452. diff -rup --new-file baseline/fsf/ed/ed.texinfo amiga/fsf/ed/ed.texinfo
  4453. --- baseline/fsf/ed/ed.texinfo    Sat Nov 19 05:38:01 1994
  4454. +++ amiga/fsf/ed/ed.texinfo    Sat Sep 28 00:00:00 1996
  4455. @@ -160,7 +160,7 @@ $
  4456.  invoked with a @var{file} argument, a copy of @var{file} is read into
  4457.  the editor's buffer.  Changes are made to this copy and not directly to
  4458.  @var{file} itself.  Upon quitting @code{ed}, any changes not explicitly
  4459. -saved with a @samp{w} command @xref{Commands} are lost.
  4460. +saved with a @samp{w} command @xref{Commands}, are lost.
  4461.  
  4462.  Since @code{ed} is line-oriented, we have to tell it which line, or
  4463.  range of lines we want to edit.  In the above example, we do this by
  4464. diff -rup --new-file baseline/fsf/ed/main.c amiga/fsf/ed/main.c
  4465. --- baseline/fsf/ed/main.c    Sat Nov 19 05:38:02 1994
  4466. +++ amiga/fsf/ed/main.c    Sat Sep 28 00:00:00 1996
  4467. @@ -54,11 +54,11 @@ static char *rcsid = "@(#)$Id: main.c,v 
  4468.  
  4469.  #include <ctype.h>
  4470.  #include <setjmp.h>
  4471. +#include <sys/types.h>    /* Some systems need it before <pwd.h> */
  4472.  #include <pwd.h>
  4473.  #ifdef HAVE_UNISTD_H
  4474.  #include <unistd.h>
  4475.  #endif
  4476. -#include <sys/types.h>
  4477.  #include <sys/stat.h>
  4478.  #ifdef HAVE_LOCALE_H
  4479.  #include <locale.h>
  4480. @@ -205,7 +205,7 @@ top:
  4481.        argv++;
  4482.        argc--;
  4483.      }
  4484. -#if HAVE_LOCALE_H
  4485. +#if defined (HAVE_LOCALE_H) && defined (HAVE_SETLOCALE)
  4486.    setlocale(LC_CTYPE, "");
  4487.  #endif
  4488.    init_buffers ();
  4489. diff -rup --new-file baseline/fsf/ed/manifests/bin amiga/fsf/ed/manifests/bin
  4490. --- baseline/fsf/ed/manifests/bin    Wed Dec 31 17:00:00 1969
  4491. +++ amiga/fsf/ed/manifests/bin    Sat Sep 28 00:00:00 1996
  4492. @@ -0,0 +1,8 @@
  4493. +COPYING
  4494. +COPYING.info
  4495. +bin/ed
  4496. +bin/red
  4497. +guide/ed.guide
  4498. +info/ed.info
  4499. +man/man1/ed.1
  4500. +man/man1/red.1
  4501. diff -rup --new-file baseline/fsf/ed/manifests/src amiga/fsf/ed/manifests/src
  4502. --- baseline/fsf/ed/manifests/src    Wed Dec 31 17:00:00 1969
  4503. +++ amiga/fsf/ed/manifests/src    Sat Sep 28 00:00:00 1996
  4504. @@ -0,0 +1,257 @@
  4505. +fsf/ed/BeOS.diffs
  4506. +fsf/ed/COPYING
  4507. +fsf/ed/ChangeLog
  4508. +fsf/ed/INSTALL
  4509. +fsf/ed/Makefile.in
  4510. +fsf/ed/NEWS
  4511. +fsf/ed/POSIX
  4512. +fsf/ed/Product-Info
  4513. +fsf/ed/README
  4514. +fsf/ed/THANKS
  4515. +fsf/ed/TODO
  4516. +fsf/ed/alloca.c
  4517. +fsf/ed/buf.c
  4518. +fsf/ed/config.h.in
  4519. +fsf/ed/config.guess
  4520. +fsf/ed/config.sub
  4521. +fsf/ed/configure
  4522. +fsf/ed/configure.in
  4523. +fsf/ed/ed.1
  4524. +fsf/ed/ed.h
  4525. +fsf/ed/ed.texinfo
  4526. +fsf/ed/error.c
  4527. +fsf/ed/getopt.c
  4528. +fsf/ed/getopt.h
  4529. +fsf/ed/getopt1.c
  4530. +fsf/ed/glbl.c
  4531. +fsf/ed/install.sh
  4532. +fsf/ed/io.c
  4533. +fsf/ed/main.c
  4534. +fsf/ed/manifests/bin
  4535. +fsf/ed/manifests/src
  4536. +fsf/ed/mkinstalldirs
  4537. +fsf/ed/pathmax.h
  4538. +fsf/ed/re.c
  4539. +fsf/ed/regex.c
  4540. +fsf/ed/regex.h
  4541. +fsf/ed/signal.c
  4542. +fsf/ed/stamp-h.in
  4543. +fsf/ed/sub.c
  4544. +fsf/ed/testsuite/=.err.posix
  4545. +fsf/ed/testsuite/Makefile
  4546. +fsf/ed/testsuite/README
  4547. +fsf/ed/testsuite/TODO
  4548. +fsf/ed/testsuite/a.d
  4549. +fsf/ed/testsuite/a.r
  4550. +fsf/ed/testsuite/a.t
  4551. +fsf/ed/testsuite/a1.err.posix
  4552. +fsf/ed/testsuite/a2.err
  4553. +fsf/ed/testsuite/a2.rr
  4554. +fsf/ed/testsuite/addr.d
  4555. +fsf/ed/testsuite/addr.r
  4556. +fsf/ed/testsuite/addr.t
  4557. +fsf/ed/testsuite/addr1.err
  4558. +fsf/ed/testsuite/addr1.rr
  4559. +fsf/ed/testsuite/addr2.err
  4560. +fsf/ed/testsuite/addr2.rr
  4561. +fsf/ed/testsuite/ascii.d
  4562. +fsf/ed/testsuite/ascii.r
  4563. +fsf/ed/testsuite/ascii.t
  4564. +fsf/ed/testsuite/bang1.d
  4565. +fsf/ed/testsuite/bang1.err
  4566. +fsf/ed/testsuite/bang1.r
  4567. +fsf/ed/testsuite/bang1.rr
  4568. +fsf/ed/testsuite/bang1.t
  4569. +fsf/ed/testsuite/bang2.err
  4570. +fsf/ed/testsuite/bang2.rr
  4571. +fsf/ed/testsuite/c.d
  4572. +fsf/ed/testsuite/c.r
  4573. +fsf/ed/testsuite/c.t
  4574. +fsf/ed/testsuite/c1.err
  4575. +fsf/ed/testsuite/c1.rr
  4576. +fsf/ed/testsuite/c2.err
  4577. +fsf/ed/testsuite/c2.rr
  4578. +fsf/ed/testsuite/ckscripts.sh
  4579. +fsf/ed/testsuite/comment.d
  4580. +fsf/ed/testsuite/comment.r
  4581. +fsf/ed/testsuite/comment.t
  4582. +fsf/ed/testsuite/d.d
  4583. +fsf/ed/testsuite/d.err
  4584. +fsf/ed/testsuite/d.r
  4585. +fsf/ed/testsuite/d.rr
  4586. +fsf/ed/testsuite/d.t
  4587. +fsf/ed/testsuite/e1.d
  4588. +fsf/ed/testsuite/e1.err
  4589. +fsf/ed/testsuite/e1.r
  4590. +fsf/ed/testsuite/e1.rr
  4591. +fsf/ed/testsuite/e1.t
  4592. +fsf/ed/testsuite/e2.d
  4593. +fsf/ed/testsuite/e2.err
  4594. +fsf/ed/testsuite/e2.r
  4595. +fsf/ed/testsuite/e2.rr
  4596. +fsf/ed/testsuite/e2.t
  4597. +fsf/ed/testsuite/e3.d
  4598. +fsf/ed/testsuite/e3.err
  4599. +fsf/ed/testsuite/e3.r
  4600. +fsf/ed/testsuite/e3.rr
  4601. +fsf/ed/testsuite/e3.t
  4602. +fsf/ed/testsuite/e4.d
  4603. +fsf/ed/testsuite/e4.r
  4604. +fsf/ed/testsuite/e4.t
  4605. +fsf/ed/testsuite/f1.err
  4606. +fsf/ed/testsuite/f1.rr
  4607. +fsf/ed/testsuite/f2.err
  4608. +fsf/ed/testsuite/f2.rr
  4609. +fsf/ed/testsuite/g1.d
  4610. +fsf/ed/testsuite/g1.err
  4611. +fsf/ed/testsuite/g1.r
  4612. +fsf/ed/testsuite/g1.rr
  4613. +fsf/ed/testsuite/g1.t
  4614. +fsf/ed/testsuite/g2.d
  4615. +fsf/ed/testsuite/g2.err
  4616. +fsf/ed/testsuite/g2.r
  4617. +fsf/ed/testsuite/g2.rr
  4618. +fsf/ed/testsuite/g2.t
  4619. +fsf/ed/testsuite/g3.d
  4620. +fsf/ed/testsuite/g3.err
  4621. +fsf/ed/testsuite/g3.r
  4622. +fsf/ed/testsuite/g3.rr
  4623. +fsf/ed/testsuite/g3.t
  4624. +fsf/ed/testsuite/g4.d
  4625. +fsf/ed/testsuite/g4.r
  4626. +fsf/ed/testsuite/g4.t
  4627. +fsf/ed/testsuite/g5.d
  4628. +fsf/ed/testsuite/g5.r
  4629. +fsf/ed/testsuite/g5.t
  4630. +fsf/ed/testsuite/h.err
  4631. +fsf/ed/testsuite/h.rr
  4632. +fsf/ed/testsuite/i.d
  4633. +fsf/ed/testsuite/i.r
  4634. +fsf/ed/testsuite/i.t
  4635. +fsf/ed/testsuite/i1.err.posix
  4636. +fsf/ed/testsuite/i2.err
  4637. +fsf/ed/testsuite/i2.rr
  4638. +fsf/ed/testsuite/i3.err
  4639. +fsf/ed/testsuite/i3.rr
  4640. +fsf/ed/testsuite/j.d
  4641. +fsf/ed/testsuite/j.r
  4642. +fsf/ed/testsuite/j.t
  4643. +fsf/ed/testsuite/k.d
  4644. +fsf/ed/testsuite/k.r
  4645. +fsf/ed/testsuite/k.t
  4646. +fsf/ed/testsuite/k1.err.posix
  4647. +fsf/ed/testsuite/k2.err
  4648. +fsf/ed/testsuite/k2.rr
  4649. +fsf/ed/testsuite/k3.err
  4650. +fsf/ed/testsuite/k3.rr
  4651. +fsf/ed/testsuite/k4.err
  4652. +fsf/ed/testsuite/k4.rr
  4653. +fsf/ed/testsuite/l.d
  4654. +fsf/ed/testsuite/l.r
  4655. +fsf/ed/testsuite/l.t
  4656. +fsf/ed/testsuite/m.d
  4657. +fsf/ed/testsuite/m.err
  4658. +fsf/ed/testsuite/m.r
  4659. +fsf/ed/testsuite/m.rr
  4660. +fsf/ed/testsuite/m.t
  4661. +fsf/ed/testsuite/mkscripts.sh
  4662. +fsf/ed/testsuite/n.d
  4663. +fsf/ed/testsuite/n.r
  4664. +fsf/ed/testsuite/n.t
  4665. +fsf/ed/testsuite/nl.err
  4666. +fsf/ed/testsuite/nl.rr
  4667. +fsf/ed/testsuite/nl1.d
  4668. +fsf/ed/testsuite/nl1.r
  4669. +fsf/ed/testsuite/nl1.t
  4670. +fsf/ed/testsuite/nl2.d
  4671. +fsf/ed/testsuite/nl2.r
  4672. +fsf/ed/testsuite/nl2.t
  4673. +fsf/ed/testsuite/p.d
  4674. +fsf/ed/testsuite/p.r
  4675. +fsf/ed/testsuite/p.t
  4676. +fsf/ed/testsuite/q.d
  4677. +fsf/ed/testsuite/q.r
  4678. +fsf/ed/testsuite/q.t
  4679. +fsf/ed/testsuite/q1.err
  4680. +fsf/ed/testsuite/q1.rr
  4681. +fsf/ed/testsuite/r1.d
  4682. +fsf/ed/testsuite/r1.err.posix
  4683. +fsf/ed/testsuite/r1.r
  4684. +fsf/ed/testsuite/r1.t
  4685. +fsf/ed/testsuite/r2.d
  4686. +fsf/ed/testsuite/r2.err
  4687. +fsf/ed/testsuite/r2.r
  4688. +fsf/ed/testsuite/r2.rr
  4689. +fsf/ed/testsuite/r2.t
  4690. +fsf/ed/testsuite/r3.d
  4691. +fsf/ed/testsuite/r3.r
  4692. +fsf/ed/testsuite/r3.t
  4693. +fsf/ed/testsuite/s1.d
  4694. +fsf/ed/testsuite/s1.err
  4695. +fsf/ed/testsuite/s1.r
  4696. +fsf/ed/testsuite/s1.rr
  4697. +fsf/ed/testsuite/s1.t
  4698. +fsf/ed/testsuite/s10.err
  4699. +fsf/ed/testsuite/s10.rr
  4700. +fsf/ed/testsuite/s2.d
  4701. +fsf/ed/testsuite/s2.err
  4702. +fsf/ed/testsuite/s2.r
  4703. +fsf/ed/testsuite/s2.rr
  4704. +fsf/ed/testsuite/s2.t
  4705. +fsf/ed/testsuite/s3.d
  4706. +fsf/ed/testsuite/s3.err
  4707. +fsf/ed/testsuite/s3.r
  4708. +fsf/ed/testsuite/s3.rr
  4709. +fsf/ed/testsuite/s3.t
  4710. +fsf/ed/testsuite/s4.err
  4711. +fsf/ed/testsuite/s4.rr
  4712. +fsf/ed/testsuite/s5.err
  4713. +fsf/ed/testsuite/s5.rr
  4714. +fsf/ed/testsuite/s6.err
  4715. +fsf/ed/testsuite/s6.rr
  4716. +fsf/ed/testsuite/s7.err
  4717. +fsf/ed/testsuite/s7.rr
  4718. +fsf/ed/testsuite/s8.err
  4719. +fsf/ed/testsuite/s8.rr
  4720. +fsf/ed/testsuite/s9.err
  4721. +fsf/ed/testsuite/s9.rr
  4722. +fsf/ed/testsuite/t.d
  4723. +fsf/ed/testsuite/t.r
  4724. +fsf/ed/testsuite/t1.d
  4725. +fsf/ed/testsuite/t1.err
  4726. +fsf/ed/testsuite/t1.r
  4727. +fsf/ed/testsuite/t1.rr
  4728. +fsf/ed/testsuite/t1.t
  4729. +fsf/ed/testsuite/t2.d
  4730. +fsf/ed/testsuite/t2.err
  4731. +fsf/ed/testsuite/t2.r
  4732. +fsf/ed/testsuite/t2.rr
  4733. +fsf/ed/testsuite/t2.t
  4734. +fsf/ed/testsuite/u.d
  4735. +fsf/ed/testsuite/u.err
  4736. +fsf/ed/testsuite/u.r
  4737. +fsf/ed/testsuite/u.rr
  4738. +fsf/ed/testsuite/u.t
  4739. +fsf/ed/testsuite/v.d
  4740. +fsf/ed/testsuite/v.r
  4741. +fsf/ed/testsuite/v.t
  4742. +fsf/ed/testsuite/w.d
  4743. +fsf/ed/testsuite/w.r
  4744. +fsf/ed/testsuite/w.t
  4745. +fsf/ed/testsuite/w1.err
  4746. +fsf/ed/testsuite/w1.rr
  4747. +fsf/ed/testsuite/w2.err
  4748. +fsf/ed/testsuite/w2.rr
  4749. +fsf/ed/testsuite/w3.err
  4750. +fsf/ed/testsuite/w3.rr
  4751. +fsf/ed/testsuite/x.d
  4752. +fsf/ed/testsuite/x.err
  4753. +fsf/ed/testsuite/x.r
  4754. +fsf/ed/testsuite/x.rr
  4755. +fsf/ed/testsuite/x.t
  4756. +fsf/ed/testsuite/z.err
  4757. +fsf/ed/testsuite/z.rr
  4758. +fsf/ed/texinfo.tex
  4759. +fsf/ed/undo.c
  4760. +fsf/ed/version.c
  4761. +fsf/ed/xmalloc.c
  4762.