home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-01-21 | 44.7 KB | 1,424 lines |
- diff -rc --new-file calc-2.02c/Makefile /gnu/src/amiga/calc-2.02c/Makefile
- *** calc-2.02c/Makefile Tue Jun 1 10:35:49 1993
- --- /gnu/src/amiga/calc-2.02c/Makefile Thu Jan 1 00:00:00 1970
- ***************
- *** 1,185 ****
- - # Makefile for "Calc", the GNU Emacs Calculator.
- - # Copyright (C) 1991, 1992, 1993 Free Software Foundation.
- - # Author: Dave Gillespie.
- - # Author's address: daveg@synaptics.com.
- -
- - # This program is free software; you can redistribute it and/or modify
- - # it under the terms of the GNU General Public License as published by
- - # the Free Software Foundation (any version).
- -
- - # This program is distributed in the hope that it will be useful,
- - # but WITHOUT ANY WARRANTY; without even the implied warranty of
- - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- - # GNU General Public License for more details.
- -
- - # You should have received a copy of the GNU General Public License
- - # along with this program; see the file COPYING. If not, write to
- - # the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- -
- -
- - # To install Calc for private use, type `make'.
- - # To install Calc for public use, type `make install'.
- -
- - # How to read a Makefile:
- - # The command `make target' looks for `target:' in the Makefile.
- - # First, any sub-targets after the `:' are made.
- - # Then, the Unix commands on the following lines are executed.
- - # `$(SYMBOL)' expands according to the `SYMBOL =' definition below.
- -
- -
- - # Programs.
- - EMACS = emacs
- - TEX = tex
- - TEXINDEX = texindex
- - MAKEINFO = makeinfo
- - MAKE = make
- - ECHO = @echo
- - REMOVE = -rm -f
- - # (The leading `@' tells "make" not to echo the command itself during make;
- - # The leading `-' tells "make" to keep going if the command fails.)
- -
- - # Other macros.
- - EFLAGS = -batch
- - MAINT = -l calc-maint.elc
- -
- - # Control whether intermediate files are kept.
- - PURGE = -rm -f
- - #PURGE = echo Not deleting:
- -
- -
- -
- - # Do full Calc installation. (Note that `make' == `make all'.)
- - # These are written this way instead of `all: compile private info'
- - # to make the steps more explicit while the `make' is in progress.
- - all:
- - $(MAKE) compile
- - $(MAKE) private
- - $(MAKE) info
- - $(ECHO) "Calc is now installed."
- -
- - install:
- - $(MAKE) compile
- - $(MAKE) public
- - $(MAKE) info
- - $(ECHO) "Calc is now installed."
- -
- -
- - # Compile Calc.
- - compile: maint
- - $(EMACS) $(EFLAGS) $(MAINT) -f calc-compile
- -
- -
- - # Add autoload and set-global-key commands to system default file.
- - public: maint
- - $(EMACS) $(EFLAGS) $(MAINT) -f calc-public-autoloads
- -
- -
- - # Add autoload and set-global-key commands to ~/.emacs file.
- - private: maint
- - $(EMACS) $(EFLAGS) $(MAINT) -f calc-private-autoloads
- -
- -
- - # Format the Calc manual for the Info system using makeinfo.
- - info: calc.info
- - calc.info: calc.texinfo
- - -$(MAKEINFO) calc.texinfo
- - $(ECHO) "Please ignore warnings for Copying, Getting Started, and Interactive Tutorial."
- - $(MAKE) texinfo
- -
- -
- - # Format the Calc manual for the Info system using texinfo.el.
- - # (Use this only if you do not have makeinfo.)
- - texinfo: calc.info-2
- - calc.info-2: calc.texinfo
- - $(EMACS) $(EFLAGS) calc.texinfo -f texinfo-format-buffer -f save-buffer
- -
- -
- - # Format the Calc manual as one printable volume using TeX.
- - tex:
- - $(REMOVE) calc.aux
- - $(TEX) calc.texinfo
- - $(TEXINDEX) calc.[cfkptv]?
- - $(TEX) calc.texinfo
- - $(PURGE) calc.cp calc.fn calc.pg calc.tp calc.vr
- - $(PURGE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs
- - $(PURGE) calc.toc
- - # Note, calc.aux and calc.ky are left behind for the benefit of "make summary".
- -
- - # Format the Calc manual as two printable volumes (Tutorial and Reference).
- - tex2: texsplit texvol1 texvol2
- -
- - # Format the Calc Tutorial volume only.
- - textut: texsplit1 texvol1
- -
- - # Format the Calc Reference volume only.
- - texref: texsplit2 texvol2
- -
- - texsplit: maint
- - $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-manual
- -
- - texsplit1: maint
- - $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-tutorial
- -
- - texsplit2: maint
- - $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-reference
- -
- - texvol1:
- - $(TEX) calctut.tex
- - $(TEXINDEX) calctut.??
- - $(TEX) calctut.tex
- - $(PURGE) calctut.tex calctut.?? calctut.??s calctut.aux calctut.toc
- -
- - texvol2:
- - $(TEX) calcref.tex
- - $(TEXINDEX) calcref.??
- - $(TEX) calcref.tex
- - $(PURGE) calcref.tex calcref.?? calcref.??s calcref.aux calcref.toc
- -
- -
- - # Format the Calc summary separately using TeX.
- - summary: texsum
- - $(TEX) calcsum.tex
- - $(PURGE) calcsum.?? calcsum.aux calcsum.toc
- -
- - texsum: maint
- - $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-summary
- -
- - isummary: texisum
- - $(TEX) calcsum.tex
- - $(PURGE) calcsum.?? calcsum.aux calcsum.toc
- -
- - texisum: maint
- - $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-inline-summary
- -
- -
- - # All this because "-l calc-maint" doesn't work.
- - maint: calc-maint.elc
- - calc-maint.elc: calc-maint.el
- - cp calc-maint.el calc-maint.elc
- -
- -
- - # Create an Emacs TAGS file
- - tags: TAGS
- - TAGS:
- - etags *.el
- -
- -
- - # Delete .elc files and other reconstructible files.
- - clean: clean.elc clean.info clean.tex
- -
- - clean.elc:
- - $(REMOVE) calc-*.elc
- - $(REMOVE) macedit.elc
- -
- - clean.info:
- - $(REMOVE) calc.info*
- -
- - clean.tex:
- - $(REMOVE) calc.cp calc.fn calc.ky calc.pg calc.tp calc.vr
- - $(REMOVE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs
- - $(REMOVE) calc.aux calc.log calc.toc calc.dvi
- - $(REMOVE) calcref.*
- - $(REMOVE) calctut.*
- - $(REMOVE) calcsum.*
- -
- -
- --- 0 ----
- diff -rc --new-file calc-2.02c/Makefile.in /gnu/src/amiga/calc-2.02c/Makefile.in
- *** calc-2.02c/Makefile.in Thu Jan 1 00:00:00 1970
- --- /gnu/src/amiga/calc-2.02c/Makefile.in Mon Dec 19 21:28:41 1994
- ***************
- *** 0 ****
- --- 1,232 ----
- + # Makefile for "Calc", the GNU Emacs Calculator.
- + # Copyright (C) 1991, 1992, 1993 Free Software Foundation.
- + # Author: Dave Gillespie.
- + # Author's address: daveg@synaptics.com.
- +
- + # This program is free software; you can redistribute it and/or modify
- + # it under the terms of the GNU General Public License as published by
- + # the Free Software Foundation (any version).
- +
- + # This program is distributed in the hope that it will be useful,
- + # but WITHOUT ANY WARRANTY; without even the implied warranty of
- + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- + # GNU General Public License for more details.
- +
- + # You should have received a copy of the GNU General Public License
- + # along with this program; see the file COPYING. If not, write to
- + # the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- +
- +
- + # To install Calc for private use, type `make'.
- + # To install Calc for public use, type `make install'.
- +
- + # How to read a Makefile:
- + # The command `make target' looks for `target:' in the Makefile.
- + # First, any sub-targets after the `:' are made.
- + # Then, the Unix commands on the following lines are executed.
- + # `$(SYMBOL)' expands according to the `SYMBOL =' definition below.
- +
- +
- + #### Start of system configuration section. ####
- +
- + srcdir = @srcdir@
- + VPATH = @srcdir@
- +
- + prefix = @prefix@
- + exec_prefix = @exec_prefix@
- +
- + libdir = $(prefix)/lib
- + infodir = $(prefix)/info
- +
- + INSTALL = @INSTALL@
- + INSTALL_DATA = @INSTALL_DATA@
- +
- + LIBDIR = $(libdir)/emacs/site-lisp
- +
- + #### End system configuration section ####
- +
- + # Programs.
- + EMACS = emacs
- + TEX = tex
- + TEXINDEX = texindex
- + MAKEINFO = makeinfo
- + MAKE = make
- + ECHO = @echo
- + REMOVE = -rm -f
- + # (The leading `@' tells "make" not to echo the command itself during make;
- + # The leading `-' tells "make" to keep going if the command fails.)
- +
- + # Other macros.
- + EFLAGS = -batch
- + MAINT = -l calc-maint.elc
- +
- + # Control whether intermediate files are kept.
- + PURGE = -rm -f
- + #PURGE = echo Not deleting:
- +
- + EL_FILES = calc-aent.el calc-alg-2.el calc-alg-3.el calc-alg.el \
- + calc-arith.el calc-bin.el calc-comb.el calc-comp.el \
- + calc-cplx.el calc-embed.el calc-ext.el calc-fin.el \
- + calc-forms.el calc-frac.el calc-funcs.el calc-graph.el \
- + calc-help.el calc-incom.el calc-keypd.el calc-lang.el \
- + calc-macs.el calc-map.el calc-mat.el \
- + calc-math.el calc-misc.el calc-mode.el calc-poly.el \
- + calc-prog.el calc-rewr.el calc-rules.el calc-sel-2.el \
- + calc-sel.el calc-stat.el calc-store.el calc-stuff.el \
- + calc-trail.el calc-undo.el calc-units.el calc-vec.el \
- + calc-yank.el calc.el macedit.el
- +
- + ELC_FILES = calc-aent.elc calc-alg-2.elc calc-alg-3.elc calc-alg.elc \
- + calc-arith.elc calc-bin.elc calc-comb.elc calc-comp.elc \
- + calc-cplx.elc calc-embed.elc calc-ext.elc calc-fin.elc \
- + calc-forms.elc calc-frac.elc calc-funcs.elc calc-graph.elc \
- + calc-help.elc calc-incom.elc calc-keypd.elc calc-lang.elc \
- + calc-macs.elc calc-map.elc calc-mat.elc \
- + calc-math.elc calc-misc.elc calc-mode.elc calc-poly.elc \
- + calc-prog.elc calc-rewr.elc calc-rules.elc calc-sel-2.elc \
- + calc-sel.elc calc-stat.elc calc-store.elc calc-stuff.elc \
- + calc-trail.elc calc-undo.elc calc-units.elc calc-vec.elc \
- + calc-yank.elc calc.elc macedit.elc
- +
- + # Default action is to compile the .elc files and make the info files.
- +
- + all: maint $(ELC_FILES) info tags
- +
- + $(ELC_FILES): $(EL_FILES)
- + $(EMACS) $(EFLAGS) $(MAINT) -f calc-compile
- +
- + # Installation consists of copying the .el and .elc files to the site
- + # elisp directory.
- +
- + install:
- + for file in $(EL_FILES) $(ELC_FILES); \
- + do \
- + $(INSTALL_DATA) $$file $(LIBDIR)/$$file; \
- + done
- + -rm -f $(infodir)/calc.info*
- + for file in calc.info*; \
- + do \
- + $(INSTALL_DATA) $$file $(infodir)/$$file; \
- + done
- + -chmod a-x $(infodir)/calc.info*
- +
- + # Add autoload and set-global-key commands to system default file.
- + public: maint
- + touch default
- + $(EMACS) $(EFLAGS) $(MAINT) -f calc-public-autoloads
- +
- +
- + # Add autoload and set-global-key commands to ~/.emacs file.
- + private: maint
- + $(EMACS) $(EFLAGS) $(MAINT) -f calc-private-autoloads
- +
- +
- + # Format the Calc manual for the Info system using makeinfo.
- + info: calc.info
- + calc.info: calc.texinfo
- + if [ -f calc.texinfo ]; then true; else cp $(srcdir)/calc.texinfo calc.texinfo; fi;
- + -$(MAKEINFO) calc.texinfo
- + $(ECHO) "Please ignore warnings for Copying, Getting Started, and Interactive Tutorial."
- + $(MAKE) texinfo
- +
- +
- + # Format the Calc manual for the Info system using texinfo.el.
- + # (Use this only if you do not have makeinfo.)
- + texinfo: calc.info-2
- + calc.info-2: calc.texinfo
- + if [ -f calc.texinfo ]; then true; else cp $(srcdir)/calc.texinfo calc.texinfo; fi; \
- + $(EMACS) $(EFLAGS) calc.texinfo -f texinfo-format-buffer -f save-buffer
- +
- +
- + # Format the Calc manual as one printable volume using TeX.
- + tex:
- + $(REMOVE) calc.aux
- + $(TEX) $(srcdir)/calc.texinfo
- + $(TEXINDEX) calc.[cfkptv]?
- + $(TEX) $(srcdir)/calc.texinfo
- + $(PURGE) calc.cp calc.fn calc.pg calc.tp calc.vr
- + $(PURGE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs
- + $(PURGE) calc.toc
- + # Note, calc.aux and calc.ky are left behind for the benefit of "make summary".
- +
- + # Format the Calc manual as two printable volumes (Tutorial and Reference).
- + tex2: texsplit texvol1 texvol2
- +
- + # Format the Calc Tutorial volume only.
- + textut: texsplit1 texvol1
- +
- + # Format the Calc Reference volume only.
- + texref: texsplit2 texvol2
- +
- + texsplit: maint
- + $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-manual
- +
- + texsplit1: maint
- + $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-tutorial
- +
- + texsplit2: maint
- + $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-reference
- +
- + texvol1:
- + $(TEX) calctut.tex
- + $(TEXINDEX) calctut.??
- + $(TEX) calctut.tex
- + $(PURGE) calctut.tex calctut.?? calctut.??s calctut.aux calctut.toc
- +
- + texvol2:
- + $(TEX) calcref.tex
- + $(TEXINDEX) calcref.??
- + $(TEX) calcref.tex
- + $(PURGE) calcref.tex calcref.?? calcref.??s calcref.aux calcref.toc
- +
- +
- + # Format the Calc summary separately using TeX.
- + summary: texsum
- + $(TEX) calcsum.tex
- + $(PURGE) calcsum.?? calcsum.aux calcsum.toc
- +
- + texsum: maint
- + $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-split-summary
- +
- + isummary: texisum
- + $(TEX) calcsum.tex
- + $(PURGE) calcsum.?? calcsum.aux calcsum.toc
- +
- + texisum: maint
- + $(EMACS) $(EFLAGS) $(MAINT) calc.texinfo -f calc-inline-summary
- +
- +
- + # All this because "-l calc-maint" doesn't work.
- + maint: mkcopy calc-maint.elc
- + calc-maint.elc: calc-maint.el
- + cp $(srcdir)/calc-maint.el calc-maint.elc
- +
- + mkcopy:
- + for elfile in $(EL_FILES); \
- + do \
- + if [ -f $$elfile ]; then true; else cp $(srcdir)/$$elfile $$elfile; fi; \
- + done
- +
- + # Create an Emacs TAGS file
- + tags: TAGS
- + TAGS:
- + etags *.el
- +
- +
- + # Delete .elc files and other reconstructible files.
- + clean: clean.elc clean.info clean.tex
- +
- + clean.elc:
- + $(REMOVE) calc-*.elc
- + $(REMOVE) macedit.elc
- +
- + clean.info:
- + $(REMOVE) calc.info*
- +
- + clean.tex:
- + $(REMOVE) calc.cp calc.fn calc.ky calc.pg calc.tp calc.vr
- + $(REMOVE) calc.cps calc.fns calc.kys calc.pgs calc.tps calc.vrs
- + $(REMOVE) calc.aux calc.log calc.toc calc.dvi
- + $(REMOVE) calcref.*
- + $(REMOVE) calctut.*
- + $(REMOVE) calcsum.*
- diff -rc --new-file calc-2.02c/Product-Info /gnu/src/amiga/calc-2.02c/Product-Info
- *** calc-2.02c/Product-Info Thu Jan 1 00:00:00 1970
- --- /gnu/src/amiga/calc-2.02c/Product-Info Mon Dec 19 21:35:15 1994
- ***************
- *** 0 ****
- --- 1,56 ----
- + .name
- + calc
- + .fullname
- + GNU calc
- + .type
- + Miscellaneous
- + .short
- + Advanced desk calculator in EMACS elisp.
- + .description
- + "Calc" is an advanced calculator and mathematical tool that runs as
- + part of the GNU Emacs environment. Very roughly based on the HP-28/48
- + series of calculators, its many features include:
- +
- + * Choice of algebraic or RPN (stack-based) entry of calculations.
- +
- + * Arbitrary precision integers and floating-point numbers.
- +
- + * Arithmetic on rational numbers, complex numbers (rectangular and
- + polar), error forms with standard deviations, open and closed
- + intervals, vectors and matrices, dates and times, infinities,
- + sets, quantities with units, and algebraic formulas.
- +
- + * Mathematical operations such as logarithms and trigonometric functions.
- +
- + * Programmer's features (bitwise operations, non-decimal numbers).
- +
- + * Financial functions such as future value and internal rate of return.
- +
- + * Number theoretical features such as prime factorization and
- + arithmetic modulo M for any M.
- +
- + * Algebraic manipulation features, including symbolic calculus.
- +
- + * Moving data to and from regular editing buffers.
- +
- + * "Embedded mode" for manipulating Calc formulas and data directly
- + inside any editing buffer.
- +
- + * Graphics using GNUPLOT, a versatile (and free) plotting program.
- +
- + * Easy programming using keyboard macros, algebraic formulas,
- + algebraic rewrite rules, or extended Emacs Lisp.
- + .version
- + 2.02c
- + .author
- + Dave Gillespie
- + .address
- + c/o Synaptics, Inc.
- + 2698 Orchard Parkway
- + San Jose CA 95134
- + .distribution
- + GNU Public License
- + .email
- + daveg@synaptics.com
- + .described-by
- + Fred Fish (fnf@amigalib.com)
- diff -rc --new-file calc-2.02c/calc-maint.el /gnu/src/amiga/calc-2.02c/calc-maint.el
- *** calc-2.02c/calc-maint.el Sun Apr 3 00:26:42 1994
- --- /gnu/src/amiga/calc-2.02c/calc-maint.el Mon Dec 19 20:39:45 1994
- ***************
- *** 455,461 ****
- \(autoload 'edit-kbd-macro \"macedit\" \"Edit Keyboard Macro\" t)
- \(autoload 'edit-last-kbd-macro \"macedit\" \"Edit Keyboard Macro\" t)
- \(autoload 'read-kbd-macro \"macedit\" \"Read Keyboard Macro\" t)
- ! \(setq load-path (append load-path (list \"" (directory-file-name home) "\")))
- \(global-set-key \"\\e#\" 'calc-dispatch)
- ;;; End of Calc autoloads.\n")
- (let ((trim-versions-without-asking t))
- --- 455,461 ----
- \(autoload 'edit-kbd-macro \"macedit\" \"Edit Keyboard Macro\" t)
- \(autoload 'edit-last-kbd-macro \"macedit\" \"Edit Keyboard Macro\" t)
- \(autoload 'read-kbd-macro \"macedit\" \"Read Keyboard Macro\" t)
- ! \(setq load-path (append load-path (list \"gnu:lib/emacs/site-lisp\")))
- \(global-set-key \"\\e#\" 'calc-dispatch)
- ;;; End of Calc autoloads.\n")
- (let ((trim-versions-without-asking t))
- diff -rc --new-file calc-2.02c/configure /gnu/src/amiga/calc-2.02c/configure
- *** calc-2.02c/configure Thu Jan 1 00:00:00 1970
- --- /gnu/src/amiga/calc-2.02c/configure Mon Dec 19 19:14:12 1994
- ***************
- *** 0 ****
- --- 1,651 ----
- + #!/bin/sh
- +
- + # Guess values for system-dependent variables and create Makefiles.
- + # Generated automatically using autoconf version 2.1
- + # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
- + #
- + # This configure script is free software; the Free Software Foundation
- + # gives unlimited permission to copy, distribute and modify it.
- +
- + # Defaults:
- + ac_help=
- + ac_default_prefix=/gnu
- + # Any additions from configure.in:
- +
- + # Initialize some variables set by options.
- + # The variables have the same names as the options, with
- + # dashes changed to underlines.
- + build=NONE
- + cache_file=./config.cache
- + exec_prefix=NONE
- + host=NONE
- + no_create=
- + nonopt=NONE
- + no_recursion=
- + prefix=NONE
- + program_prefix=NONE
- + program_suffix=NONE
- + program_transform_name=s,x,x,
- + silent=
- + site=
- + srcdir=
- + target=NONE
- + verbose=
- + x_includes=NONE
- + x_libraries=NONE
- +
- + # Initialize some other variables.
- + subdirs=
- +
- + ac_prev=
- + for ac_option
- + do
- +
- + # If the previous option needs an argument, assign it.
- + if test -n "$ac_prev"; then
- + eval "$ac_prev=\$ac_option"
- + ac_prev=
- + continue
- + fi
- +
- + case "$ac_option" in
- + -*=*) ac_optarg=`/bin/echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
- + *) ac_optarg= ;;
- + esac
- +
- + # Accept the important Cygnus configure options, so we can diagnose typos.
- +
- + case "$ac_option" in
- +
- + -build | --build | --buil | --bui | --bu | --b)
- + ac_prev=build ;;
- + -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*)
- + build="$ac_optarg" ;;
- +
- + -cache-file | --cache-file | --cache-fil | --cache-fi \
- + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- + ac_prev=cache_file ;;
- + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- + cache_file="$ac_optarg" ;;
- +
- + -disable-* | --disable-*)
- + ac_feature=`/bin/echo $ac_option|sed -e 's/-*disable-//'`
- + # Reject names that are not valid shell variable names.
- + if test -n "`/bin/echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
- + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- + fi
- + ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
- + eval "enable_${ac_feature}=no" ;;
- +
- + -enable-* | --enable-*)
- + ac_feature=`/bin/echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
- + # Reject names that are not valid shell variable names.
- + if test -n "`/bin/echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
- + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- + fi
- + ac_feature=`/bin/echo $ac_feature| sed 's/-/_/g'`
- + case "$ac_option" in
- + *=*) ;;
- + *) ac_optarg=yes ;;
- + esac
- + eval "enable_${ac_feature}='$ac_optarg'" ;;
- +
- + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- + | --exec | --exe | --ex)
- + ac_prev=exec_prefix ;;
- + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- + | --exec=* | --exe=* | --ex=*)
- + exec_prefix="$ac_optarg" ;;
- +
- + -gas | --gas | --ga | --g)
- + # Obsolete; use --with-gas.
- + with_gas=yes ;;
- +
- + -help | --help | --hel | --he)
- + # Omit some internal or obsolete options to make the list less imposing.
- + # This message is too long to be a string in the A/UX 3.1 sh.
- + cat << EOF
- + Usage: configure [options] [host]
- + Options: [defaults in brackets after descriptions]
- + Configuration:
- + --cache-file=FILE cache test results in FILE
- + --help print this message
- + --no-create do not create output files
- + --quiet, --silent do not print \`checking...' messages
- + --version print the version of autoconf that created configure
- + Directory and file names:
- + --prefix=PREFIX install architecture-independent files in PREFIX
- + [$ac_default_prefix]
- + --exec-prefix=PREFIX install architecture-dependent files in PREFIX
- + [same as prefix]
- + --srcdir=DIR find the sources in DIR [configure dir or ..]
- + --program-prefix=PREFIX prepend PREFIX to installed program names
- + --program-suffix=SUFFIX append SUFFIX to installed program names
- + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
- + Host type:
- + --build=BUILD configure for building on BUILD [BUILD=HOST]
- + --host=HOST configure for HOST [guessed]
- + --target=TARGET configure for TARGET [TARGET=HOST]
- + Features and packages:
- + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- + --x-includes=DIR X include files are in DIR
- + --x-libraries=DIR X library files are in DIR
- + --enable and --with options recognized:$ac_help
- + EOF
- + exit 0 ;;
- +
- + -host | --host | --hos | --ho)
- + ac_prev=host ;;
- + -host=* | --host=* | --hos=* | --ho=*)
- + host="$ac_optarg" ;;
- +
- + -nfp | --nfp | --nf)
- + # Obsolete; use --without-fp.
- + with_fp=no ;;
- +
- + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- + | --no-cr | --no-c)
- + no_create=yes ;;
- +
- + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- + no_recursion=yes ;;
- +
- + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- + ac_prev=prefix ;;
- + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- + prefix="$ac_optarg" ;;
- +
- + -program-prefix | --program-prefix | --program-prefi | --program-pref \
- + | --program-pre | --program-pr | --program-p)
- + ac_prev=program_prefix ;;
- + -program-prefix=* | --program-prefix=* | --program-prefi=* \
- + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- + program_prefix="$ac_optarg" ;;
- +
- + -program-suffix | --program-suffix | --program-suffi | --program-suff \
- + | --program-suf | --program-su | --program-s)
- + ac_prev=program_suffix ;;
- + -program-suffix=* | --program-suffix=* | --program-suffi=* \
- + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- + program_suffix="$ac_optarg" ;;
- +
- + -program-transform-name | --program-transform-name \
- + | --program-transform-nam | --program-transform-na \
- + | --program-transform-n | --program-transform- \
- + | --program-transform | --program-transfor \
- + | --program-transfo | --program-transf \
- + | --program-trans | --program-tran \
- + | --progr-tra | --program-tr | --program-t)
- + ac_prev=program_transform_name ;;
- + -program-transform-name=* | --program-transform-name=* \
- + | --program-transform-nam=* | --program-transform-na=* \
- + | --program-transform-n=* | --program-transform-=* \
- + | --program-transform=* | --program-transfor=* \
- + | --program-transfo=* | --program-transf=* \
- + | --program-trans=* | --program-tran=* \
- + | --progr-tra=* | --program-tr=* | --program-t=*)
- + program_transform_name="$ac_optarg" ;;
- +
- + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- + | -silent | --silent | --silen | --sile | --sil)
- + silent=yes ;;
- +
- + -site | --site | --sit)
- + ac_prev=site ;;
- + -site=* | --site=* | --sit=*)
- + site="$ac_optarg" ;;
- +
- + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- + ac_prev=srcdir ;;
- + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- + srcdir="$ac_optarg" ;;
- +
- + -target | --target | --targe | --targ | --tar | --ta | --t)
- + ac_prev=target ;;
- + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- + target="$ac_optarg" ;;
- +
- + -v | -verbose | --verbose | --verbos | --verbo | --verb)
- + verbose=yes ;;
- +
- + -version | --version | --versio | --versi | --vers)
- + echo "configure generated by autoconf version 2.1"
- + exit 0 ;;
- +
- + -with-* | --with-*)
- + ac_package=`/bin/echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
- + # Reject names that are not valid shell variable names.
- + if test -n "`/bin/echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
- + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- + fi
- + ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
- + case "$ac_option" in
- + *=*) ;;
- + *) ac_optarg=yes ;;
- + esac
- + eval "with_${ac_package}='$ac_optarg'" ;;
- +
- + -without-* | --without-*)
- + ac_package=`/bin/echo $ac_option|sed -e 's/-*without-//'`
- + # Reject names that are not valid shell variable names.
- + if test -n "`/bin/echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- + fi
- + ac_package=`/bin/echo $ac_package| sed 's/-/_/g'`
- + eval "with_${ac_package}=no" ;;
- +
- + --x)
- + # Obsolete; use --with-x.
- + with_x=yes ;;
- +
- + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- + | --x-incl | --x-inc | --x-in | --x-i)
- + ac_prev=x_includes ;;
- + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- + x_includes="$ac_optarg" ;;
- +
- + -x-libraries | --x-libraries | --x-librarie | --x-librari \
- + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- + ac_prev=x_libraries ;;
- + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- + x_libraries="$ac_optarg" ;;
- +
- + -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
- + ;;
- +
- + *)
- + if test -n "`/bin/echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
- + echo "configure: warning: $ac_option: invalid host type" 1>&2
- + fi
- + if test "x$nonopt" != xNONE; then
- + { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
- + fi
- + nonopt="$ac_option"
- + ;;
- +
- + esac
- + done
- +
- + if test -n "$ac_prev"; then
- + { echo "configure: error: missing argument to --`/bin/echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
- + fi
- +
- + trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
- +
- + # File descriptor usage:
- + # 0 unused; standard input
- + # 1 file creation
- + # 2 errors and warnings
- + # 3 unused; some systems may open it to /dev/tty
- + # 4 checking for... messages and results
- + # 5 compiler messages saved in config.log
- + if test "$silent" = yes; then
- + exec 4>/dev/null
- + else
- + exec 4>&1
- + fi
- + exec 5>./config.log
- +
- + echo "\
- + This file contains any messages produced by compilers while
- + running configure, to aid debugging if configure makes a mistake.
- + " 1>&5
- +
- + # Strip out --no-create and --no-recursion so they do not pile up.
- + # Also quote any args containing shell metacharacters.
- + ac_configure_args=
- + for ac_arg
- + do
- + case "$ac_arg" in
- + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- + | --no-cr | --no-c) ;;
- + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
- + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
- + ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- + *) ac_configure_args="$ac_configure_args $ac_arg" ;;
- + esac
- + done
- +
- + # NLS nuisances.
- + # Only set LANG and LC_ALL to C if already set.
- + # These must not be set unconditionally because not all systems understand
- + # e.g. LANG=C (notably SCO).
- + if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
- + if test "${LANG+set}" = set; then LANG=C; export LANG; fi
- +
- + # confdefs.h avoids OS command line length limits that DEFS can exceed.
- + rm -rf conftest* confdefs.h
- + # AIX cpp loses on an empty file, so make sure it contains at least a newline.
- + /bin/echo > confdefs.h
- +
- + # A filename unique to this package, relative to the directory that
- + # configure is in, which we can look for to find out if srcdir is correct.
- + ac_unique_file=calc-aent.el
- +
- + # Find the source files, if location was not specified.
- + if test -z "$srcdir"; then
- + ac_srcdir_defaulted=yes
- + # Try the directory containing this script, then its parent.
- + ac_prog=$0
- + ac_confdir=`/bin/echo $ac_prog|sed 's%/[^/][^/]*$%%'`
- + test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
- + srcdir=$ac_confdir
- + if test ! -r $srcdir/$ac_unique_file; then
- + srcdir=..
- + fi
- + else
- + ac_srcdir_defaulted=no
- + fi
- + if test ! -r $srcdir/$ac_unique_file; then
- + if test "$ac_srcdir_defaulted" = yes; then
- + { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
- + else
- + { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
- + fi
- + fi
- + srcdir=`/bin/echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
- +
- + # Prefer explicitly selected file to automatically selected ones.
- + if test -z "$CONFIG_SITE"; then
- + if test "x$prefix" != xNONE; then
- + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
- + else
- + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
- + fi
- + fi
- + for ac_site_file in $CONFIG_SITE; do
- + if test -r "$ac_site_file"; then
- + echo "loading site script $ac_site_file"
- + . "$ac_site_file"
- + fi
- + done
- +
- + if test -r "$cache_file"; then
- + echo "loading cache $cache_file"
- + . $cache_file
- + else
- + echo "creating cache $cache_file"
- + > $cache_file
- + fi
- +
- + ac_ext=c
- + # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
- + ac_cpp='$CPP $CPPFLAGS'
- + ac_compile='${CC-cc} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5'
- + ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5'
- +
- + if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
- + # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
- + if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
- + ac_n= ac_c='
- + ' ac_t=' '
- + else
- + ac_n=-n ac_c= ac_t=
- + fi
- + else
- + ac_n= ac_c='\c' ac_t=
- + fi
- +
- +
- +
- + ac_aux_dir=
- + for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- + if test -f $ac_dir/install-sh; then
- + ac_aux_dir=$ac_dir
- + ac_install_sh="$ac_aux_dir/install-sh -c"
- + break
- + elif test -f $ac_dir/install.sh; then
- + ac_aux_dir=$ac_dir
- + ac_install_sh="$ac_aux_dir/install.sh -c"
- + break
- + fi
- + done
- + if test -z "$ac_aux_dir"; then
- + { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
- + fi
- + ac_config_guess=$ac_aux_dir/config.guess
- + ac_config_sub=$ac_aux_dir/config.sub
- + ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
- +
- + # Find a good install program. We prefer a C program (faster),
- + # so one script is as good as another. But avoid the broken or
- + # incompatible versions:
- + # SysV /etc/install, /usr/sbin/install
- + # SunOS /usr/etc/install
- + # IRIX /sbin/install
- + # AIX /bin/install
- + # AFS /usr/afsws/bin/install, which mishandles nonexistent args
- + # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
- + # ./install, which can be erroneously created by make from ./install.sh.
- + /bin/echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&4
- + if test -z "$INSTALL"; then
- + if eval "test \"`echo '${'ac_cv_path_install'+set}'`\" = set"; then
- + /bin/echo $ac_n "(cached) $ac_c" 1>&4
- + else
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- + for ac_dir in $PATH; do
- + case "$ac_dir" in
- + ''|.|/gnu/etc) ;;
- + *)
- + # OSF1 and SCO ODT 3.0 have their own names for install.
- + for ac_prog in ginstall installbsd scoinst install; do
- + if test -f $ac_dir/$ac_prog; then
- + if test $ac_prog = install &&
- + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
- + # AIX install. It has an incompatible calling convention.
- + # OSF/1 installbsd also uses dspmsg, but is usable.
- + :
- + else
- + ac_cv_path_install="$ac_dir/$ac_prog -c"
- + break 2
- + fi
- + fi
- + done
- + ;;
- + esac
- + done
- + IFS="$ac_save_ifs"
- + # As a last resort, use the slow shell script.
- + test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh"
- + fi
- + INSTALL="$ac_cv_path_install"
- + fi
- + /bin/echo "$ac_t""$INSTALL" 1>&4
- +
- + # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
- + # It thinks the first close brace ends the variable substitution.
- + test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
- +
- + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
- +
- + trap '' 1 2 15
- + if test -w $cache_file; then
- + echo "updating cache $cache_file"
- + cat > $cache_file <<\EOF
- + # This file is a shell script that caches the results of configure
- + # tests run on this system so they can be shared between configure
- + # scripts and configure runs. It is not useful on other systems.
- + # If it contains results you don't want to keep, you may remove or edit it.
- + #
- + # By default, configure uses ./config.cache as the cache file,
- + # creating it if it does not exist already. You can give configure
- + # the --cache-file=FILE option to use a different cache file; that is
- + # what configure does when it calls configure scripts in
- + # subdirectories, so they share the cache.
- + # Giving --cache-file=/dev/null disables caching, for debugging configure.
- + # config.status only pays attention to the cache file if you give it the
- + # --recheck option to rerun configure.
- + #
- + EOF
- + # Ultrix sh set writes to stderr and can't be redirected directly.
- + (set) 2>&1 |
- + sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \
- + >> $cache_file
- + else
- + echo "not updating unwritable cache $cache_file"
- + fi
- +
- + trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15
- +
- + test "x$prefix" = xNONE && prefix=$ac_default_prefix
- + # Let make expand exec_prefix.
- + test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
- +
- + # Any assignment to VPATH causes Sun make to only execute
- + # the first set of double-colon rules, so remove it if not needed.
- + # If there is a colon in the path, we need to keep it.
- + if test "x$srcdir" = x.; then
- + ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
- + fi
- +
- + trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
- +
- + # Transform confdefs.h into DEFS.
- + # Protect against shell expansion while executing Makefile rules.
- + # Protect against Makefile macro expansion.
- + cat > conftest.defs <<\EOF
- + s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
- + s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
- + s%\[%\\&%g
- + s%\]%\\&%g
- + s%\$%$$%g
- + EOF
- + DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
- + rm -f conftest.defs
- +
- +
- + # Without the "./", some shells look in PATH for config.status.
- + : ${CONFIG_STATUS=./config.status}
- +
- + echo creating $CONFIG_STATUS
- + # Some systems, like AmigaDOS, won't allow you to remove a script that is
- + # being executed, so just move it out of the way instead.
- + if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
- + cat > $CONFIG_STATUS <<EOF
- + #!/bin/sh
- + # Generated automatically by configure.
- + # Run this file to recreate the current configuration.
- + # This directory was configured as follows,
- + # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- + #
- + # $0 $ac_configure_args
- + #
- + # Compiler output produced by configure, useful for debugging
- + # configure, is in ./config.log if it exists.
- +
- + ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
- + for ac_option
- + do
- + case "\$ac_option" in
- + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- + echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
- + exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
- + -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- + /bin/echo "$CONFIG_STATUS generated by autoconf version 2.1"
- + exit 0 ;;
- + -help | --help | --hel | --he | --h)
- + echo "\$ac_cs_usage"; exit 0 ;;
- + *) echo "\$ac_cs_usage"; exit 1 ;;
- + esac
- + done
- +
- + ac_given_srcdir=$srcdir
- + ac_given_INSTALL="$INSTALL"
- +
- + trap 'rm -f Makefile; exit 1' 1 2 15
- +
- + # Protect against being on the right side of a sed subst in config.status.
- + sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
- + s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
- + $ac_vpsub
- + $extrasub
- + s%@CFLAGS@%$CFLAGS%g
- + s%@CPPFLAGS@%$CPPFLAGS%g
- + s%@CXXFLAGS@%$CXXFLAGS%g
- + s%@DEFS@%$DEFS%g
- + s%@LDFLAGS@%$LDFLAGS%g
- + s%@LIBS@%$LIBS%g
- + s%@exec_prefix@%$exec_prefix%g
- + s%@prefix@%$prefix%g
- + s%@program_transform_name@%$program_transform_name%g
- + s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
- + s%@INSTALL_DATA@%$INSTALL_DATA%g
- +
- + CEOF
- + EOF
- + cat >> $CONFIG_STATUS <<EOF
- +
- + CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
- + EOF
- + cat >> $CONFIG_STATUS <<\EOF
- + for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
- + # Support "outfile[:infile]", defaulting infile="outfile.in".
- + case "$ac_file" in
- + *:*) ac_file_in=`/bin/echo "$ac_file"|sed 's%.*:%%'`
- + ac_file=`/bin/echo "$ac_file"|sed 's%:.*%%'` ;;
- + *) ac_file_in="${ac_file}.in" ;;
- + esac
- +
- + # Adjust relative srcdir, etc. for subdirectories.
- +
- + # Remove last slash and all that follows it. Not all systems have dirname.
- + ac_dir=`/bin/echo $ac_file|sed 's%/[^/][^/]*$%%'`
- + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- + # The file is in a subdirectory.
- + test ! -d "$ac_dir" && mkdir "$ac_dir"
- + ac_dir_suffix="/$ac_dir"
- + # A "../" for each directory in $ac_dir_suffix.
- + ac_dots=`/bin/echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
- + else
- + ac_dir_suffix= ac_dots=
- + fi
- +
- + case "$ac_given_srcdir" in
- + .) srcdir=.
- + if test -z "$ac_dots"; then top_srcdir=.
- + else top_srcdir=`/bin/echo $ac_dots|sed 's%/$%%'`; fi ;;
- + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
- + *) # Relative path.
- + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- + top_srcdir="$ac_dots$ac_given_srcdir" ;;
- + esac
- +
- + case "$ac_given_INSTALL" in
- + [/$]*) INSTALL="$ac_given_INSTALL" ;;
- + *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
- + esac
- + echo creating "$ac_file"
- + rm -f "$ac_file"
- + configure_input="Generated automatically from `/bin/echo $ac_file_in|sed 's%.*/%%'` by configure."
- + case "$ac_file" in
- + *Makefile*) ac_comsub="1i\\
- + # $configure_input" ;;
- + *) ac_comsub= ;;
- + esac
- + sed -e "$ac_comsub
- + s%@configure_input@%$configure_input%g
- + s%@srcdir@%$srcdir%g
- + s%@top_srcdir@%$top_srcdir%g
- + s%@INSTALL@%$INSTALL%g
- + " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
- + fi; done
- + rm -f conftest.subs
- +
- +
- +
- + exit 0
- + EOF
- + chmod +x $CONFIG_STATUS
- + rm -fr confdefs* $ac_clean_files
- + test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS
- +
- diff -rc --new-file calc-2.02c/configure.in /gnu/src/amiga/calc-2.02c/configure.in
- *** calc-2.02c/configure.in Thu Jan 1 00:00:00 1970
- --- /gnu/src/amiga/calc-2.02c/configure.in Mon Dec 19 18:58:23 1994
- ***************
- *** 0 ****
- --- 1,5 ----
- + dnl Process this file with autoconf to produce a configure script.
- + AC_INIT(calc-aent.el)
- +
- + AC_PROG_INSTALL
- + AC_OUTPUT(Makefile)
- diff -rc --new-file calc-2.02c/install.sh /gnu/src/amiga/calc-2.02c/install.sh
- *** calc-2.02c/install.sh Thu Jan 1 00:00:00 1970
- --- /gnu/src/amiga/calc-2.02c/install.sh Mon Dec 19 19:16:04 1994
- ***************
- *** 0 ****
- --- 1,238 ----
- + #!/bin/sh
- + #
- + # install - install a program, script, or datafile
- + # This comes from X11R5.
- + #
- + # Calling this script install-sh is preferred over install.sh, to prevent
- + # `make' implicit rules from creating a file called install from it
- + # when there is no Makefile.
- + #
- + # This script is compatible with the BSD install script, but was written
- + # from scratch.
- + #
- +
- +
- + # set DOITPROG to echo to test this script
- +
- + # Don't use :- since 4.3BSD and earlier shells don't like it.
- + doit="${DOITPROG-}"
- +
- +
- + # put in absolute paths if you don't have them in your path; or use env. vars.
- +
- + mvprog="${MVPROG-mv}"
- + cpprog="${CPPROG-cp}"
- + chmodprog="${CHMODPROG-chmod}"
- + chownprog="${CHOWNPROG-chown}"
- + chgrpprog="${CHGRPPROG-chgrp}"
- + stripprog="${STRIPPROG-strip}"
- + rmprog="${RMPROG-rm}"
- + mkdirprog="${MKDIRPROG-mkdir}"
- +
- + tranformbasename=""
- + transform_arg=""
- + instcmd="$mvprog"
- + chmodcmd="$chmodprog 0755"
- + chowncmd=""
- + chgrpcmd=""
- + stripcmd=""
- + rmcmd="$rmprog -f"
- + mvcmd="$mvprog"
- + src=""
- + dst=""
- + dir_arg=""
- +
- + while [ x"$1" != x ]; do
- + case $1 in
- + -c) instcmd="$cpprog"
- + shift
- + continue;;
- +
- + -d) dir_arg=true
- + shift
- + continue;;
- +
- + -m) chmodcmd="$chmodprog $2"
- + shift
- + shift
- + continue;;
- +
- + -o) chowncmd="$chownprog $2"
- + shift
- + shift
- + continue;;
- +
- + -g) chgrpcmd="$chgrpprog $2"
- + shift
- + shift
- + continue;;
- +
- + -s) stripcmd="$stripprog"
- + shift
- + continue;;
- +
- + -t=*) transformarg=`echo $1 | sed 's/-t=//'`
- + shift
- + continue;;
- +
- + -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
- + shift
- + continue;;
- +
- + *) if [ x"$src" = x ]
- + then
- + src=$1
- + else
- + # this colon is to work around a 386BSD /bin/sh bug
- + :
- + dst=$1
- + fi
- + shift
- + continue;;
- + esac
- + done
- +
- + if [ x"$src" = x ]
- + then
- + echo "install: no input file specified"
- + exit 1
- + else
- + true
- + fi
- +
- + if [ x"$dir_arg" != x ]; then
- + dst=$src
- + src=""
- +
- + if [ -d $dst ]; then
- + instcmd=:
- + else
- + instcmd=mkdir
- + fi
- + else
- +
- + # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
- + # might cause directories to be created, which would be especially bad
- + # if $src (and thus $dsttmp) contains '*'.
- +
- + if [ -f $src -o -d $src ]
- + then
- + true
- + else
- + echo "install: $src does not exist"
- + exit 1
- + fi
- +
- + if [ x"$dst" = x ]
- + then
- + echo "install: no destination specified"
- + exit 1
- + else
- + true
- + fi
- +
- + # If destination is a directory, append the input filename; if your system
- + # does not like double slashes in filenames, you may need to add some logic
- +
- + if [ -d $dst ]
- + then
- + dst="$dst"/`basename $src`
- + else
- + true
- + fi
- + fi
- +
- + ## this sed command emulates the dirname command
- + dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
- +
- + # Make sure that the destination directory exists.
- + # this part is taken from Noah Friedman's mkinstalldirs script
- +
- + # Skip lots of stat calls in the usual case.
- + if [ ! -d "$dstdir" ]; then
- + defaultIFS='
- + '
- + IFS="${IFS-${defaultIFS}}"
- +
- + oIFS="${IFS}"
- + # Some sh's can't handle IFS=/ for some reason.
- + IFS='%'
- + set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
- + IFS="${oIFS}"
- +
- + pathcomp=''
- +
- + while [ $# -ne 0 ] ; do
- + pathcomp="${pathcomp}${1}"
- + shift
- +
- + if [ ! -d "${pathcomp}" ] ;
- + then
- + $mkdirprog "${pathcomp}"
- + else
- + true
- + fi
- +
- + pathcomp="${pathcomp}/"
- + done
- + fi
- +
- + if [ x"$dir_arg" != x ]
- + then
- + $doit $instcmd $dst &&
- +
- + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
- + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
- + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
- + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
- + else
- +
- + # If we're going to rename the final executable, determine the name now.
- +
- + if [ x"$transformarg" = x ]
- + then
- + dstfile=`basename $dst`
- + else
- + dstfile=`basename $dst $transformbasename |
- + sed $transformarg`$transformbasename
- + fi
- +
- + # don't allow the sed command to completely eliminate the filename
- +
- + if [ x"$dstfile" = x ]
- + then
- + dstfile=`basename $dst`
- + else
- + true
- + fi
- +
- + # Make a temp file name in the proper directory.
- +
- + dsttmp=$dstdir/#inst.$$#
- +
- + # Move or copy the file name to the temp name
- +
- + $doit $instcmd $src $dsttmp &&
- +
- + trap "rm -f ${dsttmp}" 0 &&
- +
- + # and set any options; do chmod last to preserve setuid bits
- +
- + # If any of these fail, we abort the whole thing. If we want to
- + # ignore errors from any of these, just make sure not to ignore
- + # errors from the above "$doit $instcmd $src $dsttmp" command.
- +
- + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
- + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
- + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
- + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
- +
- + # Now rename the file to the real destination.
- +
- + $doit $rmcmd -f $dstdir/$dstfile &&
- + $doit $mvcmd $dsttmp $dstdir/$dstfile
- +
- + fi &&
- +
- +
- + exit 0
-