home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / tile-forth-2.1-diffs.gz / tile-forth-2.1-diffs
Text File  |  1996-10-13  |  62KB  |  1,897 lines

  1. This file contains patches that transform the baseline version into
  2. the amiga version.  Assuming that you have unarchived the baseline
  3. version in the current directory, just run the command:
  4.  
  5.     patch -p1 -E -b .pbak <diff-file
  6.  
  7. where 'diff-file' is this patch file.  After running patch you should
  8. remove all the generated *.pbak files, and look for any *.rej files
  9. that indicate a problem patching the baseline source.
  10.  
  11. diff -rup --new-file baseline/fsf/tile-forth/Makefile amiga/fsf/tile-forth/Makefile
  12. --- baseline/fsf/tile-forth/Makefile    Sat Sep 14 14:30:10 1991
  13. +++ amiga/fsf/tile-forth/Makefile    Wed Dec 31 17:00:00 1969
  14. @@ -1,95 +0,0 @@
  15. -# NAME
  16. -#    Makefile - for management of the tile forth environment
  17. -# SYNOPSIS
  18. -#    make [option]
  19. -# DESCRIPTION
  20. -#    General environment coordinator for the threaded interpreter language
  21. -#    environment (TILE). Allows packaging for distribution etc.
  22. -# OPTIONS
  23. -#       forth
  24. -#        Compiles the forth compiler/interpreter.
  25. -#       new
  26. -#        Recompile the forth application without optimization.
  27. -#       opt
  28. -#        Recompile the forth application with optimization.
  29. -#       index
  30. -#           Creates index file for available library defintions.
  31. -#       help
  32. -#               Creates the documentation file for the emacs forth mode.
  33. -#    kit
  34. -#        Pack the available files for mailing.
  35. -#    tar
  36. -#        Pack the available files for ftp'ing.
  37. -# SEE ALSO
  38. -#    make(1), makekit(1), tar(1)
  39. -# AUTHOR
  40. -#    Copyright (C) 1990, Mikael R.K. Patel
  41. -#    Computer Aided Design Laboratory (CADLAB)
  42. -#    Department of Computer and Information Science
  43. -#    Linkoping University
  44. -#    S-581 83 LINKOPING
  45. -#    SWEDEN
  46. -#    Email: mip@ida.liu.se
  47. -# HISTORY
  48. -#    Started on:      23 May 1990
  49. -#    Last updated on: 10 September 1990
  50. -#
  51. -
  52. -# Compile tile forth
  53. -forth:
  54. -    cd src ; make
  55. -
  56. -# Recompile tile forth kernel without optimization
  57. -new:
  58. -    cd src ; make new
  59. -
  60. -# Recompile tile forth kernel with optimization
  61. -opt:
  62. -    cd src ; make opt
  63. -
  64. -# Create index file for library definitions
  65. -index:
  66. -    makeindex lib/* tst/* > INDEX
  67. -
  68. -# Create documentation files for the emacs forth mode
  69. -help: 
  70. -    rm -f doc/*
  71. -    makedoc man/man3/*
  72. -    mv man/man3/*.doc doc
  73. -
  74. -# Packs the available source and documentation for mailing
  75. -kit:
  76. -    touch src/forth.o
  77. -    touch bin/forth
  78. -    mv src/*.o tmp
  79. -    mv bin/forth tmp
  80. -    makekit -ntile.kit. \
  81. -        Makefile COPYING README PORTING INSTALL INDEX \
  82. -        bin bin/* src src/* lib lib/* tst tst/* \
  83. -        man man/man1 man/man1/* \
  84. -        > tile.kit.index
  85. -    mv tile.kit.* shar
  86. -    makekit -ntile.man. \
  87. -        doc man/man3 man/man3/* \
  88. -        > tile.man.index
  89. -    mv tile.man.* shar
  90. -    mv tmp/*.o src
  91. -    mv tmp/forth bin
  92. -    date > shar/tile.kit.date
  93. -
  94. -# Packs the available source and documentation for ftp'ing
  95. -tar:
  96. -    touch src/forth.o
  97. -    touch bin/forth
  98. -    mv src/*.o tmp
  99. -    mv bin/forth tmp
  100. -    mv doc/* tmp
  101. -    tar -cvf tile.tar \
  102. -        Makefile COPYING README PORTING INSTALL INDEX \
  103. -        bin src lib tst doc man
  104. -    compress tile.tar
  105. -    mv tile.tar.Z shar
  106. -    mv tmp/*.o src
  107. -    mv tmp/forth bin
  108. -    mv tmp/*.doc doc
  109. -    date > shar/tile.tar.date
  110. diff -rup --new-file baseline/fsf/tile-forth/Makefile.in amiga/fsf/tile-forth/Makefile.in
  111. --- baseline/fsf/tile-forth/Makefile.in    Wed Dec 31 17:00:00 1969
  112. +++ amiga/fsf/tile-forth/Makefile.in    Sat Sep 28 00:00:00 1996
  113. @@ -0,0 +1,137 @@
  114. +# NAME
  115. +#    Makefile - for management of the tile forth environment
  116. +# SYNOPSIS
  117. +#    make [option]
  118. +# DESCRIPTION
  119. +#    General environment coordinator for the threaded interpreter language
  120. +#    environment (TILE). Allows packaging for distribution etc.
  121. +# OPTIONS
  122. +#       forth
  123. +#        Compiles the forth compiler/interpreter.
  124. +#       new
  125. +#        Recompile the forth application without optimization.
  126. +#       opt
  127. +#        Recompile the forth application with optimization.
  128. +#       index
  129. +#           Creates index file for available library defintions.
  130. +#       help
  131. +#               Creates the documentation file for the emacs forth mode.
  132. +#    kit
  133. +#        Pack the available files for mailing.
  134. +#    tar
  135. +#        Pack the available files for ftp'ing.
  136. +# SEE ALSO
  137. +#    make(1), makekit(1), tar(1)
  138. +# AUTHOR
  139. +#    Copyright (C) 1990, Mikael R.K. Patel
  140. +#    Computer Aided Design Laboratory (CADLAB)
  141. +#    Department of Computer and Information Science
  142. +#    Linkoping University
  143. +#    S-581 83 LINKOPING
  144. +#    SWEDEN
  145. +#    Email: mip@ida.liu.se
  146. +# HISTORY
  147. +#    Started on:      23 May 1990
  148. +#    Last updated on: 10 September 1990
  149. +#
  150. +
  151. +srcdir =    @srcdir@
  152. +VPATH =        @srcdir@
  153. +
  154. +prefix =    @prefix@
  155. +exec_prefix =    @exec_prefix@
  156. +
  157. +bindir =    $(exec_prefix)/bin
  158. +libdir =    $(exec_prefix)/lib
  159. +incdir =    $(prefix)/include
  160. +infodir =    $(prefix)/info
  161. +
  162. +INSTALL =    @INSTALL@
  163. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  164. +INSTALL_DATA =    @INSTALL_DATA@
  165. +
  166. +SHELL =        /bin/sh
  167. +CC =        @CC@
  168. +AR =        ar
  169. +RM =        rm
  170. +RANLIB =    @RANLIB@
  171. +DEFS =        @DEFS@
  172. +LIBS =        @LIBS@
  173. +CFLAGS =    @CFLAGS@
  174. +LDFLAGS =    @LDFLAGS@
  175. +
  176. +INCLUDES =    -I. -I$(srcdir)
  177. +OUR_CFLAGS =    -DDBUG $(DEFS) $(INCLUDES) $(CFLAGS)
  178. +
  179. +.SUFFIXES:    .r .r~ .c .c~
  180. +
  181. +.c.o:
  182. +        $(CC) -c $(OUR_CFLAGS) $<
  183. +
  184. +# Compile tile forth
  185. +
  186. +all:
  187. +    (cd src ; $(MAKE))
  188. +
  189. +# Create index file for library definitions
  190. +
  191. +index:
  192. +    $srcdir/bin/makeindex $srcdir/lib/* $srcdir/tst/* >INDEX
  193. +
  194. +# Create documentation files for the emacs forth mode
  195. +
  196. +help: 
  197. +    rm -rf doc
  198. +    mkdir doc
  199. +    $srcdir/bin/makedoc man/man3/*
  200. +    mv man/man3/*.doc doc
  201. +
  202. +# Install everything.
  203. +
  204. +install:
  205. +    (cd src ; $(MAKE) install)
  206. +    (cd lib ; $(MAKE) install)
  207. +
  208. +# Packs the available source and documentation for mailing
  209. +
  210. +kit:
  211. +    touch src/forth.o
  212. +    touch bin/forth
  213. +    mv src/*.o tmp
  214. +    mv bin/forth tmp
  215. +    makekit -ntile.kit. \
  216. +        Makefile COPYING README PORTING INSTALL INDEX \
  217. +        bin bin/* src src/* lib lib/* tst tst/* \
  218. +        man man/man1 man/man1/* \
  219. +        > tile.kit.index
  220. +    mv tile.kit.* shar
  221. +    makekit -ntile.man. \
  222. +        doc man/man3 man/man3/* \
  223. +        > tile.man.index
  224. +    mv tile.man.* shar
  225. +    mv tmp/*.o src
  226. +    mv tmp/forth bin
  227. +    date > shar/tile.kit.date
  228. +
  229. +# Packs the available source and documentation for ftp'ing
  230. +
  231. +tar:
  232. +    touch src/forth.o
  233. +    touch bin/forth
  234. +    mv src/*.o tmp
  235. +    mv bin/forth tmp
  236. +    mv doc/* tmp
  237. +    tar -cvf tile.tar \
  238. +        Makefile COPYING README PORTING INSTALL INDEX \
  239. +        bin src lib tst doc man
  240. +    compress tile.tar
  241. +    mv tile.tar.Z shar
  242. +    mv tmp/*.o src
  243. +    mv tmp/forth bin
  244. +    mv tmp/*.doc doc
  245. +    date > shar/tile.tar.date
  246. +
  247. +# Run tests/benchmarks
  248. +
  249. +check:
  250. +    (cd src; $(MAKE) check)
  251. diff -rup --new-file baseline/fsf/tile-forth/Product-Info amiga/fsf/tile-forth/Product-Info
  252. --- baseline/fsf/tile-forth/Product-Info    Wed Dec 31 17:00:00 1969
  253. +++ amiga/fsf/tile-forth/Product-Info    Sat Oct 12 12:58:43 1996
  254. @@ -0,0 +1,87 @@
  255. +.name
  256. +tile-forth
  257. +.fullname
  258. +Threaded Interpretive Language Environment
  259. +.type
  260. +Programming Language
  261. +.short
  262. +Threaded Interpretive Language Environ.
  263. +.description
  264. +TILE Forth is a 32-bit implementation of the Forth-83 Standard written
  265. +in C. Thus allowing it to be easily moved between different computers
  266. +compared to traditional Forth implementations in assembly.
  267. +
  268. +Most Forth implementations are done in assembly to be able to utilize
  269. +the underlying architecture as optimal as possible. TILE Forth goes
  270. +another direction. The main idea behind TILE Forth is to achieve a
  271. +portable forth implementation for workstations and medium size
  272. +computer systems so that new groups of programmers may be exposed to
  273. +the flavor of an extensible language such as Forth.
  274. +
  275. +The implementation of TILE Forth is selected so that, in principle,
  276. +any C-level procedure may become available on the interactive and
  277. +incremental forth level. Other models of implementation of a threaded
  278. +interpreter in C are possible but these are not as flexible.
  279. +
  280. +TILE Forth is organized as a set of modules to allow the kernel to be
  281. +used as a general threading engine for C. Environment dependencies
  282. +such as memory allocation, error handling and input/output have been
  283. +separated out of the kernel to increase flexibility. The forth
  284. +application is "just" an example of how to use the kernel.
  285. +
  286. +Comparing forth implementations using the traditional benchmarks such
  287. +as the classical sieves calculation is difficult because of the
  288. +difference in speed between workstations and personal computers. The
  289. +Byte sieves benchmark is reported to typically run in 16 seconds on a
  290. +direct threaded forth implementation. This benchmark will run in 17
  291. +seconds in TILE forth (compiled with GNU CC and optimized) on a
  292. +SUN-3/60 and less than 9 seconds on a SUN SPARCstation 1. These times
  293. +are the total time for loading TILE forth, compiling and executing the
  294. +benchmark. Comparing to, for instance, other interpretive languages
  295. +such as Lisp, where one of the classical benchmarks is calculation of
  296. +the Fibonacci function, the performance increase is over a magnitude.
  297. +
  298. +The kernel supports the Standard Forth-83 word set except for the
  299. +blocks file word set which are not used. The kernel is extended with
  300. +many of the concepts from modern programming languages. Here is a list
  301. +of some of the extensions; argument binding and local variables, queue
  302. +management, low level compiler words, string functions, floating point
  303. +numbers, exceptions and multi-tasking. The TILE Forth environment also
  304. +contains a set of reusable source files for high level multi-tasking,
  305. +data description and structuring modules, and a number of programming
  306. +tools.
  307. +
  308. +To allow interactive and incremental program development TILE Forth
  309. +includes a programming environment as a mode in GNU Emacs. This
  310. +environ- ment helps with program structuring, documentation search,
  311. +and program development. Each vocabulary in the kernel and the source
  312. +library file is described by a manual, documentation and test file.
  313. +This style of programming is emphasized throughout the environment to
  314. +increase understanding and reusability of the library modules. During
  315. +compilation TILE Forth's io-package keeps track for which modules have
  316. +been loaded so that they are only loaded once even if included by
  317. +several modules.
  318. +
  319. +Writing a Forth in C gives some possibilities that normally are not
  320. +available when performing the same task in assembly. TILE Forth has
  321. +been profiled using the available tools under Unix. This information
  322. +has been used to optimize the compiler so that it achieves a
  323. +compilation speed of over 200.000 lines per minute on my machine (a
  324. +disk-less SUN SPARCstation 1). Currently code is only saved in source
  325. +form and applications are typically "compile-and-go".
  326. +
  327. +So far TILE Forth has been ported and tested at over forty locations
  328. +without any major problems except where C compilers do not allow sub-
  329. +routine pointers in data structures.
  330. +.version
  331. +2.1
  332. +.author
  333. +Mikael R.K. Patel
  334. +.email
  335. +mip@ida.liu.se
  336. +.distribution
  337. +GNU Public License
  338. +.described-by
  339. +Fred Fish (fnf@amigalib.com)
  340. +.submittal
  341. +Downloaded from prep.ai.mit.edu:pub/gnu
  342. diff -rup --new-file baseline/fsf/tile-forth/configure amiga/fsf/tile-forth/configure
  343. --- baseline/fsf/tile-forth/configure    Wed Dec 31 17:00:00 1969
  344. +++ amiga/fsf/tile-forth/configure    Mon Sep 30 22:51:18 1996
  345. @@ -0,0 +1,1075 @@
  346. +#! /bin/sh
  347. +
  348. +# Guess values for system-dependent variables and create Makefiles.
  349. +# Generated automatically using autoconf version 2.10 
  350. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  351. +#
  352. +# This configure script is free software; the Free Software Foundation
  353. +# gives unlimited permission to copy, distribute and modify it.
  354. +
  355. +# Defaults:
  356. +ac_help=
  357. +ac_default_prefix=/usr/local
  358. +# Any additions from configure.in:
  359. +
  360. +# Initialize some variables set by options.
  361. +# The variables have the same names as the options, with
  362. +# dashes changed to underlines.
  363. +build=NONE
  364. +cache_file=./config.cache
  365. +exec_prefix=NONE
  366. +host=NONE
  367. +no_create=
  368. +nonopt=NONE
  369. +no_recursion=
  370. +prefix=NONE
  371. +program_prefix=NONE
  372. +program_suffix=NONE
  373. +program_transform_name=s,x,x,
  374. +silent=
  375. +site=
  376. +srcdir=
  377. +target=NONE
  378. +verbose=
  379. +x_includes=NONE
  380. +x_libraries=NONE
  381. +bindir='${exec_prefix}/bin'
  382. +sbindir='${exec_prefix}/sbin'
  383. +libexecdir='${exec_prefix}/libexec'
  384. +datadir='${prefix}/share'
  385. +sysconfdir='${prefix}/etc'
  386. +sharedstatedir='${prefix}/com'
  387. +localstatedir='${prefix}/var'
  388. +libdir='${exec_prefix}/lib'
  389. +includedir='${prefix}/include'
  390. +oldincludedir='/usr/include'
  391. +infodir='${prefix}/info'
  392. +guidedir='${prefix}/guide'
  393. +psdir='${prefix}/ps'
  394. +dvidir='${prefix}/dvi'
  395. +mandir='${prefix}/man'
  396. +
  397. +# Initialize some other variables.
  398. +subdirs=
  399. +MFLAGS= MAKEFLAGS=
  400. +
  401. +ac_prev=
  402. +for ac_option
  403. +do
  404. +
  405. +  # If the previous option needs an argument, assign it.
  406. +  if test -n "$ac_prev"; then
  407. +    eval "$ac_prev=\$ac_option"
  408. +    ac_prev=
  409. +    continue
  410. +  fi
  411. +
  412. +  case "$ac_option" in
  413. +  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  414. +  *) ac_optarg= ;;
  415. +  esac
  416. +
  417. +  # Accept the important Cygnus configure options, so we can diagnose typos.
  418. +
  419. +  case "$ac_option" in
  420. +
  421. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  422. +    ac_prev=bindir ;;
  423. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  424. +    bindir="$ac_optarg" ;;
  425. +
  426. +  -build | --build | --buil | --bui | --bu)
  427. +    ac_prev=build ;;
  428. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  429. +    build="$ac_optarg" ;;
  430. +
  431. +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  432. +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  433. +    ac_prev=cache_file ;;
  434. +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  435. +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  436. +    cache_file="$ac_optarg" ;;
  437. +
  438. +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  439. +    ac_prev=datadir ;;
  440. +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  441. +  | --da=*)
  442. +    datadir="$ac_optarg" ;;
  443. +
  444. +  -disable-* | --disable-*)
  445. +    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  446. +    # Reject names that are not valid shell variable names.
  447. +    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  448. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  449. +    fi
  450. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  451. +    eval "enable_${ac_feature}=no" ;;
  452. +
  453. +  -enable-* | --enable-*)
  454. +    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  455. +    # Reject names that are not valid shell variable names.
  456. +    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  457. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  458. +    fi
  459. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  460. +    case "$ac_option" in
  461. +      *=*) ;;
  462. +      *) ac_optarg=yes ;;
  463. +    esac
  464. +    eval "enable_${ac_feature}='$ac_optarg'" ;;
  465. +
  466. +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  467. +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  468. +  | --exec | --exe | --ex)
  469. +    ac_prev=exec_prefix ;;
  470. +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  471. +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  472. +  | --exec=* | --exe=* | --ex=*)
  473. +    exec_prefix="$ac_optarg" ;;
  474. +
  475. +  -gas | --gas | --ga | --g)
  476. +    # Obsolete; use --with-gas.
  477. +    with_gas=yes ;;
  478. +
  479. +  -help | --help | --hel | --he)
  480. +    # Omit some internal or obsolete options to make the list less imposing.
  481. +    # This message is too long to be a string in the A/UX 3.1 sh.
  482. +    cat << EOF
  483. +Usage: configure [options] [host]
  484. +Options: [defaults in brackets after descriptions]
  485. +Configuration:
  486. +  --cache-file=FILE       cache test results in FILE
  487. +  --help                  print this message
  488. +  --no-create             do not create output files
  489. +  --quiet, --silent       do not print \`checking...' messages
  490. +  --version               print the version of autoconf that created configure
  491. +Directory and file names:
  492. +  --prefix=PREFIX         install architecture-independent files in PREFIX
  493. +                          [$ac_default_prefix]
  494. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  495. +                          [same as prefix]
  496. +  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  497. +  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  498. +  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  499. +  --datadir=DIR           read-only architecture-independent data in DIR
  500. +                          [PREFIX/share]
  501. +  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  502. +  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  503. +                          [PREFIX/com]
  504. +  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  505. +  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  506. +  --includedir=DIR        C header files in DIR [PREFIX/include]
  507. +  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  508. +  --infodir=DIR           info documentation in DIR [PREFIX/info]
  509. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  510. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  511. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  512. +  --mandir=DIR            man documentation in DIR [PREFIX/man]
  513. +  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  514. +  --program-prefix=PREFIX prepend PREFIX to installed program names
  515. +  --program-suffix=SUFFIX append SUFFIX to installed program names
  516. +  --program-transform-name=PROGRAM
  517. +                          run sed PROGRAM on installed program names
  518. +EOF
  519. +    cat << EOF
  520. +Host type:
  521. +  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  522. +  --host=HOST             configure for HOST [guessed]
  523. +  --target=TARGET         configure for TARGET [TARGET=HOST]
  524. +Features and packages:
  525. +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  526. +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  527. +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  528. +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  529. +  --x-includes=DIR        X include files are in DIR
  530. +  --x-libraries=DIR       X library files are in DIR
  531. +EOF
  532. +    if test -n "$ac_help"; then
  533. +      echo "--enable and --with options recognized:$ac_help"
  534. +    fi
  535. +    exit 0 ;;
  536. +
  537. +  -host | --host | --hos | --ho)
  538. +    ac_prev=host ;;
  539. +  -host=* | --host=* | --hos=* | --ho=*)
  540. +    host="$ac_optarg" ;;
  541. +
  542. +  -includedir | --includedir | --includedi | --included | --include \
  543. +  | --includ | --inclu | --incl | --inc)
  544. +    ac_prev=includedir ;;
  545. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  546. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  547. +    includedir="$ac_optarg" ;;
  548. +
  549. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  550. +    ac_prev=infodir ;;
  551. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  552. +    infodir="$ac_optarg" ;;
  553. +
  554. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  555. +   ac_prev=guidedir ;;
  556. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  557. +
  558. + -psdir | --psdir | --psdi | --psd | --ps)
  559. +   ac_prev=psdir ;;
  560. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  561. +
  562. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  563. +   ac_prev=dvidir ;;
  564. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  565. +
  566. +  -libdir | --libdir | --libdi | --libd)
  567. +    ac_prev=libdir ;;
  568. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  569. +    libdir="$ac_optarg" ;;
  570. +
  571. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  572. +  | --libexe | --libex | --libe)
  573. +    ac_prev=libexecdir ;;
  574. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  575. +  | --libexe=* | --libex=* | --libe=*)
  576. +    libexecdir="$ac_optarg" ;;
  577. +
  578. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  579. +  | --localstate | --localstat | --localsta | --localst \
  580. +  | --locals | --local | --loca | --loc | --lo)
  581. +    ac_prev=localstatedir ;;
  582. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  583. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  584. +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  585. +    localstatedir="$ac_optarg" ;;
  586. +
  587. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  588. +    ac_prev=mandir ;;
  589. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  590. +    mandir="$ac_optarg" ;;
  591. +
  592. +  -nfp | --nfp | --nf)
  593. +    # Obsolete; use --without-fp.
  594. +    with_fp=no ;;
  595. +
  596. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  597. +  | --no-cr | --no-c)
  598. +    no_create=yes ;;
  599. +
  600. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  601. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  602. +    no_recursion=yes ;;
  603. +
  604. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  605. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  606. +  | --oldin | --oldi | --old | --ol | --o)
  607. +    ac_prev=oldincludedir ;;
  608. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  609. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  610. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  611. +    oldincludedir="$ac_optarg" ;;
  612. +
  613. +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  614. +    ac_prev=prefix ;;
  615. +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  616. +    prefix="$ac_optarg" ;;
  617. +
  618. +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  619. +  | --program-pre | --program-pr | --program-p)
  620. +    ac_prev=program_prefix ;;
  621. +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  622. +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  623. +    program_prefix="$ac_optarg" ;;
  624. +
  625. +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  626. +  | --program-suf | --program-su | --program-s)
  627. +    ac_prev=program_suffix ;;
  628. +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  629. +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  630. +    program_suffix="$ac_optarg" ;;
  631. +
  632. +  -program-transform-name | --program-transform-name \
  633. +  | --program-transform-nam | --program-transform-na \
  634. +  | --program-transform-n | --program-transform- \
  635. +  | --program-transform | --program-transfor \
  636. +  | --program-transfo | --program-transf \
  637. +  | --program-trans | --program-tran \
  638. +  | --progr-tra | --program-tr | --program-t)
  639. +    ac_prev=program_transform_name ;;
  640. +  -program-transform-name=* | --program-transform-name=* \
  641. +  | --program-transform-nam=* | --program-transform-na=* \
  642. +  | --program-transform-n=* | --program-transform-=* \
  643. +  | --program-transform=* | --program-transfor=* \
  644. +  | --program-transfo=* | --program-transf=* \
  645. +  | --program-trans=* | --program-tran=* \
  646. +  | --progr-tra=* | --program-tr=* | --program-t=*)
  647. +    program_transform_name="$ac_optarg" ;;
  648. +
  649. +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  650. +  | -silent | --silent | --silen | --sile | --sil)
  651. +    silent=yes ;;
  652. +
  653. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  654. +    ac_prev=sbindir ;;
  655. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  656. +  | --sbi=* | --sb=*)
  657. +    sbindir="$ac_optarg" ;;
  658. +
  659. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  660. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  661. +  | --sharedst | --shareds | --shared | --share | --shar \
  662. +  | --sha | --sh)
  663. +    ac_prev=sharedstatedir ;;
  664. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  665. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  666. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  667. +  | --sha=* | --sh=*)
  668. +    sharedstatedir="$ac_optarg" ;;
  669. +
  670. +  -site | --site | --sit)
  671. +    ac_prev=site ;;
  672. +  -site=* | --site=* | --sit=*)
  673. +    site="$ac_optarg" ;;
  674. +
  675. +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  676. +    ac_prev=srcdir ;;
  677. +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  678. +    srcdir="$ac_optarg" ;;
  679. +
  680. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  681. +  | --syscon | --sysco | --sysc | --sys | --sy)
  682. +    ac_prev=sysconfdir ;;
  683. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  684. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  685. +    sysconfdir="$ac_optarg" ;;
  686. +
  687. +  -target | --target | --targe | --targ | --tar | --ta | --t)
  688. +    ac_prev=target ;;
  689. +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  690. +    target="$ac_optarg" ;;
  691. +
  692. +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  693. +    verbose=yes ;;
  694. +
  695. +  -version | --version | --versio | --versi | --vers)
  696. +    echo "configure generated by autoconf version 2.10"
  697. +    exit 0 ;;
  698. +
  699. +  -with-* | --with-*)
  700. +    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  701. +    # Reject names that are not valid shell variable names.
  702. +    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  703. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  704. +    fi
  705. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  706. +    case "$ac_option" in
  707. +      *=*) ;;
  708. +      *) ac_optarg=yes ;;
  709. +    esac
  710. +    eval "with_${ac_package}='$ac_optarg'" ;;
  711. +
  712. +  -without-* | --without-*)
  713. +    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  714. +    # Reject names that are not valid shell variable names.
  715. +    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  716. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  717. +    fi
  718. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  719. +    eval "with_${ac_package}=no" ;;
  720. +
  721. +  --x)
  722. +    # Obsolete; use --with-x.
  723. +    with_x=yes ;;
  724. +
  725. +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  726. +  | --x-incl | --x-inc | --x-in | --x-i)
  727. +    ac_prev=x_includes ;;
  728. +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  729. +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  730. +    x_includes="$ac_optarg" ;;
  731. +
  732. +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  733. +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  734. +    ac_prev=x_libraries ;;
  735. +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  736. +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  737. +    x_libraries="$ac_optarg" ;;
  738. +
  739. +  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  740. +    ;;
  741. +
  742. +  *)
  743. +    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  744. +      echo "configure: warning: $ac_option: invalid host type" 1>&2
  745. +    fi
  746. +    if test "x$nonopt" != xNONE; then
  747. +      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  748. +    fi
  749. +    nonopt="$ac_option"
  750. +    ;;
  751. +
  752. +  esac
  753. +done
  754. +
  755. +if test -n "$ac_prev"; then
  756. +  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  757. +fi
  758. +
  759. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  760. +
  761. +# File descriptor usage:
  762. +# 0 standard input
  763. +# 1 file creation
  764. +# 2 errors and warnings
  765. +# 3 some systems may open it to /dev/tty
  766. +# 4 used on the Kubota Titan
  767. +# 6 checking for... messages and results
  768. +# 5 compiler messages saved in config.log
  769. +if test "$silent" = yes; then
  770. +  exec 6>/dev/null
  771. +else
  772. +  exec 6>&1
  773. +fi
  774. +exec 5>./config.log
  775. +
  776. +echo "\
  777. +This file contains any messages produced by compilers while
  778. +running configure, to aid debugging if configure makes a mistake.
  779. +" 1>&5
  780. +
  781. +# Strip out --no-create and --no-recursion so they do not pile up.
  782. +# Also quote any args containing shell metacharacters.
  783. +ac_configure_args=
  784. +for ac_arg
  785. +do
  786. +  case "$ac_arg" in
  787. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  788. +  | --no-cr | --no-c) ;;
  789. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  790. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  791. +  *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  792. +  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  793. +  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  794. +  esac
  795. +done
  796. +
  797. +# NLS nuisances.
  798. +# Only set LANG and LC_ALL to C if already set.
  799. +# These must not be set unconditionally because not all systems understand
  800. +# e.g. LANG=C (notably SCO).
  801. +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  802. +if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  803. +
  804. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  805. +rm -rf conftest* confdefs.h
  806. +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  807. +echo > confdefs.h
  808. +
  809. +# A filename unique to this package, relative to the directory that
  810. +# configure is in, which we can look for to find out if srcdir is correct.
  811. +ac_unique_file=src/forth.c
  812. +
  813. +# Find the source files, if location was not specified.
  814. +if test -z "$srcdir"; then
  815. +  ac_srcdir_defaulted=yes
  816. +  # Try the directory containing this script, then its parent.
  817. +  ac_prog=$0
  818. +  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  819. +  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  820. +  srcdir=$ac_confdir
  821. +  if test ! -r $srcdir/$ac_unique_file; then
  822. +    srcdir=..
  823. +  fi
  824. +else
  825. +  ac_srcdir_defaulted=no
  826. +fi
  827. +if test ! -r $srcdir/$ac_unique_file; then
  828. +  if test "$ac_srcdir_defaulted" = yes; then
  829. +    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  830. +  else
  831. +    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  832. +  fi
  833. +fi
  834. +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  835. +
  836. +# Prefer explicitly selected file to automatically selected ones.
  837. +if test -z "$CONFIG_SITE"; then
  838. +  if test "x$prefix" != xNONE; then
  839. +    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  840. +  else
  841. +    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  842. +  fi
  843. +fi
  844. +for ac_site_file in $CONFIG_SITE; do
  845. +  if test -r "$ac_site_file"; then
  846. +    echo "loading site script $ac_site_file"
  847. +    . "$ac_site_file"
  848. +  fi
  849. +done
  850. +
  851. +if test -r "$cache_file"; then
  852. +  echo "loading cache $cache_file"
  853. +  . $cache_file
  854. +else
  855. +  echo "creating cache $cache_file"
  856. +  > $cache_file
  857. +fi
  858. +
  859. +ac_ext=c
  860. +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  861. +ac_cpp='$CPP $CPPFLAGS'
  862. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  863. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  864. +
  865. +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  866. +  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  867. +  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  868. +    ac_n= ac_c='
  869. +' ac_t='    '
  870. +  else
  871. +    ac_n=-n ac_c= ac_t=
  872. +  fi
  873. +else
  874. +  ac_n= ac_c='\c' ac_t=
  875. +fi
  876. +
  877. +
  878. +
  879. +# Extract the first word of "gcc", so it can be a program name with args.
  880. +set dummy gcc; ac_word=$2
  881. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  882. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  883. +  echo $ac_n "(cached) $ac_c" 1>&6
  884. +else
  885. +  if test -n "$CC"; then
  886. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  887. +else
  888. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  889. +  for ac_dir in $PATH; do
  890. +    test -z "$ac_dir" && ac_dir=.
  891. +    if test -f $ac_dir/$ac_word; then
  892. +      ac_cv_prog_CC="gcc"
  893. +      break
  894. +    fi
  895. +  done
  896. +  IFS="$ac_save_ifs"
  897. +fi
  898. +fi
  899. +CC="$ac_cv_prog_CC"
  900. +if test -n "$CC"; then
  901. +  echo "$ac_t""$CC" 1>&6
  902. +else
  903. +  echo "$ac_t""no" 1>&6
  904. +fi
  905. +
  906. +if test -z "$CC"; then
  907. +  # Extract the first word of "cc", so it can be a program name with args.
  908. +set dummy cc; ac_word=$2
  909. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  910. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  911. +  echo $ac_n "(cached) $ac_c" 1>&6
  912. +else
  913. +  if test -n "$CC"; then
  914. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  915. +else
  916. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  917. +  ac_prog_rejected=no
  918. +  for ac_dir in $PATH; do
  919. +    test -z "$ac_dir" && ac_dir=.
  920. +    if test -f $ac_dir/$ac_word; then
  921. +      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  922. +        ac_prog_rejected=yes
  923. +    continue
  924. +      fi
  925. +      ac_cv_prog_CC="cc"
  926. +      break
  927. +    fi
  928. +  done
  929. +  IFS="$ac_save_ifs"
  930. +if test $ac_prog_rejected = yes; then
  931. +  # We found a bogon in the path, so make sure we never use it.
  932. +  set dummy $ac_cv_prog_CC
  933. +  shift
  934. +  if test $# -gt 0; then
  935. +    # We chose a different compiler from the bogus one.
  936. +    # However, it has the same basename, so the bogon will be chosen
  937. +    # first if we set CC to just the basename; use the full file name.
  938. +    shift
  939. +    set dummy "$ac_dir/$ac_word" "$@"
  940. +    shift
  941. +    ac_cv_prog_CC="$@"
  942. +  fi
  943. +fi
  944. +fi
  945. +fi
  946. +CC="$ac_cv_prog_CC"
  947. +if test -n "$CC"; then
  948. +  echo "$ac_t""$CC" 1>&6
  949. +else
  950. +  echo "$ac_t""no" 1>&6
  951. +fi
  952. +
  953. +  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  954. +fi
  955. +
  956. +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  957. +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  958. +  echo $ac_n "(cached) $ac_c" 1>&6
  959. +else
  960. +  cat > conftest.c <<EOF
  961. +#ifdef __GNUC__
  962. +  yes;
  963. +#endif
  964. +EOF
  965. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  966. +  ac_cv_prog_gcc=yes
  967. +else
  968. +  ac_cv_prog_gcc=no
  969. +fi
  970. +fi
  971. +
  972. +echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  973. +if test $ac_cv_prog_gcc = yes; then
  974. +  GCC=yes
  975. +  if test "${CFLAGS+set}" != set; then
  976. +    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  977. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  978. +  echo $ac_n "(cached) $ac_c" 1>&6
  979. +else
  980. +  echo 'void f(){}' > conftest.c
  981. +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  982. +  ac_cv_prog_gcc_g=yes
  983. +else
  984. +  ac_cv_prog_gcc_g=no
  985. +fi
  986. +rm -f conftest*
  987. +
  988. +fi
  989. +
  990. +echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  991. +    if test $ac_cv_prog_gcc_g = yes; then
  992. +      CFLAGS="-g -O2"
  993. +    else
  994. +      CFLAGS="-O2"
  995. +    fi
  996. +  fi
  997. +else
  998. +  GCC=
  999. +  test "${CFLAGS+set}" = set || CFLAGS="-g"
  1000. +fi
  1001. +
  1002. +echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  1003. +# On Suns, sometimes $CPP names a directory.
  1004. +if test -n "$CPP" && test -d "$CPP"; then
  1005. +  CPP=
  1006. +fi
  1007. +if test -z "$CPP"; then
  1008. +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  1009. +  echo $ac_n "(cached) $ac_c" 1>&6
  1010. +else
  1011. +    # This must be in double quotes, not single quotes, because CPP may get
  1012. +  # substituted into the Makefile and "${CC-cc}" will confuse make.
  1013. +  CPP="${CC-cc} -E"
  1014. +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1015. +  # not just through cpp.
  1016. +  cat > conftest.$ac_ext <<EOF
  1017. +#line 673 "configure"
  1018. +#include "confdefs.h"
  1019. +#include <assert.h>
  1020. +Syntax Error
  1021. +EOF
  1022. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1023. +{ (eval echo configure:679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1024. +ac_err=`grep -v '^ *+' conftest.out`
  1025. +if test -z "$ac_err"; then
  1026. +  :
  1027. +else
  1028. +  echo "$ac_err" >&5
  1029. +  rm -rf conftest*
  1030. +  CPP="${CC-cc} -E -traditional-cpp"
  1031. +  cat > conftest.$ac_ext <<EOF
  1032. +#line 688 "configure"
  1033. +#include "confdefs.h"
  1034. +#include <assert.h>
  1035. +Syntax Error
  1036. +EOF
  1037. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1038. +{ (eval echo configure:694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1039. +ac_err=`grep -v '^ *+' conftest.out`
  1040. +if test -z "$ac_err"; then
  1041. +  :
  1042. +else
  1043. +  echo "$ac_err" >&5
  1044. +  rm -rf conftest*
  1045. +  CPP=/lib/cpp
  1046. +fi
  1047. +rm -f conftest*
  1048. +fi
  1049. +rm -f conftest*
  1050. +  ac_cv_prog_CPP="$CPP"
  1051. +fi
  1052. +  CPP="$ac_cv_prog_CPP"
  1053. +else
  1054. +  ac_cv_prog_CPP="$CPP"
  1055. +fi
  1056. +echo "$ac_t""$CPP" 1>&6
  1057. +
  1058. +if test $ac_cv_prog_gcc = yes; then
  1059. +    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
  1060. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
  1061. +  echo $ac_n "(cached) $ac_c" 1>&6
  1062. +else
  1063. +    ac_pattern="Autoconf.*'x'"
  1064. +  cat > conftest.$ac_ext <<EOF
  1065. +#line 721 "configure"
  1066. +#include "confdefs.h"
  1067. +#include <sgtty.h>
  1068. +Autoconf TIOCGETP
  1069. +EOF
  1070. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1071. +  egrep "$ac_pattern" >/dev/null 2>&1; then
  1072. +  rm -rf conftest*
  1073. +  ac_cv_prog_gcc_traditional=yes
  1074. +else
  1075. +  rm -rf conftest*
  1076. +  ac_cv_prog_gcc_traditional=no
  1077. +fi
  1078. +rm -f conftest*
  1079. +
  1080. +
  1081. +  if test $ac_cv_prog_gcc_traditional = no; then
  1082. +    cat > conftest.$ac_ext <<EOF
  1083. +#line 739 "configure"
  1084. +#include "confdefs.h"
  1085. +#include <termio.h>
  1086. +Autoconf TCGETA
  1087. +EOF
  1088. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1089. +  egrep "$ac_pattern" >/dev/null 2>&1; then
  1090. +  rm -rf conftest*
  1091. +  ac_cv_prog_gcc_traditional=yes
  1092. +fi
  1093. +rm -f conftest*
  1094. +
  1095. +  fi
  1096. +fi
  1097. +
  1098. +echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
  1099. +  if test $ac_cv_prog_gcc_traditional = yes; then
  1100. +    CC="$CC -traditional"
  1101. +  fi
  1102. +fi
  1103. +
  1104. +ac_aux_dir=
  1105. +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1106. +  if test -f $ac_dir/install-sh; then
  1107. +    ac_aux_dir=$ac_dir
  1108. +    ac_install_sh="$ac_aux_dir/install-sh -c"
  1109. +    break
  1110. +  elif test -f $ac_dir/install.sh; then
  1111. +    ac_aux_dir=$ac_dir
  1112. +    ac_install_sh="$ac_aux_dir/install.sh -c"
  1113. +    break
  1114. +  fi
  1115. +done
  1116. +if test -z "$ac_aux_dir"; then
  1117. +  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  1118. +fi
  1119. +ac_config_guess=$ac_aux_dir/config.guess
  1120. +ac_config_sub=$ac_aux_dir/config.sub
  1121. +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  1122. +
  1123. +# Find a good install program.  We prefer a C program (faster),
  1124. +# so one script is as good as another.  But avoid the broken or
  1125. +# incompatible versions:
  1126. +# SysV /etc/install, /usr/sbin/install
  1127. +# SunOS /usr/etc/install
  1128. +# IRIX /sbin/install
  1129. +# AIX /bin/install
  1130. +# AmigaOS /c/install
  1131. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1132. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1133. +# ./install, which can be erroneously created by make from ./install.sh.
  1134. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  1135. +if test -z "$INSTALL"; then
  1136. +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  1137. +  echo $ac_n "(cached) $ac_c" 1>&6
  1138. +else
  1139. +    IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1140. +  for ac_dir in $PATH; do
  1141. +    # Account for people who put trailing slashes in PATH elements.
  1142. +    case "$ac_dir/" in
  1143. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  1144. +    *)
  1145. +      # OSF1 and SCO ODT 3.0 have their own names for install.
  1146. +      for ac_prog in ginstall installbsd scoinst install; do
  1147. +        if test -f $ac_dir/$ac_prog; then
  1148. +      if test $ac_prog = install &&
  1149. +            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  1150. +        # AIX install.  It has an incompatible calling convention.
  1151. +        # OSF/1 installbsd also uses dspmsg, but is usable.
  1152. +        :
  1153. +      else
  1154. +        ac_cv_path_install="$ac_dir/$ac_prog -c"
  1155. +        break 2
  1156. +      fi
  1157. +    fi
  1158. +      done
  1159. +      ;;
  1160. +    esac
  1161. +  done
  1162. +  IFS="$ac_save_ifs"
  1163. +
  1164. +fi
  1165. +  if test "${ac_cv_path_install+set}" = set; then
  1166. +    INSTALL="$ac_cv_path_install"
  1167. +  else
  1168. +    # As a last resort, use the slow shell script.  We don't cache a
  1169. +    # path for INSTALL within a source directory, because that will
  1170. +    # break other packages using the cache if that directory is
  1171. +    # removed, or if the path is relative.
  1172. +    INSTALL="$ac_install_sh"
  1173. +  fi
  1174. +fi
  1175. +echo "$ac_t""$INSTALL" 1>&6
  1176. +
  1177. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1178. +# It thinks the first close brace ends the variable substitution.
  1179. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1180. +
  1181. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1182. +
  1183. +# Extract the first word of "ranlib", so it can be a program name with args.
  1184. +set dummy ranlib; ac_word=$2
  1185. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1186. +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  1187. +  echo $ac_n "(cached) $ac_c" 1>&6
  1188. +else
  1189. +  if test -n "$RANLIB"; then
  1190. +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1191. +else
  1192. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1193. +  for ac_dir in $PATH; do
  1194. +    test -z "$ac_dir" && ac_dir=.
  1195. +    if test -f $ac_dir/$ac_word; then
  1196. +      ac_cv_prog_RANLIB="ranlib"
  1197. +      break
  1198. +    fi
  1199. +  done
  1200. +  IFS="$ac_save_ifs"
  1201. +  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  1202. +fi
  1203. +fi
  1204. +RANLIB="$ac_cv_prog_RANLIB"
  1205. +if test -n "$RANLIB"; then
  1206. +  echo "$ac_t""$RANLIB" 1>&6
  1207. +else
  1208. +  echo "$ac_t""no" 1>&6
  1209. +fi
  1210. +
  1211. +
  1212. +trap '' 1 2 15
  1213. +cat > confcache <<\EOF
  1214. +# This file is a shell script that caches the results of configure
  1215. +# tests run on this system so they can be shared between configure
  1216. +# scripts and configure runs.  It is not useful on other systems.
  1217. +# If it contains results you don't want to keep, you may remove or edit it.
  1218. +#
  1219. +# By default, configure uses ./config.cache as the cache file,
  1220. +# creating it if it does not exist already.  You can give configure
  1221. +# the --cache-file=FILE option to use a different cache file; that is
  1222. +# what configure does when it calls configure scripts in
  1223. +# subdirectories, so they share the cache.
  1224. +# Giving --cache-file=/dev/null disables caching, for debugging configure.
  1225. +# config.status only pays attention to the cache file if you give it the
  1226. +# --recheck option to rerun configure.
  1227. +#
  1228. +EOF
  1229. +# Ultrix sh set writes to stderr and can't be redirected directly,
  1230. +# and sets the high bit in the cache file unless we assign to the vars.
  1231. +(set) 2>&1 |
  1232. +  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  1233. +  >> confcache
  1234. +if cmp -s $cache_file confcache; then
  1235. +  :
  1236. +else
  1237. +  if test -w $cache_file; then
  1238. +    echo "updating cache $cache_file"
  1239. +    cat confcache > $cache_file
  1240. +  else
  1241. +    echo "not updating unwritable cache $cache_file"
  1242. +  fi
  1243. +fi
  1244. +rm -f confcache
  1245. +
  1246. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1247. +
  1248. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1249. +# Let make expand exec_prefix.
  1250. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1251. +
  1252. +# Any assignment to VPATH causes Sun make to only execute
  1253. +# the first set of double-colon rules, so remove it if not needed.
  1254. +# If there is a colon in the path, we need to keep it.
  1255. +if test "x$srcdir" = x.; then
  1256. +  ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1257. +fi
  1258. +
  1259. +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  1260. +
  1261. +# Transform confdefs.h into DEFS.
  1262. +# Protect against shell expansion while executing Makefile rules.
  1263. +# Protect against Makefile macro expansion.
  1264. +cat > conftest.defs <<\EOF
  1265. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  1266. +s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  1267. +s%\[%\\&%g
  1268. +s%\]%\\&%g
  1269. +s%\$%$$%g
  1270. +EOF
  1271. +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  1272. +rm -f conftest.defs
  1273. +
  1274. +
  1275. +# Without the "./", some shells look in PATH for config.status.
  1276. +: ${CONFIG_STATUS=./config.status}
  1277. +
  1278. +echo creating $CONFIG_STATUS
  1279. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  1280. +# being executed, so just move it out of the way instead.
  1281. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1282. +cat > $CONFIG_STATUS <<EOF
  1283. +#! /bin/sh
  1284. +# Generated automatically by configure.
  1285. +# Run this file to recreate the current configuration.
  1286. +# This directory was configured as follows,
  1287. +# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1288. +#
  1289. +# $0 $ac_configure_args
  1290. +#
  1291. +# Compiler output produced by configure, useful for debugging
  1292. +# configure, is in ./config.log if it exists.
  1293. +
  1294. +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1295. +for ac_option
  1296. +do
  1297. +  case "\$ac_option" in
  1298. +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1299. +    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1300. +    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1301. +  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1302. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  1303. +    exit 0 ;;
  1304. +  -help | --help | --hel | --he | --h)
  1305. +    echo "\$ac_cs_usage"; exit 0 ;;
  1306. +  *) echo "\$ac_cs_usage"; exit 1 ;;
  1307. +  esac
  1308. +done
  1309. +
  1310. +ac_given_srcdir=$srcdir
  1311. +ac_given_INSTALL="$INSTALL"
  1312. +
  1313. +trap 'rm -fr `echo "Makefile src/Makefile lib/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1314. +EOF
  1315. +cat >> $CONFIG_STATUS <<EOF
  1316. +
  1317. +# Protect against being on the right side of a sed subst in config.status.
  1318. +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  1319. + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  1320. +$ac_vpsub
  1321. +$extrasub
  1322. +s%@CFLAGS@%$CFLAGS%g
  1323. +s%@CPPFLAGS@%$CPPFLAGS%g
  1324. +s%@CXXFLAGS@%$CXXFLAGS%g
  1325. +s%@DEFS@%$DEFS%g
  1326. +s%@LDFLAGS@%$LDFLAGS%g
  1327. +s%@LIBS@%$LIBS%g
  1328. +s%@exec_prefix@%$exec_prefix%g
  1329. +s%@prefix@%$prefix%g
  1330. +s%@program_transform_name@%$program_transform_name%g
  1331. +s%@bindir@%$bindir%g
  1332. +s%@sbindir@%$sbindir%g
  1333. +s%@libexecdir@%$libexecdir%g
  1334. +s%@datadir@%$datadir%g
  1335. +s%@sysconfdir@%$sysconfdir%g
  1336. +s%@sharedstatedir@%$sharedstatedir%g
  1337. +s%@localstatedir@%$localstatedir%g
  1338. +s%@libdir@%$libdir%g
  1339. +s%@includedir@%$includedir%g
  1340. +s%@oldincludedir@%$oldincludedir%g
  1341. +s%@infodir@%$infodir%g
  1342. +s%@guidedir@%$guidedir%g
  1343. +s%@psdir@%$psdir%g
  1344. +s%@dvidir@%$dvidir%g
  1345. +s%@mandir@%$mandir%g
  1346. +s%@CC@%$CC%g
  1347. +s%@CPP@%$CPP%g
  1348. +s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1349. +s%@INSTALL_DATA@%$INSTALL_DATA%g
  1350. +s%@RANLIB@%$RANLIB%g
  1351. +
  1352. +CEOF
  1353. +EOF
  1354. +cat >> $CONFIG_STATUS <<EOF
  1355. +
  1356. +CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile lib/Makefile"}
  1357. +EOF
  1358. +cat >> $CONFIG_STATUS <<\EOF
  1359. +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  1360. +  # Support "outfile[:infile]", defaulting infile="outfile.in".
  1361. +  case "$ac_file" in
  1362. +  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  1363. +       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1364. +  *) ac_file_in="${ac_file}.in" ;;
  1365. +  esac
  1366. +
  1367. +  # Adjust relative srcdir, etc. for subdirectories.
  1368. +
  1369. +  # Remove last slash and all that follows it.  Not all systems have dirname.
  1370. +  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1371. +  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1372. +    # The file is in a subdirectory.
  1373. +    test ! -d "$ac_dir" && mkdir "$ac_dir"
  1374. +    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  1375. +    # A "../" for each directory in $ac_dir_suffix.
  1376. +    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1377. +  else
  1378. +    ac_dir_suffix= ac_dots=
  1379. +  fi
  1380. +
  1381. +  case "$ac_given_srcdir" in
  1382. +  .)  srcdir=.
  1383. +      if test -z "$ac_dots"; then top_srcdir=.
  1384. +      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  1385. +  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1386. +  *) # Relative path.
  1387. +    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1388. +    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1389. +  esac
  1390. +
  1391. +  case "$ac_given_INSTALL" in
  1392. +  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  1393. +  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  1394. +  esac
  1395. +  echo creating "$ac_file"
  1396. +  rm -f "$ac_file"
  1397. +  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  1398. +  case "$ac_file" in
  1399. +  *Makefile*) ac_comsub="1i\\
  1400. +# $configure_input" ;;
  1401. +  *) ac_comsub= ;;
  1402. +  esac
  1403. +  sed -e "$ac_comsub
  1404. +s%@configure_input@%$configure_input%g
  1405. +s%@srcdir@%$srcdir%g
  1406. +s%@top_srcdir@%$top_srcdir%g
  1407. +s%@INSTALL@%$INSTALL%g
  1408. +" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  1409. +fi; done
  1410. +rm -f conftest.subs
  1411. +
  1412. +
  1413. +
  1414. +exit 0
  1415. +EOF
  1416. +chmod +x $CONFIG_STATUS
  1417. +rm -f CONFIG.STATUS.old
  1418. +rm -fr confdefs* $ac_clean_files
  1419. +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1420. +
  1421. diff -rup --new-file baseline/fsf/tile-forth/configure.in amiga/fsf/tile-forth/configure.in
  1422. --- baseline/fsf/tile-forth/configure.in    Wed Dec 31 17:00:00 1969
  1423. +++ amiga/fsf/tile-forth/configure.in    Sat Sep 28 00:00:00 1996
  1424. @@ -0,0 +1,9 @@
  1425. +dnl Process this file with autoconf to produce a configure script.
  1426. +AC_INIT(src/forth.c)
  1427. +
  1428. +AC_PROG_CC
  1429. +AC_GCC_TRADITIONAL
  1430. +AC_PROG_INSTALL
  1431. +AC_PROG_RANLIB
  1432. +
  1433. +AC_OUTPUT(Makefile src/Makefile lib/Makefile)
  1434. diff -rup --new-file baseline/fsf/tile-forth/lib/Makefile.in amiga/fsf/tile-forth/lib/Makefile.in
  1435. --- baseline/fsf/tile-forth/lib/Makefile.in    Wed Dec 31 17:00:00 1969
  1436. +++ amiga/fsf/tile-forth/lib/Makefile.in    Sat Sep 28 00:00:00 1996
  1437. @@ -0,0 +1,31 @@
  1438. +srcdir =    @srcdir@
  1439. +VPATH =        @srcdir@
  1440. +
  1441. +prefix =    @prefix@
  1442. +exec_prefix =    @exec_prefix@
  1443. +
  1444. +bindir =    $(exec_prefix)/bin
  1445. +libdir =    $(exec_prefix)/lib
  1446. +incdir =    $(prefix)/include
  1447. +infodir =    $(prefix)/info
  1448. +
  1449. +INSTALL =    @INSTALL@
  1450. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  1451. +INSTALL_DATA =    @INSTALL_DATA@
  1452. +
  1453. +LIBFILES =    bitfields.f83 bitsets.f83 blocks.f83 bnf.f83 debugger.f83 double.f83 \
  1454. +        enumerates.f83 index.f83 internals.f83 lists.f83 macros.f83 \
  1455. +        mappings.f83 multi-tasking.f83 objects.f83 parser.f83 prototypes.f83 \
  1456. +        queues.f83 ranges.f83 rationals.f83 relations.f83 sets.f83 \
  1457. +        stacks.f83 structures.f83
  1458. +
  1459. +all:
  1460. +
  1461. +install:
  1462. +        if [ -d $(libdir) ]; then true; else mkdir $(libdir); fi
  1463. +        if [ -d $(libdir)/tile-forth ]; then true; else mkdir $(libdir)/tile-forth; fi
  1464. +        for file in $(LIBFILES); \
  1465. +        do \
  1466. +            $(INSTALL_DATA) $(srcdir)/$$file $(libdir)/tile-forth/$$file; \
  1467. +        done
  1468. +
  1469. diff -rup --new-file baseline/fsf/tile-forth/manifests/bin amiga/fsf/tile-forth/manifests/bin
  1470. --- baseline/fsf/tile-forth/manifests/bin    Wed Dec 31 17:00:00 1969
  1471. +++ amiga/fsf/tile-forth/manifests/bin    Sat Sep 28 00:00:00 1996
  1472. @@ -0,0 +1,24 @@
  1473. +bin/forth
  1474. +lib/tile-forth/bitfields.f83
  1475. +lib/tile-forth/bitsets.f83
  1476. +lib/tile-forth/blocks.f83
  1477. +lib/tile-forth/bnf.f83
  1478. +lib/tile-forth/debugger.f83
  1479. +lib/tile-forth/double.f83
  1480. +lib/tile-forth/enumerates.f83
  1481. +lib/tile-forth/index.f83
  1482. +lib/tile-forth/internals.f83
  1483. +lib/tile-forth/lists.f83
  1484. +lib/tile-forth/macros.f83
  1485. +lib/tile-forth/mappings.f83
  1486. +lib/tile-forth/multi-tasking.f83
  1487. +lib/tile-forth/objects.f83
  1488. +lib/tile-forth/parser.f83
  1489. +lib/tile-forth/prototypes.f83
  1490. +lib/tile-forth/queues.f83
  1491. +lib/tile-forth/ranges.f83
  1492. +lib/tile-forth/rationals.f83
  1493. +lib/tile-forth/relations.f83
  1494. +lib/tile-forth/sets.f83
  1495. +lib/tile-forth/stacks.f83
  1496. +lib/tile-forth/structures.f83
  1497. diff -rup --new-file baseline/fsf/tile-forth/manifests/src amiga/fsf/tile-forth/manifests/src
  1498. --- baseline/fsf/tile-forth/manifests/src    Wed Dec 31 17:00:00 1969
  1499. +++ amiga/fsf/tile-forth/manifests/src    Sat Sep 28 00:00:00 1996
  1500. @@ -0,0 +1,126 @@
  1501. +fsf/tile-forth/COPYING
  1502. +fsf/tile-forth/INDEX
  1503. +fsf/tile-forth/INSTALL
  1504. +fsf/tile-forth/Makefile.in
  1505. +fsf/tile-forth/PORTING
  1506. +fsf/tile-forth/Product-Info
  1507. +fsf/tile-forth/README
  1508. +fsf/tile-forth/bin/forthicon
  1509. +fsf/tile-forth/bin/forthtool
  1510. +fsf/tile-forth/bin/makedoc
  1511. +fsf/tile-forth/bin/makeindex
  1512. +fsf/tile-forth/bin/opt
  1513. +fsf/tile-forth/bin/short
  1514. +fsf/tile-forth/configure
  1515. +fsf/tile-forth/configure.in
  1516. +fsf/tile-forth/lib/Makefile.in
  1517. +fsf/tile-forth/lib/bitfields.f83
  1518. +fsf/tile-forth/lib/bitsets.f83
  1519. +fsf/tile-forth/lib/blocks.f83
  1520. +fsf/tile-forth/lib/bnf.f83
  1521. +fsf/tile-forth/lib/debugger.f83
  1522. +fsf/tile-forth/lib/double.f83
  1523. +fsf/tile-forth/lib/enumerates.f83
  1524. +fsf/tile-forth/lib/index.f83
  1525. +fsf/tile-forth/lib/internals.f83
  1526. +fsf/tile-forth/lib/lists.f83
  1527. +fsf/tile-forth/lib/macros.f83
  1528. +fsf/tile-forth/lib/mappings.f83
  1529. +fsf/tile-forth/lib/multi-tasking.f83
  1530. +fsf/tile-forth/lib/objects.f83
  1531. +fsf/tile-forth/lib/parser.f83
  1532. +fsf/tile-forth/lib/prototypes.f83
  1533. +fsf/tile-forth/lib/queues.f83
  1534. +fsf/tile-forth/lib/ranges.f83
  1535. +fsf/tile-forth/lib/rationals.f83
  1536. +fsf/tile-forth/lib/relations.f83
  1537. +fsf/tile-forth/lib/sets.f83
  1538. +fsf/tile-forth/lib/stacks.f83
  1539. +fsf/tile-forth/lib/structures.f83
  1540. +fsf/tile-forth/man/man1/tile.1
  1541. +fsf/tile-forth/man/man3/bitfields.3
  1542. +fsf/tile-forth/man/man3/bitsets.3
  1543. +fsf/tile-forth/man/man3/blocks.3
  1544. +fsf/tile-forth/man/man3/compiler.3
  1545. +fsf/tile-forth/man/man3/debugger.3
  1546. +fsf/tile-forth/man/man3/enumerates.3
  1547. +fsf/tile-forth/man/man3/exceptions.3
  1548. +fsf/tile-forth/man/man3/float.3
  1549. +fsf/tile-forth/man/man3/forth.3
  1550. +fsf/tile-forth/man/man3/internals.3
  1551. +fsf/tile-forth/man/man3/lists.3
  1552. +fsf/tile-forth/man/man3/locals.3
  1553. +fsf/tile-forth/man/man3/macros.3
  1554. +fsf/tile-forth/man/man3/mappings.3
  1555. +fsf/tile-forth/man/man3/memory.3
  1556. +fsf/tile-forth/man/man3/multi-tasking.3
  1557. +fsf/tile-forth/man/man3/objects.3
  1558. +fsf/tile-forth/man/man3/parser.3
  1559. +fsf/tile-forth/man/man3/prototypes.3
  1560. +fsf/tile-forth/man/man3/queues.3
  1561. +fsf/tile-forth/man/man3/ranges.3
  1562. +fsf/tile-forth/man/man3/rationals.3
  1563. +fsf/tile-forth/man/man3/relations.3
  1564. +fsf/tile-forth/man/man3/sets.3
  1565. +fsf/tile-forth/man/man3/stacks.3
  1566. +fsf/tile-forth/man/man3/string.3
  1567. +fsf/tile-forth/man/man3/structures.3
  1568. +fsf/tile-forth/manifests/bin
  1569. +fsf/tile-forth/manifests/src
  1570. +fsf/tile-forth/src/Makefile.in
  1571. +fsf/tile-forth/src/compiler.v
  1572. +fsf/tile-forth/src/error.c
  1573. +fsf/tile-forth/src/error.h
  1574. +fsf/tile-forth/src/exceptions.v
  1575. +fsf/tile-forth/src/float.v
  1576. +fsf/tile-forth/src/forth.c
  1577. +fsf/tile-forth/src/forth.el
  1578. +fsf/tile-forth/src/io.c
  1579. +fsf/tile-forth/src/io.h
  1580. +fsf/tile-forth/src/kernel.c
  1581. +fsf/tile-forth/src/kernel.h
  1582. +fsf/tile-forth/src/locals.v
  1583. +fsf/tile-forth/src/memory.c
  1584. +fsf/tile-forth/src/memory.h
  1585. +fsf/tile-forth/src/memory.v
  1586. +fsf/tile-forth/src/multi-tasking.v
  1587. +fsf/tile-forth/src/queues.v
  1588. +fsf/tile-forth/src/string.v
  1589. +fsf/tile-forth/tst/bitfields.tst
  1590. +fsf/tile-forth/tst/bitsets.tst
  1591. +fsf/tile-forth/tst/blocks.tst
  1592. +fsf/tile-forth/tst/bnf.tst
  1593. +fsf/tile-forth/tst/bubble-sort.tst
  1594. +fsf/tile-forth/tst/byte-sieve.tst
  1595. +fsf/tile-forth/tst/calc.bnf
  1596. +fsf/tile-forth/tst/calc.f83
  1597. +fsf/tile-forth/tst/calc.tst
  1598. +fsf/tile-forth/tst/channels.tst
  1599. +fsf/tile-forth/tst/colburn-sieve.tst
  1600. +fsf/tile-forth/tst/debugger.tst
  1601. +fsf/tile-forth/tst/discrimination-net.tst
  1602. +fsf/tile-forth/tst/double.tst
  1603. +fsf/tile-forth/tst/enumerates.tst
  1604. +fsf/tile-forth/tst/exceptions.tst
  1605. +fsf/tile-forth/tst/fibonacci.tst
  1606. +fsf/tile-forth/tst/locals.tst
  1607. +fsf/tile-forth/tst/macros.tst
  1608. +fsf/tile-forth/tst/mappings.tst
  1609. +fsf/tile-forth/tst/matrix-mult.tst
  1610. +fsf/tile-forth/tst/minimal.f83
  1611. +fsf/tile-forth/tst/objects.tst
  1612. +fsf/tile-forth/tst/permutations.tst
  1613. +fsf/tile-forth/tst/prototypes.tst
  1614. +fsf/tile-forth/tst/queues.tst
  1615. +fsf/tile-forth/tst/ranges.tst
  1616. +fsf/tile-forth/tst/rationals.tst
  1617. +fsf/tile-forth/tst/relations.run
  1618. +fsf/tile-forth/tst/relations.tst
  1619. +fsf/tile-forth/tst/rendezvous.tst
  1620. +fsf/tile-forth/tst/semaphores.tst
  1621. +fsf/tile-forth/tst/sets.tst
  1622. +fsf/tile-forth/tst/stacks.tst
  1623. +fsf/tile-forth/tst/structures.tst
  1624. +fsf/tile-forth/tst/task-sieve.tst
  1625. +fsf/tile-forth/tst/towers-of-hanoi.tst
  1626. +fsf/tile-forth/tst/tree-sort.tst
  1627. diff -rup --new-file baseline/fsf/tile-forth/src/Makefile amiga/fsf/tile-forth/src/Makefile
  1628. --- baseline/fsf/tile-forth/src/Makefile    Sat Sep 14 14:30:22 1991
  1629. +++ amiga/fsf/tile-forth/src/Makefile    Wed Dec 31 17:00:00 1969
  1630. @@ -1,112 +0,0 @@
  1631. -# NAME
  1632. -#    Makefile - for the tile forth environment
  1633. -# SYNOPSIS
  1634. -#    make [option]
  1635. -# DESCRIPTION
  1636. -#    General compilation coordinator for the threaded interpreter language
  1637. -#    environment (TILE). Allow compilation in different modes to simplify
  1638. -#    program development; compiling, recompiling, debugging, profiling, and
  1639. -#    benchmarks.
  1640. -# OPTIONS
  1641. -#    new
  1642. -#        Cleans up and compiles a fresh version.
  1643. -#    opt
  1644. -#        Use all optimization tricks known by cc.
  1645. -#    dbx
  1646. -#        Recompile for debugging with dbx.
  1647. -#    gprof
  1648. -#        Recompile for profiling with gprof.
  1649. -#    lint
  1650. -#        Verify the source code using lint.
  1651. -#    bench
  1652. -#        Some benchmarks to evaluate this threading method
  1653. -# SEE ALSO
  1654. -#    make(1), cc(1), touch(1), dbx(1), grof(1), lint(1), time(1)
  1655. -# AUTHOR
  1656. -#    Copyright (C) 1990, Mikael R.K. Patel
  1657. -#    Computer Aided Design Laboratory (CADLAB)
  1658. -#    Department of Computer and Information Science
  1659. -#    Linkoping University
  1660. -#    S-581 83 LINKOPING
  1661. -#    SWEDEN
  1662. -#    Email: mip@ida.liu.se
  1663. -# HISTORY
  1664. -#    Started on:     01 April 1989
  1665. -#    Last updated on: 03 September 1990
  1666. -#
  1667. -
  1668. -# C-compiler 
  1669. -CC = gcc
  1670. -
  1671. -# Source and object files
  1672. -SRC = kernel.c io.c error.c memory.c forth.c
  1673. -VOCS = compiler.v exceptions.v locals.v memory.v queues.v multi-tasking.v string.v float.v
  1674. -OBJS = kernel.o io.o error.o memory.o
  1675. -HEADS =  kernel.h io.h error.h memory.h
  1676. -
  1677. -# Template for your machine dependencies and libraries
  1678. -# LIBS = -lyourlibrary
  1679. -# CFLAGS = -youroption -DYOURMACHINE
  1680. -
  1681. -
  1682. -forth: $(OBJS) forth.o
  1683. -    $(CC) $(CFLAGS) -o $@ $(OBJS) forth.o $(LIBS)
  1684. -    mv forth ../bin
  1685. -
  1686. -
  1687. -# Object code dependencies
  1688. -forth.o: $(HEADS)
  1689. -
  1690. -kernel.o: $(HEADS) $(VOCS)
  1691. -
  1692. -memory.o: $(HEADS)
  1693. -
  1694. -error.o:  $(HEADS)
  1695. -
  1696. -io.o:     $(HEADS)
  1697. -
  1698. -
  1699. -# Cleans up and compiles a new version
  1700. -new:
  1701. -    rm -f *.o
  1702. -    make forth
  1703. -
  1704. -
  1705. -# Compiles with all optimization tricks    
  1706. -opt:
  1707. -    rm -f *.o
  1708. -    make forth "CFLAGS=$(CFLAGS) -O"
  1709. -
  1710. -
  1711. -# Compiles for debugging with "dbx" or "dbxtool"
  1712. -dbx:
  1713. -    rm -f *.o
  1714. -    make forth "CFLAGS=$(CFLAGS) -g"
  1715. -
  1716. -
  1717. -# Compiles for profiling with "gprof"
  1718. -gprof: 
  1719. -    rm -f *.o
  1720. -    make forth "CFLAGS=$(CFLAGS) -DPROFILE -Bstatic -pg"
  1721. -#    forth 
  1722. -#    gprof forth
  1723. -
  1724. -# Verify the source code
  1725. -lint:
  1726. -    lint $(CFLAG) -DLINT $(SRC)
  1727. -
  1728. -
  1729. -# Run the benchmarks
  1730. -bench:
  1731. -    time forth byte-sieve.tst -s byte-sieve
  1732. -    time forth colburn-sieve.tst -s colburn-sieve
  1733. -    time forth fibonacci.tst -s recursive-fib
  1734. -    time forth fibonacci.tst -s tail-recursive-fib
  1735. -    time forth bubble-sort.tst -s bubble-sort
  1736. -    time forth bubble-sort.tst -s bubble-sort-with-flag
  1737. -    time forth tree-sort.tst -s tree-sort
  1738. -    time forth matrix-mult.tst -s matrix-mult
  1739. -    time forth permutations.tst -s permutations
  1740. -    time forth towers-of-hanoi.tst -s towers-of-hanoi
  1741. -    time forth task-sieve.tst -s task-sieve
  1742. -    time forth minimal.f83 -s bye
  1743. diff -rup --new-file baseline/fsf/tile-forth/src/Makefile.in amiga/fsf/tile-forth/src/Makefile.in
  1744. --- baseline/fsf/tile-forth/src/Makefile.in    Wed Dec 31 17:00:00 1969
  1745. +++ amiga/fsf/tile-forth/src/Makefile.in    Sat Sep 28 00:00:00 1996
  1746. @@ -0,0 +1,114 @@
  1747. +# NAME
  1748. +#    Makefile - for the tile forth environment
  1749. +# SYNOPSIS
  1750. +#    make [option]
  1751. +# DESCRIPTION
  1752. +#    General compilation coordinator for the threaded interpreter language
  1753. +#    environment (TILE). Allow compilation in different modes to simplify
  1754. +#    program development; compiling, recompiling, debugging, profiling, and
  1755. +#    benchmarks.
  1756. +# OPTIONS
  1757. +#
  1758. +#    lint
  1759. +#        Verify the source code using lint.
  1760. +#    bench
  1761. +#        Some benchmarks to evaluate this threading method
  1762. +# SEE ALSO
  1763. +#    make(1), cc(1), touch(1), dbx(1), grof(1), lint(1), time(1)
  1764. +# AUTHOR
  1765. +#    Copyright (C) 1990, Mikael R.K. Patel
  1766. +#    Computer Aided Design Laboratory (CADLAB)
  1767. +#    Department of Computer and Information Science
  1768. +#    Linkoping University
  1769. +#    S-581 83 LINKOPING
  1770. +#    SWEDEN
  1771. +#    Email: mip@ida.liu.se
  1772. +# HISTORY
  1773. +#    Started on:     01 April 1989
  1774. +#    Last updated on: 03 September 1990
  1775. +#
  1776. +
  1777. +srcdir =    @srcdir@
  1778. +VPATH =        @srcdir@
  1779. +
  1780. +prefix =    @prefix@
  1781. +exec_prefix =    @exec_prefix@
  1782. +
  1783. +bindir =    $(exec_prefix)/bin
  1784. +libdir =    $(exec_prefix)/lib
  1785. +incdir =    $(prefix)/include
  1786. +infodir =    $(prefix)/info
  1787. +
  1788. +INSTALL =    @INSTALL@
  1789. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  1790. +INSTALL_DATA =    @INSTALL_DATA@
  1791. +
  1792. +SHELL =        /bin/sh
  1793. +CC =        @CC@
  1794. +AR =        ar
  1795. +RM =        rm
  1796. +RANLIB =    @RANLIB@
  1797. +DEFS =        @DEFS@ -DTILELIBDIR=\"$(libdir)/tile-forth\"
  1798. +LIBS =        @LIBS@
  1799. +CFLAGS =    @CFLAGS@
  1800. +LDFLAGS =    @LDFLAGS@
  1801. +
  1802. +INCLUDES =    -I. -I$(srcdir)
  1803. +OUR_CFLAGS =    $(DEFS) $(INCLUDES) $(CFLAGS)
  1804. +
  1805. +.SUFFIXES:    .r .r~ .c .c~
  1806. +
  1807. +.c.o:
  1808. +        $(CC) -c $(OUR_CFLAGS) $<
  1809. +
  1810. +#TIME =        time
  1811. +
  1812. +# Source and object files
  1813. +
  1814. +SRC =        kernel.c io.c error.c memory.c forth.c
  1815. +VOCS =        compiler.v exceptions.v locals.v memory.v queues.v multi-tasking.v string.v float.v
  1816. +OBJS =        kernel.o io.o error.o memory.o forth.o
  1817. +HEADS =        kernel.h io.h error.h memory.h
  1818. +
  1819. +all:        forth
  1820. +
  1821. +forth:        $(OBJS)
  1822. +        $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
  1823. +
  1824. +# Object code dependencies
  1825. +
  1826. +forth.o:    $(HEADS)
  1827. +
  1828. +kernel.o:    $(HEADS) $(VOCS)
  1829. +
  1830. +memory.o:    $(HEADS)
  1831. +
  1832. +error.o:    $(HEADS)
  1833. +
  1834. +io.o:        $(HEADS)
  1835. +
  1836. +# Install the binary.
  1837. +
  1838. +install:    forth
  1839. +        $(INSTALL_PROGRAM) forth $(bindir)/forth
  1840. +
  1841. +# Verify the source code
  1842. +
  1843. +lint:
  1844. +        lint $(CFLAG) -DLINT $(SRC)
  1845. +
  1846. +# Run the tests/benchmarks
  1847. +
  1848. +check:        forth
  1849. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/byte-sieve.tst -s byte-sieve)
  1850. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/colburn-sieve.tst -s colburn-sieve)
  1851. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/fibonacci.tst -s recursive-fib)
  1852. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/fibonacci.tst -s tail-recursive-fib)
  1853. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/bubble-sort.tst -s bubble-sort)
  1854. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/bubble-sort.tst -s bubble-sort-with-flag)
  1855. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/tree-sort.tst -s tree-sort)
  1856. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/matrix-mult.tst -s matrix-mult)
  1857. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/permutations.tst -s permutations)
  1858. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/towers-of-hanoi.tst -s towers-of-hanoi)
  1859. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/task-sieve.tst -s task-sieve)
  1860. +        (TILEPATH=.:$(srcdir)/lib $(TIME) forth $(srcdir)/tst/minimal.f83 -s bye)
  1861. diff -rup --new-file baseline/fsf/tile-forth/src/io.c amiga/fsf/tile-forth/src/io.c
  1862. --- baseline/fsf/tile-forth/src/io.c    Sat Sep 14 14:30:32 1991
  1863. +++ amiga/fsf/tile-forth/src/io.c    Sat Sep 28 00:00:00 1996
  1864. @@ -55,6 +55,11 @@ extern VOID io_dispatch();
  1865.  extern CSTR getenv();
  1866.  extern INT  errno;
  1867.  
  1868. +/* System defined path for files */
  1869. +
  1870. +#ifndef TILELIBDIR
  1871. +#define TILELIBDIR "/usr/local/lib/tile-forth"
  1872. +#endif
  1873.  
  1874.  /* MAXIMUM FILE AND PATH NAME STRING SIZES */
  1875.  
  1876. @@ -111,7 +116,7 @@ INT io_path(pname, pos)
  1877.      /* Fetch the environment variables value */
  1878.      char *paths = (char *) getenv((char *) pname + 1);
  1879.  
  1880. -    /* If paths are available recursivly add them to the path list */
  1881. +    /* If paths are available recursively add them to the path list */
  1882.      if (paths) {
  1883.          while (*paths) {
  1884.          char *p = pathname;
  1885. @@ -386,9 +391,10 @@ VOID io_initiate(banner)
  1886.  
  1887.      /* Print banner and add initial paths */
  1888.      (VOID) printf(banner);
  1889. +    (VOID) io_path("$TILEPATH", IO_PATH_LAST);
  1890.      (VOID) io_path("$PWD", IO_PATH_LAST);
  1891.      (VOID) io_path("$HOME", IO_PATH_LAST);
  1892. -    (VOID) io_path("$TILEPATH", IO_PATH_LAST);
  1893. +    (VOID) io_path(TILELIBDIR, IO_PATH_LAST);    /* Default path */
  1894.  
  1895.      /* Allocate file buffers */
  1896.      for (i = 0; i < INFSTACKSIZE; i++) {
  1897.