emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gnuplot 630c945 093/184: Clean up build process to be clos


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot 630c945 093/184: Clean up build process to be closer to gnuplot source tree.
Date: Sun, 29 Aug 2021 11:03:22 -0400 (EDT)

branch: elpa/gnuplot
commit 630c9452ef9ed1409fd2a9915bef61d98baf48b3
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>

    Clean up build process to be closer to gnuplot source tree.
    
    The Gnuplot CVS repository recently removed the various info-look
    files from the lisp/ subdirectory, which seems pretty safe -- they
    haven't been needed by any new version of Emacs in ten years or so.
    They also got rid of the separate lisp/configure, so that the (old)
    gnuplot-mode in that repository now uses the same
    autoconf/automake/configure process as the main Gnuplot tree.
    
    This seemed like a good opportunity to clean up the github
    gnuplot-mode tree, since it would be nice to eventually merge a stable
    version back into Gnuplot's repository.  Automake knows how to compile
    and install Emacs Lisp, so we can replace Makefile.in with a
    short Makefile.am and configure.ac.  It also seems logical to remove
    all the generated files (mkinstalldirs, etc.) from the git repository,
    since the autotools will install them automatically.  Building from
    the git checkout now looks like:
    
        autoreconf
        automake --add-missing
        ./configure
        make install
    
    "Configure" knows about the environment variable EMACS and the
    --with-lispdir switch too.
    
    Makefile.dst is still there and mostly unchanged, for people who lack
    autotools. But they should probably install from a release tarball
    anyway, which will include the generated "configure" and "Makefile.in"
    files.  Automake makes it easy to produce these via "make dist".
    
    Yes, it is a little silly to do the whole Automake dance just for
    three Emacs Lisp files, but we might as well be consistent.
---
 .gitignore        |   14 +
 INSTALL           |   38 +-
 Makefile.am       |   34 ++
 Makefile.dst      |   59 +---
 Makefile.in       |  155 ---------
 aclocal.m4        |   46 ---
 configure         | 1002 -----------------------------------------------------
 configure.ac      |   19 +
 configure.in      |    7 -
 dot.el            |    2 -
 info-look.20.2.el |  527 ----------------------------
 info-look.20.3.el |  758 ----------------------------------------
 install-sh        |  251 --------------
 mkinstalldirs     |   40 ---
 14 files changed, 92 insertions(+), 2860 deletions(-)

diff --git a/.gitignore b/.gitignore
index b33132c..9cbc98b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,17 @@
 /config.cache
 /config.status
 /info-look.el
+/autom4te.cache/*
+/elc-stamp
+/elisp-comp
+/missing
+/aclocal.m4
+/configure.scan
+/gpelcard.ps
+/install-sh
+/Makefile.in
+/configure
+elisp-comp
+install-sh
+missing
+gnuplot-mode-*.tar.gz
diff --git a/INSTALL b/INSTALL
index adbc4ba..887a892 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,20 +1,32 @@
        
 To install gnuplot-mode:
-       
-1. At the command line:
 
-      > configure
+1. If you got gnuplot-mode from a release tarball, do the following
+   at the command line:
+
+      > ./configure
       > make
 
-   If you use XEmacs, do "make EMACS=xemacs" (or change the EMACS
-   variable to "xemacs" in the Makefile, the run "make").
+   If you're working from a git checkout of the gnuplot-mode
+   repository, you will first need to do 
+
+      > autoreconf
+      > automake --add-missing
+
+   before the "configure; make" step above.
+
+   If you use XEmacs, add "EMACS=xemacs" to the "./configure" command.
+   If you use Emacs.app on Mac OS X, add
+   "EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs".
+   You can also use the "--with-lispdir" option to select where you
+   want to install the Elisp files.
 
    If "configure" doesn't work for you, the file "Makefile.dst" can be
    used.  In that case do, "make -f Makefile.dst".
 
-2. Move the .elc files to a place where emacs can find them, for
-   example /usr/share/emacs/site-lisp or your personal emacs
-   directory.
+2. Either run "make install", or move the .el and .elc files to a
+   place where emacs can find them, for example
+   /usr/share/emacs/site-lisp or your personal emacs directory.
 
 3. Insert the contents of the `dotemacs' file into your .emacs file
    or system start-up file to enable gnuplot mode.
@@ -28,18 +40,12 @@ To install gnuplot-mode:
      (add-to-list 'Info-default-directory-list "/path/to/file")
 
 
-
 The "configure; make" sequence may not work on all systems,
 particularly Win32 systems.  The long-winded way of making the .elc
 gpelcard.ps files is to edit each of the .el files with emacs and do
 `M-x byte-compile-file'.  Then "latex gpelcard.tex" and
 "dvips gpelcard.dvi".
 
-You will need to follow the instructions contained in the file
-Win9x/INSTALL.Win9x to get gnuplot working with Emacs on a Windows 95
-or 98 machine.
-
-
-
 Problems?  Contact gnuplot-mode's author Bruce Ravel
-<ravel@phys.washington.edu> 
+<bruceravel1@gmail.com> or submit an issue on github:
+http://github.com/bruceravel/gnuplot-mode
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..b295371
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,34 @@
+## Process this file with automake to produce Makefile.in -*-Makefile-*-
+AUTOMAKE_OPTIONS = foreign
+
+dist_lisp_LISP = gnuplot.el gnuplot-gui.el gnuplot-context.el
+EXTRA_DIST = dotemacs gpelcard.dvi gpelcard.pdf gpelcard.ps gpelcard.tex
+
+CLEANFILES = gpelcard.pdf gpelcard.ps gpelcard.dvi gpelcard.log gpelcard.aux
+DISTCLEANFILES =
+
+.dvi.ps:
+       @if [ "$(DVIPS)" != no ] ; then \
+         $(DVIPS) -o $@ $< ; \
+       else \
+         echo "dvips not found: cannot make $@" ; \
+       fi
+
+.tex.dvi:
+       @if [ "$(LATEX)" != no ] ; then \
+         $(LATEX) $< ; \
+       else \
+         echo "latex not found: cannot make $@" ; \
+       fi
+
+.tex.pdf:
+       @if [ "$(PDFLATEX)" != no ] ; then \
+         $(PDFLATEX) $< ; \
+       else \
+         echo "pdflatex not found: cannot make $@" ; \
+       fi
+
+pdf: gpelcard.pdf
+ps: gpelcard.ps
+
+SUFFIXES = .el .elc .pdf .ps .tex
diff --git a/Makefile.dst b/Makefile.dst
index 543595f..4d5b887 100644
--- a/Makefile.dst
+++ b/Makefile.dst
@@ -9,7 +9,7 @@ BYTE = $(EMACS) -batch -q -no-site-file -l dot.el -f 
batch-byte-compile
 .PHONY:        all default clean
 
 default:
-       $(MAKE) info-look.elc gnuplot.elc gnuplot-gui.elc gnuplot-context.elc
+       $(MAKE) gnuplot.elc gnuplot-gui.elc gnuplot-context.elc
 
 gnuplot.elc:   gnuplot.el
        $(BYTE) gnuplot.el
@@ -20,45 +20,6 @@ gnuplot-gui.elc:     gnuplot-gui.el
 gnuplot-context.elc:   gnuplot-context.el
        $(BYTE) gnuplot-context.el
 
-## There are many possibilities for info-look:
-##
-##     EMACS version           use
-##  -----------------------------------------
-##   Emacs or XEmacs 19    info-look.20.2.el
-##   Emacs 20.2 or less    info-look.20.2.el
-##   Emacs 20.3            nothing
-##   XEmacs 20+            info-look.20.3.el
-##
-## want to use my modified version even if 20.2 is installed because a
-## bug is fixed
-##
-## the first 6 lines attempt to ascertain the version number of
-## $(EMACS), then multiply by 100 to convert it to an integer for the
-## sake of the integer comparisons in the following lines.  Is this a
-## hassle, or what?!
-##
-MESSAGE = compiling info-look for $(EMACS) $$vnum
-info-look.elc: info-look.20.2.el info-look.20.3.el
-       @if [ $(EMACS) = "emacs" ]; \
-         then vnum=`emacs  --version | grep 'Emacs [12]' | awk '{print $$3}'`; 
\
-          else vnum=`xemacs --version | grep 'Emacs [12]' | awk '{print 
$$2}'`; \
-        fi; \
-        vn=`echo "$$vnum" | awk 'BEGIN{FS="."}{print $$1 "." $$2}'`; \
-       version=`echo "$$vn" | awk '{print 100*$$1}'`; \
-       if [ $(EMACS) = "emacs" -a $$version -ge 2030 ]; \
-          then echo "no need to compile info-look for $(EMACS) $$vnum"; \
-         else echo "$(MESSAGE)"; \
-        fi; \
-       if   [ $(EMACS) = "emacs"  -a $$version -lt 2030 ]; \
-         then cp -v info-look.20.2.el info-look.el; \
-       elif [ $(EMACS) = "xemacs" -a $$version -ge 2000 ]; \
-         then cp -v info-look.20.3.el info-look.el; \
-       elif [ $(EMACS) = "xemacs" -a $$version -lt 2000 ]; \
-         then cp -v info-look.20.2.el info-look.el; \
-        fi ;\
-       if [ ! \( $(EMACS) = "emacs" -a $$version -ge 2030 \) ]; \
-         then $(BYTE) info-look.el; fi;
-
 gpelcard.ps:   gpelcard.dvi
        dvips -o gpelcard.ps gpelcard.dvi
 
@@ -66,21 +27,7 @@ gpelcard.dvi:        gpelcard.tex
         latex gpelcard.tex
 
 all:
-       $(MAKE) gnuplot.elc info-look.elc gnuplot-gui.elc gpelcard.ps
+       $(MAKE) gnuplot.elc gnuplot-gui.elc gpelcard.ps
 
 clean:
-       rm -f *.elc info-look.el gpelcard.dvi gpelcard.log gpelcard.aux
-
-
-##----------------------------------------------------------------------
-## old stuff:
-
-## from the `all' and `default' targets:
-#  gnuplot-toolbar.elc kw-compl.elc
-
-#kw-compl.elc: kw-compl.el
-#      $(BYTE) kw-compl.el
-
-## only make this for XEmacs
-#gnuplot-toolbar.elc:  gnuplot-toolbar.el
-#      if [ $(EMACS) = "xemacs" ]; then $(BYTE) gnuplot-toolbar.el; fi
+       rm -f *.elc gpelcard.dvi gpelcard.log gpelcard.aux
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index 04e085b..0000000
--- a/Makefile.in
+++ /dev/null
@@ -1,155 +0,0 @@
-#
-# Makefile.in for gnuplot-mode
-#
-# Based on original Makefile
-# by Lars Hecking  <lhecking@nmrc.ucc.ie> 1999-02-25
-#
-# Modified to install .el files along with .elc files
-# BR May 17 2002
-
-SHELL = /bin/sh
-
-prefix = @prefix@
-datadir = @datadir@
-lispdir = @lispdir@
-srcdir = @srcdir@
-subdir = lisp
-top_builddir = .
-top_srcdir = @top_srcdir@
-
-@SET_MAKE@
-EMACS = @EMACS@
-MAKEINFO = @MAKEINFO@
-LATEX = latex
-DVIPS = dvips
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-VPATH = @srcdir@
-
-# Command to byte-compile
-BYTEC = $(EMACS) -batch -q -no-site-file -l $(srcdir)/dot.el -f 
batch-byte-compile
-
-ELCS = info-look.elc gnuplot.elc gnuplot-gui.elc gnuplot-context.elc
-
-DIST_COMMON = ChangeLog Makefile.dst Makefile.in README aclocal.m4 configure \
-configure.in
-
-EXTRA_DIST = dot.el dotemacs gnuplot-gui.el gnuplot.el gnuplot.el.old \
-gnuplot-context.el gpelcard.tex info-look.20.2.el info-look.20.3.el
-
-DISTFILES = $(DIST_COMMON) $(EXTRA_DIST)
-
-default: $(ELCS)
-
-gnuplot.elc: gnuplot.el
-       test "$(srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot.el .
-       $(BYTEC) gnuplot.el
-
-gnuplot-gui.elc: gnuplot.elc gnuplot-gui.el
-       test "$(srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot-gui.el .
-       $(BYTEC) gnuplot-gui.el
-
-gnuplot-context.elc: gnuplot.elc gnuplot-context.el
-       test "$(srcdir)" = "$(top_builddir)" || cp $(srcdir)/gnuplot-context.el 
.
-       $(BYTEC) gnuplot-context.el
-
-## There are many possibilities for info-look:
-##
-##     EMACS version            use
-##  -----------------------------------------
-##   Emacs or XEmacs 19    info-look.20.2.el
-##   Emacs 20.2 or less    info-look.20.2.el
-##   Emacs 20.3            nothing
-##   XEmacs 20+            info-look.20.3.el
-##
-## want to use my modified version even if 20.2 is installed because a
-## bug is fixed
-##
-## the first 6 lines attempt to ascertain the version number of
-## $(EMACS), then multiply by 100 to convert it to an integer for the
-## sake of the integer comparisons in the following lines.  Is this a
-## hassle, or what?!
-##
-MESSAGE = compiling info-look for $(EMACS) $$vnum
-info-look.elc:  info-look.20.2.el info-look.20.3.el
-       @if [ $(EMACS) = "emacs" ]; \
-         then vnum=`emacs  --version | grep 'Emacs [12]' | awk '{print $$3}'`; 
\
-         else vnum=`xemacs --version | grep 'Emacs [12]' | awk '{print $$2}'`; 
\
-       fi; \
-       vn=`echo "$$vnum" | awk 'BEGIN{FS="."}{print $$1 "." $$2}'`; \
-       version=`echo "$$vn" | awk '{print 100*$$1}'`; \
-       if [ $(EMACS) = "emacs" -a $$version -ge 2030 ]; \
-         then echo "no need to compile info-look for $(EMACS) $$vnum"; \
-         else echo "$(MESSAGE)"; \
-       fi; \
-       if   [ $(EMACS) = "emacs"  -a $$version -lt 2030 ]; \
-         then echo Using info-look.20.2.el; \
-         cp $(srcdir)/info-look.20.2.el info-look.el; \
-       elif [ $(EMACS) = "xemacs" -a $$version -ge 2000 ]; \
-         then echo Using info-look.20.3.el; \
-         cp $(srcdir)/info-look.20.3.el info-look.el; \
-       elif [ $(EMACS) = "xemacs" -a $$version -lt 2000 ]; \
-         then echo Using info-look.20.2.el; \
-         cp $(srcdir)/info-look.20.2.el info-look.el; \
-       fi ;\
-       if [ ! \( $(EMACS) = "emacs" -a $$version -ge 2030 \) ]; \
-         then $(BYTEC) info-look.el; fi;
-
-ps: gpelcard.ps
-
-gpelcard.ps: gpelcard.dvi
-       $(DVIPS) -o gpelcard.ps gpelcard.dvi
-
-gpelcard.dvi: gpelcard.tex
-       $(LATEX) $(srcdir)/gpelcard.tex
-
-all: gnuplot.elc info-look.elc gnuplot-gui.elc
-
-install:
-       mkinstalldirs $(lispdir)
-       @for p in *.el *.elc; do \
-         echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \
-         $(INSTALL_DATA) $$p $(lispdir)/$$p; \
-       done
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-subdir = lisp
-
-distdir: $(DISTFILES)
-       distdir=`cd $(distdir) && pwd`
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pr $$d/$$file $(distdir)/$$file; \
-         else \
-           test -f $(distdir)/$$file \
-           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
-           || cp -p $$d/$$file $(distdir)/$$file || :; \
-         fi; \
-       done
-check-am: all-am
-check: check-am
-installcheck-am:
-installcheck: installcheck-am
-install-exec-am:
-install-exec: install-exec-am
-
-.PHONY: tags distdir info-am info dvi-am dvi check check-am \
-installcheck-am installcheck install-exec-am install-exec \
-install-data-am install-data install-am install uninstall-am uninstall \
-all-redirect all-am all installdirs mostlyclean-generic \
-distclean-generic clean-generic maintainer-clean-generic clean \
-mostlyclean distclean maintainer-clean
-
-clean:
-       -rm -f *.elc info-look.el gpelcard.ps gpelcard.dvi gpelcard.log \
-         gpelcard.aux
-       test "$(srcdir)" = "$(top_builddir)" || rm -f gnuplot.el gnuplot-gui.el
-
-distclean: clean
-       rm -f Makefile config.status config.log config.cache
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/aclocal.m4 b/aclocal.m4
deleted file mode 100644
index e01e925..0000000
--- a/aclocal.m4
+++ /dev/null
@@ -1,46 +0,0 @@
-dnl aclocal.m4 generated automatically by aclocal 1.4
-
-dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-dnl This program is distributed in the hope that it will be useful,
-dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-dnl PARTICULAR PURPOSE.
-
-
-# serial 1
-
-AC_DEFUN(AM_PATH_LISPDIR,
- [# If set to t, that means we are running in a shell under Emacs.
-  # If you have an Emacs named "t", then use the full path.
-  test "$EMACS" = t && EMACS=
-  AC_PATH_PROGS(EMACS, emacs xemacs, no)
-  if test $EMACS != "no"; then
-    AC_MSG_CHECKING([where .elc files should go])
-    dnl Set default value
-    lispdir="\$(datadir)/emacs/site-lisp"
-    emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
-    if test "x$prefix" = "xNONE"; then
-      if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
-       lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
-      else
-       if test -d $ac_default_prefix/lib/$emacs_flavor/site-lisp; then
-         lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
-       fi
-      fi
-    else
-      if test -d $prefix/share/$emacs_flavor/site-lisp; then
-       lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
-      else
-       if test -d $prefix/lib/$emacs_flavor/site-lisp; then
-         lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
-       fi
-      fi
-    fi
-    AC_MSG_RESULT($lispdir)
-  fi
-  AC_SUBST(lispdir)])
-
diff --git a/configure b/configure
deleted file mode 100755
index 53076cf..0000000
--- a/configure
+++ /dev/null
@@ -1,1002 +0,0 @@
-#! /bin/sh
-
-# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.13 
-# Copyright (C) 1992, 93, 94, 95, 96 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=/usr/local
-# 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
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datadir='${prefix}/share'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-libdir='${exec_prefix}/lib'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-infodir='${prefix}/info'
-mandir='${prefix}/man'
-
-# Initialize some other variables.
-subdirs=
-MFLAGS= MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-# Maximum number of lines to put in a shell here document.
-ac_max_here_lines=12
-
-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=`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
-
-  -bindir | --bindir | --bindi | --bind | --bin | --bi)
-    ac_prev=bindir ;;
-  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
-    bindir="$ac_optarg" ;;
-
-  -build | --build | --buil | --bui | --bu)
-    ac_prev=build ;;
-  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
-    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" ;;
-
-  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
-    ac_prev=datadir ;;
-  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
-  | --da=*)
-    datadir="$ac_optarg" ;;
-
-  -disable-* | --disable-*)
-    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
-    # Reject names that are not valid shell variable names.
-    if test -n "`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=`echo $ac_feature| sed 's/-/_/g'`
-    eval "enable_${ac_feature}=no" ;;
-
-  -enable-* | --enable-*)
-    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
-    # Reject names that are not valid shell variable names.
-    if test -n "`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=`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=EPREFIX   install architecture-dependent files in EPREFIX
-                          [same as prefix]
-  --bindir=DIR            user executables in DIR [EPREFIX/bin]
-  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
-  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
-  --datadir=DIR           read-only architecture-independent data in DIR
-                          [PREFIX/share]
-  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
-  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
-                          [PREFIX/com]
-  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
-  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
-  --includedir=DIR        C header files in DIR [PREFIX/include]
-  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
-  --infodir=DIR           info documentation in DIR [PREFIX/info]
-  --mandir=DIR            man documentation in DIR [PREFIX/man]
-  --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
-EOF
-    cat << EOF
-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
-EOF
-    if test -n "$ac_help"; then
-      echo "--enable and --with options recognized:$ac_help"
-    fi
-    exit 0 ;;
-
-  -host | --host | --hos | --ho)
-    ac_prev=host ;;
-  -host=* | --host=* | --hos=* | --ho=*)
-    host="$ac_optarg" ;;
-
-  -includedir | --includedir | --includedi | --included | --include \
-  | --includ | --inclu | --incl | --inc)
-    ac_prev=includedir ;;
-  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
-  | --includ=* | --inclu=* | --incl=* | --inc=*)
-    includedir="$ac_optarg" ;;
-
-  -infodir | --infodir | --infodi | --infod | --info | --inf)
-    ac_prev=infodir ;;
-  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
-    infodir="$ac_optarg" ;;
-
-  -libdir | --libdir | --libdi | --libd)
-    ac_prev=libdir ;;
-  -libdir=* | --libdir=* | --libdi=* | --libd=*)
-    libdir="$ac_optarg" ;;
-
-  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
-  | --libexe | --libex | --libe)
-    ac_prev=libexecdir ;;
-  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
-  | --libexe=* | --libex=* | --libe=*)
-    libexecdir="$ac_optarg" ;;
-
-  -localstatedir | --localstatedir | --localstatedi | --localstated \
-  | --localstate | --localstat | --localsta | --localst \
-  | --locals | --local | --loca | --loc | --lo)
-    ac_prev=localstatedir ;;
-  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
-  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
-  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
-    localstatedir="$ac_optarg" ;;
-
-  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
-    ac_prev=mandir ;;
-  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
-    mandir="$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 ;;
-
-  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
-  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
-  | --oldin | --oldi | --old | --ol | --o)
-    ac_prev=oldincludedir ;;
-  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
-  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
-  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
-    oldincludedir="$ac_optarg" ;;
-
-  -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 ;;
-
-  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
-    ac_prev=sbindir ;;
-  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
-  | --sbi=* | --sb=*)
-    sbindir="$ac_optarg" ;;
-
-  -sharedstatedir | --sharedstatedir | --sharedstatedi \
-  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
-  | --sharedst | --shareds | --shared | --share | --shar \
-  | --sha | --sh)
-    ac_prev=sharedstatedir ;;
-  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
-  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
-  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
-  | --sha=* | --sh=*)
-    sharedstatedir="$ac_optarg" ;;
-
-  -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" ;;
-
-  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
-  | --syscon | --sysco | --sysc | --sys | --sy)
-    ac_prev=sysconfdir ;;
-  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
-  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
-    sysconfdir="$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.13"
-    exit 0 ;;
-
-  -with-* | --with-*)
-    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
-    # Reject names that are not valid shell variable names.
-    if test -n "`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=`echo $ac_package| sed 's/-/_/g'`
-    case "$ac_option" in
-      *=*) ;;
-      *) ac_optarg=yes ;;
-    esac
-    eval "with_${ac_package}='$ac_optarg'" ;;
-
-  -without-* | --without-*)
-    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
-    # Reject names that are not valid shell variable names.
-    if test -n "`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=`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 "`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 --`echo $ac_prev | sed 
's/_/-/g'`" 1>&2; exit 1; }
-fi
-
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 
2 15
-
-# File descriptor usage:
-# 0 standard input
-# 1 file creation
-# 2 errors and warnings
-# 3 some systems may open it to /dev/tty
-# 4 used on the Kubota Titan
-# 6 checking for... messages and results
-# 5 compiler messages saved in config.log
-if test "$silent" = yes; then
-  exec 6>/dev/null
-else
-  exec 6>&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 these to C if already set.  These must not be set unconditionally
-# because not all systems understand e.g. LANG=C (notably SCO).
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
-# Non-C LC_CTYPE values break the ctype check.
-if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
-if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    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.
-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=dot.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=`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=`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} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-ac_exeext=
-ac_objext=o
-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
-
-
-echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:526: checking whether ${MAKE-make} sets \${MAKE}" >&5
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; 
then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  cat > conftestmake <<\EOF
-all:
-       @echo 'ac_maketemp="${MAKE}"'
-EOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
-eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
-if test -n "$ac_maketemp"; then
-  eval ac_cv_prog_make_${ac_make}_set=yes
-else
-  eval ac_cv_prog_make_${ac_make}_set=no
-fi
-rm -f conftestmake
-fi
-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
-  echo "$ac_t""yes" 1>&6
-  SET_MAKE=
-else
-  echo "$ac_t""no" 1>&6
-  SET_MAKE="MAKE=${MAKE-make}"
-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
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# 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.
-echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:583: checking for a BSD compatible install" >&5
-if test -z "$INSTALL"; then
-if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-    IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
-  for ac_dir in $PATH; do
-    # Account for people who put trailing slashes in PATH elements.
-    case "$ac_dir/" in
-    
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
-    *)
-      # OSF1 and SCO ODT 3.0 have their own names for install.
-      # Don't use installbsd from OSF since it installs stuff as root
-      # by default.
-      for ac_prog in ginstall 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.
-           :
-         else
-           ac_cv_path_install="$ac_dir/$ac_prog -c"
-           break 2
-         fi
-       fi
-      done
-      ;;
-    esac
-  done
-  IFS="$ac_save_IFS"
-
-fi
-  if test "${ac_cv_path_install+set}" = set; then
-    INSTALL="$ac_cv_path_install"
-  else
-    # As a last resort, use the slow shell script.  We don't cache a
-    # path for INSTALL within a source directory, because that will
-    # break other packages using the cache if that directory is
-    # removed, or if the path is relative.
-    INSTALL="$ac_install_sh"
-  fi
-fi
-echo "$ac_t""$INSTALL" 1>&6
-
-# 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_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-# If set to t, that means we are running in a shell under Emacs.
-  # If you have an Emacs named "t", then use the full path.
-  test "$EMACS" = t && EMACS=
-  for ac_prog in emacs xemacs
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:643: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  case "$EMACS" in
-  /*)
-  ac_cv_path_EMACS="$EMACS" # Let the user override the test with a path.
-  ;;
-  ?:/*)                         
-  ac_cv_path_EMACS="$EMACS" # Let the user override the test with a dos path.
-  ;;
-  *)
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do 
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_path_EMACS="$ac_dir/$ac_word"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-  ;;
-esac
-fi
-EMACS="$ac_cv_path_EMACS"
-if test -n "$EMACS"; then
-  echo "$ac_t""$EMACS" 1>&6
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-test -n "$EMACS" && break
-done
-test -n "$EMACS" || EMACS="no"
-
-  if test $EMACS != "no"; then
-    echo $ac_n "checking where .elc files should go""... $ac_c" 1>&6
-echo "configure:681: checking where .elc files should go" >&5
-        lispdir="\$(datadir)/emacs/site-lisp"
-    emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
-    if test "x$prefix" = "xNONE"; then
-      if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
-       lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
-      else
-       if test -d $ac_default_prefix/lib/$emacs_flavor/site-lisp; then
-         lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
-       fi
-      fi
-    else
-      if test -d $prefix/share/$emacs_flavor/site-lisp; then
-       lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
-      else
-       if test -d $prefix/lib/$emacs_flavor/site-lisp; then
-         lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
-       fi
-      fi
-    fi
-    echo "$ac_t""$lispdir" 1>&6
-  fi
-  
-EMACS=`basename $EMACS`
-# Extract the first word of "makeinfo", so it can be a program name with args.
-set dummy makeinfo; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:708: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_MAKEINFO'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  case "$MAKEINFO" in
-  /*)
-  ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
-  ;;
-  ?:/*)                         
-  ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a dos 
path.
-  ;;
-  *)
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do 
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_path_MAKEINFO="$ac_dir/$ac_word"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-  test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no"
-  ;;
-esac
-fi
-MAKEINFO="$ac_cv_path_MAKEINFO"
-if test -n "$MAKEINFO"; then
-  echo "$ac_t""$MAKEINFO" 1>&6
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-trap '' 1 2 15
-cat > confcache <<\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
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, don't put newlines in cache variables' values.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(set) 2>&1 |
-  case `(ac_space=' '; set | grep ac_space) 2>&1` in
-  *ac_space=\ *)
-    # `set' does not quote correctly, so add quotes (double-quote substitution
-    # turns \\\\ into \\, and sed turns \\ into \).
-    sed -n \
-      -e "s/'/'\\\\''/g" \
-      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
-    ;;
-  *)
-    # `set' quotes correctly as required by POSIX, so do not add quotes.
-    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
-    ;;
-  esac >> confcache
-if cmp -s $cache_file confcache; then
-  :
-else
-  if test -w $cache_file; then
-    echo "updating cache $cache_file"
-    cat confcache > $cache_file
-  else
-    echo "not updating unwritable cache $cache_file"
-  fi
-fi
-rm -f confcache
-
-trap 'rm -fr conftest* confdefs* core core.* *.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
-rm -f $CONFIG_STATUS
-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)
-    echo "$CONFIG_STATUS generated by autoconf version 2.13"
-    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 -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
-EOF
-cat >> $CONFIG_STATUS <<EOF
-
-# 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%@SHELL@%$SHELL%g
-s%@CFLAGS@%$CFLAGS%g
-s%@CPPFLAGS@%$CPPFLAGS%g
-s%@CXXFLAGS@%$CXXFLAGS%g
-s%@FFLAGS@%$FFLAGS%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%@bindir@%$bindir%g
-s%@sbindir@%$sbindir%g
-s%@libexecdir@%$libexecdir%g
-s%@datadir@%$datadir%g
-s%@sysconfdir@%$sysconfdir%g
-s%@sharedstatedir@%$sharedstatedir%g
-s%@localstatedir@%$localstatedir%g
-s%@libdir@%$libdir%g
-s%@includedir@%$includedir%g
-s%@oldincludedir@%$oldincludedir%g
-s%@infodir@%$infodir%g
-s%@mandir@%$mandir%g
-s%@SET_MAKE@%$SET_MAKE%g
-s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
-s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
-s%@INSTALL_DATA@%$INSTALL_DATA%g
-s%@EMACS@%$EMACS%g
-s%@lispdir@%$lispdir%g
-s%@MAKEINFO@%$MAKEINFO%g
-
-CEOF
-EOF
-
-cat >> $CONFIG_STATUS <<\EOF
-
-# Split the substitutions into bite-sized pieces for seds with
-# small command number limits, like on Digital OSF/1 and HP-UX.
-ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
-ac_file=1 # Number of current file.
-ac_beg=1 # First line for current file.
-ac_end=$ac_max_sed_cmds # Line after last line for current file.
-ac_more_lines=:
-ac_sed_cmds=""
-while $ac_more_lines; do
-  if test $ac_beg -gt 1; then
-    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
-  else
-    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
-  fi
-  if test ! -s conftest.s$ac_file; then
-    ac_more_lines=false
-    rm -f conftest.s$ac_file
-  else
-    if test -z "$ac_sed_cmds"; then
-      ac_sed_cmds="sed -f conftest.s$ac_file"
-    else
-      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
-    fi
-    ac_file=`expr $ac_file + 1`
-    ac_beg=$ac_end
-    ac_end=`expr $ac_end + $ac_max_sed_cmds`
-  fi
-done
-if test -z "$ac_sed_cmds"; then
-  ac_sed_cmds=cat
-fi
-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[:infile...]]", defaulting infile="outfile.in".
-  case "$ac_file" in
-  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
-       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
-  *) ac_file_in="${ac_file}.in" ;;
-  esac
-
-  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
-
-  # Remove last slash and all that follows it.  Not all systems have dirname.
-  ac_dir=`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="/`echo $ac_dir|sed 's%^\./%%'`"
-    # A "../" for each directory in $ac_dir_suffix.
-    ac_dots=`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=`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 `echo $ac_file_in|sed 
's%.*/%%'` by configure."
-  case "$ac_file" in
-  *Makefile*) ac_comsub="1i\\
-# $configure_input" ;;
-  *) ac_comsub= ;;
-  esac
-
-  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% 
$ac_given_srcdir/%g"`
-  sed -e "$ac_comsub
-s%@configure_input@%$configure_input%g
-s%@srcdir@%$srcdir%g
-s%@top_srcdir@%$top_srcdir%g
-s%@INSTALL@%$INSTALL%g
-" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
-fi; done
-rm -f conftest.s*
-
-EOF
-cat >> $CONFIG_STATUS <<EOF
-
-EOF
-cat >> $CONFIG_STATUS <<\EOF
-
-exit 0
-EOF
-chmod +x $CONFIG_STATUS
-rm -fr confdefs* $ac_clean_files
-test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..0bfa75e
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,19 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([gnuplot-mode], [0.7], [bruceravel1@gmail.com])
+AM_INIT_AUTOMAKE
+
+# Checks for programs.
+AC_PROG_MAKE_SET
+AC_PROG_INSTALL
+AC_CHECK_PROGS(DVIPS, dvips, no)
+AC_CHECK_PROGS(LATEX, latex latex2e, no)
+AC_CHECK_PROGS(PDFLATEX, pdflatex, no)
+
+# Check for Emacs and the Emacs site-lisp directory
+AM_PATH_LISPDIR
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/configure.in b/configure.in
deleted file mode 100644
index 20d465d..0000000
--- a/configure.in
+++ /dev/null
@@ -1,7 +0,0 @@
-AC_INIT(dot.el)
-AC_SET_MAKE
-AC_PROG_INSTALL
-AM_PATH_LISPDIR
-EMACS=`basename $EMACS`
-AC_PATH_PROG(MAKEINFO, makeinfo, no)
-AC_OUTPUT(Makefile)
diff --git a/dot.el b/dot.el
index 3ecc1c9..75b3691 100644
--- a/dot.el
+++ b/dot.el
@@ -3,5 +3,3 @@
 (setq load-path             (append (list ".") load-path)
       byte-compile-verbose  nil
       byte-compile-warnings nil)
-(require 'font-lock)
-(defun hilit-repaint-command (foo))
diff --git a/info-look.20.2.el b/info-look.20.2.el
deleted file mode 100644
index c13b679..0000000
--- a/info-look.20.2.el
+++ /dev/null
@@ -1,527 +0,0 @@
-;;; info-look.el --- major-mode-sensitive Info index lookup facility.
-;; An older version of this was known as libc.el.
-
-;; Copyright (C) 1995, 1996, 1997 Ralph Schleicher.
-
-;; Author: Ralph Schleicher <rs@purple.UL.BaWue.DE>
-;; Keywords: help languages
-
-;; This file is not part of GNU Emacs. (but is slightly modified from
-;; a file that is a part of GNU Emacs -- see below)
-
-;; GNU Emacs 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; either version 2, or (at your option)
-;; any later version.
-
-;; GNU Emacs 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 GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
-
-;; Bruce Ravel <ravel@phys.washington.edu> made two chanegs to this
-;; file:
-;;  1. Added a check for XEmacs
-;;  2. Added (format "%s" (match-string 1)) in function
-;;     `info-lookup-make-completions' so that text properties are not
-;;     grabbed.
-
-;;; Code:
-
-(require 'info)
-;; next two lines added by Bruce Ravel <ravel@phys.washington.edu> to
-;; make this file compile properly under XEmacs.
-(eval-and-compile
-  (if (string-match "XEmacs" emacs-version)
-      (require 'overlay)))
-
-(defvar info-lookup-mode nil
-  "*Symbol of the current buffer's help mode.
-Provide help according to the buffer's major mode if value is nil.
-Automatically becomes buffer local when set in any fashion.")
-(make-variable-buffer-local 'info-lookup-mode)
-
-(defvar info-lookup-other-window-flag t
-  "*Non-nil means pop up the Info buffer in another window.")
-
-(defvar info-lookup-highlight-face 'highlight
-  "*Face for highlighting looked up help items.
-Setting this variable to nil disables highlighting.")
-
-(defvar info-lookup-highlight-overlay nil
-  "Overlay object used for highlighting.")
-
-(defvar info-lookup-history nil
-  "History of previous input lines.")
-
-(defvar info-lookup-alist '((symbol . info-lookup-symbol-alist)
-                           (file . info-lookup-file-alist))
-  "*Alist of known help topics.
-Cons cells are of the form
-
-    (HELP-TOPIC . VARIABLE)
-
-HELP-TOPIC is the symbol of a help topic.
-VARIABLE is a variable storing HELP-TOPIC's public data.
- Value is an alist with elements of the form
-
-    (HELP-MODE REGEXP IGNORE-CASE DOC-SPEC PARSE-RULE OTHER-MODES)
-
-HELP-MODE is a mode's symbol.
-REGEXP is a regular expression matching those help items whose
- documentation can be looked up via DOC-SPEC.
-IGNORE-CASE is non-nil if help items are case insensitive.
-DOC-SPEC is a list of documentation specifications of the form
-
-    (INFO-NODE TRANS-FUNC PREFIX SUFFIX)
-
-INFO-NODE is the name (including file name part) of an Info index.
-TRANS-FUNC is a function translating index entries into help items;
- nil means add only those index entries matching REGEXP, a string
- means prepend string to the first word of all index entries.
-PREFIX and SUFFIX are parts of a regular expression.  If one of
- them is non-nil then search the help item's Info node for the
- first occurrence of the regular expression `PREFIX ITEM SUFFIX'.
- ITEM will be highlighted with `info-lookup-highlight-face' if this
- variable is not nil.
-PARSE-RULE is either the symbol name of a function or a regular
- expression for guessing the default help item at point.  Fuzzy
- regular expressions like \"[_a-zA-Z0-9]+\" do a better job if
- there are no clear delimiters; do not try to write too complex
- expressions.  PARSE-RULE defaults to REGEXP.
-OTHER-MODES is a list of cross references to other help modes.")
-
-(defsubst info-lookup->topic-value (topic)
-  (symbol-value (cdr (assoc topic info-lookup-alist))))
-
-(defsubst info-lookup->mode-value (topic mode)
-  (assoc mode (info-lookup->topic-value topic)))
-
-(defsubst info-lookup->regexp (topic mode)
-  (nth 1 (info-lookup->mode-value topic mode)))
-
-(defsubst info-lookup->ignore-case (topic mode)
-  (nth 2 (info-lookup->mode-value topic mode)))
-
-(defsubst info-lookup->doc-spec (topic mode)
-  (nth 3 (info-lookup->mode-value topic mode)))
-
-(defsubst info-lookup->parse-rule (topic mode)
-  (nth 4 (info-lookup->mode-value topic mode)))
-
-(defsubst info-lookup->other-modes (topic mode)
-  (nth 5 (info-lookup->mode-value topic mode)))
-
-(defvar info-lookup-cache nil
-  "Cache storing data maintained automatically by the program.
-Value is an alist with cons cell of the form
-
-    (HELP-TOPIC . ((HELP-MODE INITIALIZED COMPLETIONS REFER-MODES) ...))
-
-HELP-TOPIC is the symbol of a help topic.
-HELP-MODE is a mode's symbol.
-INITIALIZED is nil if HELP-MODE is uninitialized, t if
- HELP-MODE is initialized, and `0' means HELP-MODE is
- initialized but void.
-COMPLETIONS is an alist of documented help items.
-REFER-MODES is a list of other help modes to use.")
-
-(defsubst info-lookup->cache (topic)
-  (or (assoc topic info-lookup-cache)
-      (car (setq info-lookup-cache
-                (cons (cons topic nil)
-                      info-lookup-cache)))))
-
-(defsubst info-lookup->topic-cache (topic)
-  (cdr (info-lookup->cache topic)))
-
-(defsubst info-lookup->mode-cache (topic mode)
-  (assoc mode (info-lookup->topic-cache topic)))
-
-(defsubst info-lookup->initialized (topic mode)
-  (nth 1 (info-lookup->mode-cache topic mode)))
-
-(defsubst info-lookup->completions (topic mode)
-  (or (info-lookup->initialized topic mode)
-      (info-lookup-setup-mode topic mode))
-  (nth 2 (info-lookup->mode-cache topic mode)))
-
-(defsubst info-lookup->refer-modes (topic mode)
-  (or (info-lookup->initialized topic mode)
-      (info-lookup-setup-mode topic mode))
-  (nth 3 (info-lookup->mode-cache topic mode)))
-
-(defsubst info-lookup->all-modes (topic mode)
-  (cons mode (info-lookup->refer-modes topic mode)))
-
-(defvar info-lookup-symbol-alist
-  '((autoconf-mode
-     "A[CM]_[_A-Z0-9]+" nil
-     (("(autoconf)Macro Index" "AC_"
-       "^[ \t]+- \\(Macro\\|Variable\\): .*\\<" "\\>")
-      ("(automake)Index" nil
-       "^[ \t]*`" "'"))
-     ;; Autoconf symbols are M4 macros.  Thus use M4's parser.
-     ignore
-     (m4-mode))
-    (bison-mode
-     "[:;|]\\|%\\([%{}]\\|[_a-z]+\\)\\|YY[_A-Z]+\\|yy[_a-z]+" nil
-     (("(bison)Index" nil
-       "`" "'"))
-     "[:;|]\\|%\\([%{}]\\|[_a-zA-Z][_a-zA-Z0-9]*\\)"
-     (c-mode))
-    (c-mode
-     "\\(struct \\|union \\|enum \\)?[_a-zA-Z][_a-zA-Z0-9]*" nil
-     (("(libc)Function Index" nil
-       "^[ \t]+- \\(Function\\|Macro\\): .*\\<" "\\>")
-      ("(libc)Variable Index" nil
-       "^[ \t]+- \\(Variable\\|Macro\\): .*\\<" "\\>")
-      ("(libc)Type Index" nil
-       "^[ \t]+- Data Type: \\<" "\\>")
-      ("(termcap)Var Index" nil
-       "^[ \t]*`" "'"))
-     info-lookup-guess-c-symbol)
-    (m4-mode
-     "[_a-zA-Z][_a-zA-Z0-9]*" nil
-     (("(m4)Macro index"))
-     "[_a-zA-Z0-9]+")
-    (makefile-mode
-     "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z][_a-zA-Z0-9-]*" nil
-     (("(make)Name Index" nil
-       "^[ \t]*`" "'"))
-     "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z0-9-]+")
-    (texinfo-mode
-     "@\\([a-zA-Z]+\\|[^a-zA-Z]\\)" nil
-     (("(texinfo)Command and Variable Index"
-       ;; Ignore Emacs commands and prepend a `@'.
-       (lambda (item)
-        (if (string-match "^\\([a-zA-Z]+\\|[^a-zA-Z]\\)\\( .*\\)?$" item)
-            (concat "@" (match-string 1 item))))
-       "`" "'"))))
-  "*Alist of help specifications for symbol names.
-See the documentation of the variable `info-lookup-alist' for more details.")
-
-(defvar info-lookup-file-alist
-  '((c-mode
-     "[_a-zA-Z0-9./+-]+" nil
-     (("(libc)File Index"))))
-  "*Alist of help specifications for file names.
-See the documentation of the variable `info-lookup-alist' for more details.")
-
-;;;###autoload
-(defun info-lookup-reset ()
-  "Throw away all cached data.
-This command is useful if the user wants to start at the beginning without
-quitting Emacs, for example, after some Info documents were updated on the
-system."
-  (interactive)
-  (setq info-lookup-cache nil))
-
-;;;###autoload
-(defun info-lookup-symbol (symbol &optional mode)
-  "Display the documentation of a symbol.
-If called interactively, SYMBOL will be read from the mini-buffer.
-Prefix argument means unconditionally insert the default symbol name
-into the mini-buffer so that it can be edited.
-The default symbol is the one found at point."
-  (interactive
-   (info-lookup-interactive-arguments 'symbol))
-  (info-lookup 'symbol symbol mode))
-
-;;;###autoload
-(defun info-lookup-file (file &optional mode)
-  "Display the documentation of a file.
-If called interactively, FILE will be read from the mini-buffer.
-Prefix argument means unconditionally insert the default file name
-into the mini-buffer so that it can be edited.
-The default file name is the one found at point."
-  (interactive
-   (info-lookup-interactive-arguments 'file))
-  (info-lookup 'file file mode))
-
-(defun info-lookup-interactive-arguments (topic)
-  "Return default value and help mode for help topic TOPIC."
-  (let* ((mode (if (info-lookup->mode-value
-                   topic (or info-lookup-mode major-mode))
-                  (or info-lookup-mode major-mode)
-                (info-lookup-change-mode topic)))
-        (completions (info-lookup->completions topic mode))
-        (default (info-lookup-guess-default topic mode))
-        (input (if (or current-prefix-arg (not (assoc default completions)))
-                   default))
-        (completion-ignore-case (info-lookup->ignore-case topic mode))
-        (enable-recursive-minibuffers t)
-        (value (completing-read
-                (if (and default (not input))
-                    (format "Describe %s (default %s): " topic default)
-                  (format "Describe %s: " topic))
-                completions nil nil input 'info-lookup-history)))
-    (list (if (equal value "") default value) mode)))
-
-(defun info-lookup-change-mode (topic)
-  (let* ((completions (mapcar (lambda (arg)
-                               (cons (symbol-name (car arg)) (car arg)))
-                             (info-lookup->topic-value topic)))
-        (mode (completing-read
-               (format "Use %s help mode: " topic)
-               completions nil t nil 'info-lookup-history)))
-    (or (setq mode (cdr (assoc mode completions)))
-       (error "No %s help available" topic))
-    (or (info-lookup->mode-value topic mode)
-       (error "No %s help available for `%s'" topic mode))
-    (setq info-lookup-mode mode)))
-
-(defun info-lookup (topic item mode)
-  "Display the documentation of a help item."
-  (if (not mode)
-      (setq mode (or info-lookup-mode major-mode)))
-  (or (info-lookup->mode-value topic mode)
-      (error "No %s help available for `%s'" topic mode))
-  (let ((entry (or (assoc (if (info-lookup->ignore-case topic mode)
-                             (downcase item) item)
-                         (info-lookup->completions topic mode))
-                  (error "Not documented as a %s: %s" topic (or item ""))))
-       (modes (info-lookup->all-modes topic mode))
-       (window (selected-window))
-       found doc-spec node prefix suffix)
-    (if (not info-lookup-other-window-flag)
-       (info)
-      (save-window-excursion (info))
-      (switch-to-buffer-other-window "*info*"))
-    (while (and (not found) modes)
-      (setq doc-spec (info-lookup->doc-spec topic (car modes)))
-      (while (and (not found) doc-spec)
-       (setq node (nth 0 (car doc-spec))
-             prefix (nth 2 (car doc-spec))
-             suffix (nth 3 (car doc-spec)))
-       (condition-case nil
-           (progn
-             (Info-goto-node node)
-             (Info-menu (or (cdr entry) item))
-             (setq found t)
-             (if (or prefix suffix)
-                 (let ((case-fold-search
-                        (info-lookup->ignore-case topic (car modes)))
-                       (buffer-read-only nil))
-                   (goto-char (point-min))
-                   (re-search-forward
-                    (concat prefix (regexp-quote item) suffix))
-                   (goto-char (match-beginning 0))
-                   (and window-system info-lookup-highlight-face
-                        ;; Search again for ITEM so that the first
-                        ;; occurence of ITEM will be highlighted.
-                        (re-search-forward (regexp-quote item))
-                        (let ((start (match-beginning 0))
-                              (end (match-end 0)))
-                          (if (overlayp info-lookup-highlight-overlay)
-                              (move-overlay info-lookup-highlight-overlay
-                                            start end (current-buffer))
-                            (setq info-lookup-highlight-overlay
-                                  (make-overlay start end))))
-                        (overlay-put info-lookup-highlight-overlay
-                                     'face info-lookup-highlight-face)))))
-         (error nil))
-       (setq doc-spec (cdr doc-spec)))
-      (setq modes (cdr modes)))
-    ;; Don't leave the Info buffer if the help item couldn't be looked up.
-    (if (and info-lookup-other-window-flag found)
-       (select-window window))))
-
-(defun info-lookup-setup-mode (topic mode)
-  "Initialize the internal data structure."
-  (or (info-lookup->initialized topic mode)
-      (let (cell data (initialized 0) completions refer-modes)
-       (if (not (info-lookup->mode-value topic mode))
-           (message "No %s help available for `%s'" topic mode)
-         ;; Recursively setup cross references.
-         ;; But refer only to non-void modes.
-         (mapcar (lambda (arg)
-                   (or (info-lookup->initialized topic arg)
-                       (info-lookup-setup-mode topic arg))
-                   (and (eq (info-lookup->initialized topic arg) t)
-                        (setq refer-modes (cons arg refer-modes))))
-                 (info-lookup->other-modes topic mode))
-         (setq refer-modes (nreverse refer-modes))
-         ;; Build the full completion alist.
-         (setq completions
-               (nconc (info-lookup-make-completions topic mode)
-                      (apply 'append
-                             (mapcar (lambda (arg)
-                                       (info-lookup->completions topic arg))
-                                     refer-modes))))
-         (setq initialized t))
-       ;; Update `info-lookup-cache'.
-       (setq cell (info-lookup->mode-cache topic mode)
-             data (list initialized completions refer-modes))
-       (if (not cell)
-           (setcdr (info-lookup->cache topic)
-                   (cons (cons mode data) (info-lookup->topic-cache topic)))
-         (setcdr cell data))
-       initialized)))
-
-(defun info-lookup-make-completions (topic mode)
-  "Create a unique alist from all index entries."
-  (condition-case nil
-      (let ((doc-spec (info-lookup->doc-spec topic mode))
-           (regexp (concat "^\\(" (info-lookup->regexp topic mode)
-                           "\\)\\([ \t].*\\)?$"))
-           node trans entry item prefix result)
-       (save-window-excursion
-         (info)
-         (while doc-spec
-           (setq node (nth 0 (car doc-spec))
-                 trans (cond ((eq (nth 1 (car doc-spec)) nil)
-                              (lambda (arg)
-                                (if (string-match regexp arg)
-                                    (match-string 1 arg))))
-                             ((stringp (nth 1 (car doc-spec)))
-                              (setq prefix (nth 1 (car doc-spec)))
-                              (lambda (arg)
-                                (if (string-match "^\\([^: \t\n]+\\)" arg)
-                                    (concat prefix (match-string 1 arg)))))
-                             (t (nth 1 (car doc-spec)))))
-           (message "Processing Info node \"%s\"..." node)
-           (Info-goto-node node)
-           (goto-char (point-min))
-           (and (search-forward "\n* Menu:" nil t)
-                (while (re-search-forward "\n\\* \\([^:\t\n]*\\):" nil t)
-                  ;; Bruce Ravel added format
-                  ;; w/o format, this grabs text properties
-                  (setq entry (format "%s" (match-string 1))
-                        item (funcall trans entry))
-                  (and (info-lookup->ignore-case topic mode)
-                       (setq item (downcase item)))
-                  (and (string-equal entry item)
-                       (setq entry nil))
-                  (or (assoc item result)
-                      (setq result (cons (cons item entry) result)))))
-           (message "Processing Info node \"%s\"... done" node)
-           (setq doc-spec (cdr doc-spec)))
-         (Info-directory))
-       result)
-    (error nil)))
-
-(defun info-lookup-guess-default (topic mode)
-  "Pick up default item at point (with favor to look back).
-Return nil if there is nothing appropriate."
-  (let ((modes (info-lookup->all-modes topic mode))
-       (start (point)) guess whitespace)
-    (while (and (not guess) modes)
-      (setq guess (info-lookup-guess-default* topic (car modes))
-           modes (cdr modes))
-      (goto-char start))
-    ;; Collapse whitespace characters.
-    (and guess (concat (delete nil (mapcar (lambda (ch)
-                                            (if (or (char-equal ch ? )
-                                                    (char-equal ch ?\t)
-                                                    (char-equal ch ?\n))
-                                                (if (not whitespace)
-                                                    (setq whitespace ? ))
-                                              (setq whitespace nil) ch))
-                                          guess))))))
-
-(defun info-lookup-guess-default* (topic mode)
-  (let ((case-fold-search (info-lookup->ignore-case topic mode))
-       (rule (or (info-lookup->parse-rule topic mode)
-                 (info-lookup->regexp topic mode)))
-       (start (point)) end regexp subexp result)
-    (if (symbolp rule)
-       (setq result (funcall rule))
-      (if (consp rule)
-         (setq regexp (car rule)
-               subexp (cdr rule))
-       (setq regexp rule
-             subexp 0))
-      (skip-chars-backward " \t\n") (setq end (point))
-      (while (and (re-search-backward regexp nil t)
-                 (looking-at regexp)
-                 (>= (match-end 0) end))
-       (setq result (match-string subexp)))
-      (if (not result)
-         (progn
-           (goto-char start)
-           (skip-chars-forward " \t\n")
-           (and (looking-at regexp)
-                (setq result (match-string subexp))))))
-    result))
-
-(defun info-lookup-guess-c-symbol ()
-  "Get the C symbol at point."
-  (condition-case nil
-      (progn
-       (backward-sexp)
-       (let ((start (point)) prefix name)
-         ;; Test for a leading `struct', `union', or `enum' keyword
-         ;; but ignore names like `foo_struct'.
-         (setq prefix (and (< (skip-chars-backward " \t\n") 0)
-                           (< (skip-chars-backward "_a-zA-Z0-9") 0)
-                           (looking-at "\\(struct\\|union\\|enum\\)\\s ")
-                           (concat (match-string 1) " ")))
-         (goto-char start)
-         (and (looking-at "[_a-zA-Z][_a-zA-Z0-9]*")
-              (setq name (match-string 0)))
-         ;; Caveat!  Look forward if point is at `struct' etc.
-         (and (not prefix)
-              (or (string-equal name "struct")
-                  (string-equal name "union")
-                  (string-equal name "enum"))
-              (looking-at "[a-z]+\\s +\\([_a-zA-Z][_a-zA-Z0-9]*\\)")
-              (setq prefix (concat name " ")
-                    name (match-string 1)))
-         (and (or prefix name)
-              (concat prefix name))))
-    (error nil)))
-
-;;;###autoload
-(defun info-complete-symbol (&optional mode)
-  "Perform completion on symbol preceding point."
-  (interactive)
-  (info-complete 'symbol
-                (or mode
-                    (if (info-lookup->mode-value
-                         'symbol (or info-lookup-mode major-mode))
-                        (or info-lookup-mode major-mode)
-                      (info-lookup-change-mode 'symbol)))))
-
-;;;###autoload
-(defun info-complete-file (&optional mode)
-  "Perform completion on file preceding point."
-  (interactive
-   (list (if (info-lookup->mode-value
-             'file (or info-lookup-mode major-mode))
-            (or info-lookup-mode major-mode)
-          (info-lookup-change-mode 'file))))
-  (info-complete 'file mode))
-
-(defun info-complete (topic mode)
-  "Try to complete a help item."
-  (barf-if-buffer-read-only)
-  (if (not mode)
-      (setq mode (or info-lookup-mode major-mode)))
-  (or (info-lookup->mode-value topic mode)
-      (error "No %s completion available for `%s'" topic mode))
-  (let ((modes (info-lookup->all-modes topic mode))
-       (start (point)) try completion)
-    (while (and (not try) modes)
-      (setq mode (car modes)
-           modes (cdr modes)
-           try (info-lookup-guess-default* topic mode))
-      (goto-char start))
-    (and (not try)
-        (error "Found no %s to complete" topic))
-    (setq completion (try-completion
-                     try (info-lookup->completions topic mode)))
-    (cond ((not completion)
-          (ding))
-         ((stringp completion)
-          (delete-region (- start (length try)) start)
-          (insert completion)))))
-
-(provide 'info-look)
-
-;;; info-look.el ends here
diff --git a/info-look.20.3.el b/info-look.20.3.el
deleted file mode 100644
index 1089260..0000000
--- a/info-look.20.3.el
+++ /dev/null
@@ -1,758 +0,0 @@
-;;; info-look.el --- major-mode-sensitive Info index lookup facility.
-;; An older version of this was known as libc.el.
-
-;; Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
-
-;; Author: Ralph Schleicher <rs@purple.UL.BaWue.DE>
-;; Keywords: help languages
-
-;; This file is part of GNU Emacs.
-
-;; GNU Emacs 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; either version 2, or (at your option)
-;; any later version.
-
-;; GNU Emacs 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 GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
-
-;;; Code:
-
-(require 'info)
-(eval-and-compile
-  (condition-case nil
-      (require 'custom)
-    (error
-     (defmacro defgroup (&rest arg)
-       nil)
-     (defmacro defcustom (symbol value doc &rest arg)
-       `(defvar ,symbol ,value ,doc ,@arg)))))
-
-(defgroup info-lookup nil
-  "Major mode sensitive help agent."
-  :group 'help :group 'languages)
-
-(defvar info-lookup-mode nil
-  "Symbol of the current buffer's help mode.
-Help is provided according to the buffer's major mode if value is nil.
-Automatically becomes buffer local when set in any fashion.")
-(make-variable-buffer-local 'info-lookup-mode)
-
-(defcustom info-lookup-other-window-flag t
-  "Non-nil means pop up the Info buffer in another window."
-  :group 'info-lookup :type 'boolean)
-
-(defcustom info-lookup-highlight-face 'highlight
-  "Face for highlighting looked up help items.
-Setting this variable to nil disables highlighting."
-  :group 'info-lookup :type 'face)
-
-(defvar info-lookup-highlight-overlay nil
-  "Overlay object used for highlighting.")
-
-(defcustom info-lookup-file-name-alist
-  '(("\\`configure\\.in\\'" . autoconf-mode)
-    ("\\`aclocal\\.m4\\'" . autoconf-mode)
-    ("\\`acsite\\.m4\\'" . autoconf-mode)
-    ("\\`acinclude\\.m4\\'" . autoconf-mode))
-  "Alist of file names handled specially.
-List elements are cons cells of the form
-
-    (REGEXP . MODE)
-
-If a file name matches REGEXP, then use help mode MODE instead of the
-buffer's major mode."
-  :group 'info-lookup :type '(repeat (cons (string :tag "Regexp")
-                                          (symbol :tag "Mode"))))
-
-(defvar info-lookup-history nil
-  "History of previous input lines.")
-
-(defvar info-lookup-alist nil
-  "Alist of known help topics.
-Cons cells are of the form
-
-    (HELP-TOPIC . HELP-DATA)
-
-HELP-TOPIC is the symbol of a help topic.
-HELP-DATA is a HELP-TOPIC's public data set.
- Value is an alist with elements of the form
-
-    (HELP-MODE REGEXP IGNORE-CASE DOC-SPEC PARSE-RULE OTHER-MODES)
-
-HELP-MODE is a mode's symbol.
-REGEXP is a regular expression matching those help items whose
- documentation can be looked up via DOC-SPEC.
-IGNORE-CASE is non-nil if help items are case insensitive.
-DOC-SPEC is a list of documentation specifications of the form
-
-    (INFO-NODE TRANS-FUNC PREFIX SUFFIX)
-
-INFO-NODE is the name (including file name part) of an Info index.
-TRANS-FUNC is a function translating index entries into help items;
- nil means add only those index entries matching REGEXP, a string
- means prepend string to the first word of all index entries.
-PREFIX and SUFFIX are parts of a regular expression.  If one of
- them is non-nil then search the help item's Info node for the
- first occurrence of the regular expression `PREFIX ITEM SUFFIX'.
- ITEM will be highlighted with `info-lookup-highlight-face' if this
- variable is not nil.
-PARSE-RULE is either the symbol name of a function or a regular
- expression for guessing the default help item at point.  Fuzzy
- regular expressions like \"[_a-zA-Z0-9]+\" do a better job if
- there are no clear delimiters; do not try to write too complex
- expressions.  PARSE-RULE defaults to REGEXP.
-OTHER-MODES is a list of cross references to other help modes.")
-
-(defsubst info-lookup->topic-value (topic)
-  (cdr (assoc topic info-lookup-alist)))
-
-(defsubst info-lookup->mode-value (topic mode)
-  (assoc mode (info-lookup->topic-value topic)))
-
-(defsubst info-lookup->regexp (topic mode)
-  (nth 1 (info-lookup->mode-value topic mode)))
-
-(defsubst info-lookup->ignore-case (topic mode)
-  (nth 2 (info-lookup->mode-value topic mode)))
-
-(defsubst info-lookup->doc-spec (topic mode)
-  (nth 3 (info-lookup->mode-value topic mode)))
-
-(defsubst info-lookup->parse-rule (topic mode)
-  (nth 4 (info-lookup->mode-value topic mode)))
-
-(defsubst info-lookup->other-modes (topic mode)
-  (nth 5 (info-lookup->mode-value topic mode)))
-
-(eval-and-compile
-  (mapcar (lambda (keyword)
-           (or (boundp keyword)
-               (set keyword keyword)))
-         '(:topic :mode :regexp :ignore-case
-           :doc-spec :parse-rule :other-modes)))
-
-(defun info-lookup-add-help (&rest arg)
-  "Add or update a help specification.
-Function arguments are one or more options of the form
-
-    KEYWORD ARGUMENT
-
-KEYWORD is either `:topic', `:mode', `:regexp', `:ignore-case',
- `:doc-spec', `:parse-rule', or `:other-modes'.
-ARGUMENT has a value as explained in the documentation of the
- variable `info-lookup-alist'.
-
-If no topic or mode option has been specified, then the help topic defaults
-to `symbol', and the help mode defaults to the current major mode."
-  (apply 'info-lookup-add-help* nil arg))
-
-(defun info-lookup-maybe-add-help (&rest arg)
-  "Add a help specification iff no one is defined.
-See the documentation of the function `info-lookup-add-help'
-for more details."
-  (apply 'info-lookup-add-help* t arg))
-
-(defun info-lookup-add-help* (maybe &rest arg)
-  (let (topic mode regexp ignore-case doc-spec
-             parse-rule other-modes keyword value)
-    (setq topic 'symbol
-         mode major-mode
-         regexp "\\w+")
-    (while arg
-      (setq keyword (car arg))
-      (or (symbolp keyword)
-         (error "Junk in argument list \"%S\"" arg))
-      (setq arg (cdr arg))
-      (and (null arg)
-          (error "Keyword \"%S\" is missing an argument" keyword))
-      (setq value (car arg)
-           arg (cdr arg))
-      (cond ((eq keyword :topic)
-            (setq topic value))
-           ((eq keyword :mode)
-            (setq mode value))
-           ((eq keyword :regexp)
-            (setq regexp value))
-           ((eq keyword :ignore-case)
-            (setq ignore-case value))
-           ((eq keyword :doc-spec)
-            (setq doc-spec value))
-           ((eq keyword :parse-rule)
-            (setq parse-rule value))
-           ((eq keyword :other-modes)
-            (setq other-modes value))
-           (t
-            (error "Unknown keyword \"%S\"" keyword))))
-    (or (and maybe (info-lookup->mode-value topic mode))
-       (let* ((data (list regexp ignore-case doc-spec parse-rule other-modes))
-              (topic-cell (or (assoc topic info-lookup-alist)
-                              (car (setq info-lookup-alist
-                                         (cons (cons topic nil)
-                                               info-lookup-alist)))))
-              (mode-cell (assoc mode topic-cell)))
-         (if (null mode-cell)
-             (setcdr topic-cell (cons (cons mode data) (cdr topic-cell)))
-           (setcdr mode-cell data))))
-    nil))
-
-(defvar info-lookup-cache nil
-  "Cache storing data maintained automatically by the program.
-Value is an alist with cons cell of the form
-
-    (HELP-TOPIC . ((HELP-MODE INITIALIZED COMPLETIONS REFER-MODES) ...))
-
-HELP-TOPIC is the symbol of a help topic.
-HELP-MODE is a mode's symbol.
-INITIALIZED is nil if HELP-MODE is uninitialized, t if
- HELP-MODE is initialized, and `0' means HELP-MODE is
- initialized but void.
-COMPLETIONS is an alist of documented help items.
-REFER-MODES is a list of other help modes to use.")
-
-(defsubst info-lookup->cache (topic)
-  (or (assoc topic info-lookup-cache)
-      (car (setq info-lookup-cache
-                (cons (cons topic nil)
-                      info-lookup-cache)))))
-
-(defun info-lookup->topic-cache (topic)
-  (cdr (info-lookup->cache topic)))
-
-(defun info-lookup->mode-cache (topic mode)
-  (assoc mode (info-lookup->topic-cache topic)))
-
-(defun info-lookup->initialized (topic mode)
-  (nth 1 (info-lookup->mode-cache topic mode)))
-
-(defun info-lookup->completions (topic mode)
-  (or (info-lookup->initialized topic mode)
-      (info-lookup-setup-mode topic mode))
-  (nth 2 (info-lookup->mode-cache topic mode)))
-
-(defun info-lookup->refer-modes (topic mode)
-  (or (info-lookup->initialized topic mode)
-      (info-lookup-setup-mode topic mode))
-  (nth 3 (info-lookup->mode-cache topic mode)))
-
-(defun info-lookup->all-modes (topic mode)
-  (cons mode (info-lookup->refer-modes topic mode)))
-
-(defun info-lookup-quick-all-modes (topic mode)
-  (cons mode (info-lookup->other-modes topic mode)))
-
-;;;###autoload
-(defun info-lookup-reset ()
-  "Throw away all cached data.
-This command is useful if the user wants to start at the beginning without
-quitting Emacs, for example, after some Info documents were updated on the
-system."
-  (interactive)
-  (setq info-lookup-cache nil))
-
-;;;###autoload
-(defun info-lookup-symbol (symbol &optional mode)
-  "Display the documentation of a symbol.
-If called interactively, SYMBOL will be read from the mini-buffer.
-Prefix argument means unconditionally insert the default symbol name
-into the mini-buffer so that it can be edited.
-The default symbol is the one found at point."
-  (interactive
-   (info-lookup-interactive-arguments 'symbol))
-  (info-lookup 'symbol symbol mode))
-
-;;;###autoload
-(defun info-lookup-file (file &optional mode)
-  "Display the documentation of a file.
-If called interactively, FILE will be read from the mini-buffer.
-Prefix argument means unconditionally insert the default file name
-into the mini-buffer so that it can be edited.
-The default file name is the one found at point."
-  (interactive
-   (info-lookup-interactive-arguments 'file))
-  (info-lookup 'file file mode))
-
-(defun info-lookup-interactive-arguments (topic)
-  "Return default value and help mode for help topic TOPIC."
-  (let* ((mode (if (info-lookup->mode-value topic (info-lookup-select-mode))
-                  info-lookup-mode
-                (info-lookup-change-mode topic)))
-        (completions (info-lookup->completions topic mode))
-        (default (info-lookup-guess-default topic mode))
-        (input (if (or current-prefix-arg (not (assoc default completions)))
-                   default))
-        (completion-ignore-case (info-lookup->ignore-case topic mode))
-        (enable-recursive-minibuffers t)
-        (value (completing-read
-                (if (and default (not input))
-                    (format "Describe %s (default %s): " topic default)
-                  (format "Describe %s: " topic))
-                completions nil nil input 'info-lookup-history)))
-    (list (if (equal value "") default value) mode)))
-
-(defun info-lookup-select-mode ()
-  (when (and (not info-lookup-mode) (buffer-file-name))
-    (let ((file-name (file-name-nondirectory (buffer-file-name)))
-         (file-name-alist info-lookup-file-name-alist))
-      (while (and (not info-lookup-mode) file-name-alist)
-       (when (string-match (caar file-name-alist) file-name)
-         (setq info-lookup-mode (cdar file-name-alist)))
-       (setq file-name-alist (cdr file-name-alist)))))
-  (or info-lookup-mode (setq info-lookup-mode major-mode)))
-
-(defun info-lookup-change-mode (topic)
-  (let* ((completions (mapcar (lambda (arg)
-                               (cons (symbol-name (car arg)) (car arg)))
-                             (info-lookup->topic-value topic)))
-        (mode (completing-read
-               (format "Use %s help mode: " topic)
-               completions nil t nil 'info-lookup-history)))
-    (or (setq mode (cdr (assoc mode completions)))
-       (error "No %s help available" topic))
-    (or (info-lookup->mode-value topic mode)
-       (error "No %s help available for `%s'" topic mode))
-    (setq info-lookup-mode mode)))
-
-(defun info-lookup (topic item mode)
-  "Display the documentation of a help item."
-  (or mode (setq mode (info-lookup-select-mode)))
-  (or (info-lookup->mode-value topic mode)
-      (error "No %s help available for `%s'" topic mode))
-  (let ((entry (or (assoc (if (info-lookup->ignore-case topic mode)
-                             (downcase item) item)
-                         (info-lookup->completions topic mode))
-                  (error "Not documented as a %s: %s" topic (or item ""))))
-       (modes (info-lookup->all-modes topic mode))
-       (window (selected-window))
-       found doc-spec node prefix suffix doc-found)
-    (if (not info-lookup-other-window-flag)
-       (info)
-      (save-window-excursion (info))
-      (switch-to-buffer-other-window "*info*"))
-    (while (and (not found) modes)
-      (setq doc-spec (info-lookup->doc-spec topic (car modes)))
-      (while (and (not found) doc-spec)
-       (setq node (nth 0 (car doc-spec))
-             prefix (nth 2 (car doc-spec))
-             suffix (nth 3 (car doc-spec)))
-       (when (condition-case error-data
-                 (progn 
-                   (Info-goto-node node)
-                   (setq doc-found t))
-               (error 
-                (message "Cannot access Info node %s" node)
-                (sit-for 1)
-                nil))
-         (condition-case nil
-             (progn
-               (Info-menu (or (cdr entry) item))
-               (setq found t)
-               (if (or prefix suffix)
-                   (let ((case-fold-search
-                          (info-lookup->ignore-case topic (car modes)))
-                         (buffer-read-only nil))
-                     (goto-char (point-min))
-                     (re-search-forward
-                      (concat prefix (regexp-quote item) suffix))
-                     (goto-char (match-beginning 0))
-                     (and window-system info-lookup-highlight-face
-                          ;; Search again for ITEM so that the first
-                          ;; occurence of ITEM will be highlighted.
-                          (re-search-forward (regexp-quote item))
-                          (let ((start (match-beginning 0))
-                                (end (match-end 0)))
-                            (if (overlayp info-lookup-highlight-overlay)
-                                (move-overlay info-lookup-highlight-overlay
-                                              start end (current-buffer))
-                              (setq info-lookup-highlight-overlay
-                                    (make-overlay start end))))
-                          (overlay-put info-lookup-highlight-overlay
-                                       'face info-lookup-highlight-face)))))
-           (error nil)))
-       (setq doc-spec (cdr doc-spec)))
-      (setq modes (cdr modes)))
-    (or doc-found
-       (error "Info documentation for lookup was not found"))
-    ;; Don't leave the Info buffer if the help item couldn't be looked up.
-    (if (and info-lookup-other-window-flag found)
-       (select-window window))))
-
-(defun info-lookup-setup-mode (topic mode)
-  "Initialize the internal data structure."
-  (or (info-lookup->initialized topic mode)
-      (let (cell data (initialized 0) completions refer-modes)
-       (if (not (info-lookup->mode-value topic mode))
-           (message "No %s help available for `%s'" topic mode)
-         ;; Recursively setup cross references.
-         ;; But refer only to non-void modes.
-         (mapcar (lambda (arg)
-                   (or (info-lookup->initialized topic arg)
-                       (info-lookup-setup-mode topic arg))
-                   (and (eq (info-lookup->initialized topic arg) t)
-                        (setq refer-modes (cons arg refer-modes))))
-                 (info-lookup->other-modes topic mode))
-         (setq refer-modes (nreverse refer-modes))
-         ;; Build the full completion alist.
-         (setq completions
-               (nconc (info-lookup-make-completions topic mode)
-                      (apply 'append
-                             (mapcar (lambda (arg)
-                                       (info-lookup->completions topic arg))
-                                     refer-modes))))
-         (setq initialized t))
-       ;; Update `info-lookup-cache'.
-       (setq cell (info-lookup->mode-cache topic mode)
-             data (list initialized completions refer-modes))
-       (if (not cell)
-           (setcdr (info-lookup->cache topic)
-                   (cons (cons mode data) (info-lookup->topic-cache topic)))
-         (setcdr cell data))
-       initialized)))
-
-(defun info-lookup-make-completions (topic mode)
-  "Create a unique alist from all index entries."
-  (let ((doc-spec (info-lookup->doc-spec topic mode))
-       (regexp (concat "^\\(" (info-lookup->regexp topic mode)
-                       "\\)\\([ \t].*\\)?$"))
-       node trans entry item prefix result doc-found
-       (buffer (get-buffer-create " temp-info-look")))
-    (with-current-buffer buffer
-      (Info-mode))
-    (while doc-spec
-      (setq node (nth 0 (car doc-spec))
-           trans (cond ((eq (nth 1 (car doc-spec)) nil)
-                        (lambda (arg)
-                          (if (string-match regexp arg)
-                              (match-string 1 arg))))
-                       ((stringp (nth 1 (car doc-spec)))
-                        (setq prefix (nth 1 (car doc-spec)))
-                        (lambda (arg)
-                          (if (string-match "^\\([^: \t\n]+\\)" arg)
-                              (concat prefix (match-string 1 arg)))))
-                       (t (nth 1 (car doc-spec)))))
-      (with-current-buffer buffer
-       (message "Processing Info node `%s'..." node)
-       (when (condition-case error-data
-                 (progn 
-                   (Info-goto-node node)
-                   (setq doc-found t))
-               (error 
-                (message "Cannot access Info node `%s'" node)
-                (sit-for 1)
-                nil))
-         (condition-case nil
-             (progn
-               (goto-char (point-min))
-               (and (search-forward "\n* Menu:" nil t)
-                    (while (re-search-forward "\n\\* \\([^:\t\n]*\\):" nil t)
-                      (setq entry (match-string 1)
-                            item (funcall trans entry))
-                      (and (info-lookup->ignore-case topic mode)
-                           (setq item (downcase item)))
-                      (and (string-equal entry item)
-                           (setq entry nil))
-                      (or (assoc item result)
-                          (setq result (cons (cons item entry) result))))))
-           (error nil))))
-      (message "Processing Info node `%s'...done" node)
-      (setq doc-spec (cdr doc-spec)))
-    (or doc-found
-       (error "Info documentation for lookup was not found"))
-    result))
-
-(defun info-lookup-guess-default (topic mode)
-  "Pick up default item at point (with favor to look back).
-Return nil if there is nothing appropriate."
-  (let ((modes (info-lookup->all-modes topic mode))
-       (start (point)) guess whitespace)
-    (while (and (not guess) modes)
-      (setq guess (info-lookup-guess-default* topic (car modes))
-           modes (cdr modes))
-      (goto-char start))
-    ;; Collapse whitespace characters.
-    (and guess (concat (delete nil (mapcar (lambda (ch)
-                                            (if (or (char-equal ch ? )
-                                                    (char-equal ch ?\t)
-                                                    (char-equal ch ?\n))
-                                                (if (not whitespace)
-                                                    (setq whitespace ? ))
-                                              (setq whitespace nil) ch))
-                                          guess))))))
-
-(defun info-lookup-guess-default* (topic mode)
-  (let ((case-fold-search (info-lookup->ignore-case topic mode))
-       (rule (or (info-lookup->parse-rule topic mode)
-                 (info-lookup->regexp topic mode)))
-       (start (point)) end regexp subexp result)
-    (if (symbolp rule)
-       (setq result (funcall rule))
-      (if (consp rule)
-         (setq regexp (car rule)
-               subexp (cdr rule))
-       (setq regexp rule
-             subexp 0))
-      (skip-chars-backward " \t\n") (setq end (point))
-      (while (and (re-search-backward regexp nil t)
-                 (looking-at regexp)
-                 (>= (match-end 0) end))
-       (setq result (match-string subexp)))
-      (if (not result)
-         (progn
-           (goto-char start)
-           (skip-chars-forward " \t\n")
-           (and (looking-at regexp)
-                (setq result (match-string subexp))))))
-    result))
-
-(defun info-lookup-guess-c-symbol ()
-  "Get the C symbol at point."
-  (condition-case nil
-      (progn
-       (backward-sexp)
-       (let ((start (point)) prefix name)
-         ;; Test for a leading `struct', `union', or `enum' keyword
-         ;; but ignore names like `foo_struct'.
-         (setq prefix (and (< (skip-chars-backward " \t\n") 0)
-                           (< (skip-chars-backward "_a-zA-Z0-9") 0)
-                           (looking-at "\\(struct\\|union\\|enum\\)\\s ")
-                           (concat (match-string 1) " ")))
-         (goto-char start)
-         (and (looking-at "[_a-zA-Z][_a-zA-Z0-9]*")
-              (setq name (match-string 0)))
-         ;; Caveat!  Look forward if point is at `struct' etc.
-         (and (not prefix)
-              (or (string-equal name "struct")
-                  (string-equal name "union")
-                  (string-equal name "enum"))
-              (looking-at "[a-z]+\\s +\\([_a-zA-Z][_a-zA-Z0-9]*\\)")
-              (setq prefix (concat name " ")
-                    name (match-string 1)))
-         (and (or prefix name)
-              (concat prefix name))))
-    (error nil)))
-
-;;;###autoload
-(defun info-complete-symbol (&optional mode)
-  "Perform completion on symbol preceding point."
-  (interactive)
-  (info-complete 'symbol
-                (or mode
-                    (if (info-lookup->mode-value
-                         'symbol (info-lookup-select-mode))
-                        info-lookup-mode
-                      (info-lookup-change-mode 'symbol)))))
-
-;;;###autoload
-(defun info-complete-file (&optional mode)
-  "Perform completion on file preceding point."
-  (interactive)
-  (info-complete 'file
-                (or mode
-                    (if (info-lookup->mode-value
-                         'file (info-lookup-select-mode))
-                        info-lookup-mode
-                      (info-lookup-change-mode 'file)))))
-
-(defun info-complete (topic mode)
-  "Try to complete a help item."
-  (barf-if-buffer-read-only)
-  (or mode (setq mode (info-lookup-select-mode)))
-  (or (info-lookup->mode-value topic mode)
-      (error "No %s completion available for `%s'" topic mode))
-  (let ((modes (info-lookup-quick-all-modes topic mode))
-       (start (point))
-       try)
-    (while (and (not try) modes)
-      (setq mode (car modes)
-           modes (cdr modes)
-           try (info-lookup-guess-default* topic mode))
-      (goto-char start))
-    (and (not try)
-        (error "Found no %S to complete" topic))
-    (let ((completions (info-lookup->completions topic mode))
-         (completion-ignore-case (info-lookup->ignore-case topic mode))
-         completion)
-      (setq completion (try-completion try completions))
-      (cond ((not completion)
-            (ding)
-            (message "No match"))
-           ((stringp completion)
-            (or (assoc completion completions)
-                (setq completion (completing-read
-                                  (format "Complete %S: " topic)
-                                  completions nil t completion
-                                  info-lookup-history)))
-            (delete-region (- start (length try)) start)
-            (insert completion))
-           (t
-            (message "%s is complete"
-                     (capitalize (prin1-to-string topic))))))))
-
-
-;;; Initialize some common modes.
-
-(info-lookup-maybe-add-help
- :mode 'c-mode :topic 'symbol
- :regexp "\\(struct \\|union \\|enum \\)?[_a-zA-Z][_a-zA-Z0-9]*"
- :doc-spec '(("(libc)Function Index" nil
-             "^[ \t]+- \\(Function\\|Macro\\): .*\\<" "\\>")
-            ("(libc)Variable Index" nil
-             "^[ \t]+- \\(Variable\\|Macro\\): .*\\<" "\\>")
-            ("(libc)Type Index" nil
-             "^[ \t]+- Data Type: \\<" "\\>")
-            ("(termcap)Var Index" nil
-             "^[ \t]*`" "'"))
- :parse-rule 'info-lookup-guess-c-symbol)
-
-(info-lookup-maybe-add-help
- :mode 'c-mode :topic 'file
- :regexp "[_a-zA-Z0-9./+-]+"
- :doc-spec '(("(libc)File Index")))
-
-(info-lookup-maybe-add-help
- :mode 'bison-mode
- :regexp "[:;|]\\|%\\([%{}]\\|[_a-z]+\\)\\|YY[_A-Z]+\\|yy[_a-z]+"
- :doc-spec '(("(bison)Index" nil
-             "`" "'"))
- :parse-rule "[:;|]\\|%\\([%{}]\\|[_a-zA-Z][_a-zA-Z0-9]*\\)"
- :other-modes '(c-mode))
-
-(info-lookup-maybe-add-help
- :mode 'makefile-mode
- :regexp "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z][_a-zA-Z0-9-]*"
- :doc-spec '(("(make)Name Index" nil
-             "^[ \t]*`" "'"))
- :parse-rule "\\$[^({]\\|\\.[_A-Z]*\\|[_a-zA-Z0-9-]+")
-
-(info-lookup-maybe-add-help
- :mode 'texinfo-mode
- :regexp "@\\([a-zA-Z]+\\|[^a-zA-Z]\\)"
- :doc-spec '(("(texinfo)Command and Variable Index"
-             ;; Ignore Emacs commands and prepend a `@'.
-             (lambda (item)
-               (if (string-match "^\\([a-zA-Z]+\\|[^a-zA-Z]\\)\\( .*\\)?$" 
item)
-                   (concat "@" (match-string 1 item))))
-             "`" "'")))
-
-(info-lookup-maybe-add-help
- :mode 'm4-mode
- :regexp "[_a-zA-Z][_a-zA-Z0-9]*"
- :doc-spec '(("(m4)Macro index"))
- :parse-rule "[_a-zA-Z0-9]+")
-
-(info-lookup-maybe-add-help
- :mode 'autoconf-mode
- :regexp "A[CM]_[_A-Z0-9]+"
- :doc-spec '(("(autoconf)Macro Index" "AC_"
-             "^[ \t]+- \\(Macro\\|Variable\\): .*\\<" "\\>")
-            ("(automake)Index" nil
-             "^[ \t]*`" "'"))
- ;; Autoconf symbols are M4 macros.  Thus use M4's parser.
- :parse-rule 'ignore
- :other-modes '(m4-mode))
-
-(info-lookup-maybe-add-help
- :mode 'awk-mode
- :regexp "[_a-zA-Z]+"
- :doc-spec '(("(gawk)Index"
-             (lambda (item)
-               (let ((case-fold-search nil))
-                 (cond
-                  ;; `BEGIN' and `END'.
-                  ((string-match "^\\([A-Z]+\\) special pattern\\b" item)
-                   (match-string 1 item))
-                  ;; `if', `while', `do', ...
-                  ((string-match "^\\([a-z]+\\) statement\\b" item)
-                   (if (not (string-equal (match-string 1 item) "control"))
-                       (match-string 1 item)))
-                  ;; `NR', `NF', ...
-                  ((string-match "^[A-Z]+$" item)
-                   item)
-                  ;; Built-in functions (matches to many entries).
-                  ((string-match "^[a-z]+$" item)
-                   item))))
-             "`" "\\([ \t]*([^)]*)\\)?'")))
-
-(info-lookup-maybe-add-help
- :mode 'perl-mode
- :regexp "[$@%][^a-zA-Z]\\|\\$\\^[A-Z]\\|[$@%]?[a-zA-Z][_a-zA-Z0-9]*"
- :doc-spec '(("(perl5)Function Index"
-             (lambda (item)
-               (if (string-match "^\\([a-zA-Z0-9]+\\)" item)
-                   (match-string 1 item)))
-             "^" "\\b")
-            ("(perl5)Variable Index"
-             (lambda (item)
-               ;; Work around bad formatted array variables.
-               (let ((sym (cond ((or (string-match "^\\$\\(.\\|@@\\)$" item)
-                                     (string-match "^\\$\\^[A-Z]$" item))
-                                 item)
-                                ((string-match
-                                  "^\\([$%@]\\|@@\\)?[_a-zA-Z0-9]+" item)
-                                 (match-string 0 item))
-                                (t ""))))
-                 (if (string-match "@@" sym)
-                     (setq sym (concat (substring sym 0 (match-beginning 0))
-                                       (substring sym (1- (match-end 0))))))
-                 (if (string-equal sym "") nil sym)))
-             "^" "\\b"))
- :parse-rule "[$@%]?\\([_a-zA-Z0-9]+\\|[^a-zA-Z]\\)")
-
-(info-lookup-maybe-add-help
- :mode 'latex-mode
- :regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)"
- :doc-spec '(("(latex2e)Command Index" nil
-             "`" "\\({[^}]*}\\)?'")))
-
-(info-lookup-maybe-add-help
- :mode 'scheme-mode
- :regexp ;; "\\(\\sw\\|\\s_\\)+"
- "[^()' \t\n]+"
- :ignore-case t
- ;; Aubrey Jaffer's rendition from <URL:ftp://ftp-swiss.ai.mit.edu/pub/scm>
- :doc-spec '(("(r5rs)Index")))
-
-(info-lookup-maybe-add-help
- :mode 'emacs-lisp-mode
- :regexp "[^()' \t\n]+"
- :doc-spec '(("(emacs)Command Index")
-            ("(emacs)Variable Index")
-            ("(elisp)Index"
-             (lambda (item)
-               (let ((sym (intern-soft item)))
-                 (cond ((null sym)
-                        (if (string-equal item "nil") item))
-                       ((or (boundp sym) (fboundp sym))
-                        item))))
-             "^[ \t]+- [^:]+:[ \t]*" "\\b")))
-
-(info-lookup-maybe-add-help
- :mode 'lisp-interaction-mode
- :regexp "[^()' \t\n]+"
- :parse-rule 'ignore
- :other-modes '(emacs-lisp-mode))
-
-(info-lookup-maybe-add-help
- :mode 'lisp-mode
- :regexp "[^()' \t\n]+"
- :parse-rule 'ignore
- :other-modes '(emacs-lisp-mode))
-
-(info-lookup-maybe-add-help
- :mode 'scheme-mode
- :regexp "[^()' \t\n]+"
- :ignore-case t
- :doc-spec '(("(r5rs)Index" nil
-             "^[ \t]+- [^:]+:[ \t]*" "\\b")))
-
-
-(provide 'info-look)
-
-;;; info-look.el ends here
diff --git a/install-sh b/install-sh
deleted file mode 100755
index e9de238..0000000
--- a/install-sh
+++ /dev/null
@@ -1,251 +0,0 @@
-#!/bin/sh
-#
-# install - install a program, script, or datafile
-# This comes from X11R5 (mit/util/scripts/install.sh).
-#
-# Copyright 1991 by the Massachusetts Institute of Technology
-#
-# Permission to use, copy, modify, distribute, and sell this software and its
-# documentation for any purpose is hereby granted without fee, provided that
-# the above copyright notice appear in all copies and that both that
-# copyright notice and this permission notice appear in supporting
-# documentation, and that the name of M.I.T. not be used in advertising or
-# publicity pertaining to distribution of the software without specific,
-# written prior permission.  M.I.T. makes no representations about the
-# suitability of this software for any purpose.  It is provided "as is"
-# without express or implied warranty.
-#
-# 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.  It can only install one file at a time, a restriction
-# shared with many OS's install programs.
-
-
-# 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}"
-
-transformbasename=""
-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=:
-               chmodcmd=""
-       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
diff --git a/mkinstalldirs b/mkinstalldirs
deleted file mode 100755
index 4f58503..0000000
--- a/mkinstalldirs
+++ /dev/null
@@ -1,40 +0,0 @@
-#! /bin/sh
-# mkinstalldirs --- make directory hierarchy
-# Author: Noah Friedman <friedman@prep.ai.mit.edu>
-# Created: 1993-05-16
-# Public domain
-
-# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
-
-errstatus=0
-
-for file
-do
-   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
-   shift
-
-   pathcomp=
-   for d
-   do
-     pathcomp="$pathcomp$d"
-     case "$pathcomp" in
-       -* ) pathcomp=./$pathcomp ;;
-     esac
-
-     if test ! -d "$pathcomp"; then
-        echo "mkdir $pathcomp"
-
-        mkdir "$pathcomp" || lasterr=$?
-
-        if test ! -d "$pathcomp"; then
-         errstatus=$lasterr
-        fi
-     fi
-
-     pathcomp="$pathcomp/"
-   done
-done
-
-exit $errstatus
-
-# mkinstalldirs ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]