home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / kaffe-0.5p4-diffs.gz / kaffe-0.5p4-diffs
Text File  |  1996-10-13  |  76KB  |  2,130 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/contrib/kaffe/ChangeLog amiga/contrib/kaffe/ChangeLog
  12. --- baseline/contrib/kaffe/ChangeLog    Wed Sep  4 14:50:26 1996
  13. +++ amiga/contrib/kaffe/ChangeLog    Sat Sep 28 00:00:00 1996
  14. @@ -68,7 +68,7 @@ Fri Aug 16 14:21:29 BST 1996    Tim Wilkins
  15.  Fri Aug 16 13:30:33 BST 1996    Tim Wilkinson    <tim@sarc.city.ac.uk>
  16.  
  17.      * config/..., kaffevm/...
  18. -      Merged in diffs for Amiga DOS.
  19. +      Merged in diffs for AmigaOS.
  20.        Thanks to Matthias Hopf <hupfeld@freudenstadt.netsurf.de>
  21.  
  22.      * kaffevm/thread.c
  23. diff -rup --new-file baseline/contrib/kaffe/NOTES/POST amiga/contrib/kaffe/NOTES/POST
  24. --- baseline/contrib/kaffe/NOTES/POST    Fri Aug 30 16:02:40 1996
  25. +++ amiga/contrib/kaffe/NOTES/POST    Sat Sep 28 00:00:00 1996
  26. @@ -25,7 +25,7 @@ This version of Kaffe will run on the fo
  27.            "     NetBSD 1.x              (interp)
  28.            "     NeXTStep 3              (interp)
  29.          PowerPC MkLinux                 (interp)
  30. -    M68k    Amiga DOS        (interp)
  31. +    M68k    AmigaOS            (interp)
  32.  
  33.  I encourage people to make ports to other platforms and to feed them back
  34.  to me.  I would recommend that initial ports concentrate on the interpreter.
  35. diff -rup --new-file baseline/contrib/kaffe/NOTES/PUBLICITY amiga/contrib/kaffe/NOTES/PUBLICITY
  36. --- baseline/contrib/kaffe/NOTES/PUBLICITY    Fri Aug 16 02:44:46 1996
  37. +++ amiga/contrib/kaffe/NOTES/PUBLICITY    Sat Sep 28 00:00:00 1996
  38. @@ -21,7 +21,7 @@ Pentium processors (and similar), Sun's 
  39.  68K.  At the time of writing, only the Intel systems supports just-in-time
  40.  compilation.  There are also plans to produce MIPS.  Various operating
  41.  sytems are supported on the current systems, including Solaris, Linux
  42. -Window '95 and Amiga DOS.
  43. +Window '95 and AmigaOS.
  44.  
  45.  Kaffe and the Jolt Project
  46.  ==========================
  47. diff -rup --new-file baseline/contrib/kaffe/Product-Info amiga/contrib/kaffe/Product-Info
  48. --- baseline/contrib/kaffe/Product-Info    Wed Dec 31 17:00:00 1969
  49. +++ amiga/contrib/kaffe/Product-Info    Sat Sep 28 00:00:00 1996
  50. @@ -0,0 +1,29 @@
  51. +.name
  52. +kaffe
  53. +.fullname
  54. +Java bytecode virtual machine
  55. +.type
  56. +Programmer Tool
  57. +.short
  58. +Virtual machine to execute java bytecode
  59. +.description
  60. +This is Kaffe, a virtual machine design to execute Java bytecode.
  61. +This machine can be configured in two modes.  In one mode it operates as
  62. +a pure bytecode interpreter (not unlike Javasoft's machine); in the second
  63. +mode if performs "just-in-time" code conversion from the abstract code to
  64. +the host machine's native code.  This will ultimately allow execution of
  65. +Java code at the same speed as standard compiled code but while maintaining
  66. +the advantages and flexibility of code independence.
  67. +.version
  68. +0.5p4
  69. +.author
  70. +Tim Wilkinson
  71. +.distribution
  72. +Freely Distributable
  73. +.email
  74. +<tim@sarc.city.ac.uk>
  75. +.described-by
  76. +Fred Fish (fnf@ninemoons.com)
  77. +.submittal
  78. +Submitted by Matthias Hopf
  79. +Primary ftp site is ftp://ftp.sarc.city.ac.uk/pub/kaffe
  80. diff -rup --new-file baseline/contrib/kaffe/README amiga/contrib/kaffe/README
  81. --- baseline/contrib/kaffe/README    Thu Sep  5 00:53:02 1996
  82. +++ amiga/contrib/kaffe/README    Sat Sep 28 00:00:00 1996
  83. @@ -12,7 +12,7 @@ the advantages and flexibility of code i
  84.  What's new
  85.  ==========
  86.  
  87. - * Added port for m68k Amiga DOS.
  88. + * Added port for m68k AmigaOS.
  89.  
  90.   * Improved (hopefully) Windows'95 port.
  91.  
  92. @@ -37,7 +37,7 @@ This version of Kaffe will run on the fo
  93.        "    NetBSD 1.x        (interp)
  94.        "    NeXTStep 3        (interp)
  95.      PowerPC    MkLinux         (interp)
  96. -    M68k    Amiga DOS        (interp)
  97. +    M68k    AmigaOS            (interp)
  98.  
  99.  Although the system is relatively portable, some machine and processor
  100.  specific code is necessary.  If operating in an interpreting mode, it
  101. diff -rup --new-file baseline/contrib/kaffe/README.amiga amiga/contrib/kaffe/README.amiga
  102. --- baseline/contrib/kaffe/README.amiga    Wed Dec 31 17:00:00 1969
  103. +++ amiga/contrib/kaffe/README.amiga    Sat Sep 28 00:00:00 1996
  104. @@ -0,0 +1,58 @@
  105. +KAFFE v0.5p4 - A JIT and interpreting virtual machine to run Java(tm)* code
  106. +===========================================================================
  107. +Written by Tim Wilkinson <tim@sarc.city.ac.uk>.
  108. +Ported to AmigaOS by Matthias Hopf <mshopf@informatik.uni-erlangen.de>
  109. +
  110. +
  111. +               Notes about the AmigaOS port
  112. +               ============================
  113. +
  114. +The Amiga port has been done in a relatively straightforward way using  the
  115. +ADE  (Amiga Developer Environment). Thus to work properly it needs at least
  116. +version 44.0 of ixemul.library, available from any Aminet or ADE mirror.
  117. +
  118. +The needed Sun java classes are not included due to legal reasons. They are
  119. +available  as  a  seperate archive, e.g. kaffe-0.5p4-sun.tgz. If you get an
  120. +'Exception thrown on null object' you probably do not have the Sun  classes
  121. +included in your CLASSPATH (see below).
  122. +
  123. +
  124. +To set up kaffe, either do 'make install' in an ADE environment and set  up
  125. +the environment variables as stated in the file ENVIRONMENT, or perform the
  126. +following steps:
  127. +
  128. +1) <make a new directory for kaffe.>
  129. +2) assign Kaffe: <this new directory>
  130. +3) makedir Kaffe:bin Kaffe:lib
  131. +3) copy kaffe/kaffe kaffeh/kaffeh kaffe:bin/
  132. +4) copy sun/classes.zip Kaffe:             (available from the sun archive)
  133. +5) copy sun/javac.properties Kaffe:lib/                              (-''-)
  134. +4) path kaffe:bin add                     (add this to s:User-Startup, too)
  135. +5) setenv CLASSPATH ".;Kaffe:.;Kaffe:classes.zip"     (the same in envarc:)
  136. +6) setenv KAFFEHOME "Kaffe:."                                        (-''-)
  137. +7) alias java kaffe                      (add this to s:Shell-Startup, too)
  138. +8) alias javac kaffe sun.tools.javac.Main                            (-''-)
  139. +
  140. +
  141. +Try 'kaffe HelloWorldApp' in the test/ directory. Guess what it does :-)
  142. +
  143. +Try 'javac HelloWorldApp.java' in the  test/  directory.  But  be  prepared
  144. +- the javac compiler class is relatively slow...
  145. +
  146. +
  147. +Some more notes:
  148. +
  149. +- The CLASSPATH specification is affected by your ixprefs settings. Do  not
  150. +  forget the trailing dot when specifying volumes (e.g.  'kaffe:.')  or the
  151. +  current directory!
  152. +
  153. +- java.net is not much tested, but it *should* work...
  154. +
  155. +
  156. +Enjoy
  157. +
  158. +Matthias Hopf
  159. +<mshopf@informatik.uni-erlangen.de>
  160. +
  161. +----
  162. +* Java and Javasoft are registered trademark of Sun Microsystems, Inc.
  163. diff -rup --new-file baseline/contrib/kaffe/config/config-hacks.h amiga/contrib/kaffe/config/config-hacks.h
  164. --- baseline/contrib/kaffe/config/config-hacks.h    Fri Aug 23 12:26:49 1996
  165. +++ amiga/contrib/kaffe/config/config-hacks.h    Sat Sep 28 00:00:00 1996
  166. @@ -5,7 +5,7 @@
  167.  #endif
  168.  
  169.  /* Hack to configure AmigaOS */
  170. -#if defined(__AMIGA__)
  171. +#if defined(__amigaos__)
  172.  #define HAVE_DYN_UNDERSTORE 1
  173.  #endif  
  174.  
  175. diff -rup --new-file baseline/contrib/kaffe/config/m68k/amigados/md.c amiga/contrib/kaffe/config/m68k/amigados/md.c
  176. --- baseline/contrib/kaffe/config/m68k/amigados/md.c    Wed Aug 14 15:13:51 1996
  177. +++ amiga/contrib/kaffe/config/m68k/amigados/md.c    Wed Dec 31 17:00:00 1969
  178. @@ -1,16 +0,0 @@
  179. -/*
  180. - * m68k/amigados/md.c
  181. - * AmigaOS specific functions.
  182. - *
  183. - * Copyright (c) 1996 Matthias Hopf <mshopf@informatik.uni-erlangen.de>
  184. - *
  185. - * Permission granted for Tim Wilkinson to include this source in his
  186. - * Kaffe system, Copyright (c) 1996 Systems Architecture Research Centre,
  187. - *               City University, London, UK.
  188. - *
  189. - * See the file "license.terms" for information on usage and redistribution
  190. - * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  191. - */
  192. -
  193. -/* #include "m68k/amigados/threads.c" */
  194. -
  195. diff -rup --new-file baseline/contrib/kaffe/config/m68k/amigados/md.h amiga/contrib/kaffe/config/m68k/amigados/md.h
  196. --- baseline/contrib/kaffe/config/m68k/amigados/md.h    Thu Aug 15 18:35:37 1996
  197. +++ amiga/contrib/kaffe/config/m68k/amigados/md.h    Wed Dec 31 17:00:00 1969
  198. @@ -1,74 +0,0 @@
  199. -/*
  200. - * m68k/amigados/md.h
  201. - * AmigaOS specific functions.
  202. - *
  203. - * Copyright (c) 1996 Matthias Hopf <mshopf@informatik.uni-erlangen.de>
  204. - *
  205. - * Permission granted for Tim Wilkinson to include this source in his
  206. - * Kaffe system, Copyright (c) 1996 Systems Architecture Research Centre,
  207. - *               City University, London, UK.
  208. - *
  209. - * See the file "license.terms" for information on usage and redistribution
  210. - * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  211. - */
  212. -
  213. -#ifndef __m68k_amigados_md_h
  214. -#define __m68k_amigados_md_h
  215. -
  216. -
  217. -#include <sys/time.h>                 /* don't change! */
  218. -struct timerequest;                   /* Hack!! needed to get files including md.h *and* sys/time.h before working. */
  219. -#define DEVICES_TIMER_H  1            /* devices/timer.h (included from exec/exec.h) is broken due to an other struct timeval definition. */
  220. -
  221. -#ifdef IMPORT                         /* Hack!! needed to get rid of IMPORT redefined warnings */
  222. -#  define _AMIGA_IMPORT    IMPORT
  223. -#  undef  IMPORT
  224. -#endif
  225. -
  226. -#include <stdio.h>
  227. -
  228. -#include <exec/exec.h>
  229. -#include <proto/exec.h>
  230. -
  231. -/* #include "m68k/amigados/threads.h" */
  232. -
  233. -#include "m68k/threads.h"
  234. -
  235. -#undef  THREADINFO
  236. -/* we should use StackSwap instead of native code, but that would be too complicated and extra overhead... */
  237. -#define THREADINFO(ee)                                               \
  238. -          do {                                               \
  239. -              int stacksize;                                 \
  240. -              M68K_THREADINFO (ee);                          \
  241. -              (ee)->stackBase = FindTask(NULL)->tc_SPLower; /* not NULL on Amiga!!! This is the absolute minimum stack base of this task! */ \
  242. -              stacksize = (ee)->stackEnd - (ee)->stackBase;  \
  243. -              if (stacksize < threadStackSize)               \
  244. -              {                                              \
  245. -              fprintf (stderr, "stack size too low - stack left (%d) < stack needed (%d)\n", stacksize, threadStackSize); \
  246. -              exit (20);                                 \
  247. -              }                                              \
  248. -          } while (0)
  249. -
  250. -#undef  THREADSWITCH
  251. -/* we *should* surround this with Forbid()/Permit() (Task struct stack consistency), but overhead is too high. */
  252. -#define THREADSWITCH(to, from)                                       \
  253. -          do {                                               \
  254. -              struct Task *task;             /* perhaps this should be saved in ctx */                                         \
  255. -              task = FindTask (NULL);        /* write stack information into system structures */                              \
  256. -              task->tc_SPLower = (to)->stackBase;            \
  257. -              task->tc_SPUpper = (to)->stackEnd;             \
  258. -DBG(                  printf ("setting task stack info from %x to %x\n", (to)->stackBase, (to)->stackEnd); )                           \
  259. -              M68K_THREADSWITCH(to, from);                   \
  260. -          } while (0)
  261. -
  262. -#if defined(TRANSLATOR)
  263. -#include "m68k/jit-md.h"
  264. -#endif
  265. -
  266. -#undef  IMPORT
  267. -#ifdef _AMIGA_IMPORT
  268. -#  define IMPORT        _AMIGA_IMPORT
  269. -#  undef  _AMIGA_IMPORT
  270. -#endif
  271. -
  272. -#endif
  273. diff -rup --new-file baseline/contrib/kaffe/config/m68k/amigaos/md.c amiga/contrib/kaffe/config/m68k/amigaos/md.c
  274. --- baseline/contrib/kaffe/config/m68k/amigaos/md.c    Wed Dec 31 17:00:00 1969
  275. +++ amiga/contrib/kaffe/config/m68k/amigaos/md.c    Sat Sep 28 00:00:00 1996
  276. @@ -0,0 +1,21 @@
  277. +/*
  278. + * m68k/amigaos/md.c
  279. + * AmigaOS specific functions.
  280. + *
  281. + * Copyright (c) 1996 Matthias Hopf <mshopf@informatik.uni-erlangen.de>
  282. + *
  283. + * Permission granted for Tim Wilkinson to include this source in his
  284. + * Kaffe system, Copyright (c) 1996 Systems Architecture Research Centre,
  285. + *               City University, London, UK.
  286. + *
  287. + * See the file "license.terms" for information on usage and redistribution
  288. + * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  289. + */
  290. +
  291. +/* #include "m68k/amigaos/threads.c" */
  292. +
  293. +
  294. +#include <exec/exec.h>
  295. +
  296. +struct Task *AmigaThisTask = NULL;
  297. +
  298. diff -rup --new-file baseline/contrib/kaffe/config/m68k/amigaos/md.h amiga/contrib/kaffe/config/m68k/amigaos/md.h
  299. --- baseline/contrib/kaffe/config/m68k/amigaos/md.h    Wed Dec 31 17:00:00 1969
  300. +++ amiga/contrib/kaffe/config/m68k/amigaos/md.h    Sat Sep 28 00:00:00 1996
  301. @@ -0,0 +1,77 @@
  302. +/*
  303. + * m68k/amigaos/md.h
  304. + * AmigaOS specific functions.
  305. + *
  306. + * Copyright (c) 1996 Matthias Hopf <mshopf@informatik.uni-erlangen.de>
  307. + *
  308. + * Permission granted for Tim Wilkinson to include this source in his
  309. + * Kaffe system, Copyright (c) 1996 Systems Architecture Research Centre,
  310. + *               City University, London, UK.
  311. + *
  312. + * See the file "license.terms" for information on usage and redistribution
  313. + * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  314. + */
  315. +
  316. +#ifndef __m68k_amigaos_md_h
  317. +#define __m68k_amigaos_md_h
  318. +
  319. +
  320. +#include <sys/time.h>                 /* don't change! */
  321. +struct timerequest;                   /* Hack!! needed to get files including md.h *and* sys/time.h before working. */
  322. +#define DEVICES_TIMER_H  1            /* devices/timer.h (included from exec/exec.h) is broken due to an other struct timeval definition. */
  323. +
  324. +#ifdef IMPORT                         /* Hack!! needed to get rid of IMPORT redefined warnings */
  325. +#  define _AMIGA_IMPORT    IMPORT
  326. +#  undef  IMPORT
  327. +#endif
  328. +
  329. +#include <stdio.h>
  330. +
  331. +#include <exec/exec.h>
  332. +#include <proto/exec.h>
  333. +
  334. +/* #include "m68k/amigaos/threads.h" */
  335. +
  336. +#include "m68k/threads.h"
  337. +
  338. +
  339. +extern struct Task *AmigaThisTask;
  340. +
  341. +
  342. +#undef  THREADINFO
  343. +#define THREADINFO(ee)                                               \
  344. +          do {                                               \
  345. +              AmigaThisTask = FindTask (NULL);               \
  346. +              M68K_THREADINFO (ee);                          \
  347. +              if ((uint8 *) AmigaThisTask->tc_SPLower > (ee)->stackBase) \
  348. +              {                                              \
  349. +              fprintf (stderr, "stack size too low - stack left: %ld, stack needed: %ld\n", \
  350. +                   (ee)->stackEnd - (uint8 *) AmigaThisTask->tc_SPLower, threadStackSize); \
  351. +              exit (20);                                 \
  352. +              }                                              \
  353. +          } while (0)
  354. +
  355. +#undef  THREADSWITCH
  356. +/* we should use StackSwap instead of native code, but that would be too
  357. + * complicated and extra overhead...
  358. + * we *should* surround this with Forbid()/Permit() (Task struct stack
  359. + * consistency), but overhead is too high. */
  360. +#define THREADSWITCH(to, from)                                       \
  361. +          do {                                               \
  362. +              AmigaThisTask->tc_SPLower = (to)->stackBase;   \
  363. +              AmigaThisTask->tc_SPUpper = (to)->stackEnd;    \
  364. +DBG(                  printf ("setting task stack info from %x to %x\n", (to)->stackBase, (to)->stackEnd); )                           \
  365. +              M68K_THREADSWITCH(to, from);                   \
  366. +          } while (0)
  367. +
  368. +#if defined(TRANSLATOR)
  369. +#include "m68k/jit-md.h"
  370. +#endif
  371. +
  372. +#undef  IMPORT
  373. +#ifdef _AMIGA_IMPORT
  374. +#  define IMPORT        _AMIGA_IMPORT
  375. +#  undef  _AMIGA_IMPORT
  376. +#endif
  377. +
  378. +#endif
  379. diff -rup --new-file baseline/contrib/kaffe/config/m68k/threads.h amiga/contrib/kaffe/config/m68k/threads.h
  380. --- baseline/contrib/kaffe/config/m68k/threads.h    Thu Aug 15 09:47:33 1996
  381. +++ amiga/contrib/kaffe/config/m68k/threads.h    Sat Sep 28 00:00:00 1996
  382. @@ -23,15 +23,11 @@
  383.  
  384.  /*
  385.   * Stack of waiting thread:
  386. - *       + 64... Thread stack
  387. - *       + 60    pc  (return address)
  388. - *       + 56    a6
  389. - *       + 52    a5  (frame pointer) (52=13*4)
  390. - *        ...
  391. - *       + 32    a0
  392. - *        ...
  393. - *       +  4    d0
  394. - * SPReg +  0    d0
  395. + *       +  12   pc  (return address)
  396. + *       +  8    a4  ()
  397. + *       +  4    a5  (frame pointer)
  398. + *       +  0    a6
  399. + * remaining registers are scratched.
  400.   */
  401.  
  402.  #define USE_INTERNAL_THREADS
  403. @@ -41,22 +37,27 @@
  404.  #define M68K_THREADSWITCH(to, from)                      \
  405.              asm("                                \
  406.              pea 1f                               \n\
  407. -            movem.l d0-d7/a0-a6, -(a7)           \n\
  408. +            move.l a4, -(a7)                     \n\
  409. +            move.l a5, -(a7)                     \n\
  410. +            move.l a6, -(a7)                     \n\
  411.              move.l a7, (%0)                      \n\
  412.              move.l %1, a7                        \n\
  413. -            movem.l (a7)+,d0-d7/a0-a6            \n\
  414. +            move.l (a7)+,a6                      \n\
  415. +            move.l (a7)+,a5                      \n\
  416. +            move.l (a7)+,a4                      \n\
  417.              rts                                  \n\
  418.           1: nop                                " \
  419. -            : : "a" (& from->restorePoint), "a" (to->restorePoint))
  420. +            : : "a" (& from->restorePoint), "a" (to->restorePoint) : "cc","memory", \
  421. +            "d0","d1","d2","d3","d4","d5","d6","d7","a0","a1","a2","a3")
  422.  
  423.  #define M68K_THREADINIT(to, func)                        \
  424.            asm("                                  \
  425.            moveq #0, d0                           \n\
  426. -          moveq #14, d1                          \n\
  427.            move.l %2, -(%0)                       \n\
  428. -           1: move.l d0, -(%0)                       \n\
  429. -          dbf d1, 1b                           " \
  430. -          : "=a" (to->restorePoint) : "0" (to->stackEnd), "g" (func) : "d0", "d1")
  431. +          move.l d0, -(%0)                       \n\
  432. +          move.l d0, -(%0)                       \n\
  433. +          move.l d0, -(%0)                     " \
  434. +          : "=a" (to->restorePoint) : "0" (to->stackEnd), "g" (func) : "d0", "cc")
  435.  
  436.  #define M68K_THREADINFO(ee)                                     \
  437.          do {                                            \
  438. @@ -67,8 +68,9 @@
  439.                  ptr = (void**)*ptr;             \
  440.              }                                       \
  441.              (ee)->restorePoint = 0;                 \
  442. -            (ee)->stackBase = NULL;                 \
  443.              (ee)->stackEnd = (void*)ptr;            \
  444. +            (ee)->stackBase = (ee)->stackEnd - threadStackSize;\
  445. +            (ee)->flags = THREAD_FLAGS_NOSTACKALLOC;\
  446.          } while(0)
  447.  
  448.  #define M68K_THREADFRAMES(tid, cnt)                             \
  449. @@ -79,7 +81,7 @@
  450.                  asm("move.l a5,%0" : "=r" (ptr));\
  451.              }                                       \
  452.              else {                                  \
  453. -                ptr = ((void***)tid->PrivateInfo->restorePoint)[13];\
  454. +                ptr = ((void***)tid->PrivateInfo->restorePoint)[1];\
  455.              }                                       \
  456.              while (*ptr != 0) {                     \
  457.                  cnt++;                          \
  458. diff -rup --new-file baseline/contrib/kaffe/config.sub amiga/contrib/kaffe/config.sub
  459. --- baseline/contrib/kaffe/config.sub    Tue Jun 18 08:28:36 1996
  460. +++ amiga/contrib/kaffe/config.sub    Sat Sep 28 00:00:00 1996
  461. @@ -176,11 +176,11 @@ case $basic_machine in
  462.          os=-sysv
  463.          ;;
  464.      amiga | amiga-*)
  465. -        basic_machine=m68k-cbm
  466. +        basic_machine=m68k-unknown
  467.          ;;
  468. -    amigados)
  469. -        basic_machine=m68k-cbm
  470. -        os=-amigados
  471. +    amigaos)
  472. +        basic_machine=m68k-unknown
  473. +        os=-amigaos
  474.          ;;
  475.      amigaunix | amix)
  476.          basic_machine=m68k-cbm
  477. @@ -635,7 +635,7 @@ case $os in
  478.      -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  479.            | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[345]* \
  480.            | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  481. -          | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \
  482. +          | -amigaos* | -msdos* | -newsos* | -unicos* | -aos* \
  483.            | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
  484.            | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
  485.            | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
  486. @@ -761,7 +761,7 @@ case $basic_machine in
  487.          os=-sysv
  488.          ;;
  489.      *-cbm)
  490. -        os=-amigados
  491. +        os=-sysv4
  492.          ;;
  493.      *-dg)
  494.          os=-dgux
  495. diff -rup --new-file baseline/contrib/kaffe/configure amiga/contrib/kaffe/configure
  496. --- baseline/contrib/kaffe/configure    Thu Sep  5 00:59:55 1996
  497. +++ amiga/contrib/kaffe/configure    Thu Oct  3 11:31:35 1996
  498. @@ -48,6 +48,9 @@ libdir='${exec_prefix}/lib'
  499.  includedir='${prefix}/include'
  500.  oldincludedir='/usr/include'
  501.  infodir='${prefix}/info'
  502. +guidedir='${prefix}/guide'
  503. +psdir='${prefix}/ps'
  504. +dvidir='${prefix}/dvi'
  505.  mandir='${prefix}/man'
  506.  
  507.  # Initialize some other variables.
  508. @@ -162,6 +165,9 @@ Directory and file names:
  509.    --includedir=DIR        C header files in DIR [PREFIX/include]
  510.    --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  511.    --infodir=DIR           info documentation in DIR [PREFIX/info]
  512. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  513. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  514. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  515.    --mandir=DIR            man documentation in DIR [PREFIX/man]
  516.    --srcdir=DIR            find the sources in DIR [configure dir or ..]
  517.    --program-prefix=PREFIX prepend PREFIX to installed program names
  518. @@ -204,6 +210,18 @@ EOF
  519.    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  520.      infodir="$ac_optarg" ;;
  521.  
  522. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  523. +   ac_prev=guidedir ;;
  524. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  525. +
  526. + -psdir | --psdir | --psdi | --psd | --ps)
  527. +   ac_prev=psdir ;;
  528. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  529. +
  530. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  531. +   ac_prev=dvidir ;;
  532. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  533. +
  534.    -libdir | --libdir | --libdi | --libd)
  535.      ac_prev=libdir ;;
  536.    -libdir=* | --libdir=* | --libdi=* | --libd=*)
  537. @@ -697,9 +715,10 @@ powerpc-linux*)
  538.      NOSHAREDLIBS="-L../lib/native -L../lib/net -lkaffe_native -lkaffe_net"
  539.      ;;
  540.  
  541. -m68k-amigados*)
  542. +m68k-amigaos*)
  543.      host_cpu=m68k
  544. -    host_os=amigados
  545. +    host_os=amigaos
  546. +    CFLAGS="-g -O2 -fno-omit-frame-pointer"
  547.      KAFFEVMFLAGS=-DNO_SHARED_LIBRARIES
  548.      NOSHAREDLIBS="-L../lib/native -L../lib/net -lkaffe_native -lkaffe_net"
  549.      VPATHSEP=" "
  550. @@ -873,7 +892,7 @@ else
  551.    yes;
  552.  #endif
  553.  EOF
  554. -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  555. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  556.    ac_cv_prog_gcc=yes
  557.  else
  558.    ac_cv_prog_gcc=no
  559. @@ -900,9 +919,9 @@ fi
  560.  
  561.  echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  562.      if test $ac_cv_prog_gcc_g = yes; then
  563. -      CFLAGS="-g -O"
  564. +      CFLAGS="-g -O2"
  565.      else
  566. -      CFLAGS="-O"
  567. +      CFLAGS="-O2"
  568.      fi
  569.    fi
  570.  else
  571. @@ -937,6 +956,7 @@ fi
  572.  # SunOS /usr/etc/install
  573.  # IRIX /sbin/install
  574.  # AIX /bin/install
  575. +# AmigaOS /c/install
  576.  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  577.  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  578.  # ./install, which can be erroneously created by make from ./install.sh.
  579. @@ -949,7 +969,7 @@ else
  580.    for ac_dir in $PATH; do
  581.      # Account for people who put trailing slashes in PATH elements.
  582.      case "$ac_dir/" in
  583. -    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  584. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  585.      *)
  586.        # OSF1 and SCO ODT 3.0 have their own names for install.
  587.        for ac_prog in ginstall installbsd scoinst install; do
  588. @@ -1015,7 +1035,60 @@ else
  589.    SET_MAKE="MAKE=${MAKE-make}"
  590.  fi
  591.  
  592. -# Extract the first word of "ranlib", so it can be a program name with args.
  593. +echo $ac_n "checking build system type""... $ac_c" 1>&6
  594. +
  595. +build_alias=$build
  596. +case "$build_alias" in
  597. +NONE)
  598. +  case $nonopt in
  599. +  NONE) build_alias=$host_alias ;;
  600. +  *) build_alias=$nonopt ;;
  601. +  esac ;;
  602. +esac
  603. +
  604. +build=`$ac_config_sub $build_alias`
  605. +build_cpu=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
  606. +build_vendor=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
  607. +build_os=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
  608. +echo "$ac_t""$build" 1>&6
  609. +
  610. +if test $host != $build; then
  611. +  ac_tool_prefix=${host_alias}-
  612. +else
  613. +  ac_tool_prefix=
  614. +fi
  615. +
  616. +# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  617. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  618. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  619. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  620. +  echo $ac_n "(cached) $ac_c" 1>&6
  621. +else
  622. +  if test -n "$RANLIB"; then
  623. +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  624. +else
  625. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  626. +  for ac_dir in $PATH; do
  627. +    test -z "$ac_dir" && ac_dir=.
  628. +    if test -f $ac_dir/$ac_word; then
  629. +      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  630. +      break
  631. +    fi
  632. +  done
  633. +  IFS="$ac_save_ifs"
  634. +fi
  635. +fi
  636. +RANLIB="$ac_cv_prog_RANLIB"
  637. +if test -n "$RANLIB"; then
  638. +  echo "$ac_t""$RANLIB" 1>&6
  639. +else
  640. +  echo "$ac_t""no" 1>&6
  641. +fi
  642. +
  643. +
  644. +if test -z "$ac_cv_prog_RANLIB"; then
  645. +if test -n "$ac_tool_prefix"; then
  646. +  # Extract the first word of "ranlib", so it can be a program name with args.
  647.  set dummy ranlib; ac_word=$2
  648.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  649.  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  650. @@ -1043,8 +1116,13 @@ else
  651.    echo "$ac_t""no" 1>&6
  652.  fi
  653.  
  654. -# Extract the first word of "ar", so it can be a program name with args.
  655. -set dummy ar; ac_word=$2
  656. +else
  657. +  RANLIB=":"
  658. +fi
  659. +fi
  660. +
  661. +# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  662. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  663.  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  664.  if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  665.    echo $ac_n "(cached) $ac_c" 1>&6
  666. @@ -1056,11 +1134,12 @@ else
  667.    for ac_dir in $PATH; do
  668.      test -z "$ac_dir" && ac_dir=.
  669.      if test -f $ac_dir/$ac_word; then
  670. -      ac_cv_prog_AR="ar cr"
  671. +      ac_cv_prog_AR="${ac_tool_prefix}ar"
  672.        break
  673.      fi
  674.    done
  675.    IFS="$ac_save_ifs"
  676. +  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
  677.  fi
  678.  fi
  679.  AR="$ac_cv_prog_AR"
  680. @@ -1072,6 +1151,8 @@ fi
  681.  
  682.  
  683.  
  684. +
  685. +
  686.  # If we cannot run a trivial program, we must be cross compiling.
  687.  echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
  688.  if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
  689. @@ -1081,11 +1162,11 @@ else
  690.    ac_cv_c_cross=yes
  691.  else
  692.  cat > conftest.$ac_ext <<EOF
  693. -#line 1085 "configure"
  694. +#line 1166 "configure"
  695.  #include "confdefs.h"
  696.  main(){return(0);}
  697.  EOF
  698. -{ (eval echo configure:1089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  699. +{ (eval echo configure:1170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  700.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  701.    ac_cv_c_cross=no
  702.  else
  703. @@ -1106,7 +1187,7 @@ else
  704.    ac_cv_sizeof_short=0
  705.  else
  706.  cat > conftest.$ac_ext <<EOF
  707. -#line 1110 "configure"
  708. +#line 1191 "configure"
  709.  #include "confdefs.h"
  710.  #include <stdio.h>
  711.  main()
  712. @@ -1117,7 +1198,7 @@ main()
  713.    exit(0);
  714.  }
  715.  EOF
  716. -{ (eval echo configure:1121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  717. +{ (eval echo configure:1202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  718.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  719.    ac_cv_sizeof_short=`cat conftestval`
  720.  else
  721. @@ -1140,7 +1221,7 @@ else
  722.    ac_cv_sizeof_int=0
  723.  else
  724.  cat > conftest.$ac_ext <<EOF
  725. -#line 1144 "configure"
  726. +#line 1225 "configure"
  727.  #include "confdefs.h"
  728.  #include <stdio.h>
  729.  main()
  730. @@ -1151,7 +1232,7 @@ main()
  731.    exit(0);
  732.  }
  733.  EOF
  734. -{ (eval echo configure:1155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  735. +{ (eval echo configure:1236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  736.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  737.    ac_cv_sizeof_int=`cat conftestval`
  738.  else
  739. @@ -1174,7 +1255,7 @@ else
  740.    ac_cv_sizeof_long=0
  741.  else
  742.  cat > conftest.$ac_ext <<EOF
  743. -#line 1178 "configure"
  744. +#line 1259 "configure"
  745.  #include "confdefs.h"
  746.  #include <stdio.h>
  747.  main()
  748. @@ -1185,7 +1266,7 @@ main()
  749.    exit(0);
  750.  }
  751.  EOF
  752. -{ (eval echo configure:1189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  753. +{ (eval echo configure:1270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  754.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  755.    ac_cv_sizeof_long=`cat conftestval`
  756.  else
  757. @@ -1208,7 +1289,7 @@ else
  758.    ac_cv_sizeof_long_long=0
  759.  else
  760.  cat > conftest.$ac_ext <<EOF
  761. -#line 1212 "configure"
  762. +#line 1293 "configure"
  763.  #include "confdefs.h"
  764.  #include <stdio.h>
  765.  main()
  766. @@ -1219,7 +1300,7 @@ main()
  767.    exit(0);
  768.  }
  769.  EOF
  770. -{ (eval echo configure:1223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  771. +{ (eval echo configure:1304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  772.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  773.    ac_cv_sizeof_long_long=`cat conftestval`
  774.  else
  775. @@ -1242,7 +1323,7 @@ else
  776.    ac_cv_sizeof___int64=0
  777.  else
  778.  cat > conftest.$ac_ext <<EOF
  779. -#line 1246 "configure"
  780. +#line 1327 "configure"
  781.  #include "confdefs.h"
  782.  #include <stdio.h>
  783.  main()
  784. @@ -1253,7 +1334,7 @@ main()
  785.    exit(0);
  786.  }
  787.  EOF
  788. -{ (eval echo configure:1257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  789. +{ (eval echo configure:1338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  790.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  791.    ac_cv_sizeof___int64=`cat conftestval`
  792.  else
  793. @@ -1276,7 +1357,7 @@ else
  794.    ac_cv_sizeof_voidp=0
  795.  else
  796.  cat > conftest.$ac_ext <<EOF
  797. -#line 1280 "configure"
  798. +#line 1361 "configure"
  799.  #include "confdefs.h"
  800.  #include <stdio.h>
  801.  main()
  802. @@ -1287,7 +1368,7 @@ main()
  803.    exit(0);
  804.  }
  805.  EOF
  806. -{ (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  807. +{ (eval echo configure:1372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  808.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  809.    ac_cv_sizeof_voidp=`cat conftestval`
  810.  else
  811. @@ -1311,19 +1392,19 @@ else
  812.    ac_save_LIBS="$LIBS"
  813.  LIBS="-ldl  $LIBS"
  814.  cat > conftest.$ac_ext <<EOF
  815. -#line 1315 "configure"
  816. +#line 1396 "configure"
  817.  #include "confdefs.h"
  818.  /* Override any gcc2 internal prototype to avoid an error.  */
  819.  /* We use char because int might match the return type of a gcc2
  820.      builtin and then its argument prototype would still apply.  */
  821.  char dlopen();
  822.  
  823. -int main() { return 0; }
  824. +int main() { t(); return 0; }
  825.  int t() {
  826.  dlopen()
  827.  ; return 0; }
  828.  EOF
  829. -if { (eval echo configure:1327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  830. +if { (eval echo configure:1408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  831.    rm -rf conftest*
  832.    eval "ac_cv_lib_$ac_lib_var=yes"
  833.  else
  834. @@ -1336,7 +1417,7 @@ LIBS="$ac_save_LIBS"
  835.  fi
  836.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  837.    echo "$ac_t""yes" 1>&6
  838. -    ac_tr_lib=HAVE_LIB`echo dl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  839. +    ac_tr_lib=HAVE_LIB`echo dl | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  840.    cat >> confdefs.h <<EOF
  841.  #define $ac_tr_lib 1
  842.  EOF
  843. @@ -1355,19 +1436,19 @@ else
  844.    ac_save_LIBS="$LIBS"
  845.  LIBS="-ldl  $LIBS"
  846.  cat > conftest.$ac_ext <<EOF
  847. -#line 1359 "configure"
  848. +#line 1440 "configure"
  849.  #include "confdefs.h"
  850.  /* Override any gcc2 internal prototype to avoid an error.  */
  851.  /* We use char because int might match the return type of a gcc2
  852.      builtin and then its argument prototype would still apply.  */
  853.  char _dlopen();
  854.  
  855. -int main() { return 0; }
  856. +int main() { t(); return 0; }
  857.  int t() {
  858.  _dlopen()
  859.  ; return 0; }
  860.  EOF
  861. -if { (eval echo configure:1371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  862. +if { (eval echo configure:1452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  863.    rm -rf conftest*
  864.    eval "ac_cv_lib_$ac_lib_var=yes"
  865.  else
  866. @@ -1380,7 +1461,7 @@ LIBS="$ac_save_LIBS"
  867.  fi
  868.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  869.    echo "$ac_t""yes" 1>&6
  870. -    ac_tr_lib=HAVE_LIB`echo dl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  871. +    ac_tr_lib=HAVE_LIB`echo dl | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  872.    cat >> confdefs.h <<EOF
  873.  #define $ac_tr_lib 1
  874.  EOF
  875. @@ -1399,19 +1480,19 @@ else
  876.    ac_save_LIBS="$LIBS"
  877.  LIBS="-ldld  $LIBS"
  878.  cat > conftest.$ac_ext <<EOF
  879. -#line 1403 "configure"
  880. +#line 1484 "configure"
  881.  #include "confdefs.h"
  882.  /* Override any gcc2 internal prototype to avoid an error.  */
  883.  /* We use char because int might match the return type of a gcc2
  884.      builtin and then its argument prototype would still apply.  */
  885.  char dld_init();
  886.  
  887. -int main() { return 0; }
  888. +int main() { t(); return 0; }
  889.  int t() {
  890.  dld_init()
  891.  ; return 0; }
  892.  EOF
  893. -if { (eval echo configure:1415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  894. +if { (eval echo configure:1496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  895.    rm -rf conftest*
  896.    eval "ac_cv_lib_$ac_lib_var=yes"
  897.  else
  898. @@ -1424,7 +1505,7 @@ LIBS="$ac_save_LIBS"
  899.  fi
  900.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  901.    echo "$ac_t""yes" 1>&6
  902. -    ac_tr_lib=HAVE_LIB`echo dld | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  903. +    ac_tr_lib=HAVE_LIB`echo dld | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  904.    cat >> confdefs.h <<EOF
  905.  #define $ac_tr_lib 1
  906.  EOF
  907. @@ -1443,19 +1524,19 @@ else
  908.    ac_save_LIBS="$LIBS"
  909.  LIBS="-lsocket  $LIBS"
  910.  cat > conftest.$ac_ext <<EOF
  911. -#line 1447 "configure"
  912. +#line 1528 "configure"
  913.  #include "confdefs.h"
  914.  /* Override any gcc2 internal prototype to avoid an error.  */
  915.  /* We use char because int might match the return type of a gcc2
  916.      builtin and then its argument prototype would still apply.  */
  917.  char socket();
  918.  
  919. -int main() { return 0; }
  920. +int main() { t(); return 0; }
  921.  int t() {
  922.  socket()
  923.  ; return 0; }
  924.  EOF
  925. -if { (eval echo configure:1459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  926. +if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  927.    rm -rf conftest*
  928.    eval "ac_cv_lib_$ac_lib_var=yes"
  929.  else
  930. @@ -1468,7 +1549,7 @@ LIBS="$ac_save_LIBS"
  931.  fi
  932.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  933.    echo "$ac_t""yes" 1>&6
  934. -    ac_tr_lib=HAVE_LIB`echo socket | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  935. +    ac_tr_lib=HAVE_LIB`echo socket | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  936.    cat >> confdefs.h <<EOF
  937.  #define $ac_tr_lib 1
  938.  EOF
  939. @@ -1487,19 +1568,19 @@ else
  940.    ac_save_LIBS="$LIBS"
  941.  LIBS="-lnsl  $LIBS"
  942.  cat > conftest.$ac_ext <<EOF
  943. -#line 1491 "configure"
  944. +#line 1572 "configure"
  945.  #include "confdefs.h"
  946.  /* Override any gcc2 internal prototype to avoid an error.  */
  947.  /* We use char because int might match the return type of a gcc2
  948.      builtin and then its argument prototype would still apply.  */
  949.  char dial();
  950.  
  951. -int main() { return 0; }
  952. +int main() { t(); return 0; }
  953.  int t() {
  954.  dial()
  955.  ; return 0; }
  956.  EOF
  957. -if { (eval echo configure:1503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  958. +if { (eval echo configure:1584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  959.    rm -rf conftest*
  960.    eval "ac_cv_lib_$ac_lib_var=yes"
  961.  else
  962. @@ -1512,7 +1593,7 @@ LIBS="$ac_save_LIBS"
  963.  fi
  964.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  965.    echo "$ac_t""yes" 1>&6
  966. -    ac_tr_lib=HAVE_LIB`echo nsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  967. +    ac_tr_lib=HAVE_LIB`echo nsl | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  968.    cat >> confdefs.h <<EOF
  969.  #define $ac_tr_lib 1
  970.  EOF
  971. @@ -1531,19 +1612,19 @@ else
  972.    ac_save_LIBS="$LIBS"
  973.  LIBS="-lm  $LIBS"
  974.  cat > conftest.$ac_ext <<EOF
  975. -#line 1535 "configure"
  976. +#line 1616 "configure"
  977.  #include "confdefs.h"
  978.  /* Override any gcc2 internal prototype to avoid an error.  */
  979.  /* We use char because int might match the return type of a gcc2
  980.      builtin and then its argument prototype would still apply.  */
  981.  char finite();
  982.  
  983. -int main() { return 0; }
  984. +int main() { t(); return 0; }
  985.  int t() {
  986.  finite()
  987.  ; return 0; }
  988.  EOF
  989. -if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  990. +if { (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  991.    rm -rf conftest*
  992.    eval "ac_cv_lib_$ac_lib_var=yes"
  993.  else
  994. @@ -1556,7 +1637,7 @@ LIBS="$ac_save_LIBS"
  995.  fi
  996.  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  997.    echo "$ac_t""yes" 1>&6
  998. -    ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  999. +    ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  1000.    cat >> confdefs.h <<EOF
  1001.  #define $ac_tr_lib 1
  1002.  EOF
  1003. @@ -1583,13 +1664,13 @@ else
  1004.    # On the NeXT, cc -E runs the code through the compiler's parser,
  1005.    # not just through cpp.
  1006.    cat > conftest.$ac_ext <<EOF
  1007. -#line 1587 "configure"
  1008. +#line 1668 "configure"
  1009.  #include "confdefs.h"
  1010.  #include <assert.h>
  1011.  Syntax Error
  1012.  EOF
  1013.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1014. -{ (eval echo configure:1593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1015. +{ (eval echo configure:1674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1016.  ac_err=`grep -v '^ *+' conftest.out`
  1017.  if test -z "$ac_err"; then
  1018.    :
  1019. @@ -1598,13 +1679,13 @@ else
  1020.    rm -rf conftest*
  1021.    CPP="${CC-cc} -E -traditional-cpp"
  1022.    cat > conftest.$ac_ext <<EOF
  1023. -#line 1602 "configure"
  1024. +#line 1683 "configure"
  1025.  #include "confdefs.h"
  1026.  #include <assert.h>
  1027.  Syntax Error
  1028.  EOF
  1029.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1030. -{ (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1031. +{ (eval echo configure:1689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1032.  ac_err=`grep -v '^ *+' conftest.out`
  1033.  if test -z "$ac_err"; then
  1034.    :
  1035. @@ -1629,7 +1710,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  1036.    echo $ac_n "(cached) $ac_c" 1>&6
  1037.  else
  1038.    cat > conftest.$ac_ext <<EOF
  1039. -#line 1633 "configure"
  1040. +#line 1714 "configure"
  1041.  #include "confdefs.h"
  1042.  #include <stdlib.h>
  1043.  #include <stdarg.h>
  1044. @@ -1637,7 +1718,7 @@ else
  1045.  #include <float.h>
  1046.  EOF
  1047.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1048. -{ (eval echo configure:1641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1049. +{ (eval echo configure:1722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1050.  ac_err=`grep -v '^ *+' conftest.out`
  1051.  if test -z "$ac_err"; then
  1052.    rm -rf conftest*
  1053. @@ -1652,7 +1733,7 @@ rm -f conftest*
  1054.  if test $ac_cv_header_stdc = yes; then
  1055.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1056.  cat > conftest.$ac_ext <<EOF
  1057. -#line 1656 "configure"
  1058. +#line 1737 "configure"
  1059.  #include "confdefs.h"
  1060.  #include <string.h>
  1061.  EOF
  1062. @@ -1670,7 +1751,7 @@ fi
  1063.  if test $ac_cv_header_stdc = yes; then
  1064.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1065.  cat > conftest.$ac_ext <<EOF
  1066. -#line 1674 "configure"
  1067. +#line 1755 "configure"
  1068.  #include "confdefs.h"
  1069.  #include <stdlib.h>
  1070.  EOF
  1071. @@ -1691,7 +1772,7 @@ if test "$cross_compiling" = yes; then
  1072.    :
  1073.  else
  1074.  cat > conftest.$ac_ext <<EOF
  1075. -#line 1695 "configure"
  1076. +#line 1776 "configure"
  1077.  #include "confdefs.h"
  1078.  #include <ctype.h>
  1079.  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1080. @@ -1702,7 +1783,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
  1081.  exit (0); }
  1082.  
  1083.  EOF
  1084. -{ (eval echo configure:1706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1085. +{ (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1086.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1087.    :
  1088.  else
  1089. @@ -1729,12 +1810,12 @@ if eval "test \"`echo '$''{'ac_cv_header
  1090.    echo $ac_n "(cached) $ac_c" 1>&6
  1091.  else
  1092.    cat > conftest.$ac_ext <<EOF
  1093. -#line 1733 "configure"
  1094. +#line 1814 "configure"
  1095.  #include "confdefs.h"
  1096.  #include <$ac_hdr>
  1097.  EOF
  1098.  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1099. -{ (eval echo configure:1738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1100. +{ (eval echo configure:1819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1101.  ac_err=`grep -v '^ *+' conftest.out`
  1102.  if test -z "$ac_err"; then
  1103.    rm -rf conftest*
  1104. @@ -1767,7 +1848,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  1105.    echo $ac_n "(cached) $ac_c" 1>&6
  1106.  else
  1107.    cat > conftest.$ac_ext <<EOF
  1108. -#line 1771 "configure"
  1109. +#line 1852 "configure"
  1110.  #include "confdefs.h"
  1111.  #include <sys/types.h>
  1112.  #include <$ac_hdr>
  1113. @@ -1776,7 +1857,7 @@ int t() {
  1114.  DIR *dirp = 0;
  1115.  ; return 0; }
  1116.  EOF
  1117. -if { (eval echo configure:1780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1118. +if { (eval echo configure:1861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1119.    rm -rf conftest*
  1120.    eval "ac_cv_header_dirent_$ac_safe=yes"
  1121.  else
  1122. @@ -1807,19 +1888,19 @@ else
  1123.    ac_save_LIBS="$LIBS"
  1124.  LIBS="-ldir  $LIBS"
  1125.  cat > conftest.$ac_ext <<EOF
  1126. -#line 1811 "configure"
  1127. +#line 1892 "configure"
  1128.  #include "confdefs.h"
  1129.  /* Override any gcc2 internal prototype to avoid an error.  */
  1130.  /* We use char because int might match the return type of a gcc2
  1131.      builtin and then its argument prototype would still apply.  */
  1132.  char opendir();
  1133.  
  1134. -int main() { return 0; }
  1135. +int main() { t(); return 0; }
  1136.  int t() {
  1137.  opendir()
  1138.  ; return 0; }
  1139.  EOF
  1140. -if { (eval echo configure:1823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1141. +if { (eval echo configure:1904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1142.    rm -rf conftest*
  1143.    eval "ac_cv_lib_$ac_lib_var=yes"
  1144.  else
  1145. @@ -1846,19 +1927,19 @@ else
  1146.    ac_save_LIBS="$LIBS"
  1147.  LIBS="-lx  $LIBS"
  1148.  cat > conftest.$ac_ext <<EOF
  1149. -#line 1850 "configure"
  1150. +#line 1931 "configure"
  1151.  #include "confdefs.h"
  1152.  /* Override any gcc2 internal prototype to avoid an error.  */
  1153.  /* We use char because int might match the return type of a gcc2
  1154.      builtin and then its argument prototype would still apply.  */
  1155.  char opendir();
  1156.  
  1157. -int main() { return 0; }
  1158. +int main() { t(); return 0; }
  1159.  int t() {
  1160.  opendir()
  1161.  ; return 0; }
  1162.  EOF
  1163. -if { (eval echo configure:1862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1164. +if { (eval echo configure:1943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1165.    rm -rf conftest*
  1166.    eval "ac_cv_lib_$ac_lib_var=yes"
  1167.  else
  1168. @@ -1884,7 +1965,7 @@ if eval "test \"`echo '$''{'ac_cv_header
  1169.    echo $ac_n "(cached) $ac_c" 1>&6
  1170.  else
  1171.    cat > conftest.$ac_ext <<EOF
  1172. -#line 1888 "configure"
  1173. +#line 1969 "configure"
  1174.  #include "confdefs.h"
  1175.  #include <sys/types.h>
  1176.  #include <sys/time.h>
  1177. @@ -1894,7 +1975,7 @@ int t() {
  1178.  struct tm *tp;
  1179.  ; return 0; }
  1180.  EOF
  1181. -if { (eval echo configure:1898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1182. +if { (eval echo configure:1979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1183.    rm -rf conftest*
  1184.    ac_cv_header_time=yes
  1185.  else
  1186. @@ -1918,7 +1999,7 @@ if eval "test \"`echo '$''{'ac_cv_struct
  1187.    echo $ac_n "(cached) $ac_c" 1>&6
  1188.  else
  1189.    cat > conftest.$ac_ext <<EOF
  1190. -#line 1922 "configure"
  1191. +#line 2003 "configure"
  1192.  #include "confdefs.h"
  1193.  #include <sys/types.h>
  1194.  #include <time.h>
  1195. @@ -1927,7 +2008,7 @@ int t() {
  1196.  struct tm *tp; tp->tm_sec;
  1197.  ; return 0; }
  1198.  EOF
  1199. -if { (eval echo configure:1931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1200. +if { (eval echo configure:2012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1201.    rm -rf conftest*
  1202.    ac_cv_struct_tm=time.h
  1203.  else
  1204. @@ -1951,7 +2032,7 @@ if eval "test \"`echo '$''{'ac_cv_struct
  1205.    echo $ac_n "(cached) $ac_c" 1>&6
  1206.  else
  1207.    cat > conftest.$ac_ext <<EOF
  1208. -#line 1955 "configure"
  1209. +#line 2036 "configure"
  1210.  #include "confdefs.h"
  1211.  #include <sys/types.h>
  1212.  #include <$ac_cv_struct_tm>
  1213. @@ -1960,7 +2041,7 @@ int t() {
  1214.  struct tm tm; tm.tm_zone;
  1215.  ; return 0; }
  1216.  EOF
  1217. -if { (eval echo configure:1964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1218. +if { (eval echo configure:2045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1219.    rm -rf conftest*
  1220.    ac_cv_struct_tm_zone=yes
  1221.  else
  1222. @@ -1983,18 +2064,18 @@ if eval "test \"`echo '$''{'ac_cv_var_tz
  1223.    echo $ac_n "(cached) $ac_c" 1>&6
  1224.  else
  1225.    cat > conftest.$ac_ext <<EOF
  1226. -#line 1987 "configure"
  1227. +#line 2068 "configure"
  1228.  #include "confdefs.h"
  1229.  #include <time.h>
  1230.  #ifndef tzname /* For SGI.  */
  1231.  extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
  1232.  #endif
  1233. -int main() { return 0; }
  1234. +int main() { t(); return 0; }
  1235.  int t() {
  1236.  atoi(*tzname);
  1237.  ; return 0; }
  1238.  EOF
  1239. -if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1240. +if { (eval echo configure:2079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1241.    rm -rf conftest*
  1242.    ac_cv_var_tzname=yes
  1243.  else
  1244. @@ -2021,7 +2102,7 @@ else
  1245.    ac_cv_c_bigendian=unknown
  1246.  # See if sys/param.h defines the BYTE_ORDER macro.
  1247.  cat > conftest.$ac_ext <<EOF
  1248. -#line 2025 "configure"
  1249. +#line 2106 "configure"
  1250.  #include "confdefs.h"
  1251.  #include <sys/types.h>
  1252.  #include <sys/param.h>
  1253. @@ -2033,11 +2114,11 @@ int t() {
  1254.  #endif
  1255.  ; return 0; }
  1256.  EOF
  1257. -if { (eval echo configure:2037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1258. +if { (eval echo configure:2118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1259.    rm -rf conftest*
  1260.    # It does; now see whether it defined to BIG_ENDIAN or not.
  1261.  cat > conftest.$ac_ext <<EOF
  1262. -#line 2041 "configure"
  1263. +#line 2122 "configure"
  1264.  #include "confdefs.h"
  1265.  #include <sys/types.h>
  1266.  #include <sys/param.h>
  1267. @@ -2049,7 +2130,7 @@ int t() {
  1268.  #endif
  1269.  ; return 0; }
  1270.  EOF
  1271. -if { (eval echo configure:2053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1272. +if { (eval echo configure:2134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1273.    rm -rf conftest*
  1274.    ac_cv_c_bigendian=yes
  1275.  else
  1276. @@ -2066,7 +2147,7 @@ if test "$cross_compiling" = yes; then
  1277.      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  1278.  else
  1279.  cat > conftest.$ac_ext <<EOF
  1280. -#line 2070 "configure"
  1281. +#line 2151 "configure"
  1282.  #include "confdefs.h"
  1283.  main () {
  1284.    /* Are we little or big endian?  From Harbison&Steele.  */
  1285. @@ -2079,7 +2160,7 @@ main () {
  1286.    exit (u.c[sizeof (long) - 1] == 1);
  1287.  }
  1288.  EOF
  1289. -{ (eval echo configure:2083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1290. +{ (eval echo configure:2164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1291.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1292.    ac_cv_c_bigendian=no
  1293.  else
  1294. @@ -2104,7 +2185,7 @@ if eval "test \"`echo '$''{'ac_cv_type_s
  1295.    echo $ac_n "(cached) $ac_c" 1>&6
  1296.  else
  1297.    cat > conftest.$ac_ext <<EOF
  1298. -#line 2108 "configure"
  1299. +#line 2189 "configure"
  1300.  #include "confdefs.h"
  1301.  #include <sys/types.h>
  1302.  #include <signal.h>
  1303. @@ -2122,7 +2203,7 @@ int t() {
  1304.  int i;
  1305.  ; return 0; }
  1306.  EOF
  1307. -if { (eval echo configure:2126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1308. +if { (eval echo configure:2207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1309.    rm -rf conftest*
  1310.    ac_cv_type_signal=void
  1311.  else
  1312. @@ -2148,19 +2229,19 @@ else
  1313.    ac_save_LIBS="$LIBS"
  1314.  LIBS="-lintl  $LIBS"
  1315.  cat > conftest.$ac_ext <<EOF
  1316. -#line 2152 "configure"
  1317. +#line 2233 "configure"
  1318.  #include "confdefs.h"
  1319.  /* Override any gcc2 internal prototype to avoid an error.  */
  1320.  /* We use char because int might match the return type of a gcc2
  1321.      builtin and then its argument prototype would still apply.  */
  1322.  char strftime();
  1323.  
  1324. -int main() { return 0; }
  1325. +int main() { t(); return 0; }
  1326.  int t() {
  1327.  strftime()
  1328.  ; return 0; }
  1329.  EOF
  1330. -if { (eval echo configure:2164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1331. +if { (eval echo configure:2245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1332.    rm -rf conftest*
  1333.    eval "ac_cv_lib_$ac_lib_var=yes"
  1334.  else
  1335. @@ -2183,7 +2264,7 @@ if eval "test \"`echo '$''{'ac_cv_func_s
  1336.    echo $ac_n "(cached) $ac_c" 1>&6
  1337.  else
  1338.    cat > conftest.$ac_ext <<EOF
  1339. -#line 2187 "configure"
  1340. +#line 2268 "configure"
  1341.  #include "confdefs.h"
  1342.  /* System header to define __stub macros and hopefully few prototypes,
  1343.      which can conflict with char strftime(); below.  */
  1344. @@ -2193,7 +2274,7 @@ else
  1345.      builtin and then its argument prototype would still apply.  */
  1346.  char strftime();
  1347.  
  1348. -int main() { return 0; }
  1349. +int main() { t(); return 0; }
  1350.  int t() {
  1351.  
  1352.  /* The GNU C library defines this for functions which it implements
  1353. @@ -2207,7 +2288,7 @@ strftime();
  1354.  
  1355.  ; return 0; }
  1356.  EOF
  1357. -if { (eval echo configure:2211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1358. +if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1359.    rm -rf conftest*
  1360.    eval "ac_cv_func_strftime=yes"
  1361.  else
  1362. @@ -2234,7 +2315,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1363.    echo $ac_n "(cached) $ac_c" 1>&6
  1364.  else
  1365.    cat > conftest.$ac_ext <<EOF
  1366. -#line 2238 "configure"
  1367. +#line 2319 "configure"
  1368.  #include "confdefs.h"
  1369.  /* System header to define __stub macros and hopefully few prototypes,
  1370.      which can conflict with char $ac_func(); below.  */
  1371. @@ -2244,7 +2325,7 @@ else
  1372.      builtin and then its argument prototype would still apply.  */
  1373.  char $ac_func();
  1374.  
  1375. -int main() { return 0; }
  1376. +int main() { t(); return 0; }
  1377.  int t() {
  1378.  
  1379.  /* The GNU C library defines this for functions which it implements
  1380. @@ -2258,7 +2339,7 @@ $ac_func();
  1381.  
  1382.  ; return 0; }
  1383.  EOF
  1384. -if { (eval echo configure:2262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1385. +if { (eval echo configure:2343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1386.    rm -rf conftest*
  1387.    eval "ac_cv_func_$ac_func=yes"
  1388.  else
  1389. @@ -2287,7 +2368,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1390.    echo $ac_n "(cached) $ac_c" 1>&6
  1391.  else
  1392.    cat > conftest.$ac_ext <<EOF
  1393. -#line 2291 "configure"
  1394. +#line 2372 "configure"
  1395.  #include "confdefs.h"
  1396.  /* System header to define __stub macros and hopefully few prototypes,
  1397.      which can conflict with char $ac_func(); below.  */
  1398. @@ -2297,7 +2378,7 @@ else
  1399.      builtin and then its argument prototype would still apply.  */
  1400.  char $ac_func();
  1401.  
  1402. -int main() { return 0; }
  1403. +int main() { t(); return 0; }
  1404.  int t() {
  1405.  
  1406.  /* The GNU C library defines this for functions which it implements
  1407. @@ -2311,7 +2392,7 @@ $ac_func();
  1408.  
  1409.  ; return 0; }
  1410.  EOF
  1411. -if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1412. +if { (eval echo configure:2396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1413.    rm -rf conftest*
  1414.    eval "ac_cv_func_$ac_func=yes"
  1415.  else
  1416. @@ -2340,7 +2421,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1417.    echo $ac_n "(cached) $ac_c" 1>&6
  1418.  else
  1419.    cat > conftest.$ac_ext <<EOF
  1420. -#line 2344 "configure"
  1421. +#line 2425 "configure"
  1422.  #include "confdefs.h"
  1423.  /* System header to define __stub macros and hopefully few prototypes,
  1424.      which can conflict with char $ac_func(); below.  */
  1425. @@ -2350,7 +2431,7 @@ else
  1426.      builtin and then its argument prototype would still apply.  */
  1427.  char $ac_func();
  1428.  
  1429. -int main() { return 0; }
  1430. +int main() { t(); return 0; }
  1431.  int t() {
  1432.  
  1433.  /* The GNU C library defines this for functions which it implements
  1434. @@ -2364,7 +2445,7 @@ $ac_func();
  1435.  
  1436.  ; return 0; }
  1437.  EOF
  1438. -if { (eval echo configure:2368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1439. +if { (eval echo configure:2449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1440.    rm -rf conftest*
  1441.    eval "ac_cv_func_$ac_func=yes"
  1442.  else
  1443. @@ -2393,7 +2474,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1444.    echo $ac_n "(cached) $ac_c" 1>&6
  1445.  else
  1446.    cat > conftest.$ac_ext <<EOF
  1447. -#line 2397 "configure"
  1448. +#line 2478 "configure"
  1449.  #include "confdefs.h"
  1450.  /* System header to define __stub macros and hopefully few prototypes,
  1451.      which can conflict with char $ac_func(); below.  */
  1452. @@ -2403,7 +2484,7 @@ else
  1453.      builtin and then its argument prototype would still apply.  */
  1454.  char $ac_func();
  1455.  
  1456. -int main() { return 0; }
  1457. +int main() { t(); return 0; }
  1458.  int t() {
  1459.  
  1460.  /* The GNU C library defines this for functions which it implements
  1461. @@ -2417,7 +2498,7 @@ $ac_func();
  1462.  
  1463.  ; return 0; }
  1464.  EOF
  1465. -if { (eval echo configure:2421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1466. +if { (eval echo configure:2502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1467.    rm -rf conftest*
  1468.    eval "ac_cv_func_$ac_func=yes"
  1469.  else
  1470. @@ -2446,7 +2527,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1471.    echo $ac_n "(cached) $ac_c" 1>&6
  1472.  else
  1473.    cat > conftest.$ac_ext <<EOF
  1474. -#line 2450 "configure"
  1475. +#line 2531 "configure"
  1476.  #include "confdefs.h"
  1477.  /* System header to define __stub macros and hopefully few prototypes,
  1478.      which can conflict with char $ac_func(); below.  */
  1479. @@ -2456,7 +2537,7 @@ else
  1480.      builtin and then its argument prototype would still apply.  */
  1481.  char $ac_func();
  1482.  
  1483. -int main() { return 0; }
  1484. +int main() { t(); return 0; }
  1485.  int t() {
  1486.  
  1487.  /* The GNU C library defines this for functions which it implements
  1488. @@ -2470,7 +2551,7 @@ $ac_func();
  1489.  
  1490.  ; return 0; }
  1491.  EOF
  1492. -if { (eval echo configure:2474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1493. +if { (eval echo configure:2555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1494.    rm -rf conftest*
  1495.    eval "ac_cv_func_$ac_func=yes"
  1496.  else
  1497. @@ -2499,7 +2580,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1498.    echo $ac_n "(cached) $ac_c" 1>&6
  1499.  else
  1500.    cat > conftest.$ac_ext <<EOF
  1501. -#line 2503 "configure"
  1502. +#line 2584 "configure"
  1503.  #include "confdefs.h"
  1504.  /* System header to define __stub macros and hopefully few prototypes,
  1505.      which can conflict with char $ac_func(); below.  */
  1506. @@ -2509,7 +2590,7 @@ else
  1507.      builtin and then its argument prototype would still apply.  */
  1508.  char $ac_func();
  1509.  
  1510. -int main() { return 0; }
  1511. +int main() { t(); return 0; }
  1512.  int t() {
  1513.  
  1514.  /* The GNU C library defines this for functions which it implements
  1515. @@ -2523,7 +2604,7 @@ $ac_func();
  1516.  
  1517.  ; return 0; }
  1518.  EOF
  1519. -if { (eval echo configure:2527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1520. +if { (eval echo configure:2608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1521.    rm -rf conftest*
  1522.    eval "ac_cv_func_$ac_func=yes"
  1523.  else
  1524. @@ -2552,7 +2633,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
  1525.    echo $ac_n "(cached) $ac_c" 1>&6
  1526.  else
  1527.    cat > conftest.$ac_ext <<EOF
  1528. -#line 2556 "configure"
  1529. +#line 2637 "configure"
  1530.  #include "confdefs.h"
  1531.  /* System header to define __stub macros and hopefully few prototypes,
  1532.      which can conflict with char $ac_func(); below.  */
  1533. @@ -2562,7 +2643,7 @@ else
  1534.      builtin and then its argument prototype would still apply.  */
  1535.  char $ac_func();
  1536.  
  1537. -int main() { return 0; }
  1538. +int main() { t(); return 0; }
  1539.  int t() {
  1540.  
  1541.  /* The GNU C library defines this for functions which it implements
  1542. @@ -2576,7 +2657,7 @@ $ac_func();
  1543.  
  1544.  ; return 0; }
  1545.  EOF
  1546. -if { (eval echo configure:2580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1547. +if { (eval echo configure:2661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  1548.    rm -rf conftest*
  1549.    eval "ac_cv_func_$ac_func=yes"
  1550.  else
  1551. @@ -2608,13 +2689,13 @@ if test "$cross_compiling" = yes; then
  1552.    ac_cv_underscore=cross
  1553.  else
  1554.  cat > conftest.$ac_ext <<EOF
  1555. -#line 2612 "configure"
  1556. +#line 2693 "configure"
  1557.  #include "confdefs.h"
  1558.  main()
  1559.  {void* lib = (void*)dlopen(_LIBC_);
  1560.    if (dlsym(lib, "_printf") != 0) { exit(0); } else { exit(1); } }
  1561.  EOF
  1562. -{ (eval echo configure:2618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1563. +{ (eval echo configure:2699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  1564.  if test -s conftest && (./conftest; exit) 2>/dev/null; then
  1565.    ac_cv_underscore=yes
  1566.  else
  1567. @@ -2699,7 +2780,9 @@ DEFS=-DHAVE_CONFIG_H
  1568.  : ${CONFIG_STATUS=./config.status}
  1569.  
  1570.  echo creating $CONFIG_STATUS
  1571. -rm -f $CONFIG_STATUS
  1572. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  1573. +# being executed, so just move it out of the way instead.
  1574. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1575.  cat > $CONFIG_STATUS <<EOF
  1576.  #! /bin/sh
  1577.  # Generated automatically by configure.
  1578. @@ -2760,6 +2843,9 @@ s%@libdir@%$libdir%g
  1579.  s%@includedir@%$includedir%g
  1580.  s%@oldincludedir@%$oldincludedir%g
  1581.  s%@infodir@%$infodir%g
  1582. +s%@guidedir@%$guidedir%g
  1583. +s%@psdir@%$psdir%g
  1584. +s%@dvidir@%$dvidir%g
  1585.  s%@mandir@%$mandir%g
  1586.  s%@host@%$host%g
  1587.  s%@host_alias@%$host_alias%g
  1588. @@ -2783,6 +2869,11 @@ s%@LN_S@%$LN_S%g
  1589.  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1590.  s%@INSTALL_DATA@%$INSTALL_DATA%g
  1591.  s%@SET_MAKE@%$SET_MAKE%g
  1592. +s%@build@%$build%g
  1593. +s%@build_alias@%$build_alias%g
  1594. +s%@build_cpu@%$build_cpu%g
  1595. +s%@build_vendor@%$build_vendor%g
  1596. +s%@build_os@%$build_os%g
  1597.  s%@RANLIB@%$RANLIB%g
  1598.  s%@AR@%$AR%g
  1599.  s%@CPP@%$CPP%g
  1600. @@ -3001,6 +3092,7 @@ done
  1601.  exit 0
  1602.  EOF
  1603.  chmod +x $CONFIG_STATUS
  1604. +rm -f CONFIG.STATUS.old
  1605.  rm -fr confdefs* $ac_clean_files
  1606.  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1607.  
  1608. diff -rup --new-file baseline/contrib/kaffe/configure.in amiga/contrib/kaffe/configure.in
  1609. --- baseline/contrib/kaffe/configure.in    Fri Aug 30 16:00:32 1996
  1610. +++ amiga/contrib/kaffe/configure.in    Thu Oct  3 11:31:10 1996
  1611. @@ -185,9 +185,10 @@ powerpc-linux*)
  1612.      NOSHAREDLIBS="-L../lib/native -L../lib/net -lkaffe_native -lkaffe_net"
  1613.      ;;
  1614.  
  1615. -m68k-amigados*)
  1616. +m68k-amigaos*)
  1617.      host_cpu=m68k
  1618. -    host_os=amigados
  1619. +    host_os=amigaos
  1620. +    CFLAGS="-g -O2 -fno-omit-frame-pointer"
  1621.      KAFFEVMFLAGS=-DNO_SHARED_LIBRARIES
  1622.      NOSHAREDLIBS="-L../lib/native -L../lib/net -lkaffe_native -lkaffe_net"
  1623.      VPATHSEP=" "
  1624. @@ -277,8 +278,8 @@ AC_PROG_CC
  1625.  AC_PROG_LN_S
  1626.  AC_PROG_INSTALL
  1627.  AC_PROG_MAKE_SET
  1628. -AC_PROG_RANLIB
  1629. -AC_CHECK_PROG(AR, ar, ar cr)
  1630. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  1631. +AC_CHECK_TOOL(AR, ar)
  1632.  
  1633.  
  1634.  dnl Checks for types
  1635. diff -rup --new-file baseline/contrib/kaffe/kaffevm/Makefile.in amiga/contrib/kaffe/kaffevm/Makefile.in
  1636. --- baseline/contrib/kaffe/kaffevm/Makefile.in    Fri Aug 16 08:59:57 1996
  1637. +++ amiga/contrib/kaffe/kaffevm/Makefile.in    Thu Oct  3 11:37:49 1996
  1638. @@ -18,6 +18,7 @@ INSTALL_DATA=    @INSTALL_DATA@
  1639.  LN=        @LN_S@
  1640.  CC=        @CC@
  1641.  AR=        @AR@
  1642. +AR_FLAGS=    cr
  1643.  RANLIB=        @RANLIB@
  1644.  PIC=        @PIC@
  1645.  LDFLAGS=    @LIBSHARE@
  1646. @@ -84,7 +85,7 @@ $(LLIB):    $(LIB)
  1647.  
  1648.  $(LIB):        $(OBJECT)
  1649.          if test "$(LIBEXT)" = ".a" ; then \
  1650. -            $(AR) $(LIB) $(OBJECT); \
  1651. +            $(AR) $(AR_FLAGS) $(LIB) $(OBJECT); \
  1652.              $(RANLIB) $(LIB); \
  1653.          else \
  1654.              $(LD) $(LDFLAGS) -o $(LIB) $(OBJECT) $(LDTAIL); \
  1655. diff -rup --new-file baseline/contrib/kaffe/kaffevm/paths.h amiga/contrib/kaffe/kaffevm/paths.h
  1656. --- baseline/contrib/kaffe/kaffevm/paths.h    Fri Aug 16 00:14:53 1996
  1657. +++ amiga/contrib/kaffe/kaffevm/paths.h    Sat Sep 28 00:00:00 1996
  1658. @@ -20,7 +20,7 @@
  1659.  #if defined(__WIN32__) || defined(__OS2__)
  1660.  #define    PATHSEP        ';'
  1661.  #define    DIRSEP        "\\"
  1662. -#elif defined(__AMIGA__)
  1663. +#elif defined(__amigaos__)
  1664.  #define PATHSEP        ';'
  1665.  #define DIRSEP        "/"
  1666.  #else
  1667. diff -rup --new-file baseline/contrib/kaffe/kaffevm/threadCalls.c amiga/contrib/kaffe/kaffevm/threadCalls.c
  1668. --- baseline/contrib/kaffe/kaffevm/threadCalls.c    Wed Aug 21 13:17:59 1996
  1669. +++ amiga/contrib/kaffe/kaffevm/threadCalls.c    Sat Sep 28 00:00:00 1996
  1670. @@ -81,11 +81,10 @@ extern thread* currentThread;
  1671.  
  1672.  /*
  1673.   * QUICK HACK!!
  1674. - * For the Amiga port we cannot thread reading and writing.  We can use
  1675. - * select to thread reads but not writes (which will block anyway).
  1676. + * For the Amiga port we cannot thread writing.  Neither can we use
  1677. + * select to thread writes (which will block anyway).
  1678.   */
  1679. -#if defined(__AMIGA__)
  1680. -#define    NO_READ_THREADING
  1681. +#if defined(__amigaos__)
  1682.  #define    NO_WRITE_THREADING
  1683.  #endif
  1684.  
  1685. @@ -95,7 +94,6 @@ extern thread* currentThread;
  1686.  int
  1687.  threadedFileDescriptor(int fd)
  1688.  {
  1689. -#if !defined(NO_READ_THEADING) && !defined(NO_WRITE_THREADING)
  1690.      int r;
  1691.      int on = 1;
  1692.      int pid;
  1693. @@ -137,7 +135,6 @@ threadedFileDescriptor(int fd)
  1694.      if (r < 0) {
  1695.          return (r);
  1696.      }
  1697. -#endif
  1698.      return (fd);
  1699.  }
  1700.  
  1701. diff -rup --new-file baseline/contrib/kaffe/lib/native/Makefile.in amiga/contrib/kaffe/lib/native/Makefile.in
  1702. --- baseline/contrib/kaffe/lib/native/Makefile.in    Fri Aug 16 09:00:15 1996
  1703. +++ amiga/contrib/kaffe/lib/native/Makefile.in    Thu Oct  3 11:38:02 1996
  1704. @@ -15,6 +15,7 @@ exec_prefix=    @exec_prefix@
  1705.  libdir=        @libdir@
  1706.  CC=        @CC@
  1707.  AR=        @AR@
  1708. +AR_FLAGS=    cr
  1709.  RANLIB=        @RANLIB@
  1710.  CFLAGS=        @CFLAGS@ -I$(srcdir) -I../support -I$(srcdir)/../support -I../../config -I$(srcdir)/../../config
  1711.  INSTALL=    @INSTALL@
  1712. @@ -84,7 +85,7 @@ $(LLIB):        $(LIB)
  1713.  
  1714.  $(LIB):        $(OBJECTS)
  1715.          if test "$(LIBEXT)" = ".a" ; then \
  1716. -            $(AR) $(LIB) $(OBJECTS); \
  1717. +            $(AR) $(AR_FLAGS) $(LIB) $(OBJECTS); \
  1718.              $(RANLIB) $(LIB); \
  1719.          else \
  1720.              $(LD) $(LDFLAGS) -o $(LIB) $(OBJECTS) $(LDTAIL); \
  1721. diff -rup --new-file baseline/contrib/kaffe/lib/net/Makefile.in amiga/contrib/kaffe/lib/net/Makefile.in
  1722. --- baseline/contrib/kaffe/lib/net/Makefile.in    Fri Aug 16 09:00:21 1996
  1723. +++ amiga/contrib/kaffe/lib/net/Makefile.in    Thu Oct  3 11:38:21 1996
  1724. @@ -15,6 +15,7 @@ exec_prefix=    @exec_prefix@
  1725.  libdir=        @libdir@
  1726.  CC=        @CC@
  1727.  AR=        @AR@
  1728. +AR_FLAGS=    cr
  1729.  RANLIB=        @RANLIB@
  1730.  CFLAGS=        @CFLAGS@ -I$(srcdir) -I../support -I$(srcdir)/../support -I../../config -I$(srcdir)/../../config
  1731.  INSTALL=    @INSTALL@
  1732. @@ -52,7 +53,7 @@ $(LLIB):    $(LIB)
  1733.  
  1734.  $(LIB):         $(OBJECTS)
  1735.          if test "$(LIBEXT)" = ".a" ; then \
  1736. -            $(AR) $(LIB) $(OBJECTS); \
  1737. +            $(AR) $(AR_FLAGS) $(LIB) $(OBJECTS); \
  1738.              $(RANLIB) $(LIB); \
  1739.          else \
  1740.              $(LD) $(LDFLAGS) -o $(LIB) $(OBJECTS) $(LDTAIL); \
  1741. diff -rup --new-file baseline/contrib/kaffe/lib/support/system.h amiga/contrib/kaffe/lib/support/system.h
  1742. --- baseline/contrib/kaffe/lib/support/system.h    Fri Aug 16 00:20:15 1996
  1743. +++ amiga/contrib/kaffe/lib/support/system.h    Sat Sep 28 00:00:00 1996
  1744. @@ -27,7 +27,7 @@
  1745.  #define    file_seperator        "\\"
  1746.  #define    path_seperator        ";"
  1747.  #define    line_seperator        "\r\n"
  1748. -#elif defined(__AMIGA__)
  1749. +#elif defined(__amigaos__)
  1750.  #define    file_seperator        "/"
  1751.  #define    path_seperator        ";"
  1752.  #define    line_seperator        "\n"
  1753. diff -rup --new-file baseline/contrib/kaffe/manifests/bin amiga/contrib/kaffe/manifests/bin
  1754. --- baseline/contrib/kaffe/manifests/bin    Wed Dec 31 17:00:00 1969
  1755. +++ amiga/contrib/kaffe/manifests/bin    Sat Sep 28 00:00:00 1996
  1756. @@ -0,0 +1,11 @@
  1757. +man/man1/kaffe.1
  1758. +bin/kaffe
  1759. +bin/kaffeh
  1760. +bin/javac
  1761. +bin/javadoc
  1762. +include/kaffe/jtypes.h
  1763. +include/kaffe/native.h
  1764. +include/kaffe/stubPreamble.h
  1765. +lib/libkaffe_vm.a.0.5
  1766. +lib/libkaffe_native.a.0.5
  1767. +lib/libkaffe_net.a.0.5
  1768. diff -rup --new-file baseline/contrib/kaffe/manifests/src amiga/contrib/kaffe/manifests/src
  1769. --- baseline/contrib/kaffe/manifests/src    Wed Dec 31 17:00:00 1969
  1770. +++ amiga/contrib/kaffe/manifests/src    Sat Sep 28 00:00:00 1996
  1771. @@ -0,0 +1,357 @@
  1772. +contrib/kaffe/ChangeLog
  1773. +contrib/kaffe/Makefile.in
  1774. +contrib/kaffe/NOTES/BUGS
  1775. +contrib/kaffe/NOTES/HELPERS
  1776. +contrib/kaffe/NOTES/POST
  1777. +contrib/kaffe/NOTES/PUBLICITY
  1778. +contrib/kaffe/NOTES/THANKS
  1779. +contrib/kaffe/Product-Info
  1780. +contrib/kaffe/README
  1781. +contrib/kaffe/README.amiga
  1782. +contrib/kaffe/config.guess
  1783. +contrib/kaffe/config.sub
  1784. +contrib/kaffe/config/Makefile.in
  1785. +contrib/kaffe/config/config-hacks.h
  1786. +contrib/kaffe/config/config.h.in
  1787. +contrib/kaffe/config/i386/bsdi/jit-md.h
  1788. +contrib/kaffe/config/i386/bsdi/md.c
  1789. +contrib/kaffe/config/i386/bsdi/md.h
  1790. +contrib/kaffe/config/i386/freebsd2/jit-md.h
  1791. +contrib/kaffe/config/i386/freebsd2/md.c
  1792. +contrib/kaffe/config/i386/freebsd2/md.h
  1793. +contrib/kaffe/config/i386/jit-i386.def
  1794. +contrib/kaffe/config/i386/jit-icode.h
  1795. +contrib/kaffe/config/i386/jit.h
  1796. +contrib/kaffe/config/i386/linux/jit-md.h
  1797. +contrib/kaffe/config/i386/linux/md.c
  1798. +contrib/kaffe/config/i386/linux/md.h
  1799. +contrib/kaffe/config/i386/netbsd1/jit-md.h
  1800. +contrib/kaffe/config/i386/netbsd1/md.c
  1801. +contrib/kaffe/config/i386/netbsd1/md.h
  1802. +contrib/kaffe/config/i386/nextstep3/jit-md.h
  1803. +contrib/kaffe/config/i386/nextstep3/md.c
  1804. +contrib/kaffe/config/i386/nextstep3/md.h
  1805. +contrib/kaffe/config/i386/sco3.2v5/jit-md.h
  1806. +contrib/kaffe/config/i386/sco3.2v5/md.c
  1807. +contrib/kaffe/config/i386/sco3.2v5/md.h
  1808. +contrib/kaffe/config/i386/solaris2/jit-md.h
  1809. +contrib/kaffe/config/i386/solaris2/md.c
  1810. +contrib/kaffe/config/i386/solaris2/md.h
  1811. +contrib/kaffe/config/i386/threads.h
  1812. +contrib/kaffe/config/i386/univel_svr4/jit-md.h
  1813. +contrib/kaffe/config/i386/univel_svr4/md.c
  1814. +contrib/kaffe/config/i386/univel_svr4/md.h
  1815. +contrib/kaffe/config/i386/win32/bc/config.h
  1816. +contrib/kaffe/config/i386/win32/bc/jtypes.h
  1817. +contrib/kaffe/config/i386/win32/bc/libkaffe_awt.def
  1818. +contrib/kaffe/config/i386/win32/bc/libkaffe_native.def
  1819. +contrib/kaffe/config/i386/win32/bc/libkaffe_tawt.def
  1820. +contrib/kaffe/config/i386/win32/bc/libkaffe_vm.def
  1821. +contrib/kaffe/config/i386/win32/bc/md-threads.c
  1822. +contrib/kaffe/config/i386/win32/bc/md.c
  1823. +contrib/kaffe/config/i386/win32/bc/md.h
  1824. +contrib/kaffe/config/i386/win32/md-soft.c
  1825. +contrib/kaffe/config/i386/win32/mscv/config.h
  1826. +contrib/kaffe/config/i386/win32/mscv/jtypes.h
  1827. +contrib/kaffe/config/i386/win32/mscv/libkaffe_awt.def
  1828. +contrib/kaffe/config/i386/win32/mscv/libkaffe_native.def
  1829. +contrib/kaffe/config/i386/win32/mscv/libkaffe_tawt.def
  1830. +contrib/kaffe/config/i386/win32/mscv/libkaffe_vm.def
  1831. +contrib/kaffe/config/i386/win32/mscv/md.h
  1832. +contrib/kaffe/config/i386/win32/threads.h
  1833. +contrib/kaffe/config/m68k/amigaos/md.c
  1834. +contrib/kaffe/config/m68k/amigaos/md.h
  1835. +contrib/kaffe/config/m68k/threads.h
  1836. +contrib/kaffe/config/powerpc/linux/md.c
  1837. +contrib/kaffe/config/powerpc/linux/md.h
  1838. +contrib/kaffe/config/powerpc/threads.h
  1839. +contrib/kaffe/config/sparc/netbsd1/md.c
  1840. +contrib/kaffe/config/sparc/netbsd1/md.h
  1841. +contrib/kaffe/config/sparc/nextstep3/md.c
  1842. +contrib/kaffe/config/sparc/nextstep3/md.h
  1843. +contrib/kaffe/config/sparc/solaris2/md.c
  1844. +contrib/kaffe/config/sparc/solaris2/md.h
  1845. +contrib/kaffe/config/sparc/sunos/md.c
  1846. +contrib/kaffe/config/sparc/sunos/md.h
  1847. +contrib/kaffe/config/sparc/threads.h
  1848. +contrib/kaffe/configure
  1849. +contrib/kaffe/configure.in
  1850. +contrib/kaffe/install-sh
  1851. +contrib/kaffe/kaffe/Makefile.in
  1852. +contrib/kaffe/kaffe/main.c
  1853. +contrib/kaffe/kaffeh/Makefile.in
  1854. +contrib/kaffe/kaffeh/access.h
  1855. +contrib/kaffe/kaffeh/constants.c
  1856. +contrib/kaffe/kaffeh/constants.h
  1857. +contrib/kaffe/kaffeh/file.h
  1858. +contrib/kaffe/kaffeh/gtypes.h
  1859. +contrib/kaffe/kaffeh/main.c
  1860. +contrib/kaffe/kaffeh/readClassConfig.h
  1861. +contrib/kaffe/kaffeh/sigs.c
  1862. +contrib/kaffe/kaffeh/support.c
  1863. +contrib/kaffe/kaffevm/Makefile.in
  1864. +contrib/kaffe/kaffevm/access.h
  1865. +contrib/kaffe/kaffevm/baseClasses.c
  1866. +contrib/kaffe/kaffevm/baseClasses.h
  1867. +contrib/kaffe/kaffevm/bytecode.h
  1868. +contrib/kaffe/kaffevm/classMethod.c
  1869. +contrib/kaffe/kaffevm/classMethod.h
  1870. +contrib/kaffe/kaffevm/code.c
  1871. +contrib/kaffe/kaffevm/code.h
  1872. +contrib/kaffe/kaffevm/constants.c
  1873. +contrib/kaffe/kaffevm/constants.h
  1874. +contrib/kaffe/kaffevm/errors.h
  1875. +contrib/kaffe/kaffevm/exception.h
  1876. +contrib/kaffe/kaffevm/external.c
  1877. +contrib/kaffe/kaffevm/external.h
  1878. +contrib/kaffe/kaffevm/file.h
  1879. +contrib/kaffe/kaffevm/findClass.c
  1880. +contrib/kaffe/kaffevm/flags.c
  1881. +contrib/kaffe/kaffevm/flags.h
  1882. +contrib/kaffe/kaffevm/gc-incremental.c
  1883. +contrib/kaffe/kaffevm/gc-incremental.h
  1884. +contrib/kaffe/kaffevm/gc-simple.c
  1885. +contrib/kaffe/kaffevm/gc-simple.h
  1886. +contrib/kaffe/kaffevm/gc.c
  1887. +contrib/kaffe/kaffevm/gc.h
  1888. +contrib/kaffe/kaffevm/gtypes.h
  1889. +contrib/kaffe/kaffevm/intrp/checks.h
  1890. +contrib/kaffe/kaffevm/intrp/exception.c
  1891. +contrib/kaffe/kaffevm/intrp/icode.h
  1892. +contrib/kaffe/kaffevm/intrp/machine.c
  1893. +contrib/kaffe/kaffevm/intrp/machine.h
  1894. +contrib/kaffe/kaffevm/intrp/slots.h
  1895. +contrib/kaffe/kaffevm/itypes.c
  1896. +contrib/kaffe/kaffevm/itypes.h
  1897. +contrib/kaffe/kaffevm/jit/basecode.c
  1898. +contrib/kaffe/kaffevm/jit/basecode.h
  1899. +contrib/kaffe/kaffevm/jit/checks.h
  1900. +contrib/kaffe/kaffevm/jit/codeinfo.h
  1901. +contrib/kaffe/kaffevm/jit/codeproto.h
  1902. +contrib/kaffe/kaffevm/jit/exception.c
  1903. +contrib/kaffe/kaffevm/jit/funcs.c
  1904. +contrib/kaffe/kaffevm/jit/icode.c
  1905. +contrib/kaffe/kaffevm/jit/labels.c
  1906. +contrib/kaffe/kaffevm/jit/labels.h
  1907. +contrib/kaffe/kaffevm/jit/machine.c
  1908. +contrib/kaffe/kaffevm/jit/machine.h
  1909. +contrib/kaffe/kaffevm/jit/ops.h
  1910. +contrib/kaffe/kaffevm/jit/registers.c
  1911. +contrib/kaffe/kaffevm/jit/registers.h
  1912. +contrib/kaffe/kaffevm/jit/seq.c
  1913. +contrib/kaffe/kaffevm/jit/seq.h
  1914. +contrib/kaffe/kaffevm/jit/slots.c
  1915. +contrib/kaffe/kaffevm/jit/slots.h
  1916. +contrib/kaffe/kaffevm/kaffe.def
  1917. +contrib/kaffe/kaffevm/lerrno.h
  1918. +contrib/kaffe/kaffevm/locks.c
  1919. +contrib/kaffe/kaffevm/locks.h
  1920. +contrib/kaffe/kaffevm/lookup.c
  1921. +contrib/kaffe/kaffevm/lookup.h
  1922. +contrib/kaffe/kaffevm/object.c
  1923. +contrib/kaffe/kaffevm/object.h
  1924. +contrib/kaffe/kaffevm/paths.h
  1925. +contrib/kaffe/kaffevm/readClass.c
  1926. +contrib/kaffe/kaffevm/readClass.h
  1927. +contrib/kaffe/kaffevm/readClassConfig.h
  1928. +contrib/kaffe/kaffevm/slib.h
  1929. +contrib/kaffe/kaffevm/soft.c
  1930. +contrib/kaffe/kaffevm/soft.h
  1931. +contrib/kaffe/kaffevm/support.c
  1932. +contrib/kaffe/kaffevm/support.h
  1933. +contrib/kaffe/kaffevm/thread.c
  1934. +contrib/kaffe/kaffevm/thread.h
  1935. +contrib/kaffe/kaffevm/threadCalls.c
  1936. +contrib/kaffe/kaffevm/zextract.c
  1937. +contrib/kaffe/kaffevm/zipfile.h
  1938. +contrib/kaffe/lib/GENSTUBS
  1939. +contrib/kaffe/lib/Makefile.in
  1940. +contrib/kaffe/lib/external_wrappers.h
  1941. +contrib/kaffe/lib/gen
  1942. +contrib/kaffe/lib/native/Makefile.in
  1943. +contrib/kaffe/lib/native/java.io.stubs/File.h
  1944. +contrib/kaffe/lib/native/java.io.stubs/FileDescriptor.h
  1945. +contrib/kaffe/lib/native/java.io.stubs/FileDescriptorStub.c
  1946. +contrib/kaffe/lib/native/java.io.stubs/FileInputStream.h
  1947. +contrib/kaffe/lib/native/java.io.stubs/FileInputStreamStub.c
  1948. +contrib/kaffe/lib/native/java.io.stubs/FileOutputStream.h
  1949. +contrib/kaffe/lib/native/java.io.stubs/FileOutputStreamStub.c
  1950. +contrib/kaffe/lib/native/java.io.stubs/FileStub.c
  1951. +contrib/kaffe/lib/native/java.io.stubs/PrintStream.h
  1952. +contrib/kaffe/lib/native/java.io.stubs/RandomAccessFile.h
  1953. +contrib/kaffe/lib/native/java.io.stubs/RandomAccessFileStub.c
  1954. +contrib/kaffe/lib/native/java.io/File.c
  1955. +contrib/kaffe/lib/native/java.io/FileDescriptor.c
  1956. +contrib/kaffe/lib/native/java.io/FileInputStream.c
  1957. +contrib/kaffe/lib/native/java.io/FileOutputStream.c
  1958. +contrib/kaffe/lib/native/java.io/RandomAccessFile.c
  1959. +contrib/kaffe/lib/native/java.lang.stubs/Class.h
  1960. +contrib/kaffe/lib/native/java.lang.stubs/ClassLoader.h
  1961. +contrib/kaffe/lib/native/java.lang.stubs/ClassLoaderStub.c
  1962. +contrib/kaffe/lib/native/java.lang.stubs/ClassStub.c
  1963. +contrib/kaffe/lib/native/java.lang.stubs/Compiler.h
  1964. +contrib/kaffe/lib/native/java.lang.stubs/CompilerStub.c
  1965. +contrib/kaffe/lib/native/java.lang.stubs/Double.h
  1966. +contrib/kaffe/lib/native/java.lang.stubs/DoubleStub.c
  1967. +contrib/kaffe/lib/native/java.lang.stubs/Float.h
  1968. +contrib/kaffe/lib/native/java.lang.stubs/FloatStub.c
  1969. +contrib/kaffe/lib/native/java.lang.stubs/Math.h
  1970. +contrib/kaffe/lib/native/java.lang.stubs/MathStub.c
  1971. +contrib/kaffe/lib/native/java.lang.stubs/Object.h
  1972. +contrib/kaffe/lib/native/java.lang.stubs/ObjectStub.c
  1973. +contrib/kaffe/lib/native/java.lang.stubs/ProcessReaper.h
  1974. +contrib/kaffe/lib/native/java.lang.stubs/ProcessReaperStub.c
  1975. +contrib/kaffe/lib/native/java.lang.stubs/Runtime.h
  1976. +contrib/kaffe/lib/native/java.lang.stubs/RuntimeStub.c
  1977. +contrib/kaffe/lib/native/java.lang.stubs/SecurityManager.h
  1978. +contrib/kaffe/lib/native/java.lang.stubs/SecurityManagerStub.c
  1979. +contrib/kaffe/lib/native/java.lang.stubs/System.h
  1980. +contrib/kaffe/lib/native/java.lang.stubs/SystemStub.c
  1981. +contrib/kaffe/lib/native/java.lang.stubs/Thread.h
  1982. +contrib/kaffe/lib/native/java.lang.stubs/ThreadStub.c
  1983. +contrib/kaffe/lib/native/java.lang.stubs/Throwable.h
  1984. +contrib/kaffe/lib/native/java.lang.stubs/ThrowableStub.c
  1985. +contrib/kaffe/lib/native/java.lang.stubs/UNIXProcess.h
  1986. +contrib/kaffe/lib/native/java.lang.stubs/UNIXProcessStub.c
  1987. +contrib/kaffe/lib/native/java.lang/Class.c
  1988. +contrib/kaffe/lib/native/java.lang/ClassLoader.c
  1989. +contrib/kaffe/lib/native/java.lang/Compiler.c
  1990. +contrib/kaffe/lib/native/java.lang/Double.c
  1991. +contrib/kaffe/lib/native/java.lang/Float.c
  1992. +contrib/kaffe/lib/native/java.lang/Math.c
  1993. +contrib/kaffe/lib/native/java.lang/Object.c
  1994. +contrib/kaffe/lib/native/java.lang/ProcessReaper.c
  1995. +contrib/kaffe/lib/native/java.lang/Runtime.c
  1996. +contrib/kaffe/lib/native/java.lang/SecurityManager.c
  1997. +contrib/kaffe/lib/native/java.lang/System.c
  1998. +contrib/kaffe/lib/native/java.lang/Thread.c
  1999. +contrib/kaffe/lib/native/java.lang/Throwable.c
  2000. +contrib/kaffe/lib/native/java.lang/UNIXProcess.c
  2001. +contrib/kaffe/lib/native/java.util.stubs/Date.h
  2002. +contrib/kaffe/lib/native/java.util.stubs/DateStub.c
  2003. +contrib/kaffe/lib/native/java.util/Date.c
  2004. +contrib/kaffe/lib/net/Makefile.in
  2005. +contrib/kaffe/lib/net/java.net.stubs/DatagramPacket.h
  2006. +contrib/kaffe/lib/net/java.net.stubs/DatagramSocket.h
  2007. +contrib/kaffe/lib/net/java.net.stubs/DatagramSocketStub.c
  2008. +contrib/kaffe/lib/net/java.net.stubs/InetAddress.h
  2009. +contrib/kaffe/lib/net/java.net.stubs/InetAddressStub.c
  2010. +contrib/kaffe/lib/net/java.net.stubs/PlainSocketImpl.h
  2011. +contrib/kaffe/lib/net/java.net.stubs/PlainSocketImplStub.c
  2012. +contrib/kaffe/lib/net/java.net.stubs/SocketImpl.h
  2013. +contrib/kaffe/lib/net/java.net.stubs/SocketInputStream.h
  2014. +contrib/kaffe/lib/net/java.net.stubs/SocketInputStreamStub.c
  2015. +contrib/kaffe/lib/net/java.net.stubs/SocketOutputStream.h
  2016. +contrib/kaffe/lib/net/java.net.stubs/SocketOutputStreamStub.c
  2017. +contrib/kaffe/lib/net/java.net/DatagramSocket.c
  2018. +contrib/kaffe/lib/net/java.net/InetAddress.c
  2019. +contrib/kaffe/lib/net/java.net/PlainSocketImpl.c
  2020. +contrib/kaffe/lib/net/java.net/SocketInputStream.c
  2021. +contrib/kaffe/lib/net/java.net/SocketOutputStream.c
  2022. +contrib/kaffe/lib/support/Makefile.in
  2023. +contrib/kaffe/lib/support/defs.h
  2024. +contrib/kaffe/lib/support/files.h
  2025. +contrib/kaffe/lib/support/jtypes.h.in
  2026. +contrib/kaffe/lib/support/kthread.h
  2027. +contrib/kaffe/lib/support/native.h
  2028. +contrib/kaffe/lib/support/nets.h
  2029. +contrib/kaffe/lib/support/stubPreamble.h
  2030. +contrib/kaffe/lib/support/system.h
  2031. +contrib/kaffe/license.terms
  2032. +contrib/kaffe/man/Makefile.in
  2033. +contrib/kaffe/man/kaffe.1
  2034. +contrib/kaffe/manifests/bin
  2035. +contrib/kaffe/manifests/src
  2036. +contrib/kaffe/scripts/Makefile.in
  2037. +contrib/kaffe/scripts/javac
  2038. +contrib/kaffe/scripts/javadoc
  2039. +contrib/kaffe/test/HelloWorldApp.class
  2040. +contrib/kaffe/test/HelloWorldApp.java
  2041. +contrib/kaffe/test/Makefile.in
  2042. +contrib/kaffe/test/compiler/Stock.java
  2043. +contrib/kaffe/test/compiler/test.java
  2044. +contrib/kaffe/test/exceptions/DateTest.java
  2045. +contrib/kaffe/test/exceptions/IndexTest.java
  2046. +contrib/kaffe/test/exceptions/NullTest.java
  2047. +contrib/kaffe/test/exceptions/StackDump.java
  2048. +contrib/kaffe/test/exceptions/simple.java
  2049. +contrib/kaffe/test/exceptions/throwTest.java
  2050. +contrib/kaffe/test/file/CountFile.java
  2051. +contrib/kaffe/test/file/dirlist.java
  2052. +contrib/kaffe/test/floats/Flt.java
  2053. +contrib/kaffe/test/floats/Flt2.java
  2054. +contrib/kaffe/test/floats/Flt3.java
  2055. +contrib/kaffe/test/floats/Flt4.java
  2056. +contrib/kaffe/test/floats/Flt5.java
  2057. +contrib/kaffe/test/floats/Flt6.java
  2058. +contrib/kaffe/test/floats/FltSqr.java
  2059. +contrib/kaffe/test/floats/KaffeDivErr.java
  2060. +contrib/kaffe/test/floats/Matrix.java
  2061. +contrib/kaffe/test/floats/TV.java
  2062. +contrib/kaffe/test/floats/TestFloatDoubleLong.java
  2063. +contrib/kaffe/test/floats/inf.java
  2064. +contrib/kaffe/test/floats/linpack/LinpackApp.java
  2065. +contrib/kaffe/test/general/DateTest.java
  2066. +contrib/kaffe/test/general/java_class.java
  2067. +contrib/kaffe/test/longs/Long1.java
  2068. +contrib/kaffe/test/longs/Long2.java
  2069. +contrib/kaffe/test/longs/dup2.java
  2070. +contrib/kaffe/test/network/DemoClient.java
  2071. +contrib/kaffe/test/network/DemoServer.java
  2072. +contrib/kaffe/test/network/FILE.HTM
  2073. +contrib/kaffe/test/network/GenericServer.java
  2074. +contrib/kaffe/test/network/socktest.java
  2075. +contrib/kaffe/test/network/whatip2.java
  2076. +contrib/kaffe/test/strings/Str.java
  2077. +contrib/kaffe/test/strings/Str2.java
  2078. +contrib/kaffe/test/threads/CubbyHole.java
  2079. +contrib/kaffe/test/threads/MyThreadLauncher.java
  2080. +contrib/kaffe/test/threads/T16.java
  2081. +contrib/kaffe/test/threads/sleepers.java
  2082. +contrib/kaffe/test/threads/sleeptest.java
  2083. +contrib/kaffe/test/threads/tname.java
  2084. +contrib/kaffe/test/threads/ttest.java
  2085. +contrib/kaffe/win32/ENVIRONMENT.BAT
  2086. +contrib/kaffe/win32/Makefile
  2087. +contrib/kaffe/win32/OLD-WIN32/ENVIRONMENT.BAT
  2088. +contrib/kaffe/win32/OLD-WIN32/Makefile
  2089. +contrib/kaffe/win32/OLD-WIN32/config/config.h
  2090. +contrib/kaffe/win32/OLD-WIN32/kaffe/Makefile
  2091. +contrib/kaffe/win32/OLD-WIN32/kaffe/includes.rsp
  2092. +contrib/kaffe/win32/OLD-WIN32/kaffevm/Makefile
  2093. +contrib/kaffe/win32/OLD-WIN32/kaffevm/includes.rsp
  2094. +contrib/kaffe/win32/OLD-WIN32/kaffevm/libkaffe_vm.def
  2095. +contrib/kaffe/win32/OLD-WIN32/kaffevm/listobj.rsp
  2096. +contrib/kaffe/win32/OLD-WIN32/lib/Makefile
  2097. +contrib/kaffe/win32/OLD-WIN32/lib/native/Makefile
  2098. +contrib/kaffe/win32/OLD-WIN32/lib/native/includes.rsp
  2099. +contrib/kaffe/win32/OLD-WIN32/lib/native/libkaffe_native.def
  2100. +contrib/kaffe/win32/OLD-WIN32/lib/native/listobj.rsp
  2101. +contrib/kaffe/win32/OLD-WIN32/lib/support/jtypes.h
  2102. +contrib/kaffe/win32/OLD-WIN32/scripts/Makefile
  2103. +contrib/kaffe/win32/OLD-WIN32/scripts/javac.bat
  2104. +contrib/kaffe/win32/OLD-WIN32/scripts/javadoc.bat
  2105. +contrib/kaffe/win32/OLD-WIN32/sun/Makefile
  2106. +contrib/kaffe/win32/config/config.h
  2107. +contrib/kaffe/win32/kaffe/COPYDLL.BAT
  2108. +contrib/kaffe/win32/kaffe/Makefile
  2109. +contrib/kaffe/win32/kaffe/includes.rsp
  2110. +contrib/kaffe/win32/kaffe/make.bc.in
  2111. +contrib/kaffe/win32/kaffe/make.vc
  2112. +contrib/kaffe/win32/kaffevm/kmake.bat
  2113. +contrib/kaffe/win32/kaffevm/make.bc.in
  2114. +contrib/kaffe/win32/kaffevm/make.vc.in
  2115. +contrib/kaffe/win32/lib/Makefile
  2116. +contrib/kaffe/win32/lib/awt/kmake.bat
  2117. +contrib/kaffe/win32/lib/awt/make.bc.in
  2118. +contrib/kaffe/win32/lib/awt/make.vc.in
  2119. +contrib/kaffe/win32/lib/native/kmake.bat
  2120. +contrib/kaffe/win32/lib/native/make.bc.in
  2121. +contrib/kaffe/win32/lib/native/make.vc.in
  2122. +contrib/kaffe/win32/lib/native/makefile
  2123. +contrib/kaffe/win32/lib/support/jtypes.h
  2124. +contrib/kaffe/win32/make.pl
  2125. +contrib/kaffe/win32/scripts/Makefile
  2126. +contrib/kaffe/win32/scripts/javac.bat
  2127. +contrib/kaffe/win32/scripts/javadoc.bat
  2128. +contrib/kaffe/win32/sun/Makefile
  2129. Binary files baseline/contrib/kaffe/test/HelloWorldApp.class and amiga/contrib/kaffe/test/HelloWorldApp.class differ
  2130.