home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / calc-2.02d-diffs.gz / calc-2.02d-diffs
Text File  |  1996-10-13  |  56KB  |  1,744 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/calc/Makefile amiga/fsf/calc/Makefile
  12. --- baseline/fsf/calc/Makefile    Tue Jun  1 03:35:49 1993
  13. +++ amiga/fsf/calc/Makefile    Wed Dec 31 17:00:00 1969
  14. @@ -1,185 +0,0 @@
  15. -# Makefile for "Calc", the GNU Emacs Calculator.
  16. -#  Copyright (C) 1991, 1992, 1993 Free Software Foundation.
  17. -#  Author: Dave Gillespie.
  18. -#  Author's address: daveg@synaptics.com.
  19. -
  20. -# This program is free software; you can redistribute it and/or modify
  21. -# it under the terms of the GNU General Public License as published by
  22. -# the Free Software Foundation (any version).
  23. -
  24. -# This program is distributed in the hope that it will be useful,
  25. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  27. -# GNU General Public License for more details.
  28. -
  29. -# You should have received a copy of the GNU General Public License
  30. -# along with this program; see the file COPYING.  If not, write to
  31. -# the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  32. -
  33. -
  34. -# To install Calc for private use, type `make'.
  35. -# To install Calc for public use, type `make install'.
  36. -
  37. -# How to read a Makefile:
  38. -#   The command `make target' looks for `target:' in the Makefile.
  39. -#   First, any sub-targets after the `:' are made.
  40. -#   Then, the Unix commands on the following lines are executed.
  41. -#   `$(SYMBOL)' expands according to the `SYMBOL =' definition below.
  42. -
  43. -
  44. -# Programs.
  45. -EMACS    = emacs
  46. -TEX      = tex
  47. -TEXINDEX = texindex
  48. -MAKEINFO = makeinfo
  49. -MAKE     = make
  50. -ECHO     = @echo
  51. -REMOVE     = -rm -f
  52. -# (The leading `@' tells "make" not to echo the command itself during make;
  53. -#  The leading `-' tells "make" to keep going if the command fails.)
  54. -
  55. -# Other macros.
  56. -EFLAGS   = -batch
  57. -MAINT     = -l calc-maint.elc
  58. -
  59. -# Control whether intermediate files are kept.
  60. -PURGE     = -rm -f
  61. -#PURGE     = echo Not deleting:
  62. -
  63. -
  64. -
  65. -# Do full Calc installation.  (Note that `make' == `make all'.)
  66. -# These are written this way instead of `all: compile private info'
  67. -# to make the steps more explicit while the `make' is in progress.
  68. -all:
  69. -    $(MAKE) compile
  70. -    $(MAKE) private
  71. -    $(MAKE) info
  72. -    $(ECHO) "Calc is now installed."
  73. -
  74. -install:
  75. -    $(MAKE) compile
  76. -    $(MAKE) public
  77. -    $(MAKE) info
  78. -    $(ECHO) "Calc is now installed."
  79. -
  80. -
  81. -# Compile Calc.
  82. -compile: maint
  83. -    $(EMACS) $(EFLAGS) $(MAINT) -f calc-compile
  84. -
  85. -
  86. -# Add autoload and set-global-key commands to system default file.
  87. -public: maint
  88. -    $(EMACS) $(EFLAGS) $(MAINT) -f calc-public-autoloads
  89. -
  90. -
  91. -# Add autoload and set-global-key commands to ~/.emacs file.
  92. -private: maint
  93. -    $(EMACS) $(EFLAGS) $(MAINT) -f calc-private-autoloads
  94. -
  95. -
  96. -# Format the Calc manual for the Info system using makeinfo.
  97. -info: calc.info
  98. -calc.info: calc.texinfo
  99. -    -$(MAKEINFO) calc.texinfo
  100. -    $(ECHO) "Please ignore warnings for Copying, Getting Started, and Interactive Tutorial."
  101. -    $(MAKE) texinfo
  102. -
  103. -
  104. -# Format the Calc manual for the Info system using texinfo.el.
  105. -# (Use this only if you do not have makeinfo.)
  106. -texinfo: calc.info-2
  107. -calc.info-2: calc.texinfo
  108. -    $(EMACS) $(EFLAGS) calc.texinfo -f texinfo-format-buffer -f save-buffer
  109. -
  110. -
  111. -# Format the Calc manual as one printable volume using TeX.
  112. -tex:
  113. -    $(REMOVE) calc.aux
  114. -    $(TEX) calc.texinfo
  115. -    $(TEXINDEX) calc.[cfkptv]?
  116. -    $(TEX) calc.texinfo
  117. -    $(PURGE) calc.cp calc.fn calc.pg calc.tp calc.vr
  118. -    $(PURGE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs
  119. -    $(PURGE) calc.toc
  120. -# Note, calc.aux and calc.ky are left behind for the benefit of "make summary".
  121. -
  122. -# Format the Calc manual as two printable volumes (Tutorial and Reference).
  123. -tex2: texsplit texvol1 texvol2
  124. -
  125. -# Format the Calc Tutorial volume only.
  126. -textut: texsplit1 texvol1
  127. -
  128. -# Format the Calc Reference volume only.
  129. -texref: texsplit2 texvol2
  130. -
  131. -texsplit: maint
  132. -    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-manual
  133. -
  134. -texsplit1: maint
  135. -    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-tutorial
  136. -
  137. -texsplit2: maint
  138. -    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-reference
  139. -
  140. -texvol1:
  141. -    $(TEX) calctut.tex
  142. -    $(TEXINDEX) calctut.??
  143. -    $(TEX) calctut.tex
  144. -    $(PURGE) calctut.tex calctut.?? calctut.??s calctut.aux calctut.toc
  145. -
  146. -texvol2:
  147. -    $(TEX) calcref.tex
  148. -    $(TEXINDEX) calcref.??
  149. -    $(TEX) calcref.tex
  150. -    $(PURGE) calcref.tex calcref.?? calcref.??s calcref.aux calcref.toc
  151. -
  152. -
  153. -# Format the Calc summary separately using TeX.
  154. -summary: texsum
  155. -    $(TEX) calcsum.tex
  156. -    $(PURGE) calcsum.?? calcsum.aux calcsum.toc
  157. -
  158. -texsum: maint
  159. -    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-summary
  160. -
  161. -isummary: texisum
  162. -    $(TEX) calcsum.tex
  163. -    $(PURGE) calcsum.?? calcsum.aux calcsum.toc
  164. -
  165. -texisum: maint
  166. -    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-inline-summary
  167. -
  168. -
  169. -# All this because "-l calc-maint" doesn't work.
  170. -maint: calc-maint.elc
  171. -calc-maint.elc: calc-maint.el
  172. -    cp calc-maint.el calc-maint.elc
  173. -
  174. -
  175. -# Create an Emacs TAGS file
  176. -tags: TAGS
  177. -TAGS:
  178. -    etags *.el
  179. -
  180. -
  181. -# Delete .elc files and other reconstructible files.
  182. -clean:  clean.elc clean.info clean.tex
  183. -
  184. -clean.elc:
  185. -    $(REMOVE) calc-*.elc
  186. -    $(REMOVE) macedit.elc
  187. -
  188. -clean.info:
  189. -    $(REMOVE) calc.info*
  190. -
  191. -clean.tex:
  192. -    $(REMOVE) calc.cp calc.fn calc.ky calc.pg calc.tp calc.vr
  193. -    $(REMOVE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs
  194. -    $(REMOVE) calc.aux calc.log calc.toc calc.dvi
  195. -    $(REMOVE) calcref.*
  196. -    $(REMOVE) calctut.*
  197. -    $(REMOVE) calcsum.*
  198. -
  199. -
  200. diff -rup --new-file baseline/fsf/calc/Makefile.in amiga/fsf/calc/Makefile.in
  201. --- baseline/fsf/calc/Makefile.in    Wed Dec 31 17:00:00 1969
  202. +++ amiga/fsf/calc/Makefile.in    Sat Sep 28 00:00:00 1996
  203. @@ -0,0 +1,260 @@
  204. +# Makefile for "Calc", the GNU Emacs Calculator.
  205. +#  Copyright (C) 1991, 1992, 1993 Free Software Foundation.
  206. +#  Author: Dave Gillespie.
  207. +#  Author's address: daveg@synaptics.com.
  208. +
  209. +# This program is free software; you can redistribute it and/or modify
  210. +# it under the terms of the GNU General Public License as published by
  211. +# the Free Software Foundation (any version).
  212. +
  213. +# This program is distributed in the hope that it will be useful,
  214. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  215. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  216. +# GNU General Public License for more details.
  217. +
  218. +# You should have received a copy of the GNU General Public License
  219. +# along with this program; see the file COPYING.  If not, write to
  220. +# the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  221. +
  222. +
  223. +# To install Calc for private use, type `make'.
  224. +# To install Calc for public use, type `make install'.
  225. +
  226. +# How to read a Makefile:
  227. +#   The command `make target' looks for `target:' in the Makefile.
  228. +#   First, any sub-targets after the `:' are made.
  229. +#   Then, the Unix commands on the following lines are executed.
  230. +#   `$(SYMBOL)' expands according to the `SYMBOL =' definition below.
  231. +
  232. +
  233. +#### Start of system configuration section. ####
  234. +
  235. +srcdir = @srcdir@
  236. +VPATH = @srcdir@
  237. +
  238. +prefix = @prefix@
  239. +exec_prefix = @exec_prefix@
  240. +
  241. +libdir = $(prefix)/lib
  242. +infodir = $(prefix)/info
  243. +guidedir = $(prefix)/guide
  244. +
  245. +INSTALL = @INSTALL@
  246. +INSTALL_DATA = @INSTALL_DATA@
  247. +
  248. +LIBDIR = $(libdir)/emacs/site-lisp
  249. +
  250. +#### End system configuration section ####
  251. +
  252. +# Programs.
  253. +EMACS    = emacs
  254. +TEX      = tex
  255. +TEXINDEX = texindex
  256. +MAKEINFO = makeinfo
  257. +DVIPS    = dvips
  258. +MAKE     = make
  259. +ECHO     = @echo
  260. +REMOVE     = -rm -f
  261. +# (The leading `@' tells "make" not to echo the command itself during make;
  262. +#  The leading `-' tells "make" to keep going if the command fails.)
  263. +
  264. +# Other macros.
  265. +EFLAGS   = -batch
  266. +MAINT     = -l calc-maint.elc
  267. +
  268. +# Control whether intermediate files are kept.
  269. +PURGE     = -rm -f
  270. +#PURGE     = echo Not deleting:
  271. +
  272. +EL_FILES =    calc-aent.el calc-alg-2.el calc-alg-3.el calc-alg.el \
  273. +        calc-arith.el calc-bin.el calc-comb.el calc-comp.el \
  274. +        calc-cplx.el calc-embed.el calc-ext.el calc-fin.el \
  275. +        calc-forms.el calc-frac.el calc-funcs.el calc-graph.el \
  276. +        calc-help.el calc-incom.el calc-keypd.el calc-lang.el \
  277. +        calc-macs.el calc-map.el calc-mat.el \
  278. +        calc-math.el calc-misc.el calc-mode.el calc-poly.el \
  279. +        calc-prog.el calc-rewr.el calc-rules.el calc-sel-2.el \
  280. +        calc-sel.el calc-stat.el calc-store.el calc-stuff.el \
  281. +        calc-trail.el calc-undo.el calc-units.el calc-vec.el \
  282. +        calc-yank.el calc.el macedit.el
  283. +
  284. +ELC_FILES =    calc-aent.elc calc-alg-2.elc calc-alg-3.elc calc-alg.elc \
  285. +        calc-arith.elc calc-bin.elc calc-comb.elc calc-comp.elc \
  286. +        calc-cplx.elc calc-embed.elc calc-ext.elc calc-fin.elc \
  287. +        calc-forms.elc calc-frac.elc calc-funcs.elc calc-graph.elc \
  288. +        calc-help.elc calc-incom.elc calc-keypd.elc calc-lang.elc \
  289. +        calc-macs.elc calc-map.elc calc-mat.elc \
  290. +        calc-math.elc calc-misc.elc calc-mode.elc calc-poly.elc \
  291. +        calc-prog.elc calc-rewr.elc calc-rules.elc calc-sel-2.elc \
  292. +        calc-sel.elc calc-stat.elc calc-store.elc calc-stuff.elc \
  293. +        calc-trail.elc calc-undo.elc calc-units.elc calc-vec.elc \
  294. +        calc-yank.elc calc.elc macedit.elc
  295. +
  296. +# Default action is to compile the .elc files and make the info & guide files.
  297. +# Can't make the dvi and ps files currently because of an incompatibility
  298. +# with the current TeX (looks like a bug in the calc files).
  299. +
  300. +all:    maint $(ELC_FILES) info guide tags # dvi ps
  301. +
  302. +$(ELC_FILES): $(EL_FILES)
  303. +    $(EMACS) $(EFLAGS) $(MAINT) -f calc-compile
  304. +
  305. +# Installation consists of copying the .el and .elc files to the site
  306. +# elisp directory.
  307. +
  308. +install:
  309. +    for file in $(EL_FILES) $(ELC_FILES); \
  310. +    do \
  311. +        $(INSTALL_DATA) $$file $(LIBDIR)/$$file; \
  312. +    done
  313. +    -rm -f $(infodir)/calc.info*
  314. +    for file in calc.info*; \
  315. +    do \
  316. +        $(INSTALL_DATA) $$file $(infodir)/$$file; \
  317. +    done
  318. +    -chmod a-x $(infodir)/calc.info*
  319. +    -rm -f $(guidedir)/calc.guide
  320. +    $(INSTALL_DATA) calc.guide $(guidedir)/calc.guide
  321. +    -chmod a-x $(guidedir)/calc.guide
  322. +#    -rm -f $(dvidir)/calc.dvi
  323. +#    $(INSTALL_DATA) calc.dvi $(dvidir)/calc.dvi
  324. +#    -chmod a-x $(dvidir)/calc.dvi
  325. +#    -rm -f $(psdir)/calc.ps
  326. +#    $(INSTALL_DATA) calc.ps $(psdir)/calc.ps
  327. +#    -chmod a-x $(psdir)/calc.ps
  328. +
  329. +# Add autoload and set-global-key commands to system default file.
  330. +public: maint
  331. +    touch default
  332. +    $(EMACS) $(EFLAGS) $(MAINT) -f calc-public-autoloads
  333. +
  334. +
  335. +# Add autoload and set-global-key commands to ~/.emacs file.
  336. +private: maint
  337. +    $(EMACS) $(EFLAGS) $(MAINT) -f calc-private-autoloads
  338. +
  339. +
  340. +# Format the Calc manual for the Info system using makeinfo.
  341. +info: calc.info
  342. +calc.info: calc.texinfo
  343. +    -$(MAKEINFO) -I$(srcdir) $(srcdir)/calc.texinfo -o $@
  344. +    $(ECHO) "Please ignore warnings for Copying, Getting Started, and Interactive Tutorial."
  345. +    $(MAKE) texinfo
  346. +
  347. +# Format the Calc manual for the guide system using makeinfo.
  348. +guide: calc.guide
  349. +calc.guide: calc.texinfo
  350. +    -$(MAKEINFO) -I$(srcdir) --amiga $(srcdir)/calc.texinfo -o $@
  351. +    $(ECHO) "Please ignore warnings for Copying, Getting Started, and Interactive Tutorial."
  352. +    $(MAKE) texinfo
  353. +
  354. +# Format the Calc manual for the Info system using texinfo.el.
  355. +# (Use this only if you do not have makeinfo.)
  356. +texinfo: calc.info-2
  357. +calc.info-2: calc.texinfo
  358. +    if [ -f calc.texinfo ]; then true; else cp $(srcdir)/calc.texinfo calc.texinfo; fi; \
  359. +    $(EMACS) $(EFLAGS) calc.texinfo -f texinfo-format-buffer -f save-buffer
  360. +
  361. +
  362. +# Format the Calc manual as one printable volume using TeX.
  363. +dvi: calc.dvi
  364. +calc.dvi:
  365. +    $(REMOVE) calc.aux
  366. +    $(TEX) $(srcdir)/calc.texinfo
  367. +    $(TEXINDEX) calc.[cfkptv]?
  368. +    $(TEX) $(srcdir)/calc.texinfo
  369. +    $(PURGE) calc.cp calc.fn calc.pg calc.tp calc.vr
  370. +    $(PURGE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs
  371. +    $(PURGE) calc.toc
  372. +# Note, calc.aux and calc.ky are left behind for the benefit of "make summary".
  373. +
  374. +# Format the Calc manual as two printable volumes (Tutorial and Reference).
  375. +tex2: texsplit texvol1 texvol2
  376. +
  377. +# Format the Calc Tutorial volume only.
  378. +textut: texsplit1 texvol1
  379. +
  380. +# Format the Calc Reference volume only.
  381. +texref: texsplit2 texvol2
  382. +
  383. +texsplit: maint
  384. +    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-manual
  385. +
  386. +texsplit1: maint
  387. +    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-tutorial
  388. +
  389. +texsplit2: maint 
  390. +    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-reference
  391. +
  392. +texvol1:
  393. +    $(TEX) calctut.tex
  394. +    $(TEXINDEX) calctut.??
  395. +    $(TEX) calctut.tex
  396. +    $(PURGE) calctut.tex calctut.?? calctut.??s calctut.aux calctut.toc
  397. +
  398. +texvol2:
  399. +    $(TEX) calcref.tex
  400. +    $(TEXINDEX) calcref.??
  401. +    $(TEX) calcref.tex
  402. +    $(PURGE) calcref.tex calcref.?? calcref.??s calcref.aux calcref.toc
  403. +
  404. +ps: calc.ps
  405. +calc.ps: calc.dvi
  406. +    $(DVIPS) -o $@ $?
  407. +
  408. +# Format the Calc summary separately using TeX.
  409. +summary: texsum
  410. +    $(TEX) calcsum.tex
  411. +    $(PURGE) calcsum.?? calcsum.aux calcsum.toc
  412. +
  413. +texsum: maint
  414. +    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-summary
  415. +
  416. +isummary: texisum
  417. +    $(TEX) calcsum.tex
  418. +    $(PURGE) calcsum.?? calcsum.aux calcsum.toc
  419. +
  420. +texisum: maint
  421. +    $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-inline-summary
  422. +
  423. +
  424. +# All this because "-l calc-maint" doesn't work.
  425. +maint: mkcopy calc-maint.elc
  426. +calc-maint.elc: calc-maint.el
  427. +    cp $(srcdir)/calc-maint.el calc-maint.elc
  428. +
  429. +mkcopy:
  430. +    for elfile in $(EL_FILES); \
  431. +    do \
  432. +        if [ -f $$elfile ]; then true; else cp $(srcdir)/$$elfile $$elfile; fi; \
  433. +    done
  434. +
  435. +# Create an Emacs TAGS file
  436. +tags: TAGS
  437. +TAGS:
  438. +    etags *.el
  439. +
  440. +
  441. +# Delete .elc files and other reconstructible files.
  442. +clean:  clean.elc clean.info clean.tex clean.guide clean.ps
  443. +
  444. +clean.elc:
  445. +    $(REMOVE) calc-*.elc
  446. +    $(REMOVE) macedit.elc
  447. +
  448. +clean.info:
  449. +    $(REMOVE) calc.info*
  450. +
  451. +clean.guide:
  452. +    $(REMOVE) calc.guide
  453. +
  454. +clean.ps:
  455. +    $(REMOVE) calc.ps
  456. +
  457. +clean.tex:
  458. +    $(REMOVE) calc.cp calc.fn calc.ky calc.pg calc.tp calc.vr
  459. +    $(REMOVE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs
  460. +    $(REMOVE) calc.aux calc.log calc.toc calc.dvi
  461. +    $(REMOVE) calcref.*
  462. +    $(REMOVE) calctut.*
  463. +    $(REMOVE) calcsum.*
  464. diff -rup --new-file baseline/fsf/calc/Product-Info amiga/fsf/calc/Product-Info
  465. --- baseline/fsf/calc/Product-Info    Wed Dec 31 17:00:00 1969
  466. +++ amiga/fsf/calc/Product-Info    Sat Sep 28 00:00:00 1996
  467. @@ -0,0 +1,56 @@
  468. +.name
  469. +calc
  470. +.fullname
  471. +GNU calc
  472. +.type
  473. +Miscellaneous
  474. +.short
  475. +Advanced desk calculator in EMACS elisp.
  476. +.description
  477. +"Calc" is an advanced calculator and mathematical tool that runs as
  478. +part of the GNU Emacs environment.  Very roughly based on the HP-28/48
  479. +series of calculators, its many features include:
  480. +
  481. +    * Choice of algebraic or RPN (stack-based) entry of calculations.
  482. +
  483. +    * Arbitrary precision integers and floating-point numbers.
  484. +
  485. +    * Arithmetic on rational numbers, complex numbers (rectangular and
  486. +      polar), error forms with standard deviations, open and closed
  487. +      intervals, vectors and matrices, dates and times, infinities,
  488. +      sets, quantities with units, and algebraic formulas.
  489. +
  490. +    * Mathematical operations such as logarithms and trigonometric functions.
  491. +
  492. +    * Programmer's features (bitwise operations, non-decimal numbers).
  493. +
  494. +    * Financial functions such as future value and internal rate of return.
  495. +
  496. +    * Number theoretical features such as prime factorization and
  497. +      arithmetic modulo M for any M.
  498. +
  499. +    * Algebraic manipulation features, including symbolic calculus.
  500. +
  501. +    * Moving data to and from regular editing buffers.
  502. +
  503. +    * "Embedded mode" for manipulating Calc formulas and data directly
  504. +      inside any editing buffer.
  505. +
  506. +    * Graphics using GNUPLOT, a versatile (and free) plotting program.
  507. +
  508. +    * Easy programming using keyboard macros, algebraic formulas,
  509. +      algebraic rewrite rules, or extended Emacs Lisp.
  510. +.version
  511. +2.02d
  512. +.author
  513. +Dave Gillespie
  514. +.address
  515. +c/o Synaptics, Inc.
  516. +2698 Orchard Parkway
  517. +San Jose CA 95134
  518. +.distribution
  519. +GNU Public License
  520. +.email
  521. +daveg@synaptics.com
  522. +.described-by
  523. +Fred Fish (fnf@amigalib.com)
  524. diff -rup --new-file baseline/fsf/calc/configure amiga/fsf/calc/configure
  525. --- baseline/fsf/calc/configure    Wed Dec 31 17:00:00 1969
  526. +++ amiga/fsf/calc/configure    Mon Sep 30 22:37:54 1996
  527. @@ -0,0 +1,818 @@
  528. +#! /bin/sh
  529. +
  530. +# Guess values for system-dependent variables and create Makefiles.
  531. +# Generated automatically using autoconf version 2.10 
  532. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  533. +#
  534. +# This configure script is free software; the Free Software Foundation
  535. +# gives unlimited permission to copy, distribute and modify it.
  536. +
  537. +# Defaults:
  538. +ac_help=
  539. +ac_default_prefix=/usr/local
  540. +# Any additions from configure.in:
  541. +
  542. +# Initialize some variables set by options.
  543. +# The variables have the same names as the options, with
  544. +# dashes changed to underlines.
  545. +build=NONE
  546. +cache_file=./config.cache
  547. +exec_prefix=NONE
  548. +host=NONE
  549. +no_create=
  550. +nonopt=NONE
  551. +no_recursion=
  552. +prefix=NONE
  553. +program_prefix=NONE
  554. +program_suffix=NONE
  555. +program_transform_name=s,x,x,
  556. +silent=
  557. +site=
  558. +srcdir=
  559. +target=NONE
  560. +verbose=
  561. +x_includes=NONE
  562. +x_libraries=NONE
  563. +bindir='${exec_prefix}/bin'
  564. +sbindir='${exec_prefix}/sbin'
  565. +libexecdir='${exec_prefix}/libexec'
  566. +datadir='${prefix}/share'
  567. +sysconfdir='${prefix}/etc'
  568. +sharedstatedir='${prefix}/com'
  569. +localstatedir='${prefix}/var'
  570. +libdir='${exec_prefix}/lib'
  571. +includedir='${prefix}/include'
  572. +oldincludedir='/usr/include'
  573. +infodir='${prefix}/info'
  574. +guidedir='${prefix}/guide'
  575. +psdir='${prefix}/ps'
  576. +dvidir='${prefix}/dvi'
  577. +mandir='${prefix}/man'
  578. +
  579. +# Initialize some other variables.
  580. +subdirs=
  581. +MFLAGS= MAKEFLAGS=
  582. +
  583. +ac_prev=
  584. +for ac_option
  585. +do
  586. +
  587. +  # If the previous option needs an argument, assign it.
  588. +  if test -n "$ac_prev"; then
  589. +    eval "$ac_prev=\$ac_option"
  590. +    ac_prev=
  591. +    continue
  592. +  fi
  593. +
  594. +  case "$ac_option" in
  595. +  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  596. +  *) ac_optarg= ;;
  597. +  esac
  598. +
  599. +  # Accept the important Cygnus configure options, so we can diagnose typos.
  600. +
  601. +  case "$ac_option" in
  602. +
  603. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  604. +    ac_prev=bindir ;;
  605. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  606. +    bindir="$ac_optarg" ;;
  607. +
  608. +  -build | --build | --buil | --bui | --bu)
  609. +    ac_prev=build ;;
  610. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  611. +    build="$ac_optarg" ;;
  612. +
  613. +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  614. +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  615. +    ac_prev=cache_file ;;
  616. +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  617. +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  618. +    cache_file="$ac_optarg" ;;
  619. +
  620. +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  621. +    ac_prev=datadir ;;
  622. +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  623. +  | --da=*)
  624. +    datadir="$ac_optarg" ;;
  625. +
  626. +  -disable-* | --disable-*)
  627. +    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  628. +    # Reject names that are not valid shell variable names.
  629. +    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  630. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  631. +    fi
  632. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  633. +    eval "enable_${ac_feature}=no" ;;
  634. +
  635. +  -enable-* | --enable-*)
  636. +    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  637. +    # Reject names that are not valid shell variable names.
  638. +    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  639. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  640. +    fi
  641. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  642. +    case "$ac_option" in
  643. +      *=*) ;;
  644. +      *) ac_optarg=yes ;;
  645. +    esac
  646. +    eval "enable_${ac_feature}='$ac_optarg'" ;;
  647. +
  648. +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  649. +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  650. +  | --exec | --exe | --ex)
  651. +    ac_prev=exec_prefix ;;
  652. +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  653. +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  654. +  | --exec=* | --exe=* | --ex=*)
  655. +    exec_prefix="$ac_optarg" ;;
  656. +
  657. +  -gas | --gas | --ga | --g)
  658. +    # Obsolete; use --with-gas.
  659. +    with_gas=yes ;;
  660. +
  661. +  -help | --help | --hel | --he)
  662. +    # Omit some internal or obsolete options to make the list less imposing.
  663. +    # This message is too long to be a string in the A/UX 3.1 sh.
  664. +    cat << EOF
  665. +Usage: configure [options] [host]
  666. +Options: [defaults in brackets after descriptions]
  667. +Configuration:
  668. +  --cache-file=FILE       cache test results in FILE
  669. +  --help                  print this message
  670. +  --no-create             do not create output files
  671. +  --quiet, --silent       do not print \`checking...' messages
  672. +  --version               print the version of autoconf that created configure
  673. +Directory and file names:
  674. +  --prefix=PREFIX         install architecture-independent files in PREFIX
  675. +                          [$ac_default_prefix]
  676. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  677. +                          [same as prefix]
  678. +  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  679. +  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  680. +  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  681. +  --datadir=DIR           read-only architecture-independent data in DIR
  682. +                          [PREFIX/share]
  683. +  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  684. +  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  685. +                          [PREFIX/com]
  686. +  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  687. +  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  688. +  --includedir=DIR        C header files in DIR [PREFIX/include]
  689. +  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  690. +  --infodir=DIR           info documentation in DIR [PREFIX/info]
  691. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  692. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  693. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  694. +  --mandir=DIR            man documentation in DIR [PREFIX/man]
  695. +  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  696. +  --program-prefix=PREFIX prepend PREFIX to installed program names
  697. +  --program-suffix=SUFFIX append SUFFIX to installed program names
  698. +  --program-transform-name=PROGRAM
  699. +                          run sed PROGRAM on installed program names
  700. +EOF
  701. +    cat << EOF
  702. +Host type:
  703. +  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  704. +  --host=HOST             configure for HOST [guessed]
  705. +  --target=TARGET         configure for TARGET [TARGET=HOST]
  706. +Features and packages:
  707. +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  708. +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  709. +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  710. +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  711. +  --x-includes=DIR        X include files are in DIR
  712. +  --x-libraries=DIR       X library files are in DIR
  713. +EOF
  714. +    if test -n "$ac_help"; then
  715. +      echo "--enable and --with options recognized:$ac_help"
  716. +    fi
  717. +    exit 0 ;;
  718. +
  719. +  -host | --host | --hos | --ho)
  720. +    ac_prev=host ;;
  721. +  -host=* | --host=* | --hos=* | --ho=*)
  722. +    host="$ac_optarg" ;;
  723. +
  724. +  -includedir | --includedir | --includedi | --included | --include \
  725. +  | --includ | --inclu | --incl | --inc)
  726. +    ac_prev=includedir ;;
  727. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  728. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  729. +    includedir="$ac_optarg" ;;
  730. +
  731. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  732. +    ac_prev=infodir ;;
  733. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  734. +    infodir="$ac_optarg" ;;
  735. +
  736. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  737. +   ac_prev=guidedir ;;
  738. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  739. +
  740. + -psdir | --psdir | --psdi | --psd | --ps)
  741. +   ac_prev=psdir ;;
  742. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  743. +
  744. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  745. +   ac_prev=dvidir ;;
  746. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  747. +
  748. +  -libdir | --libdir | --libdi | --libd)
  749. +    ac_prev=libdir ;;
  750. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  751. +    libdir="$ac_optarg" ;;
  752. +
  753. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  754. +  | --libexe | --libex | --libe)
  755. +    ac_prev=libexecdir ;;
  756. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  757. +  | --libexe=* | --libex=* | --libe=*)
  758. +    libexecdir="$ac_optarg" ;;
  759. +
  760. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  761. +  | --localstate | --localstat | --localsta | --localst \
  762. +  | --locals | --local | --loca | --loc | --lo)
  763. +    ac_prev=localstatedir ;;
  764. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  765. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  766. +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  767. +    localstatedir="$ac_optarg" ;;
  768. +
  769. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  770. +    ac_prev=mandir ;;
  771. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  772. +    mandir="$ac_optarg" ;;
  773. +
  774. +  -nfp | --nfp | --nf)
  775. +    # Obsolete; use --without-fp.
  776. +    with_fp=no ;;
  777. +
  778. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  779. +  | --no-cr | --no-c)
  780. +    no_create=yes ;;
  781. +
  782. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  783. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  784. +    no_recursion=yes ;;
  785. +
  786. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  787. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  788. +  | --oldin | --oldi | --old | --ol | --o)
  789. +    ac_prev=oldincludedir ;;
  790. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  791. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  792. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  793. +    oldincludedir="$ac_optarg" ;;
  794. +
  795. +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  796. +    ac_prev=prefix ;;
  797. +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  798. +    prefix="$ac_optarg" ;;
  799. +
  800. +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  801. +  | --program-pre | --program-pr | --program-p)
  802. +    ac_prev=program_prefix ;;
  803. +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  804. +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  805. +    program_prefix="$ac_optarg" ;;
  806. +
  807. +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  808. +  | --program-suf | --program-su | --program-s)
  809. +    ac_prev=program_suffix ;;
  810. +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  811. +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  812. +    program_suffix="$ac_optarg" ;;
  813. +
  814. +  -program-transform-name | --program-transform-name \
  815. +  | --program-transform-nam | --program-transform-na \
  816. +  | --program-transform-n | --program-transform- \
  817. +  | --program-transform | --program-transfor \
  818. +  | --program-transfo | --program-transf \
  819. +  | --program-trans | --program-tran \
  820. +  | --progr-tra | --program-tr | --program-t)
  821. +    ac_prev=program_transform_name ;;
  822. +  -program-transform-name=* | --program-transform-name=* \
  823. +  | --program-transform-nam=* | --program-transform-na=* \
  824. +  | --program-transform-n=* | --program-transform-=* \
  825. +  | --program-transform=* | --program-transfor=* \
  826. +  | --program-transfo=* | --program-transf=* \
  827. +  | --program-trans=* | --program-tran=* \
  828. +  | --progr-tra=* | --program-tr=* | --program-t=*)
  829. +    program_transform_name="$ac_optarg" ;;
  830. +
  831. +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  832. +  | -silent | --silent | --silen | --sile | --sil)
  833. +    silent=yes ;;
  834. +
  835. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  836. +    ac_prev=sbindir ;;
  837. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  838. +  | --sbi=* | --sb=*)
  839. +    sbindir="$ac_optarg" ;;
  840. +
  841. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  842. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  843. +  | --sharedst | --shareds | --shared | --share | --shar \
  844. +  | --sha | --sh)
  845. +    ac_prev=sharedstatedir ;;
  846. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  847. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  848. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  849. +  | --sha=* | --sh=*)
  850. +    sharedstatedir="$ac_optarg" ;;
  851. +
  852. +  -site | --site | --sit)
  853. +    ac_prev=site ;;
  854. +  -site=* | --site=* | --sit=*)
  855. +    site="$ac_optarg" ;;
  856. +
  857. +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  858. +    ac_prev=srcdir ;;
  859. +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  860. +    srcdir="$ac_optarg" ;;
  861. +
  862. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  863. +  | --syscon | --sysco | --sysc | --sys | --sy)
  864. +    ac_prev=sysconfdir ;;
  865. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  866. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  867. +    sysconfdir="$ac_optarg" ;;
  868. +
  869. +  -target | --target | --targe | --targ | --tar | --ta | --t)
  870. +    ac_prev=target ;;
  871. +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  872. +    target="$ac_optarg" ;;
  873. +
  874. +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  875. +    verbose=yes ;;
  876. +
  877. +  -version | --version | --versio | --versi | --vers)
  878. +    echo "configure generated by autoconf version 2.10"
  879. +    exit 0 ;;
  880. +
  881. +  -with-* | --with-*)
  882. +    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  883. +    # Reject names that are not valid shell variable names.
  884. +    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  885. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  886. +    fi
  887. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  888. +    case "$ac_option" in
  889. +      *=*) ;;
  890. +      *) ac_optarg=yes ;;
  891. +    esac
  892. +    eval "with_${ac_package}='$ac_optarg'" ;;
  893. +
  894. +  -without-* | --without-*)
  895. +    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  896. +    # Reject names that are not valid shell variable names.
  897. +    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  898. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  899. +    fi
  900. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  901. +    eval "with_${ac_package}=no" ;;
  902. +
  903. +  --x)
  904. +    # Obsolete; use --with-x.
  905. +    with_x=yes ;;
  906. +
  907. +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  908. +  | --x-incl | --x-inc | --x-in | --x-i)
  909. +    ac_prev=x_includes ;;
  910. +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  911. +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  912. +    x_includes="$ac_optarg" ;;
  913. +
  914. +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  915. +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  916. +    ac_prev=x_libraries ;;
  917. +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  918. +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  919. +    x_libraries="$ac_optarg" ;;
  920. +
  921. +  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  922. +    ;;
  923. +
  924. +  *)
  925. +    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  926. +      echo "configure: warning: $ac_option: invalid host type" 1>&2
  927. +    fi
  928. +    if test "x$nonopt" != xNONE; then
  929. +      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  930. +    fi
  931. +    nonopt="$ac_option"
  932. +    ;;
  933. +
  934. +  esac
  935. +done
  936. +
  937. +if test -n "$ac_prev"; then
  938. +  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  939. +fi
  940. +
  941. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  942. +
  943. +# File descriptor usage:
  944. +# 0 standard input
  945. +# 1 file creation
  946. +# 2 errors and warnings
  947. +# 3 some systems may open it to /dev/tty
  948. +# 4 used on the Kubota Titan
  949. +# 6 checking for... messages and results
  950. +# 5 compiler messages saved in config.log
  951. +if test "$silent" = yes; then
  952. +  exec 6>/dev/null
  953. +else
  954. +  exec 6>&1
  955. +fi
  956. +exec 5>./config.log
  957. +
  958. +echo "\
  959. +This file contains any messages produced by compilers while
  960. +running configure, to aid debugging if configure makes a mistake.
  961. +" 1>&5
  962. +
  963. +# Strip out --no-create and --no-recursion so they do not pile up.
  964. +# Also quote any args containing shell metacharacters.
  965. +ac_configure_args=
  966. +for ac_arg
  967. +do
  968. +  case "$ac_arg" in
  969. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  970. +  | --no-cr | --no-c) ;;
  971. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  972. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  973. +  *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  974. +  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  975. +  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  976. +  esac
  977. +done
  978. +
  979. +# NLS nuisances.
  980. +# Only set LANG and LC_ALL to C if already set.
  981. +# These must not be set unconditionally because not all systems understand
  982. +# e.g. LANG=C (notably SCO).
  983. +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  984. +if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  985. +
  986. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  987. +rm -rf conftest* confdefs.h
  988. +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  989. +echo > confdefs.h
  990. +
  991. +# A filename unique to this package, relative to the directory that
  992. +# configure is in, which we can look for to find out if srcdir is correct.
  993. +ac_unique_file=calc-aent.el
  994. +
  995. +# Find the source files, if location was not specified.
  996. +if test -z "$srcdir"; then
  997. +  ac_srcdir_defaulted=yes
  998. +  # Try the directory containing this script, then its parent.
  999. +  ac_prog=$0
  1000. +  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  1001. +  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  1002. +  srcdir=$ac_confdir
  1003. +  if test ! -r $srcdir/$ac_unique_file; then
  1004. +    srcdir=..
  1005. +  fi
  1006. +else
  1007. +  ac_srcdir_defaulted=no
  1008. +fi
  1009. +if test ! -r $srcdir/$ac_unique_file; then
  1010. +  if test "$ac_srcdir_defaulted" = yes; then
  1011. +    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  1012. +  else
  1013. +    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  1014. +  fi
  1015. +fi
  1016. +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  1017. +
  1018. +# Prefer explicitly selected file to automatically selected ones.
  1019. +if test -z "$CONFIG_SITE"; then
  1020. +  if test "x$prefix" != xNONE; then
  1021. +    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1022. +  else
  1023. +    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1024. +  fi
  1025. +fi
  1026. +for ac_site_file in $CONFIG_SITE; do
  1027. +  if test -r "$ac_site_file"; then
  1028. +    echo "loading site script $ac_site_file"
  1029. +    . "$ac_site_file"
  1030. +  fi
  1031. +done
  1032. +
  1033. +if test -r "$cache_file"; then
  1034. +  echo "loading cache $cache_file"
  1035. +  . $cache_file
  1036. +else
  1037. +  echo "creating cache $cache_file"
  1038. +  > $cache_file
  1039. +fi
  1040. +
  1041. +ac_ext=c
  1042. +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  1043. +ac_cpp='$CPP $CPPFLAGS'
  1044. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  1045. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  1046. +
  1047. +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  1048. +  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  1049. +  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  1050. +    ac_n= ac_c='
  1051. +' ac_t='    '
  1052. +  else
  1053. +    ac_n=-n ac_c= ac_t=
  1054. +  fi
  1055. +else
  1056. +  ac_n= ac_c='\c' ac_t=
  1057. +fi
  1058. +
  1059. +
  1060. +
  1061. +ac_aux_dir=
  1062. +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1063. +  if test -f $ac_dir/install-sh; then
  1064. +    ac_aux_dir=$ac_dir
  1065. +    ac_install_sh="$ac_aux_dir/install-sh -c"
  1066. +    break
  1067. +  elif test -f $ac_dir/install.sh; then
  1068. +    ac_aux_dir=$ac_dir
  1069. +    ac_install_sh="$ac_aux_dir/install.sh -c"
  1070. +    break
  1071. +  fi
  1072. +done
  1073. +if test -z "$ac_aux_dir"; then
  1074. +  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  1075. +fi
  1076. +ac_config_guess=$ac_aux_dir/config.guess
  1077. +ac_config_sub=$ac_aux_dir/config.sub
  1078. +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  1079. +
  1080. +# Find a good install program.  We prefer a C program (faster),
  1081. +# so one script is as good as another.  But avoid the broken or
  1082. +# incompatible versions:
  1083. +# SysV /etc/install, /usr/sbin/install
  1084. +# SunOS /usr/etc/install
  1085. +# IRIX /sbin/install
  1086. +# AIX /bin/install
  1087. +# AmigaOS /c/install
  1088. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1089. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1090. +# ./install, which can be erroneously created by make from ./install.sh.
  1091. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  1092. +if test -z "$INSTALL"; then
  1093. +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  1094. +  echo $ac_n "(cached) $ac_c" 1>&6
  1095. +else
  1096. +    IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1097. +  for ac_dir in $PATH; do
  1098. +    # Account for people who put trailing slashes in PATH elements.
  1099. +    case "$ac_dir/" in
  1100. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  1101. +    *)
  1102. +      # OSF1 and SCO ODT 3.0 have their own names for install.
  1103. +      for ac_prog in ginstall installbsd scoinst install; do
  1104. +        if test -f $ac_dir/$ac_prog; then
  1105. +      if test $ac_prog = install &&
  1106. +            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  1107. +        # AIX install.  It has an incompatible calling convention.
  1108. +        # OSF/1 installbsd also uses dspmsg, but is usable.
  1109. +        :
  1110. +      else
  1111. +        ac_cv_path_install="$ac_dir/$ac_prog -c"
  1112. +        break 2
  1113. +      fi
  1114. +    fi
  1115. +      done
  1116. +      ;;
  1117. +    esac
  1118. +  done
  1119. +  IFS="$ac_save_ifs"
  1120. +
  1121. +fi
  1122. +  if test "${ac_cv_path_install+set}" = set; then
  1123. +    INSTALL="$ac_cv_path_install"
  1124. +  else
  1125. +    # As a last resort, use the slow shell script.  We don't cache a
  1126. +    # path for INSTALL within a source directory, because that will
  1127. +    # break other packages using the cache if that directory is
  1128. +    # removed, or if the path is relative.
  1129. +    INSTALL="$ac_install_sh"
  1130. +  fi
  1131. +fi
  1132. +echo "$ac_t""$INSTALL" 1>&6
  1133. +
  1134. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1135. +# It thinks the first close brace ends the variable substitution.
  1136. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1137. +
  1138. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1139. +
  1140. +trap '' 1 2 15
  1141. +cat > confcache <<\EOF
  1142. +# This file is a shell script that caches the results of configure
  1143. +# tests run on this system so they can be shared between configure
  1144. +# scripts and configure runs.  It is not useful on other systems.
  1145. +# If it contains results you don't want to keep, you may remove or edit it.
  1146. +#
  1147. +# By default, configure uses ./config.cache as the cache file,
  1148. +# creating it if it does not exist already.  You can give configure
  1149. +# the --cache-file=FILE option to use a different cache file; that is
  1150. +# what configure does when it calls configure scripts in
  1151. +# subdirectories, so they share the cache.
  1152. +# Giving --cache-file=/dev/null disables caching, for debugging configure.
  1153. +# config.status only pays attention to the cache file if you give it the
  1154. +# --recheck option to rerun configure.
  1155. +#
  1156. +EOF
  1157. +# Ultrix sh set writes to stderr and can't be redirected directly,
  1158. +# and sets the high bit in the cache file unless we assign to the vars.
  1159. +(set) 2>&1 |
  1160. +  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  1161. +  >> confcache
  1162. +if cmp -s $cache_file confcache; then
  1163. +  :
  1164. +else
  1165. +  if test -w $cache_file; then
  1166. +    echo "updating cache $cache_file"
  1167. +    cat confcache > $cache_file
  1168. +  else
  1169. +    echo "not updating unwritable cache $cache_file"
  1170. +  fi
  1171. +fi
  1172. +rm -f confcache
  1173. +
  1174. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1175. +
  1176. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1177. +# Let make expand exec_prefix.
  1178. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1179. +
  1180. +# Any assignment to VPATH causes Sun make to only execute
  1181. +# the first set of double-colon rules, so remove it if not needed.
  1182. +# If there is a colon in the path, we need to keep it.
  1183. +if test "x$srcdir" = x.; then
  1184. +  ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1185. +fi
  1186. +
  1187. +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  1188. +
  1189. +# Transform confdefs.h into DEFS.
  1190. +# Protect against shell expansion while executing Makefile rules.
  1191. +# Protect against Makefile macro expansion.
  1192. +cat > conftest.defs <<\EOF
  1193. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  1194. +s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  1195. +s%\[%\\&%g
  1196. +s%\]%\\&%g
  1197. +s%\$%$$%g
  1198. +EOF
  1199. +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  1200. +rm -f conftest.defs
  1201. +
  1202. +
  1203. +# Without the "./", some shells look in PATH for config.status.
  1204. +: ${CONFIG_STATUS=./config.status}
  1205. +
  1206. +echo creating $CONFIG_STATUS
  1207. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  1208. +# being executed, so just move it out of the way instead.
  1209. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1210. +cat > $CONFIG_STATUS <<EOF
  1211. +#! /bin/sh
  1212. +# Generated automatically by configure.
  1213. +# Run this file to recreate the current configuration.
  1214. +# This directory was configured as follows,
  1215. +# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1216. +#
  1217. +# $0 $ac_configure_args
  1218. +#
  1219. +# Compiler output produced by configure, useful for debugging
  1220. +# configure, is in ./config.log if it exists.
  1221. +
  1222. +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1223. +for ac_option
  1224. +do
  1225. +  case "\$ac_option" in
  1226. +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1227. +    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1228. +    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1229. +  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1230. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  1231. +    exit 0 ;;
  1232. +  -help | --help | --hel | --he | --h)
  1233. +    echo "\$ac_cs_usage"; exit 0 ;;
  1234. +  *) echo "\$ac_cs_usage"; exit 1 ;;
  1235. +  esac
  1236. +done
  1237. +
  1238. +ac_given_srcdir=$srcdir
  1239. +ac_given_INSTALL="$INSTALL"
  1240. +
  1241. +trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1242. +EOF
  1243. +cat >> $CONFIG_STATUS <<EOF
  1244. +
  1245. +# Protect against being on the right side of a sed subst in config.status.
  1246. +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  1247. + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  1248. +$ac_vpsub
  1249. +$extrasub
  1250. +s%@CFLAGS@%$CFLAGS%g
  1251. +s%@CPPFLAGS@%$CPPFLAGS%g
  1252. +s%@CXXFLAGS@%$CXXFLAGS%g
  1253. +s%@DEFS@%$DEFS%g
  1254. +s%@LDFLAGS@%$LDFLAGS%g
  1255. +s%@LIBS@%$LIBS%g
  1256. +s%@exec_prefix@%$exec_prefix%g
  1257. +s%@prefix@%$prefix%g
  1258. +s%@program_transform_name@%$program_transform_name%g
  1259. +s%@bindir@%$bindir%g
  1260. +s%@sbindir@%$sbindir%g
  1261. +s%@libexecdir@%$libexecdir%g
  1262. +s%@datadir@%$datadir%g
  1263. +s%@sysconfdir@%$sysconfdir%g
  1264. +s%@sharedstatedir@%$sharedstatedir%g
  1265. +s%@localstatedir@%$localstatedir%g
  1266. +s%@libdir@%$libdir%g
  1267. +s%@includedir@%$includedir%g
  1268. +s%@oldincludedir@%$oldincludedir%g
  1269. +s%@infodir@%$infodir%g
  1270. +s%@guidedir@%$guidedir%g
  1271. +s%@psdir@%$psdir%g
  1272. +s%@dvidir@%$dvidir%g
  1273. +s%@mandir@%$mandir%g
  1274. +s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1275. +s%@INSTALL_DATA@%$INSTALL_DATA%g
  1276. +
  1277. +CEOF
  1278. +EOF
  1279. +cat >> $CONFIG_STATUS <<EOF
  1280. +
  1281. +CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
  1282. +EOF
  1283. +cat >> $CONFIG_STATUS <<\EOF
  1284. +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  1285. +  # Support "outfile[:infile]", defaulting infile="outfile.in".
  1286. +  case "$ac_file" in
  1287. +  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  1288. +       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1289. +  *) ac_file_in="${ac_file}.in" ;;
  1290. +  esac
  1291. +
  1292. +  # Adjust relative srcdir, etc. for subdirectories.
  1293. +
  1294. +  # Remove last slash and all that follows it.  Not all systems have dirname.
  1295. +  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1296. +  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1297. +    # The file is in a subdirectory.
  1298. +    test ! -d "$ac_dir" && mkdir "$ac_dir"
  1299. +    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  1300. +    # A "../" for each directory in $ac_dir_suffix.
  1301. +    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1302. +  else
  1303. +    ac_dir_suffix= ac_dots=
  1304. +  fi
  1305. +
  1306. +  case "$ac_given_srcdir" in
  1307. +  .)  srcdir=.
  1308. +      if test -z "$ac_dots"; then top_srcdir=.
  1309. +      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  1310. +  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1311. +  *) # Relative path.
  1312. +    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1313. +    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1314. +  esac
  1315. +
  1316. +  case "$ac_given_INSTALL" in
  1317. +  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  1318. +  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  1319. +  esac
  1320. +  echo creating "$ac_file"
  1321. +  rm -f "$ac_file"
  1322. +  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  1323. +  case "$ac_file" in
  1324. +  *Makefile*) ac_comsub="1i\\
  1325. +# $configure_input" ;;
  1326. +  *) ac_comsub= ;;
  1327. +  esac
  1328. +  sed -e "$ac_comsub
  1329. +s%@configure_input@%$configure_input%g
  1330. +s%@srcdir@%$srcdir%g
  1331. +s%@top_srcdir@%$top_srcdir%g
  1332. +s%@INSTALL@%$INSTALL%g
  1333. +" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  1334. +fi; done
  1335. +rm -f conftest.subs
  1336. +
  1337. +
  1338. +
  1339. +exit 0
  1340. +EOF
  1341. +chmod +x $CONFIG_STATUS
  1342. +rm -f CONFIG.STATUS.old
  1343. +rm -fr confdefs* $ac_clean_files
  1344. +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1345. +
  1346. diff -rup --new-file baseline/fsf/calc/configure.in amiga/fsf/calc/configure.in
  1347. --- baseline/fsf/calc/configure.in    Wed Dec 31 17:00:00 1969
  1348. +++ amiga/fsf/calc/configure.in    Sat Sep 28 00:00:00 1996
  1349. @@ -0,0 +1,5 @@
  1350. +dnl Process this file with autoconf to produce a configure script.
  1351. +AC_INIT(calc-aent.el)
  1352. +
  1353. +AC_PROG_INSTALL
  1354. +AC_OUTPUT(Makefile)
  1355. diff -rup --new-file baseline/fsf/calc/install.sh amiga/fsf/calc/install.sh
  1356. --- baseline/fsf/calc/install.sh    Wed Dec 31 17:00:00 1969
  1357. +++ amiga/fsf/calc/install.sh    Sat Sep 28 00:00:00 1996
  1358. @@ -0,0 +1,238 @@
  1359. +#!/bin/sh
  1360. +#
  1361. +# install - install a program, script, or datafile
  1362. +# This comes from X11R5.
  1363. +#
  1364. +# Calling this script install-sh is preferred over install.sh, to prevent
  1365. +# `make' implicit rules from creating a file called install from it
  1366. +# when there is no Makefile.
  1367. +#
  1368. +# This script is compatible with the BSD install script, but was written
  1369. +# from scratch.
  1370. +#
  1371. +
  1372. +
  1373. +# set DOITPROG to echo to test this script
  1374. +
  1375. +# Don't use :- since 4.3BSD and earlier shells don't like it.
  1376. +doit="${DOITPROG-}"
  1377. +
  1378. +
  1379. +# put in absolute paths if you don't have them in your path; or use env. vars.
  1380. +
  1381. +mvprog="${MVPROG-mv}"
  1382. +cpprog="${CPPROG-cp}"
  1383. +chmodprog="${CHMODPROG-chmod}"
  1384. +chownprog="${CHOWNPROG-chown}"
  1385. +chgrpprog="${CHGRPPROG-chgrp}"
  1386. +stripprog="${STRIPPROG-strip}"
  1387. +rmprog="${RMPROG-rm}"
  1388. +mkdirprog="${MKDIRPROG-mkdir}"
  1389. +
  1390. +tranformbasename=""
  1391. +transform_arg=""
  1392. +instcmd="$mvprog"
  1393. +chmodcmd="$chmodprog 0755"
  1394. +chowncmd=""
  1395. +chgrpcmd=""
  1396. +stripcmd=""
  1397. +rmcmd="$rmprog -f"
  1398. +mvcmd="$mvprog"
  1399. +src=""
  1400. +dst=""
  1401. +dir_arg=""
  1402. +
  1403. +while [ x"$1" != x ]; do
  1404. +    case $1 in
  1405. +    -c) instcmd="$cpprog"
  1406. +        shift
  1407. +        continue;;
  1408. +
  1409. +    -d) dir_arg=true
  1410. +        shift
  1411. +        continue;;
  1412. +
  1413. +    -m) chmodcmd="$chmodprog $2"
  1414. +        shift
  1415. +        shift
  1416. +        continue;;
  1417. +
  1418. +    -o) chowncmd="$chownprog $2"
  1419. +        shift
  1420. +        shift
  1421. +        continue;;
  1422. +
  1423. +    -g) chgrpcmd="$chgrpprog $2"
  1424. +        shift
  1425. +        shift
  1426. +        continue;;
  1427. +
  1428. +    -s) stripcmd="$stripprog"
  1429. +        shift
  1430. +        continue;;
  1431. +
  1432. +    -t=*) transformarg=`echo $1 | sed 's/-t=//'`
  1433. +        shift
  1434. +        continue;;
  1435. +
  1436. +    -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
  1437. +        shift
  1438. +        continue;;
  1439. +
  1440. +    *)  if [ x"$src" = x ]
  1441. +        then
  1442. +        src=$1
  1443. +        else
  1444. +        # this colon is to work around a 386BSD /bin/sh bug
  1445. +        :
  1446. +        dst=$1
  1447. +        fi
  1448. +        shift
  1449. +        continue;;
  1450. +    esac
  1451. +done
  1452. +
  1453. +if [ x"$src" = x ]
  1454. +then
  1455. +    echo "install:    no input file specified"
  1456. +    exit 1
  1457. +else
  1458. +    true
  1459. +fi
  1460. +
  1461. +if [ x"$dir_arg" != x ]; then
  1462. +    dst=$src
  1463. +    src=""
  1464. +    
  1465. +    if [ -d $dst ]; then
  1466. +        instcmd=:
  1467. +    else
  1468. +        instcmd=mkdir
  1469. +    fi
  1470. +else
  1471. +
  1472. +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
  1473. +# might cause directories to be created, which would be especially bad 
  1474. +# if $src (and thus $dsttmp) contains '*'.
  1475. +
  1476. +    if [ -f $src -o -d $src ]
  1477. +    then
  1478. +        true
  1479. +    else
  1480. +        echo "install:  $src does not exist"
  1481. +        exit 1
  1482. +    fi
  1483. +    
  1484. +    if [ x"$dst" = x ]
  1485. +    then
  1486. +        echo "install:    no destination specified"
  1487. +        exit 1
  1488. +    else
  1489. +        true
  1490. +    fi
  1491. +
  1492. +# If destination is a directory, append the input filename; if your system
  1493. +# does not like double slashes in filenames, you may need to add some logic
  1494. +
  1495. +    if [ -d $dst ]
  1496. +    then
  1497. +        dst="$dst"/`basename $src`
  1498. +    else
  1499. +        true
  1500. +    fi
  1501. +fi
  1502. +
  1503. +## this sed command emulates the dirname command
  1504. +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
  1505. +
  1506. +# Make sure that the destination directory exists.
  1507. +#  this part is taken from Noah Friedman's mkinstalldirs script
  1508. +
  1509. +# Skip lots of stat calls in the usual case.
  1510. +if [ ! -d "$dstdir" ]; then
  1511. +defaultIFS='    
  1512. +'
  1513. +IFS="${IFS-${defaultIFS}}"
  1514. +
  1515. +oIFS="${IFS}"
  1516. +# Some sh's can't handle IFS=/ for some reason.
  1517. +IFS='%'
  1518. +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
  1519. +IFS="${oIFS}"
  1520. +
  1521. +pathcomp=''
  1522. +
  1523. +while [ $# -ne 0 ] ; do
  1524. +    pathcomp="${pathcomp}${1}"
  1525. +    shift
  1526. +
  1527. +    if [ ! -d "${pathcomp}" ] ;
  1528. +        then
  1529. +        $mkdirprog "${pathcomp}"
  1530. +    else
  1531. +        true
  1532. +    fi
  1533. +
  1534. +    pathcomp="${pathcomp}/"
  1535. +done
  1536. +fi
  1537. +
  1538. +if [ x"$dir_arg" != x ]
  1539. +then
  1540. +    $doit $instcmd $dst &&
  1541. +
  1542. +    if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
  1543. +    if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
  1544. +    if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
  1545. +    if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
  1546. +else
  1547. +
  1548. +# If we're going to rename the final executable, determine the name now.
  1549. +
  1550. +    if [ x"$transformarg" = x ] 
  1551. +    then
  1552. +        dstfile=`basename $dst`
  1553. +    else
  1554. +        dstfile=`basename $dst $transformbasename | 
  1555. +            sed $transformarg`$transformbasename
  1556. +    fi
  1557. +
  1558. +# don't allow the sed command to completely eliminate the filename
  1559. +
  1560. +    if [ x"$dstfile" = x ] 
  1561. +    then
  1562. +        dstfile=`basename $dst`
  1563. +    else
  1564. +        true
  1565. +    fi
  1566. +
  1567. +# Make a temp file name in the proper directory.
  1568. +
  1569. +    dsttmp=$dstdir/#inst.$$#
  1570. +
  1571. +# Move or copy the file name to the temp name
  1572. +
  1573. +    $doit $instcmd $src $dsttmp &&
  1574. +
  1575. +    trap "rm -f ${dsttmp}" 0 &&
  1576. +
  1577. +# and set any options; do chmod last to preserve setuid bits
  1578. +
  1579. +# If any of these fail, we abort the whole thing.  If we want to
  1580. +# ignore errors from any of these, just make sure not to ignore
  1581. +# errors from the above "$doit $instcmd $src $dsttmp" command.
  1582. +
  1583. +    if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
  1584. +    if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
  1585. +    if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
  1586. +    if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
  1587. +
  1588. +# Now rename the file to the real destination.
  1589. +
  1590. +    $doit $rmcmd -f $dstdir/$dstfile &&
  1591. +    $doit $mvcmd $dsttmp $dstdir/$dstfile 
  1592. +
  1593. +fi &&
  1594. +
  1595. +
  1596. +exit 0
  1597. diff -rup --new-file baseline/fsf/calc/manifests/bin amiga/fsf/calc/manifests/bin
  1598. --- baseline/fsf/calc/manifests/bin    Wed Dec 31 17:00:00 1969
  1599. +++ amiga/fsf/calc/manifests/bin    Sat Sep 28 00:00:00 1996
  1600. @@ -0,0 +1,85 @@
  1601. +COPYING
  1602. +COPYING.info
  1603. +lib/emacs/site-lisp/calc-aent.el
  1604. +lib/emacs/site-lisp/calc-aent.elc
  1605. +lib/emacs/site-lisp/calc-alg-2.el
  1606. +lib/emacs/site-lisp/calc-alg-2.elc
  1607. +lib/emacs/site-lisp/calc-alg-3.el
  1608. +lib/emacs/site-lisp/calc-alg-3.elc
  1609. +lib/emacs/site-lisp/calc-alg.el
  1610. +lib/emacs/site-lisp/calc-alg.elc
  1611. +lib/emacs/site-lisp/calc-arith.el
  1612. +lib/emacs/site-lisp/calc-arith.elc
  1613. +lib/emacs/site-lisp/calc-bin.el
  1614. +lib/emacs/site-lisp/calc-bin.elc
  1615. +lib/emacs/site-lisp/calc-comb.el
  1616. +lib/emacs/site-lisp/calc-comb.elc
  1617. +lib/emacs/site-lisp/calc-comp.el
  1618. +lib/emacs/site-lisp/calc-comp.elc
  1619. +lib/emacs/site-lisp/calc-cplx.el
  1620. +lib/emacs/site-lisp/calc-cplx.elc
  1621. +lib/emacs/site-lisp/calc-embed.el
  1622. +lib/emacs/site-lisp/calc-embed.elc
  1623. +lib/emacs/site-lisp/calc-ext.el
  1624. +lib/emacs/site-lisp/calc-ext.elc
  1625. +lib/emacs/site-lisp/calc-fin.el
  1626. +lib/emacs/site-lisp/calc-fin.elc
  1627. +lib/emacs/site-lisp/calc-forms.el
  1628. +lib/emacs/site-lisp/calc-forms.elc
  1629. +lib/emacs/site-lisp/calc-frac.el
  1630. +lib/emacs/site-lisp/calc-frac.elc
  1631. +lib/emacs/site-lisp/calc-funcs.el
  1632. +lib/emacs/site-lisp/calc-funcs.elc
  1633. +lib/emacs/site-lisp/calc-graph.el
  1634. +lib/emacs/site-lisp/calc-graph.elc
  1635. +lib/emacs/site-lisp/calc-help.el
  1636. +lib/emacs/site-lisp/calc-help.elc
  1637. +lib/emacs/site-lisp/calc-incom.el
  1638. +lib/emacs/site-lisp/calc-incom.elc
  1639. +lib/emacs/site-lisp/calc-keypd.el
  1640. +lib/emacs/site-lisp/calc-keypd.elc
  1641. +lib/emacs/site-lisp/calc-lang.el
  1642. +lib/emacs/site-lisp/calc-lang.elc
  1643. +lib/emacs/site-lisp/calc-macs.el
  1644. +lib/emacs/site-lisp/calc-macs.elc
  1645. +lib/emacs/site-lisp/calc-map.el
  1646. +lib/emacs/site-lisp/calc-map.elc
  1647. +lib/emacs/site-lisp/calc-mat.el
  1648. +lib/emacs/site-lisp/calc-mat.elc
  1649. +lib/emacs/site-lisp/calc-math.el
  1650. +lib/emacs/site-lisp/calc-math.elc
  1651. +lib/emacs/site-lisp/calc-misc.el
  1652. +lib/emacs/site-lisp/calc-misc.elc
  1653. +lib/emacs/site-lisp/calc-mode.el
  1654. +lib/emacs/site-lisp/calc-mode.elc
  1655. +lib/emacs/site-lisp/calc-poly.el
  1656. +lib/emacs/site-lisp/calc-poly.elc
  1657. +lib/emacs/site-lisp/calc-prog.el
  1658. +lib/emacs/site-lisp/calc-prog.elc
  1659. +lib/emacs/site-lisp/calc-rewr.el
  1660. +lib/emacs/site-lisp/calc-rewr.elc
  1661. +lib/emacs/site-lisp/calc-rules.el
  1662. +lib/emacs/site-lisp/calc-rules.elc
  1663. +lib/emacs/site-lisp/calc-sel-2.el
  1664. +lib/emacs/site-lisp/calc-sel-2.elc
  1665. +lib/emacs/site-lisp/calc-sel.el
  1666. +lib/emacs/site-lisp/calc-sel.elc
  1667. +lib/emacs/site-lisp/calc-stat.el
  1668. +lib/emacs/site-lisp/calc-stat.elc
  1669. +lib/emacs/site-lisp/calc-store.el
  1670. +lib/emacs/site-lisp/calc-store.elc
  1671. +lib/emacs/site-lisp/calc-stuff.el
  1672. +lib/emacs/site-lisp/calc-stuff.elc
  1673. +lib/emacs/site-lisp/calc-trail.el
  1674. +lib/emacs/site-lisp/calc-trail.elc
  1675. +lib/emacs/site-lisp/calc-undo.el
  1676. +lib/emacs/site-lisp/calc-undo.elc
  1677. +lib/emacs/site-lisp/calc-units.el
  1678. +lib/emacs/site-lisp/calc-units.elc
  1679. +lib/emacs/site-lisp/calc-vec.el
  1680. +lib/emacs/site-lisp/calc-vec.elc
  1681. +lib/emacs/site-lisp/calc-yank.el
  1682. +lib/emacs/site-lisp/calc-yank.elc
  1683. +lib/emacs/site-lisp/calc.el
  1684. +lib/emacs/site-lisp/calc.elc
  1685. +lib/emacs/site-lisp/macedit.el
  1686. diff -rup --new-file baseline/fsf/calc/manifests/src amiga/fsf/calc/manifests/src
  1687. --- baseline/fsf/calc/manifests/src    Wed Dec 31 17:00:00 1969
  1688. +++ amiga/fsf/calc/manifests/src    Sat Sep 28 00:00:00 1996
  1689. @@ -0,0 +1,54 @@
  1690. +fsf/calc/INSTALL
  1691. +fsf/calc/Makefile.in
  1692. +fsf/calc/Product-Info
  1693. +fsf/calc/README
  1694. +fsf/calc/README.prev
  1695. +fsf/calc/calc-aent.el
  1696. +fsf/calc/calc-alg-2.el
  1697. +fsf/calc/calc-alg-3.el
  1698. +fsf/calc/calc-alg.el
  1699. +fsf/calc/calc-arith.el
  1700. +fsf/calc/calc-bin.el
  1701. +fsf/calc/calc-comb.el
  1702. +fsf/calc/calc-comp.el
  1703. +fsf/calc/calc-cplx.el
  1704. +fsf/calc/calc-embed.el
  1705. +fsf/calc/calc-ext.el
  1706. +fsf/calc/calc-fin.el
  1707. +fsf/calc/calc-forms.el
  1708. +fsf/calc/calc-frac.el
  1709. +fsf/calc/calc-funcs.el
  1710. +fsf/calc/calc-graph.el
  1711. +fsf/calc/calc-help.el
  1712. +fsf/calc/calc-incom.el
  1713. +fsf/calc/calc-keypd.el
  1714. +fsf/calc/calc-lang.el
  1715. +fsf/calc/calc-macs.el
  1716. +fsf/calc/calc-maint.el
  1717. +fsf/calc/calc-map.el
  1718. +fsf/calc/calc-mat.el
  1719. +fsf/calc/calc-math.el
  1720. +fsf/calc/calc-misc.el
  1721. +fsf/calc/calc-mode.el
  1722. +fsf/calc/calc-poly.el
  1723. +fsf/calc/calc-prog.el
  1724. +fsf/calc/calc-rewr.el
  1725. +fsf/calc/calc-rules.el
  1726. +fsf/calc/calc-sel-2.el
  1727. +fsf/calc/calc-sel.el
  1728. +fsf/calc/calc-stat.el
  1729. +fsf/calc/calc-store.el
  1730. +fsf/calc/calc-stuff.el
  1731. +fsf/calc/calc-trail.el
  1732. +fsf/calc/calc-undo.el
  1733. +fsf/calc/calc-units.el
  1734. +fsf/calc/calc-vec.el
  1735. +fsf/calc/calc-yank.el
  1736. +fsf/calc/calc.el
  1737. +fsf/calc/calc.texinfo
  1738. +fsf/calc/configure
  1739. +fsf/calc/configure.in
  1740. +fsf/calc/install.sh
  1741. +fsf/calc/macedit.el
  1742. +fsf/calc/manifests/bin
  1743. +fsf/calc/manifests/src
  1744.