]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1999-10-31 Ben Elliston <bje@cygnus.com>
authorBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Sun, 31 Oct 1999 01:54:28 +0000 (01:54 +0000)
committerBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Sun, 31 Oct 1999 01:54:28 +0000 (01:54 +0000)
* configure: Regenerate.
* aclocal.m4: New generated file.
* Makefile.in: Regenerate with Automake.
* testsuite/Makefile.in: Likewise.

1999-10-31  Akim Demaille  <akim@epita.fr>

Use Automake.  Based on files from Ben Elliston.

* acgeneral.m4: No longer define AC_ACVERSION, include
  acversion.m4.
* acversion.m4.in: New AC_CONFIG_FILE.
* acspecific.m4: Few formating changes.
* autoconf.texi: No longer define EDITION, VERSION and UPDATED:
include version.texi.
AC_OUTPUT the Makefiles mentioned below and acversion.m4.
* configure.in: Use AM_INIT_AUTOMAKE.
  Do not AC_ARG_PROGRAM: AM_INIT_AUTOMAKE does it.
* Makefile.am: New file.
* mdate-sh: Likewise.
* missing: Likewise.
* testsuite/Makefile.am: Likewise.

21 files changed:
ChangeLog
Makefile.am [new file with mode: 0644]
Makefile.in
NEWS
acgeneral.m4
aclocal.m4 [new file with mode: 0644]
acspecific.m4
acversion.m4.in [new file with mode: 0644]
autoconf.texi
configure
configure.in
doc/Makefile.am [new file with mode: 0644]
doc/Makefile.in
doc/autoconf.texi
doc/mdate-sh [new file with mode: 0644]
lib/autoconf/general.m4
lib/autoconf/specific.m4
mdate-sh [new file with mode: 0755]
missing [new file with mode: 0755]
testsuite/Makefile.am [new file with mode: 0644]
testsuite/Makefile.in

index 6eefbb9c725302ffc05e43dee0c830e9906655da..2f460ddc86db6d93a71d57d9fa0971b846608fd4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+1999-10-31  Ben Elliston  <bje@cygnus.com>
+
+       * configure: Regenerate.
+       * aclocal.m4: Generate.
+       * Makefile.in: Regenerate with Automake.
+       * testsuite/Makefile.in: Likewise.
+
+1999-10-31  Akim Demaille  <akim@epita.fr>
+
+       Use Automake.  Based on files from Ben Elliston.
+
+       * acgeneral.m4: No longer define AC_ACVERSION, include
+       acversion.m4.
+       * acversion.m4.in: New AC_CONFIG_FILE.
+       * acspecific.m4: Few formating changes.
+       * autoconf.texi: No longer define EDITION, VERSION and UPDATED:
+       include version.texi.
+       AC_OUTPUT the Makefiles mentioned below and acversion.m4.
+       * configure.in: Use AM_INIT_AUTOMAKE.
+       Do not AC_ARG_PROGRAM: AM_INIT_AUTOMAKE does it.
+       * Makefile.am: New file.
+       * mdate-sh: Likewise.
+       * missing: Likewise.
+       * testsuite/Makefile.am: Likewise.
+
 1999-10-31  Ben Elliston  <bje@cygnus.com>
 
        * acspecific.m4 (AC_PROG_CC_STDC, AC_C_PROTOTYPES): Inherit from
diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..7f0f59c
--- /dev/null
@@ -0,0 +1,100 @@
+## Process this file with automake to create Makefile.in.
+
+## Makefile for Autoconf.
+## Copyright (C) 1999 Free Software Foundation, Inc.
+
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2, or (at your option)
+## any later version.
+
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.
+
+AUTOMAKE_OPTIONS = check-news
+
+SUBDIRS = testsuite
+
+MAKEINFO = makeinfo --no-split
+TEXI2HTML = texi2html
+SUFFIXES = .m4 .m4f .pl .sh
+
+bin_SCRIPTS = autoconf autoheader autoreconf autoupdate ifnames @PERLSCRIPTS@
+EXTRA_SCRIPTS = autoscan
+
+pkgdata_DATA = acfunctions acheaders acidentifiers acmakevars \
+               acprograms acconfig.h autoconf.m4f autoheader.m4f \
+               acgeneral.m4 acoldnames.m4 acspecific.m4 autoconf.m4 \
+               autoheader.m4 acversion.m4
+
+info_TEXINFOS = autoconf.texi standards.texi
+autoconf_TEXINFOS = install.texi
+standards_TEXINFOS = make-stds.texi
+
+OLDCHANGELOGS = ChangeLog.0 ChangeLog.1
+EXTRA_DIST = $(OLDCHANGELOGS) \
+            acfunctions acheaders acidentifiers acmakevars \
+             acprograms acconfig.h acgeneral.m4 acoldnames.m4 \
+             acspecific.m4 autoconf.m4 autoheader.m4 acversion.m4.in \
+            autoconf.sh autoheader.sh autoreconf.sh autoupdate.sh \
+            ifnames.sh autoscan.pl INSTALL.txt
+
+# INSTALL is a special case.  Automake seems to have a single name space
+# for both targets and variables.  If we just use INSTALL, then the var
+# $(INSTALL) is not defined, and the install target fails.
+
+INSTALL.txt: install.texi
+       $(MAKEINFO) -I$(srcdir) $< --no-headers --no-validate --output=$@
+
+install-data-hook: INSTALL.txt
+       @$(NORMAL_INSTALL)
+       @list='INSTALL'; for p in $$list; do \
+         if test -f "$$p.txt"; then d= ; else d="$(srcdir)/"; fi; \
+         f="`echo $$p | sed -e 's|^.*/||'`"; \
+         echo " $(INSTALL_DATA) $$d$$p.txt $(DESTDIR)$(pkgdatadir)/$$f"; \
+         $(INSTALL_DATA) $$d$$p.txt $(DESTDIR)$(pkgdatadir)/$$f; \
+       done
+
+# The scripts.
+
+editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e \
+       's,@''M4''@,$(M4),g'  -e 's,@''AWK''@,$(AWK),g' \
+       -e 's,@''SHELL''@,$(SHELL),g'
+editpl = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''PERL''@,$(PERL),g'
+
+.sh:
+       rm -f $@ $@.tmp
+       $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+
+.pl:
+       rm -f $@ $@.tmp
+       $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+
+.m4.m4f:
+       @case `$(M4) --help </dev/null 2>&1` in \
+       *reload-state*) echo freezing $*.m4; \
+         $(M4) -F $*.m4f -I${srcdir} ${srcdir}/$*.m4 ;; \
+       *traditional*) ;; \
+       *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
+       esac
+
+autoconf.m4f: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 acversion.m4
+autoheader.m4f: autoheader.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 acversion.m4
+
+
+# The documentation
+
+html: autoconf_1.html standards_1.html
+
+autoconf_1.html: autoconf.texi install.texi
+       $(TEXI2HTML) -split_chapter $(srcdir)/autoconf.texi
+
+standards_1.html: standards.texi make-stds.texi
+       $(TEXI2HTML) -split_chapter $(srcdir)/standards.texi
index edec20b3c5a49b340bf7237646a9e4167c40e1ac..a713fb0ae9ed6616ca84e2595610de73bfc6e636 100644 (file)
-# Makefile for Autoconf.
-# Copyright (C) 1992, 1993, 1994, 1998, 1999 Free Software Foundation, Inc.
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
 # This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
 
-#### Start of system configuration section. ####
+SHELL = @SHELL@
 
 srcdir = @srcdir@
+top_srcdir = @top_srcdir@
 VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = .
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
 
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
-MAKEINFO = makeinfo
-TEXI2DVI = texi2dvi
-TEXI2HTML = texi2html
-M4 = @M4@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
 AWK = @AWK@
+M4 = @M4@
+PACKAGE = @PACKAGE@
 PERL = @PERL@
+PERLSCRIPTS = @PERLSCRIPTS@
+VERSION = @VERSION@
+standards_texi = @standards_texi@
 
-# Programs that are ALWAYS installed (and are created in the build dir).
-ASCRIPTS = autoconf autoheader autoreconf autoupdate ifnames
+AUTOMAKE_OPTIONS = check-news
 
-# M4 input that is frozen.
-M4FROZEN = autoconf.m4f autoheader.m4f
+SUBDIRS = testsuite
 
-# All programs, including those only installed if you have perl.
-SCRIPTS = $(ASCRIPTS) @SCRIPTS@
+MAKEINFO = makeinfo --no-split
+TEXI2HTML = texi2html
+SUFFIXES = .m4 .m4f .pl .sh
 
-transform=@program_transform_name@
+bin_SCRIPTS = autoconf autoheader autoreconf autoupdate ifnames @PERLSCRIPTS@
+EXTRA_SCRIPTS = autoscan
 
-prefix = @prefix@
-exec_prefix = @exec_prefix@
+pkgdata_DATA = acfunctions acheaders acidentifiers acmakevars                acprograms acconfig.h autoconf.m4f autoheader.m4f                acgeneral.m4 acoldnames.m4 acspecific.m4 autoconf.m4                autoheader.m4 acversion.m4
 
-# Directory in which to install scripts.
-bindir = @bindir@
 
-# Directory in which to install library files.
-datadir = @datadir@
-acdatadir = $(datadir)/autoconf
+info_TEXINFOS = autoconf.texi standards.texi
+autoconf_TEXINFOS = install.texi
+standards_TEXINFOS = make-stds.texi
 
-# Directory in which to install documentation info files.
-infodir = @infodir@
+OLDCHANGELOGS = ChangeLog.0 ChangeLog.1
+EXTRA_DIST = $(OLDCHANGELOGS)       acfunctions acheaders acidentifiers acmakevars              acprograms acconfig.h acgeneral.m4 acoldnames.m4              acspecific.m4 autoconf.m4 autoheader.m4 acversion.m4.in       autoconf.sh autoheader.sh autoreconf.sh autoupdate.sh           ifnames.sh autoscan.pl INSTALL.txt
 
-#### End of system configuration section. ####
 
-SHELL = @SHELL@
+# The scripts.
 
-SUBDIRS = testsuite
+editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e    's,@''M4''@,$(M4),g'  -e 's,@''AWK''@,$(AWK),g'         -e 's,@''SHELL''@,$(SHELL),g'
 
-M4FILES = autoconf.m4 acgeneral.m4 acoldnames.m4 acspecific.m4 autoheader.m4
-
-# Files that can be generated, but should be up to date for a distribution.
-DISTDEP = info Makefile
-# Files to distribute.
-DISTFILES = AUTHORS THANKS COPYING ChangeLog ChangeLog.1 INSTALL \
-       Makefile.in NEWS README TODO $(M4FILES) \
-       acconfig.h acfunctions acheaders acidentifiers \
-       acmakevars acprograms autoconf.info* \
-       autoconf.sh autoconf.texi install.texi \
-       autoheader.sh autoscan.pl autoreconf.sh autoupdate.sh ifnames.sh \
-       config.guess config.sub configure configure.in \
-       install-sh mkinstalldirs texinfo.tex \
-       testsuite/Makefile.in testsuite/config/*.exp \
-       testsuite/lib/*.exp testsuite/autoconf.[gs]/*.exp \
-       standards.texi make-stds.texi standards.info*
-
-editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e \
-       's,@''M4''@,$(M4),g'  -e 's,@''AWK''@,$(AWK),g' \
-       -e 's,@''SHELL''@,$(SHELL),g'
 editpl = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''PERL''@,$(PERL),g'
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_CLEAN_FILES =  acversion.m4
+SCRIPTS =  $(bin_SCRIPTS)
+
+TEXI2DVI = texi2dvi
+INFO_DEPS = autoconf.info standards.info
+DVIS = autoconf.dvi standards.dvi
+TEXINFOS = autoconf.texi standards.texi
+DATA =  $(pkgdata_DATA)
 
-all: ${SCRIPTS} ${M4FROZEN} info
+DIST_COMMON =  README $(autoconf_TEXINFOS) $(standards_TEXINFOS) AUTHORS \
+COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS THANKS TODO \
+aclocal.m4 acversion.m4.in config.guess config.sub configure \
+configure.in install-sh mdate-sh missing mkinstalldirs stamp-vti \
+texinfo.tex version.texi
 
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+all: all-redirect
 .SUFFIXES:
-.SUFFIXES: .sh .pl .m4 .m4f
+.SUFFIXES: .dvi .info .m4 .m4f .pl .ps .sh .texi .texinfo .txi
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+       cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
 
-.sh:
-       rm -f $@ $@.tmp
-       $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+       cd $(top_builddir) \
+         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
-.pl:
-       rm -f $@ $@.tmp
-       $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+$(ACLOCAL_M4):  configure.in 
+       cd $(srcdir) && $(ACLOCAL)
 
-.m4.m4f:
-       @case `$(M4) --help </dev/null 2>&1` in \
-       *reload-state*) echo freezing $*.m4; \
-         $(M4) -F $*.m4f -I${srcdir} ${srcdir}/$*.m4 ;; \
-       *traditional*) ;; \
-       *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
-       esac
+config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       $(SHELL) ./config.status --recheck
+$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+       cd $(srcdir) && $(AUTOCONF)
+acversion.m4: $(top_builddir)/config.status acversion.m4.in
+       cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+install-binSCRIPTS: $(bin_SCRIPTS)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(bindir)
+       @list='$(bin_SCRIPTS)'; for p in $$list; do \
+         if test -f $$p; then \
+           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
+           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
+         else if test -f $(srcdir)/$$p; then \
+           echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
+           $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
+         else :; fi; fi; \
+       done
 
-autoconf.m4f: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4
-autoheader.m4f: autoheader.m4 acgeneral.m4 acspecific.m4 acoldnames.m4
+uninstall-binSCRIPTS:
+       @$(NORMAL_UNINSTALL)
+       list='$(bin_SCRIPTS)'; for p in $$list; do \
+         rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
+       done
 
-info: autoconf.info @standards_info@ INSTALL
+$(srcdir)/version.texi: stamp-vti
+       @:
+
+$(srcdir)/stamp-vti: autoconf.texi $(top_srcdir)/configure.in
+       @echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/autoconf.texi`" > vti.tmp
+       @echo "@set EDITION $(VERSION)" >> vti.tmp
+       @echo "@set VERSION $(VERSION)" >> vti.tmp
+       @cmp -s vti.tmp $(srcdir)/version.texi \
+         || (echo "Updating $(srcdir)/version.texi"; \
+             cp vti.tmp $(srcdir)/version.texi)
+       -@rm -f vti.tmp
+       @cp $(srcdir)/version.texi $@
+
+mostlyclean-vti:
+       -rm -f vti.tmp
+
+clean-vti:
+
+distclean-vti:
+
+maintainer-clean-vti:
+       -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
+
+autoconf.info: autoconf.texi version.texi $(autoconf_TEXINFOS)
+autoconf.dvi: autoconf.texi version.texi $(autoconf_TEXINFOS)
+
+
+standards.info: standards.texi $(standards_TEXINFOS)
+standards.dvi: standards.texi $(standards_TEXINFOS)
+
+
+DVIPS = dvips
+
+.texi.info:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.texi.dvi:
+       TEXINPUTS=.:$$TEXINPUTS \
+         MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
+
+.texi:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.texinfo.info:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.texinfo:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.texinfo.dvi:
+       TEXINPUTS=.:$$TEXINPUTS \
+         MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
+
+.txi.info:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.txi.dvi:
+       TEXINPUTS=.:$$TEXINPUTS \
+         MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
+
+.txi:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+.dvi.ps:
+       $(DVIPS) $< -o $@
+
+install-info-am: $(INFO_DEPS)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(infodir)
+       @list='$(INFO_DEPS)'; \
+       for file in $$list; do \
+         d=$(srcdir); \
+         for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
+           if test -f $$d/$$ifile; then \
+             echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
+             $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
+           else : ; fi; \
+         done; \
+       done
+       @$(POST_INSTALL)
+       @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+         list='$(INFO_DEPS)'; \
+         for file in $$list; do \
+           echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+           install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+         done; \
+       else : ; fi
+
+uninstall-info:
+       $(PRE_UNINSTALL)
+       @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+         ii=yes; \
+       else ii=; fi; \
+       list='$(INFO_DEPS)'; \
+       for file in $$list; do \
+         test -z "$ii" \
+           || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
+       done
+       @$(NORMAL_UNINSTALL)
+       list='$(INFO_DEPS)'; \
+       for file in $$list; do \
+         (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
+       done
 
-# Use --no-split to avoid creating filenames > 14 chars.
-autoconf.info: autoconf.texi install.texi
-       $(MAKEINFO) -I$(srcdir) --no-split --output=$@ $(srcdir)/autoconf.texi
+dist-info: $(INFO_DEPS)
+       list='$(INFO_DEPS)'; \
+       for base in $$list; do \
+         d=$(srcdir); \
+         for file in `cd $$d && eval echo $$base*`; do \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file; \
+         done; \
+       done
 
-INSTALL: install.texi
-       $(MAKEINFO) -I$(srcdir) --output=$@ \
-       --no-headers --no-validate $(srcdir)/install.texi
+mostlyclean-aminfo:
+       -rm -f autoconf.aux autoconf.cp autoconf.cps autoconf.dvi autoconf.fn \
+         autoconf.fns autoconf.ky autoconf.kys autoconf.ps \
+         autoconf.log autoconf.pg autoconf.toc autoconf.tp \
+         autoconf.tps autoconf.vr autoconf.vrs autoconf.op autoconf.tr \
+         autoconf.cv autoconf.cn standards.aux standards.cp \
+         standards.cps standards.dvi standards.fn standards.fns \
+         standards.ky standards.kys standards.ps standards.log \
+         standards.pg standards.toc standards.tp standards.tps \
+         standards.vr standards.vrs standards.op standards.tr \
+         standards.cv standards.cn
+
+clean-aminfo:
+
+distclean-aminfo:
+
+maintainer-clean-aminfo:
+       cd $(srcdir) && for i in $(INFO_DEPS); do \
+         rm -f $$i; \
+         if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
+           rm -f $$i-[0-9]*; \
+         fi; \
+       done
 
-standards.info: standards.texi make-stds.texi
-       $(MAKEINFO) -I$(srcdir) --no-split --output=$@ $(srcdir)/standards.texi
+install-pkgdataDATA: $(pkgdata_DATA)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+       @list='$(pkgdata_DATA)'; for p in $$list; do \
+         if test -f $(srcdir)/$$p; then \
+           echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
+           $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
+         else if test -f $$p; then \
+           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
+           $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
+         fi; fi; \
+       done
 
-dvi: autoconf.dvi @standards_dvi@
+uninstall-pkgdataDATA:
+       @$(NORMAL_UNINSTALL)
+       list='$(pkgdata_DATA)'; for p in $$list; do \
+         rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
+       done
 
-autoconf.dvi: autoconf.texi
-       $(TEXI2DVI) $(srcdir)/autoconf.texi
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+
+@SET_MAKE@
+
+all-recursive install-data-recursive install-exec-recursive \
+installdirs-recursive install-recursive uninstall-recursive  \
+check-recursive installcheck-recursive info-recursive dvi-recursive:
+       @set fnord $(MAKEFLAGS); amf=$$2; \
+       dot_seen=no; \
+       target=`echo $@ | sed s/-recursive//`; \
+       list='$(SUBDIRS)'; for subdir in $$list; do \
+         echo "Making $$target in $$subdir"; \
+         if test "$$subdir" = "."; then \
+           dot_seen=yes; \
+           local_target="$$target-am"; \
+         else \
+           local_target="$$target"; \
+         fi; \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+       done; \
+       if test "$$dot_seen" = "no"; then \
+         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+       fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+       @set fnord $(MAKEFLAGS); amf=$$2; \
+       dot_seen=no; \
+       rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+         rev="$$subdir $$rev"; \
+         test "$$subdir" = "." && dot_seen=yes; \
+       done; \
+       test "$$dot_seen" = "no" && rev=". $$rev"; \
+       target=`echo $@ | sed s/-recursive//`; \
+       for subdir in $$rev; do \
+         echo "Making $$target in $$subdir"; \
+         if test "$$subdir" = "."; then \
+           local_target="$$target-am"; \
+         else \
+           local_target="$$target"; \
+         fi; \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+       done && test -z "$$fail"
+tags-recursive:
+       list='$(SUBDIRS)'; for subdir in $$list; do \
+         test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+       done
 
-standards.dvi: standards.texi make-stds.texi
-       $(TEXI2DVI) $(srcdir)/standards.texi
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP)
+       list='$(SOURCES) $(HEADERS)'; \
+       unique=`for i in $$list; do echo $$i; done | \
+         awk '    { files[$$0] = 1; } \
+              END { for (i in files) print i; }'`; \
+       here=`pwd` && cd $(srcdir) \
+         && mkid -f$$here/ID $$unique $(LISP)
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
+       tags=; \
+       here=`pwd`; \
+       list='$(SUBDIRS)'; for subdir in $$list; do \
+   if test "$$subdir" = .; then :; else \
+           test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+   fi; \
+       done; \
+       list='$(SOURCES) $(HEADERS)'; \
+       unique=`for i in $$list; do echo $$i; done | \
+         awk '    { files[$$0] = 1; } \
+              END { for (i in files) print i; }'`; \
+       test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+         || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+       -rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+
+# This target untars the dist file and tries a VPATH configuration.  Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+       -rm -rf $(distdir)
+       GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
+       mkdir $(distdir)/=build
+       mkdir $(distdir)/=inst
+       dc_install_base=`cd $(distdir)/=inst && pwd`; \
+       cd $(distdir)/=build \
+         && ../configure --srcdir=.. --prefix=$$dc_install_base \
+         && $(MAKE) $(AM_MAKEFLAGS) \
+         && $(MAKE) $(AM_MAKEFLAGS) dvi \
+         && $(MAKE) $(AM_MAKEFLAGS) check \
+         && $(MAKE) $(AM_MAKEFLAGS) install \
+         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+         && $(MAKE) $(AM_MAKEFLAGS) dist
+       -rm -rf $(distdir)
+       @banner="$(distdir).tar.gz is ready for distribution"; \
+       dashes=`echo "$$banner" | sed s/./=/g`; \
+       echo "$$dashes"; \
+       echo "$$banner"; \
+       echo "$$dashes"
+dist: distdir
+       -chmod -R a+r $(distdir)
+       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
+       -rm -rf $(distdir)
+dist-all: distdir
+       -chmod -R a+r $(distdir)
+       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
+       -rm -rf $(distdir)
+distdir: $(DISTFILES)
+       @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
+         echo "NEWS not updated; not releasing" 1>&2; \
+         exit 1; \
+       fi
+       -rm -rf $(distdir)
+       mkdir $(distdir)
+       -chmod 777 $(distdir)
+       here=`cd $(top_builddir) && pwd`; \
+       top_distdir=`cd $(distdir) && pwd`; \
+       distdir=`cd $(distdir) && pwd`; \
+       cd $(top_srcdir) \
+         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pr $$/$$file $(distdir)/$$file; \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+       for subdir in $(SUBDIRS); do \
+         if test "$$subdir" = .; then :; else \
+           test -d $(distdir)/$$subdir \
+           || mkdir $(distdir)/$$subdir \
+           || exit 1; \
+           chmod 777 $(distdir)/$$subdir; \
+           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
+             || exit 1; \
+         fi; \
+       done
+       $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
+info-am: $(INFO_DEPS)
+info: info-recursive
+dvi-am: $(DVIS)
+dvi: dvi-recursive
+check-am: all-am
+check: check-recursive
+installcheck-am:
+installcheck: installcheck-recursive
+install-exec-am: install-binSCRIPTS
+install-exec: install-exec-recursive
+
+install-data-am: install-info-am install-pkgdataDATA
+       @$(NORMAL_INSTALL)
+       $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+install-data: install-data-recursive
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-recursive
+uninstall-am: uninstall-binSCRIPTS uninstall-info uninstall-pkgdataDATA
+uninstall: uninstall-recursive
+all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
+all-redirect: all-recursive
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs: installdirs-recursive
+installdirs-am:
+       $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
+               $(DESTDIR)$(pkgdatadir)
 
-html: autoconf_1.html standards_1.html
 
-autoconf_1.html: autoconf.texi
-       $(TEXI2HTML) -split_chapter $(srcdir)/autoconf.texi
+mostlyclean-generic:
 
-standards_1.html: standards.texi
-       $(TEXI2HTML) -split_chapter $(srcdir)/standards.texi
+clean-generic:
 
-check: all
-       rootme=`pwd`; srcrootme=`cd $(srcdir); pwd`; \
-       test -r install-sh || cp $(srcdir)/install-sh .; \
-       cd testsuite && ${MAKE} $@ AUTOCONF=$$rootme/autoconf \
-       AUTOCONFFLAGS="-m $$srcrootme"
+distclean-generic:
+       -rm -f Makefile $(CONFIG_CLEAN_FILES)
+       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
 
-installcheck: all install
-       cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-vti mostlyclean-aminfo mostlyclean-tags \
+               mostlyclean-generic
 
-installdirs:
-       $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
+mostlyclean: mostlyclean-recursive
 
-install: all $(M4FILES) acconfig.h installdirs install-info
-       for p in $(ASCRIPTS); do \
-         $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
-       done
-       for i in $(M4FROZEN); do \
-         test -f $$i && $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
-       done
-       for i in $(M4FILES) acconfig.h; do \
-         $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
-       done
-       -if test -f autoscan; then \
-       $(INSTALL_SCRIPT) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
-       for i in acfunctions acheaders acidentifiers acprograms \
-         acmakevars; do \
-       $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
-       done; \
-       else :; fi
+clean-am:  clean-vti clean-aminfo clean-tags clean-generic \
+               mostlyclean-am
 
-install-strip:
-       $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
+clean: clean-recursive
 
-# Don't cd, to avoid breaking install-sh references.
-install-info: info installdirs
-       if test -f autoconf.info; then \
-         for i in *.info*; do \
-           $(INSTALL_DATA) $$i $(infodir)/$$i; \
-         done; \
-       else \
-         for i in $(srcdir)/*.info*; do \
-           $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
-         done; \
-       fi
+distclean-am:  distclean-vti distclean-aminfo distclean-tags \
+               distclean-generic clean-am
 
-uninstall:
-       for p in $(SCRIPTS); do \
-         rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
-       done
-       rm -fr $(acdatadir)
-       cd $(infodir) && rm -f autoconf.info*
-       if test -f standards.info || test -f $(srcdir)/standards.info; \
-       then cd $(infodir) && rm -f standards.info*; fi
-
-${srcdir}/configure: configure.in $(M4FILES)
-       cd $(srcdir) && \
-       rm -f configure configure.tmp && \
-       M4=$(M4) AC_MACRODIR=. AWK=$(AWK) \
-         $(SHELL) ./autoconf.sh
-
-Makefile: Makefile.in config.status
-       $(SHELL) ./config.status
-config.status: configure
-       $(SHELL) ./config.status --recheck
+distclean: distclean-recursive
+       -rm -f config.status
 
-maintainer-clean::
+maintainer-clean-am:  maintainer-clean-vti maintainer-clean-aminfo \
+               maintainer-clean-tags maintainer-clean-generic \
+               distclean-am
        @echo "This command is intended for maintainers to use;"
-       @echo "rebuilding the deleted files requires makeinfo."
-       rm -f TAGS *.html* *.info* INSTALL
-
-clean mostlyclean distclean maintainer-clean::
-       for dir in $(SUBDIRS); do \
-         echo making $@ in $$dir ; \
-         (cd $$dir && $(MAKE) $@) ; \
+       @echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-recursive
+       -rm -f config.status
+
+.PHONY: uninstall-binSCRIPTS install-binSCRIPTS mostlyclean-vti \
+distclean-vti clean-vti maintainer-clean-vti install-info-am \
+uninstall-info mostlyclean-aminfo distclean-aminfo clean-aminfo \
+maintainer-clean-aminfo uninstall-pkgdataDATA install-pkgdataDATA \
+install-data-recursive uninstall-data-recursive install-exec-recursive \
+uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+all-recursive check-recursive installcheck-recursive info-recursive \
+dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+distclean-tags clean-tags maintainer-clean-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-am \
+installdirs mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+# INSTALL is a special case.  Automake seems to have a single name space
+# for both targets and variables.  If we just use INSTALL, then the var
+# $(INSTALL) is not defined, and the install target fails.
+
+INSTALL.txt: install.texi
+       $(MAKEINFO) -I$(srcdir) $< --no-headers --no-validate --output=$@
+
+install-data-hook: INSTALL.txt
+       @$(NORMAL_INSTALL)
+       @list='INSTALL'; for p in $$list; do \
+         if test -f "$$p.txt"; then d= ; else d="$(srcdir)/"; fi; \
+         f="`echo $$p | sed -e 's|^.*/||'`"; \
+         echo " $(INSTALL_DATA) $$d$$p.txt $(DESTDIR)$(pkgdatadir)/$$f"; \
+         $(INSTALL_DATA) $$d$$p.txt $(DESTDIR)$(pkgdatadir)/$$f; \
        done
 
-clean mostlyclean distclean maintainer-clean::
-       rm -f $(SCRIPTS) *.tmp
-       rm -f $(M4FROZEN)
-       rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
-       rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
-       rm -f *.ev *.evs *.ov *.ovs *.cv *.cvs *.ma *.mas
-
-distclean maintainer-clean::
-       rm -f Makefile config.status config.cache config.log
-
-TAGS:
-       etags ${srcdir}/*.m4 ${srcdir}/*.sh ${srcdir}/[a-z]*.in ${srcdir}/*.texi
-
-# Don't depend on DISTFILES because there's no rule for "standards.info*".
-dist: $(DISTDEP)
-       distname=`sed -e '/define(AC_ACVERSION,/!d' \
-                     -e 's/[^0-9.]*\([0-9.]*\).*/autoconf-\1/' \
-                     -e q ${srcdir}/acgeneral.m4`; \
-       rm -fr $$distname; \
-       mkdir $$distname $$distname/testsuite $$distname/testsuite/config \
-       $$distname/testsuite/lib $$distname/testsuite/autoconf.g \
-       $$distname/testsuite/autoconf.s; \
-       for file in $(DISTFILES); do \
-         if test -f $$file; then \
-           ln $$file $$distname/$$file \
-           || { echo copying $$file instead; \
-                cp -p $$file $$distname/$$file; } ; \
-         else for file in `CDPATH=:; cd $(srcdir) && echo $$file`; do \
-           ln $(srcdir)/$$file $$distname/$$file \
-           || { echo copying $$file instead; \
-                cp -p $(srcdir)/$$file $$distname/$$file; } ; \
-         done; fi; \
-       done; \
-       chmod -R a+rX $$distname; \
-       tar -chz -f $$distname.tar.gz $$distname; \
-       rm -fr $$distname
+.sh:
+       rm -f $@ $@.tmp
+       $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+
+.pl:
+       rm -f $@ $@.tmp
+       $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+
+.m4.m4f:
+       @case `$(M4) --help </dev/null 2>&1` in \
+       *reload-state*) echo freezing $*.m4; \
+         $(M4) -F $*.m4f -I${srcdir} ${srcdir}/$*.m4 ;; \
+       *traditional*) ;; \
+       *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
+       esac
+
+autoconf.m4f: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 acversion.m4
+autoheader.m4f: autoheader.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 acversion.m4
+
+# The documentation
+
+html: autoconf_1.html standards_1.html
+
+autoconf_1.html: autoconf.texi install.texi
+       $(TEXI2HTML) -split_chapter $(srcdir)/autoconf.texi
+
+standards_1.html: standards.texi make-stds.texi
+       $(TEXI2HTML) -split_chapter $(srcdir)/standards.texi
+
+# 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/NEWS b/NEWS
index 3f2ec858f52127c55e0c7081029bbd3dd2230d18..c6d6b2705461a513c4d15e96d4fa089a45cab73d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,7 @@
-Major changes in release 2.15:
+* Major changes in release 2.14.1                      -*- outline -*-
+
+** Use of Automake
+All the standard GNU Makefile targets are supported.
 
 * config.status
   - much faster on most architectures
index 94ed89a1b9640d4d628d8b2e1fa1dc64aab90c7a..99f3ad047c9809492dbfb3afc0b6e68c3765aaee 100644 (file)
@@ -52,7 +52,7 @@ dnl
 divert(-1)dnl Throw away output until AC_INIT is called.
 changequote([, ])
 
-define(AC_ACVERSION, 2.14.1)
+include(acversion.m4)
 
 dnl Some old m4's don't support m4exit.  But they provide
 dnl equivalent functionality by core dumping because of the
diff --git a/aclocal.m4 b/aclocal.m4
new file mode 100644 (file)
index 0000000..9f8add8
--- /dev/null
@@ -0,0 +1,104 @@
+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.
+
+# Do all the work for Automake.  This macro actually does too much --
+# some checks are only needed if your package does certain things.
+# But this isn't really a big deal.
+
+# serial 1
+
+dnl Usage:
+dnl AM_INIT_AUTOMAKE(package,version, [no-define])
+
+AC_DEFUN(AM_INIT_AUTOMAKE,
+[AC_REQUIRE([AC_PROG_INSTALL])
+PACKAGE=[$1]
+AC_SUBST(PACKAGE)
+VERSION=[$2]
+AC_SUBST(VERSION)
+dnl test to see if srcdir already configured
+if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
+  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+fi
+ifelse([$3],,
+AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
+AC_REQUIRE([AM_SANITY_CHECK])
+AC_REQUIRE([AC_ARG_PROGRAM])
+dnl FIXME This is truly gross.
+missing_dir=`cd $ac_aux_dir && pwd`
+AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
+AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
+AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
+AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
+AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
+AC_REQUIRE([AC_PROG_MAKE_SET])])
+
+#
+# Check to make sure that the build environment is sane.
+#
+
+AC_DEFUN(AM_SANITY_CHECK,
+[AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftestfile
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+   if test "[$]*" = "X"; then
+      # -L didn't work.
+      set X `ls -t $srcdir/configure conftestfile`
+   fi
+   if test "[$]*" != "X $srcdir/configure conftestfile" \
+      && test "[$]*" != "X conftestfile $srcdir/configure"; then
+
+      # If neither matched, then we have a broken ls.  This can happen
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
+      # broken ls alias from the environment.  This has actually
+      # happened.  Such a system could not be considered "sane".
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
+alias in your environment])
+   fi
+
+   test "[$]2" = conftestfile
+   )
+then
+   # Ok.
+   :
+else
+   AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+rm -f conftest*
+AC_MSG_RESULT(yes)])
+
+dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
+dnl The program must properly implement --version.
+AC_DEFUN(AM_MISSING_PROG,
+[AC_MSG_CHECKING(for working $2)
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf.  Sigh.
+if ($2 --version) < /dev/null > /dev/null 2>&1; then
+   $1=$2
+   AC_MSG_RESULT(found)
+else
+   $1="$3/missing $2"
+   AC_MSG_RESULT(missing)
+fi
+AC_SUBST($1)])
+
index 1401d9c57a5732e650e4abf8841b2cf0e7cfd3be..a1a12a5e988c391b9e8a93eff164d7603226e80d 100644 (file)
@@ -782,6 +782,8 @@ if test $ac_cv_prog_lex_yytext_pointer = yes; then
 fi
 ])dnl AC_DECL_YYTEXT
 
+dnl AC_PROG_INSTALL
+dnl ---------------
 AC_DEFUN(AC_PROG_INSTALL,
 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
 # Find a good install program.  We prefer a C program (faster),
@@ -852,7 +854,8 @@ AC_SUBST(INSTALL_SCRIPT)dnl
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 AC_SUBST(INSTALL_DATA)dnl
-])
+])dnl AC_PROG_INSTALL
+
 
 AC_DEFUN(AC_PROG_LN_S,
 [AC_MSG_CHECKING(whether ln -s works)
@@ -2235,6 +2238,9 @@ if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
 fi
 ])dnl AC_C_CHAR_UNSIGNED
 
+
+dnl AC_C_LONG_DOUBLE
+dnl ----------------
 AC_DEFUN(AC_C_LONG_DOUBLE,
 [AC_CACHE_CHECK(for long double, ac_cv_c_long_double,
 [if test "$GCC" = yes; then
@@ -2251,7 +2257,8 @@ if test $ac_cv_c_long_double = yes; then
   AC_DEFINE(HAVE_LONG_DOUBLE, 1,
             [Define if the `long double' type works.])
 fi
-])
+])dnl AC_C_LONG_DOUBLE
+
 
 AC_DEFUN(AC_INT_16_BITS,
 [AC_HASBEEN([$0], [; instead use AC_CHECK_SIZEOF(int)])])
@@ -2259,6 +2266,9 @@ AC_DEFUN(AC_INT_16_BITS,
 AC_DEFUN(AC_LONG_64_BITS,
 [AC_HASBEEN([$0], [; instead use AC_CHECK_SIZEOF(long)])])
 
+
+dnl AC_C_BIGENDIAN
+dnl --------------
 AC_DEFUN(AC_C_BIGENDIAN,
 [AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
 [ac_cv_c_bigendian=unknown
@@ -2290,7 +2300,9 @@ if test $ac_cv_c_bigendian = yes; then
             [Define if your processor stores words with the most significant
              byte first (like Motorola and SPARC, unlike Intel and VAX).])
 fi
-])
+])dnl AC_C_BIGENDIAN
+
+
 
 dnl AC_C_INLINE
 dnl -----------
diff --git a/acversion.m4.in b/acversion.m4.in
new file mode 100644 (file)
index 0000000..c2ed2e4
--- /dev/null
@@ -0,0 +1,5 @@
+dnl This file is part of Autoconf.                       -*- Autoconf -*-
+dnl Version of Autoconf.
+dnl Copyright (C) 1999 Free Software Foundation, Inc.
+
+define(AC_ACVERSION, @VERSION@)
index 9c87fbd37ebe3b03fa953ed78404bf0fd2e0c934..75fd6185eb2e540f570c1b299034281143e98851 100644 (file)
@@ -6,9 +6,7 @@
 @c @setchapternewpage odd
 @c %**end of header
 
-@set EDITION 2.14.1
-@set VERSION 2.14.1
-@set UPDATED October 1999
+@include version.texi
 
 @iftex
 @finalout
index 524bb0f66b108614a94f924d0f2fce7a6f529f72..e18aac38acf9a1353f5f29082b636d320c8664d8 100755 (executable)
--- a/configure
+++ b/configure
@@ -521,7 +521,127 @@ else
 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:556: 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'
 
+echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
+echo "configure:609: checking whether build environment is sane" >&5
+# Just in case
+sleep 1
+echo timestamp > conftestfile
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+   if test "$*" = "X"; then
+      # -L didn't work.
+      set X `ls -t $srcdir/configure conftestfile`
+   fi
+   if test "$*" != "X $srcdir/configure conftestfile" \
+      && test "$*" != "X conftestfile $srcdir/configure"; then
+
+      # If neither matched, then we have a broken ls.  This can happen
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
+      # broken ls alias from the environment.  This has actually
+      # happened.  Such a system could not be considered "sane".
+      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
+alias in your environment" 1>&2; exit 1; }
+   fi
+
+   test "$2" = conftestfile
+   )
+then
+   # Ok.
+   :
+else
+   { echo "configure: error: newly created file is older than distributed files!
+Check your system clock" 1>&2; exit 1; }
+fi
+rm -f conftest*
+echo "$ac_t""yes" 1>&6
 if test "$program_transform_name" = s,x,x,; then
   program_transform_name=
 else
@@ -541,13 +661,125 @@ test "$program_suffix" != NONE &&
 # sed with no file args requires a program.
 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
 
+echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
+echo "configure:666: 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
+
+
+PACKAGE=autoconf
+
+VERSION=2.14.1
+
+if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
+  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
+fi
+cat >> confdefs.h <<EOF
+#define PACKAGE "$PACKAGE"
+EOF
+
+cat >> confdefs.h <<EOF
+#define VERSION "$VERSION"
+EOF
+
+
+
+missing_dir=`cd $ac_aux_dir && pwd`
+echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
+echo "configure:712: checking for working aclocal" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf.  Sigh.
+if (aclocal --version) < /dev/null > /dev/null 2>&1; then
+   ACLOCAL=aclocal
+   echo "$ac_t""found" 1>&6
+else
+   ACLOCAL="$missing_dir/missing aclocal"
+   echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
+echo "configure:725: checking for working autoconf" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf.  Sigh.
+if (autoconf --version) < /dev/null > /dev/null 2>&1; then
+   AUTOCONF=autoconf
+   echo "$ac_t""found" 1>&6
+else
+   AUTOCONF="$missing_dir/missing autoconf"
+   echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working automake""... $ac_c" 1>&6
+echo "configure:738: checking for working automake" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf.  Sigh.
+if (automake --version) < /dev/null > /dev/null 2>&1; then
+   AUTOMAKE=automake
+   echo "$ac_t""found" 1>&6
+else
+   AUTOMAKE="$missing_dir/missing automake"
+   echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
+echo "configure:751: checking for working autoheader" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf.  Sigh.
+if (autoheader --version) < /dev/null > /dev/null 2>&1; then
+   AUTOHEADER=autoheader
+   echo "$ac_t""found" 1>&6
+else
+   AUTOHEADER="$missing_dir/missing autoheader"
+   echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
+echo "configure:764: checking for working makeinfo" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf.  Sigh.
+if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
+   MAKEINFO=makeinfo
+   echo "$ac_t""found" 1>&6
+else
+   MAKEINFO="$missing_dir/missing makeinfo"
+   echo "$ac_t""missing" 1>&6
+fi
+
+
 
 for ac_prog in gm4 gnum4 m4
 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:551: checking for $ac_word" >&5
+echo "configure:783: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -584,7 +816,7 @@ done
 test -n "$M4" || M4="m4"
 
 echo $ac_n "checking whether we are using GNU m4""... $ac_c" 1>&6
-echo "configure:588: checking whether we are using GNU m4" >&5
+echo "configure:820: checking whether we are using GNU m4" >&5
 if eval "test \"`echo '$''{'acac_cv_gnu_m4'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -605,7 +837,7 @@ 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:609: checking for $ac_word" >&5
+echo "configure:841: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -638,7 +870,7 @@ done
 # Extract the first word of "perl", so it can be a program name with args.
 set dummy perl; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:642: checking for $ac_word" >&5
+echo "configure:874: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -672,30 +904,11 @@ else
 fi
 
 if test "$PERL" != no; then
-  SCRIPTS=autoscan
+  PERLSCRIPTS=autoscan
 else
   echo "configure: warning: autoscan will not be built since perl is not found" 1>&2
 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:
@@ -708,7 +921,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
 # 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:712: checking for a BSD compatible install" >&5
+echo "configure:925: 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
@@ -763,7 +976,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 # Work with the GNU or Cygnus source tree layout.
 if test -f $srcdir/standards.texi; then
-  standards_info=standards.info standards_dvi=standards.dvi
+  standards_texi=standards.texi
 fi
 
 trap '' 1 2 15
@@ -879,7 +1092,7 @@ done
 ac_given_srcdir=$srcdir
 ac_given_INSTALL="$INSTALL"
 
-trap 'rm -fr `echo "Makefile testsuite/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "acversion.m4 Makefile testsuite/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 EOF
 cat >> $CONFIG_STATUS <<EOF
 
@@ -911,15 +1124,22 @@ s%@includedir@%$includedir%g
 s%@oldincludedir@%$oldincludedir%g
 s%@infodir@%$infodir%g
 s%@mandir@%$mandir%g
-s%@M4@%$M4%g
-s%@AWK@%$AWK%g
-s%@PERL@%$PERL%g
-s%@SCRIPTS@%$SCRIPTS%g
 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
 s%@INSTALL_DATA@%$INSTALL_DATA%g
-s%@standards_info@%$standards_info%g
-s%@standards_dvi@%$standards_dvi%g
+s%@PACKAGE@%$PACKAGE%g
+s%@VERSION@%$VERSION%g
+s%@ACLOCAL@%$ACLOCAL%g
+s%@AUTOCONF@%$AUTOCONF%g
+s%@AUTOMAKE@%$AUTOMAKE%g
+s%@AUTOHEADER@%$AUTOHEADER%g
+s%@MAKEINFO@%$MAKEINFO%g
+s%@SET_MAKE@%$SET_MAKE%g
+s%@M4@%$M4%g
+s%@AWK@%$AWK%g
+s%@PERL@%$PERL%g
+s%@PERLSCRIPTS@%$PERLSCRIPTS%g
+s%@standards_texi@%$standards_texi%g
 
 CEOF
 EOF
@@ -961,7 +1181,7 @@ EOF
 
 cat >> $CONFIG_STATUS <<EOF
 
-CONFIG_FILES=\${CONFIG_FILES-"Makefile testsuite/Makefile"}
+CONFIG_FILES=\${CONFIG_FILES-"acversion.m4 Makefile testsuite/Makefile"}
 EOF
 cat >> $CONFIG_STATUS <<\EOF
 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
index afb57c6c512ab0eb1b4008330c6b45fbf33775db..3115a0c719a1350a06b85d897e95a14e15fc1e7e 100644 (file)
@@ -1,7 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(acgeneral.m4)
-
-AC_ARG_PROGRAM
+AM_INIT_AUTOMAKE(autoconf, 2.14.1)
 
 dnl We use a path for GNU m4 so even if users have another m4 first in
 dnl their path, the installer can configure with a path that has GNU m4
@@ -23,9 +22,9 @@ AC_PROG_AWK
 dnl We use a path for perl so the #! line in autoscan will work.
 AC_PATH_PROG(PERL, perl, no)
 AC_SUBST(PERL)dnl
-AC_SUBST(SCRIPTS)dnl
+AC_SUBST(PERLSCRIPTS)dnl
 if test "$PERL" != no; then
-  SCRIPTS=autoscan
+  PERLSCRIPTS=autoscan
 else
   AC_MSG_WARN(autoscan will not be built since perl is not found)
 fi
@@ -34,9 +33,8 @@ AC_PROG_INSTALL
 
 # Work with the GNU or Cygnus source tree layout.
 if test -f $srcdir/standards.texi; then
-  standards_info=standards.info standards_dvi=standards.dvi
+  standards_texi=standards.texi
 fi
-AC_SUBST(standards_info)dnl
-AC_SUBST(standards_dvi)dnl
+AC_SUBST(standards_texi)dnl
 
-AC_OUTPUT(Makefile testsuite/Makefile)
+AC_OUTPUT(acversion.m4 Makefile testsuite/Makefile)
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644 (file)
index 0000000..7f0f59c
--- /dev/null
@@ -0,0 +1,100 @@
+## Process this file with automake to create Makefile.in.
+
+## Makefile for Autoconf.
+## Copyright (C) 1999 Free Software Foundation, Inc.
+
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2, or (at your option)
+## any later version.
+
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.
+
+AUTOMAKE_OPTIONS = check-news
+
+SUBDIRS = testsuite
+
+MAKEINFO = makeinfo --no-split
+TEXI2HTML = texi2html
+SUFFIXES = .m4 .m4f .pl .sh
+
+bin_SCRIPTS = autoconf autoheader autoreconf autoupdate ifnames @PERLSCRIPTS@
+EXTRA_SCRIPTS = autoscan
+
+pkgdata_DATA = acfunctions acheaders acidentifiers acmakevars \
+               acprograms acconfig.h autoconf.m4f autoheader.m4f \
+               acgeneral.m4 acoldnames.m4 acspecific.m4 autoconf.m4 \
+               autoheader.m4 acversion.m4
+
+info_TEXINFOS = autoconf.texi standards.texi
+autoconf_TEXINFOS = install.texi
+standards_TEXINFOS = make-stds.texi
+
+OLDCHANGELOGS = ChangeLog.0 ChangeLog.1
+EXTRA_DIST = $(OLDCHANGELOGS) \
+            acfunctions acheaders acidentifiers acmakevars \
+             acprograms acconfig.h acgeneral.m4 acoldnames.m4 \
+             acspecific.m4 autoconf.m4 autoheader.m4 acversion.m4.in \
+            autoconf.sh autoheader.sh autoreconf.sh autoupdate.sh \
+            ifnames.sh autoscan.pl INSTALL.txt
+
+# INSTALL is a special case.  Automake seems to have a single name space
+# for both targets and variables.  If we just use INSTALL, then the var
+# $(INSTALL) is not defined, and the install target fails.
+
+INSTALL.txt: install.texi
+       $(MAKEINFO) -I$(srcdir) $< --no-headers --no-validate --output=$@
+
+install-data-hook: INSTALL.txt
+       @$(NORMAL_INSTALL)
+       @list='INSTALL'; for p in $$list; do \
+         if test -f "$$p.txt"; then d= ; else d="$(srcdir)/"; fi; \
+         f="`echo $$p | sed -e 's|^.*/||'`"; \
+         echo " $(INSTALL_DATA) $$d$$p.txt $(DESTDIR)$(pkgdatadir)/$$f"; \
+         $(INSTALL_DATA) $$d$$p.txt $(DESTDIR)$(pkgdatadir)/$$f; \
+       done
+
+# The scripts.
+
+editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e \
+       's,@''M4''@,$(M4),g'  -e 's,@''AWK''@,$(AWK),g' \
+       -e 's,@''SHELL''@,$(SHELL),g'
+editpl = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''PERL''@,$(PERL),g'
+
+.sh:
+       rm -f $@ $@.tmp
+       $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+
+.pl:
+       rm -f $@ $@.tmp
+       $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+
+.m4.m4f:
+       @case `$(M4) --help </dev/null 2>&1` in \
+       *reload-state*) echo freezing $*.m4; \
+         $(M4) -F $*.m4f -I${srcdir} ${srcdir}/$*.m4 ;; \
+       *traditional*) ;; \
+       *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
+       esac
+
+autoconf.m4f: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 acversion.m4
+autoheader.m4f: autoheader.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 acversion.m4
+
+
+# The documentation
+
+html: autoconf_1.html standards_1.html
+
+autoconf_1.html: autoconf.texi install.texi
+       $(TEXI2HTML) -split_chapter $(srcdir)/autoconf.texi
+
+standards_1.html: standards.texi make-stds.texi
+       $(TEXI2HTML) -split_chapter $(srcdir)/standards.texi
index edec20b3c5a49b340bf7237646a9e4167c40e1ac..a713fb0ae9ed6616ca84e2595610de73bfc6e636 100644 (file)
-# Makefile for Autoconf.
-# Copyright (C) 1992, 1993, 1994, 1998, 1999 Free Software Foundation, Inc.
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
 # This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
 
-#### Start of system configuration section. ####
+SHELL = @SHELL@
 
 srcdir = @srcdir@
+top_srcdir = @top_srcdir@
 VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = .
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
 
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
-MAKEINFO = makeinfo
-TEXI2DVI = texi2dvi
-TEXI2HTML = texi2html
-M4 = @M4@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
 AWK = @AWK@
+M4 = @M4@
+PACKAGE = @PACKAGE@
 PERL = @PERL@
+PERLSCRIPTS = @PERLSCRIPTS@
+VERSION = @VERSION@
+standards_texi = @standards_texi@
 
-# Programs that are ALWAYS installed (and are created in the build dir).
-ASCRIPTS = autoconf autoheader autoreconf autoupdate ifnames
+AUTOMAKE_OPTIONS = check-news
 
-# M4 input that is frozen.
-M4FROZEN = autoconf.m4f autoheader.m4f
+SUBDIRS = testsuite
 
-# All programs, including those only installed if you have perl.
-SCRIPTS = $(ASCRIPTS) @SCRIPTS@
+MAKEINFO = makeinfo --no-split
+TEXI2HTML = texi2html
+SUFFIXES = .m4 .m4f .pl .sh
 
-transform=@program_transform_name@
+bin_SCRIPTS = autoconf autoheader autoreconf autoupdate ifnames @PERLSCRIPTS@
+EXTRA_SCRIPTS = autoscan
 
-prefix = @prefix@
-exec_prefix = @exec_prefix@
+pkgdata_DATA = acfunctions acheaders acidentifiers acmakevars                acprograms acconfig.h autoconf.m4f autoheader.m4f                acgeneral.m4 acoldnames.m4 acspecific.m4 autoconf.m4                autoheader.m4 acversion.m4
 
-# Directory in which to install scripts.
-bindir = @bindir@
 
-# Directory in which to install library files.
-datadir = @datadir@
-acdatadir = $(datadir)/autoconf
+info_TEXINFOS = autoconf.texi standards.texi
+autoconf_TEXINFOS = install.texi
+standards_TEXINFOS = make-stds.texi
 
-# Directory in which to install documentation info files.
-infodir = @infodir@
+OLDCHANGELOGS = ChangeLog.0 ChangeLog.1
+EXTRA_DIST = $(OLDCHANGELOGS)       acfunctions acheaders acidentifiers acmakevars              acprograms acconfig.h acgeneral.m4 acoldnames.m4              acspecific.m4 autoconf.m4 autoheader.m4 acversion.m4.in       autoconf.sh autoheader.sh autoreconf.sh autoupdate.sh           ifnames.sh autoscan.pl INSTALL.txt
 
-#### End of system configuration section. ####
 
-SHELL = @SHELL@
+# The scripts.
 
-SUBDIRS = testsuite
+editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e    's,@''M4''@,$(M4),g'  -e 's,@''AWK''@,$(AWK),g'         -e 's,@''SHELL''@,$(SHELL),g'
 
-M4FILES = autoconf.m4 acgeneral.m4 acoldnames.m4 acspecific.m4 autoheader.m4
-
-# Files that can be generated, but should be up to date for a distribution.
-DISTDEP = info Makefile
-# Files to distribute.
-DISTFILES = AUTHORS THANKS COPYING ChangeLog ChangeLog.1 INSTALL \
-       Makefile.in NEWS README TODO $(M4FILES) \
-       acconfig.h acfunctions acheaders acidentifiers \
-       acmakevars acprograms autoconf.info* \
-       autoconf.sh autoconf.texi install.texi \
-       autoheader.sh autoscan.pl autoreconf.sh autoupdate.sh ifnames.sh \
-       config.guess config.sub configure configure.in \
-       install-sh mkinstalldirs texinfo.tex \
-       testsuite/Makefile.in testsuite/config/*.exp \
-       testsuite/lib/*.exp testsuite/autoconf.[gs]/*.exp \
-       standards.texi make-stds.texi standards.info*
-
-editsh = sed -e 's,@''datadir''@,$(acdatadir),g' -e \
-       's,@''M4''@,$(M4),g'  -e 's,@''AWK''@,$(AWK),g' \
-       -e 's,@''SHELL''@,$(SHELL),g'
 editpl = sed -e 's,@''datadir''@,$(acdatadir),g' -e 's,@''PERL''@,$(PERL),g'
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_CLEAN_FILES =  acversion.m4
+SCRIPTS =  $(bin_SCRIPTS)
+
+TEXI2DVI = texi2dvi
+INFO_DEPS = autoconf.info standards.info
+DVIS = autoconf.dvi standards.dvi
+TEXINFOS = autoconf.texi standards.texi
+DATA =  $(pkgdata_DATA)
 
-all: ${SCRIPTS} ${M4FROZEN} info
+DIST_COMMON =  README $(autoconf_TEXINFOS) $(standards_TEXINFOS) AUTHORS \
+COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS THANKS TODO \
+aclocal.m4 acversion.m4.in config.guess config.sub configure \
+configure.in install-sh mdate-sh missing mkinstalldirs stamp-vti \
+texinfo.tex version.texi
 
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+all: all-redirect
 .SUFFIXES:
-.SUFFIXES: .sh .pl .m4 .m4f
+.SUFFIXES: .dvi .info .m4 .m4f .pl .ps .sh .texi .texinfo .txi
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+       cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
 
-.sh:
-       rm -f $@ $@.tmp
-       $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+       cd $(top_builddir) \
+         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
-.pl:
-       rm -f $@ $@.tmp
-       $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+$(ACLOCAL_M4):  configure.in 
+       cd $(srcdir) && $(ACLOCAL)
 
-.m4.m4f:
-       @case `$(M4) --help </dev/null 2>&1` in \
-       *reload-state*) echo freezing $*.m4; \
-         $(M4) -F $*.m4f -I${srcdir} ${srcdir}/$*.m4 ;; \
-       *traditional*) ;; \
-       *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
-       esac
+config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       $(SHELL) ./config.status --recheck
+$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+       cd $(srcdir) && $(AUTOCONF)
+acversion.m4: $(top_builddir)/config.status acversion.m4.in
+       cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+install-binSCRIPTS: $(bin_SCRIPTS)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(bindir)
+       @list='$(bin_SCRIPTS)'; for p in $$list; do \
+         if test -f $$p; then \
+           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
+           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
+         else if test -f $(srcdir)/$$p; then \
+           echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
+           $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
+         else :; fi; fi; \
+       done
 
-autoconf.m4f: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4
-autoheader.m4f: autoheader.m4 acgeneral.m4 acspecific.m4 acoldnames.m4
+uninstall-binSCRIPTS:
+       @$(NORMAL_UNINSTALL)
+       list='$(bin_SCRIPTS)'; for p in $$list; do \
+         rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
+       done
 
-info: autoconf.info @standards_info@ INSTALL
+$(srcdir)/version.texi: stamp-vti
+       @:
+
+$(srcdir)/stamp-vti: autoconf.texi $(top_srcdir)/configure.in
+       @echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/autoconf.texi`" > vti.tmp
+       @echo "@set EDITION $(VERSION)" >> vti.tmp
+       @echo "@set VERSION $(VERSION)" >> vti.tmp
+       @cmp -s vti.tmp $(srcdir)/version.texi \
+         || (echo "Updating $(srcdir)/version.texi"; \
+             cp vti.tmp $(srcdir)/version.texi)
+       -@rm -f vti.tmp
+       @cp $(srcdir)/version.texi $@
+
+mostlyclean-vti:
+       -rm -f vti.tmp
+
+clean-vti:
+
+distclean-vti:
+
+maintainer-clean-vti:
+       -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
+
+autoconf.info: autoconf.texi version.texi $(autoconf_TEXINFOS)
+autoconf.dvi: autoconf.texi version.texi $(autoconf_TEXINFOS)
+
+
+standards.info: standards.texi $(standards_TEXINFOS)
+standards.dvi: standards.texi $(standards_TEXINFOS)
+
+
+DVIPS = dvips
+
+.texi.info:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.texi.dvi:
+       TEXINPUTS=.:$$TEXINPUTS \
+         MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
+
+.texi:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.texinfo.info:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.texinfo:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.texinfo.dvi:
+       TEXINPUTS=.:$$TEXINPUTS \
+         MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
+
+.txi.info:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.txi.dvi:
+       TEXINPUTS=.:$$TEXINPUTS \
+         MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
+
+.txi:
+       @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
+       cd $(srcdir) \
+         && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+.dvi.ps:
+       $(DVIPS) $< -o $@
+
+install-info-am: $(INFO_DEPS)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(infodir)
+       @list='$(INFO_DEPS)'; \
+       for file in $$list; do \
+         d=$(srcdir); \
+         for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
+           if test -f $$d/$$ifile; then \
+             echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
+             $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
+           else : ; fi; \
+         done; \
+       done
+       @$(POST_INSTALL)
+       @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+         list='$(INFO_DEPS)'; \
+         for file in $$list; do \
+           echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+           install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+         done; \
+       else : ; fi
+
+uninstall-info:
+       $(PRE_UNINSTALL)
+       @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+         ii=yes; \
+       else ii=; fi; \
+       list='$(INFO_DEPS)'; \
+       for file in $$list; do \
+         test -z "$ii" \
+           || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
+       done
+       @$(NORMAL_UNINSTALL)
+       list='$(INFO_DEPS)'; \
+       for file in $$list; do \
+         (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
+       done
 
-# Use --no-split to avoid creating filenames > 14 chars.
-autoconf.info: autoconf.texi install.texi
-       $(MAKEINFO) -I$(srcdir) --no-split --output=$@ $(srcdir)/autoconf.texi
+dist-info: $(INFO_DEPS)
+       list='$(INFO_DEPS)'; \
+       for base in $$list; do \
+         d=$(srcdir); \
+         for file in `cd $$d && eval echo $$base*`; do \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file; \
+         done; \
+       done
 
-INSTALL: install.texi
-       $(MAKEINFO) -I$(srcdir) --output=$@ \
-       --no-headers --no-validate $(srcdir)/install.texi
+mostlyclean-aminfo:
+       -rm -f autoconf.aux autoconf.cp autoconf.cps autoconf.dvi autoconf.fn \
+         autoconf.fns autoconf.ky autoconf.kys autoconf.ps \
+         autoconf.log autoconf.pg autoconf.toc autoconf.tp \
+         autoconf.tps autoconf.vr autoconf.vrs autoconf.op autoconf.tr \
+         autoconf.cv autoconf.cn standards.aux standards.cp \
+         standards.cps standards.dvi standards.fn standards.fns \
+         standards.ky standards.kys standards.ps standards.log \
+         standards.pg standards.toc standards.tp standards.tps \
+         standards.vr standards.vrs standards.op standards.tr \
+         standards.cv standards.cn
+
+clean-aminfo:
+
+distclean-aminfo:
+
+maintainer-clean-aminfo:
+       cd $(srcdir) && for i in $(INFO_DEPS); do \
+         rm -f $$i; \
+         if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
+           rm -f $$i-[0-9]*; \
+         fi; \
+       done
 
-standards.info: standards.texi make-stds.texi
-       $(MAKEINFO) -I$(srcdir) --no-split --output=$@ $(srcdir)/standards.texi
+install-pkgdataDATA: $(pkgdata_DATA)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+       @list='$(pkgdata_DATA)'; for p in $$list; do \
+         if test -f $(srcdir)/$$p; then \
+           echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
+           $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
+         else if test -f $$p; then \
+           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p"; \
+           $(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
+         fi; fi; \
+       done
 
-dvi: autoconf.dvi @standards_dvi@
+uninstall-pkgdataDATA:
+       @$(NORMAL_UNINSTALL)
+       list='$(pkgdata_DATA)'; for p in $$list; do \
+         rm -f $(DESTDIR)$(pkgdatadir)/$$p; \
+       done
 
-autoconf.dvi: autoconf.texi
-       $(TEXI2DVI) $(srcdir)/autoconf.texi
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+#     (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+
+@SET_MAKE@
+
+all-recursive install-data-recursive install-exec-recursive \
+installdirs-recursive install-recursive uninstall-recursive  \
+check-recursive installcheck-recursive info-recursive dvi-recursive:
+       @set fnord $(MAKEFLAGS); amf=$$2; \
+       dot_seen=no; \
+       target=`echo $@ | sed s/-recursive//`; \
+       list='$(SUBDIRS)'; for subdir in $$list; do \
+         echo "Making $$target in $$subdir"; \
+         if test "$$subdir" = "."; then \
+           dot_seen=yes; \
+           local_target="$$target-am"; \
+         else \
+           local_target="$$target"; \
+         fi; \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+       done; \
+       if test "$$dot_seen" = "no"; then \
+         $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+       fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+       @set fnord $(MAKEFLAGS); amf=$$2; \
+       dot_seen=no; \
+       rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+         rev="$$subdir $$rev"; \
+         test "$$subdir" = "." && dot_seen=yes; \
+       done; \
+       test "$$dot_seen" = "no" && rev=". $$rev"; \
+       target=`echo $@ | sed s/-recursive//`; \
+       for subdir in $$rev; do \
+         echo "Making $$target in $$subdir"; \
+         if test "$$subdir" = "."; then \
+           local_target="$$target-am"; \
+         else \
+           local_target="$$target"; \
+         fi; \
+         (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+          || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+       done && test -z "$$fail"
+tags-recursive:
+       list='$(SUBDIRS)'; for subdir in $$list; do \
+         test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+       done
 
-standards.dvi: standards.texi make-stds.texi
-       $(TEXI2DVI) $(srcdir)/standards.texi
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP)
+       list='$(SOURCES) $(HEADERS)'; \
+       unique=`for i in $$list; do echo $$i; done | \
+         awk '    { files[$$0] = 1; } \
+              END { for (i in files) print i; }'`; \
+       here=`pwd` && cd $(srcdir) \
+         && mkid -f$$here/ID $$unique $(LISP)
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
+       tags=; \
+       here=`pwd`; \
+       list='$(SUBDIRS)'; for subdir in $$list; do \
+   if test "$$subdir" = .; then :; else \
+           test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+   fi; \
+       done; \
+       list='$(SOURCES) $(HEADERS)'; \
+       unique=`for i in $$list; do echo $$i; done | \
+         awk '    { files[$$0] = 1; } \
+              END { for (i in files) print i; }'`; \
+       test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
+         || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+       -rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+
+# This target untars the dist file and tries a VPATH configuration.  Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+       -rm -rf $(distdir)
+       GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
+       mkdir $(distdir)/=build
+       mkdir $(distdir)/=inst
+       dc_install_base=`cd $(distdir)/=inst && pwd`; \
+       cd $(distdir)/=build \
+         && ../configure --srcdir=.. --prefix=$$dc_install_base \
+         && $(MAKE) $(AM_MAKEFLAGS) \
+         && $(MAKE) $(AM_MAKEFLAGS) dvi \
+         && $(MAKE) $(AM_MAKEFLAGS) check \
+         && $(MAKE) $(AM_MAKEFLAGS) install \
+         && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+         && $(MAKE) $(AM_MAKEFLAGS) dist
+       -rm -rf $(distdir)
+       @banner="$(distdir).tar.gz is ready for distribution"; \
+       dashes=`echo "$$banner" | sed s/./=/g`; \
+       echo "$$dashes"; \
+       echo "$$banner"; \
+       echo "$$dashes"
+dist: distdir
+       -chmod -R a+r $(distdir)
+       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
+       -rm -rf $(distdir)
+dist-all: distdir
+       -chmod -R a+r $(distdir)
+       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
+       -rm -rf $(distdir)
+distdir: $(DISTFILES)
+       @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
+         echo "NEWS not updated; not releasing" 1>&2; \
+         exit 1; \
+       fi
+       -rm -rf $(distdir)
+       mkdir $(distdir)
+       -chmod 777 $(distdir)
+       here=`cd $(top_builddir) && pwd`; \
+       top_distdir=`cd $(distdir) && pwd`; \
+       distdir=`cd $(distdir) && pwd`; \
+       cd $(top_srcdir) \
+         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pr $$/$$file $(distdir)/$$file; \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+       for subdir in $(SUBDIRS); do \
+         if test "$$subdir" = .; then :; else \
+           test -d $(distdir)/$$subdir \
+           || mkdir $(distdir)/$$subdir \
+           || exit 1; \
+           chmod 777 $(distdir)/$$subdir; \
+           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
+             || exit 1; \
+         fi; \
+       done
+       $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
+info-am: $(INFO_DEPS)
+info: info-recursive
+dvi-am: $(DVIS)
+dvi: dvi-recursive
+check-am: all-am
+check: check-recursive
+installcheck-am:
+installcheck: installcheck-recursive
+install-exec-am: install-binSCRIPTS
+install-exec: install-exec-recursive
+
+install-data-am: install-info-am install-pkgdataDATA
+       @$(NORMAL_INSTALL)
+       $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+install-data: install-data-recursive
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-recursive
+uninstall-am: uninstall-binSCRIPTS uninstall-info uninstall-pkgdataDATA
+uninstall: uninstall-recursive
+all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
+all-redirect: all-recursive
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs: installdirs-recursive
+installdirs-am:
+       $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
+               $(DESTDIR)$(pkgdatadir)
 
-html: autoconf_1.html standards_1.html
 
-autoconf_1.html: autoconf.texi
-       $(TEXI2HTML) -split_chapter $(srcdir)/autoconf.texi
+mostlyclean-generic:
 
-standards_1.html: standards.texi
-       $(TEXI2HTML) -split_chapter $(srcdir)/standards.texi
+clean-generic:
 
-check: all
-       rootme=`pwd`; srcrootme=`cd $(srcdir); pwd`; \
-       test -r install-sh || cp $(srcdir)/install-sh .; \
-       cd testsuite && ${MAKE} $@ AUTOCONF=$$rootme/autoconf \
-       AUTOCONFFLAGS="-m $$srcrootme"
+distclean-generic:
+       -rm -f Makefile $(CONFIG_CLEAN_FILES)
+       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
 
-installcheck: all install
-       cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-vti mostlyclean-aminfo mostlyclean-tags \
+               mostlyclean-generic
 
-installdirs:
-       $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
+mostlyclean: mostlyclean-recursive
 
-install: all $(M4FILES) acconfig.h installdirs install-info
-       for p in $(ASCRIPTS); do \
-         $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
-       done
-       for i in $(M4FROZEN); do \
-         test -f $$i && $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
-       done
-       for i in $(M4FILES) acconfig.h; do \
-         $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
-       done
-       -if test -f autoscan; then \
-       $(INSTALL_SCRIPT) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
-       for i in acfunctions acheaders acidentifiers acprograms \
-         acmakevars; do \
-       $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
-       done; \
-       else :; fi
+clean-am:  clean-vti clean-aminfo clean-tags clean-generic \
+               mostlyclean-am
 
-install-strip:
-       $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
+clean: clean-recursive
 
-# Don't cd, to avoid breaking install-sh references.
-install-info: info installdirs
-       if test -f autoconf.info; then \
-         for i in *.info*; do \
-           $(INSTALL_DATA) $$i $(infodir)/$$i; \
-         done; \
-       else \
-         for i in $(srcdir)/*.info*; do \
-           $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
-         done; \
-       fi
+distclean-am:  distclean-vti distclean-aminfo distclean-tags \
+               distclean-generic clean-am
 
-uninstall:
-       for p in $(SCRIPTS); do \
-         rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
-       done
-       rm -fr $(acdatadir)
-       cd $(infodir) && rm -f autoconf.info*
-       if test -f standards.info || test -f $(srcdir)/standards.info; \
-       then cd $(infodir) && rm -f standards.info*; fi
-
-${srcdir}/configure: configure.in $(M4FILES)
-       cd $(srcdir) && \
-       rm -f configure configure.tmp && \
-       M4=$(M4) AC_MACRODIR=. AWK=$(AWK) \
-         $(SHELL) ./autoconf.sh
-
-Makefile: Makefile.in config.status
-       $(SHELL) ./config.status
-config.status: configure
-       $(SHELL) ./config.status --recheck
+distclean: distclean-recursive
+       -rm -f config.status
 
-maintainer-clean::
+maintainer-clean-am:  maintainer-clean-vti maintainer-clean-aminfo \
+               maintainer-clean-tags maintainer-clean-generic \
+               distclean-am
        @echo "This command is intended for maintainers to use;"
-       @echo "rebuilding the deleted files requires makeinfo."
-       rm -f TAGS *.html* *.info* INSTALL
-
-clean mostlyclean distclean maintainer-clean::
-       for dir in $(SUBDIRS); do \
-         echo making $@ in $$dir ; \
-         (cd $$dir && $(MAKE) $@) ; \
+       @echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-recursive
+       -rm -f config.status
+
+.PHONY: uninstall-binSCRIPTS install-binSCRIPTS mostlyclean-vti \
+distclean-vti clean-vti maintainer-clean-vti install-info-am \
+uninstall-info mostlyclean-aminfo distclean-aminfo clean-aminfo \
+maintainer-clean-aminfo uninstall-pkgdataDATA install-pkgdataDATA \
+install-data-recursive uninstall-data-recursive install-exec-recursive \
+uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+all-recursive check-recursive installcheck-recursive info-recursive \
+dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+distclean-tags clean-tags maintainer-clean-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-am \
+installdirs mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+# INSTALL is a special case.  Automake seems to have a single name space
+# for both targets and variables.  If we just use INSTALL, then the var
+# $(INSTALL) is not defined, and the install target fails.
+
+INSTALL.txt: install.texi
+       $(MAKEINFO) -I$(srcdir) $< --no-headers --no-validate --output=$@
+
+install-data-hook: INSTALL.txt
+       @$(NORMAL_INSTALL)
+       @list='INSTALL'; for p in $$list; do \
+         if test -f "$$p.txt"; then d= ; else d="$(srcdir)/"; fi; \
+         f="`echo $$p | sed -e 's|^.*/||'`"; \
+         echo " $(INSTALL_DATA) $$d$$p.txt $(DESTDIR)$(pkgdatadir)/$$f"; \
+         $(INSTALL_DATA) $$d$$p.txt $(DESTDIR)$(pkgdatadir)/$$f; \
        done
 
-clean mostlyclean distclean maintainer-clean::
-       rm -f $(SCRIPTS) *.tmp
-       rm -f $(M4FROZEN)
-       rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
-       rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
-       rm -f *.ev *.evs *.ov *.ovs *.cv *.cvs *.ma *.mas
-
-distclean maintainer-clean::
-       rm -f Makefile config.status config.cache config.log
-
-TAGS:
-       etags ${srcdir}/*.m4 ${srcdir}/*.sh ${srcdir}/[a-z]*.in ${srcdir}/*.texi
-
-# Don't depend on DISTFILES because there's no rule for "standards.info*".
-dist: $(DISTDEP)
-       distname=`sed -e '/define(AC_ACVERSION,/!d' \
-                     -e 's/[^0-9.]*\([0-9.]*\).*/autoconf-\1/' \
-                     -e q ${srcdir}/acgeneral.m4`; \
-       rm -fr $$distname; \
-       mkdir $$distname $$distname/testsuite $$distname/testsuite/config \
-       $$distname/testsuite/lib $$distname/testsuite/autoconf.g \
-       $$distname/testsuite/autoconf.s; \
-       for file in $(DISTFILES); do \
-         if test -f $$file; then \
-           ln $$file $$distname/$$file \
-           || { echo copying $$file instead; \
-                cp -p $$file $$distname/$$file; } ; \
-         else for file in `CDPATH=:; cd $(srcdir) && echo $$file`; do \
-           ln $(srcdir)/$$file $$distname/$$file \
-           || { echo copying $$file instead; \
-                cp -p $(srcdir)/$$file $$distname/$$file; } ; \
-         done; fi; \
-       done; \
-       chmod -R a+rX $$distname; \
-       tar -chz -f $$distname.tar.gz $$distname; \
-       rm -fr $$distname
+.sh:
+       rm -f $@ $@.tmp
+       $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+
+.pl:
+       rm -f $@ $@.tmp
+       $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
+
+.m4.m4f:
+       @case `$(M4) --help </dev/null 2>&1` in \
+       *reload-state*) echo freezing $*.m4; \
+         $(M4) -F $*.m4f -I${srcdir} ${srcdir}/$*.m4 ;; \
+       *traditional*) ;; \
+       *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \
+       esac
+
+autoconf.m4f: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 acversion.m4
+autoheader.m4f: autoheader.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 acversion.m4
+
+# The documentation
+
+html: autoconf_1.html standards_1.html
+
+autoconf_1.html: autoconf.texi install.texi
+       $(TEXI2HTML) -split_chapter $(srcdir)/autoconf.texi
+
+standards_1.html: standards.texi make-stds.texi
+       $(TEXI2HTML) -split_chapter $(srcdir)/standards.texi
+
+# 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:
index 9c87fbd37ebe3b03fa953ed78404bf0fd2e0c934..75fd6185eb2e540f570c1b299034281143e98851 100644 (file)
@@ -6,9 +6,7 @@
 @c @setchapternewpage odd
 @c %**end of header
 
-@set EDITION 2.14.1
-@set VERSION 2.14.1
-@set UPDATED October 1999
+@include version.texi
 
 @iftex
 @finalout
diff --git a/doc/mdate-sh b/doc/mdate-sh
new file mode 100644 (file)
index 0000000..37171f2
--- /dev/null
@@ -0,0 +1,92 @@
+#!/bin/sh
+# Get modification time of a file or directory and pretty-print it.
+# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# Prevent date giving response in another language.
+LANG=C
+export LANG
+LC_ALL=C
+export LC_ALL
+LC_TIME=C
+export LC_TIME
+
+# Get the extended ls output of the file or directory.
+# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
+if ls -L /dev/null 1>/dev/null 2>&1; then
+  set - x`ls -L -l -d $1`
+else
+  set - x`ls -l -d $1`
+fi
+# The month is at least the fourth argument
+# (3 shifts here, the next inside the loop).
+shift
+shift
+shift
+
+# Find the month.  Next argument is day, followed by the year or time.
+month=
+until test $month
+do
+  shift
+  case $1 in
+    Jan) month=January; nummonth=1;;
+    Feb) month=February; nummonth=2;;
+    Mar) month=March; nummonth=3;;
+    Apr) month=April; nummonth=4;;
+    May) month=May; nummonth=5;;
+    Jun) month=June; nummonth=6;;
+    Jul) month=July; nummonth=7;;
+    Aug) month=August; nummonth=8;;
+    Sep) month=September; nummonth=9;;
+    Oct) month=October; nummonth=10;;
+    Nov) month=November; nummonth=11;;
+    Dec) month=December; nummonth=12;;
+  esac
+done
+
+day=$2
+
+# Here we have to deal with the problem that the ls output gives either
+# the time of day or the year.
+case $3 in
+  *:*) set `date`; eval year=\$$#
+       case $2 in
+        Jan) nummonthtod=1;;
+        Feb) nummonthtod=2;;
+        Mar) nummonthtod=3;;
+        Apr) nummonthtod=4;;
+        May) nummonthtod=5;;
+        Jun) nummonthtod=6;;
+        Jul) nummonthtod=7;;
+        Aug) nummonthtod=8;;
+        Sep) nummonthtod=9;;
+        Oct) nummonthtod=10;;
+        Nov) nummonthtod=11;;
+        Dec) nummonthtod=12;;
+       esac
+       # For the first six month of the year the time notation can also
+       # be used for files modified in the last year.
+       if (expr $nummonth \> $nummonthtod) > /dev/null;
+       then
+        year=`expr $year - 1`
+       fi;;
+  *) year=$3;;
+esac
+
+# The result.
+echo $day $month $year
index 94ed89a1b9640d4d628d8b2e1fa1dc64aab90c7a..99f3ad047c9809492dbfb3afc0b6e68c3765aaee 100644 (file)
@@ -52,7 +52,7 @@ dnl
 divert(-1)dnl Throw away output until AC_INIT is called.
 changequote([, ])
 
-define(AC_ACVERSION, 2.14.1)
+include(acversion.m4)
 
 dnl Some old m4's don't support m4exit.  But they provide
 dnl equivalent functionality by core dumping because of the
index 1401d9c57a5732e650e4abf8841b2cf0e7cfd3be..a1a12a5e988c391b9e8a93eff164d7603226e80d 100644 (file)
@@ -782,6 +782,8 @@ if test $ac_cv_prog_lex_yytext_pointer = yes; then
 fi
 ])dnl AC_DECL_YYTEXT
 
+dnl AC_PROG_INSTALL
+dnl ---------------
 AC_DEFUN(AC_PROG_INSTALL,
 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
 # Find a good install program.  We prefer a C program (faster),
@@ -852,7 +854,8 @@ AC_SUBST(INSTALL_SCRIPT)dnl
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 AC_SUBST(INSTALL_DATA)dnl
-])
+])dnl AC_PROG_INSTALL
+
 
 AC_DEFUN(AC_PROG_LN_S,
 [AC_MSG_CHECKING(whether ln -s works)
@@ -2235,6 +2238,9 @@ if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
 fi
 ])dnl AC_C_CHAR_UNSIGNED
 
+
+dnl AC_C_LONG_DOUBLE
+dnl ----------------
 AC_DEFUN(AC_C_LONG_DOUBLE,
 [AC_CACHE_CHECK(for long double, ac_cv_c_long_double,
 [if test "$GCC" = yes; then
@@ -2251,7 +2257,8 @@ if test $ac_cv_c_long_double = yes; then
   AC_DEFINE(HAVE_LONG_DOUBLE, 1,
             [Define if the `long double' type works.])
 fi
-])
+])dnl AC_C_LONG_DOUBLE
+
 
 AC_DEFUN(AC_INT_16_BITS,
 [AC_HASBEEN([$0], [; instead use AC_CHECK_SIZEOF(int)])])
@@ -2259,6 +2266,9 @@ AC_DEFUN(AC_INT_16_BITS,
 AC_DEFUN(AC_LONG_64_BITS,
 [AC_HASBEEN([$0], [; instead use AC_CHECK_SIZEOF(long)])])
 
+
+dnl AC_C_BIGENDIAN
+dnl --------------
 AC_DEFUN(AC_C_BIGENDIAN,
 [AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
 [ac_cv_c_bigendian=unknown
@@ -2290,7 +2300,9 @@ if test $ac_cv_c_bigendian = yes; then
             [Define if your processor stores words with the most significant
              byte first (like Motorola and SPARC, unlike Intel and VAX).])
 fi
-])
+])dnl AC_C_BIGENDIAN
+
+
 
 dnl AC_C_INLINE
 dnl -----------
diff --git a/mdate-sh b/mdate-sh
new file mode 100755 (executable)
index 0000000..37171f2
--- /dev/null
+++ b/mdate-sh
@@ -0,0 +1,92 @@
+#!/bin/sh
+# Get modification time of a file or directory and pretty-print it.
+# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# Prevent date giving response in another language.
+LANG=C
+export LANG
+LC_ALL=C
+export LC_ALL
+LC_TIME=C
+export LC_TIME
+
+# Get the extended ls output of the file or directory.
+# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
+if ls -L /dev/null 1>/dev/null 2>&1; then
+  set - x`ls -L -l -d $1`
+else
+  set - x`ls -l -d $1`
+fi
+# The month is at least the fourth argument
+# (3 shifts here, the next inside the loop).
+shift
+shift
+shift
+
+# Find the month.  Next argument is day, followed by the year or time.
+month=
+until test $month
+do
+  shift
+  case $1 in
+    Jan) month=January; nummonth=1;;
+    Feb) month=February; nummonth=2;;
+    Mar) month=March; nummonth=3;;
+    Apr) month=April; nummonth=4;;
+    May) month=May; nummonth=5;;
+    Jun) month=June; nummonth=6;;
+    Jul) month=July; nummonth=7;;
+    Aug) month=August; nummonth=8;;
+    Sep) month=September; nummonth=9;;
+    Oct) month=October; nummonth=10;;
+    Nov) month=November; nummonth=11;;
+    Dec) month=December; nummonth=12;;
+  esac
+done
+
+day=$2
+
+# Here we have to deal with the problem that the ls output gives either
+# the time of day or the year.
+case $3 in
+  *:*) set `date`; eval year=\$$#
+       case $2 in
+        Jan) nummonthtod=1;;
+        Feb) nummonthtod=2;;
+        Mar) nummonthtod=3;;
+        Apr) nummonthtod=4;;
+        May) nummonthtod=5;;
+        Jun) nummonthtod=6;;
+        Jul) nummonthtod=7;;
+        Aug) nummonthtod=8;;
+        Sep) nummonthtod=9;;
+        Oct) nummonthtod=10;;
+        Nov) nummonthtod=11;;
+        Dec) nummonthtod=12;;
+       esac
+       # For the first six month of the year the time notation can also
+       # be used for files modified in the last year.
+       if (expr $nummonth \> $nummonthtod) > /dev/null;
+       then
+        year=`expr $year - 1`
+       fi;;
+  *) year=$3;;
+esac
+
+# The result.
+echo $day $month $year
diff --git a/missing b/missing
new file mode 100755 (executable)
index 0000000..7789652
--- /dev/null
+++ b/missing
@@ -0,0 +1,190 @@
+#! /bin/sh
+# Common stub for a few missing GNU programs while installing.
+# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+if test $# -eq 0; then
+  echo 1>&2 "Try \`$0 --help' for more information"
+  exit 1
+fi
+
+case "$1" in
+
+  -h|--h|--he|--hel|--help)
+    echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
+error status if there is no known handling for PROGRAM.
+
+Options:
+  -h, --help      display this help and exit
+  -v, --version   output version information and exit
+
+Supported PROGRAM values:
+  aclocal      touch file \`aclocal.m4'
+  autoconf     touch file \`configure'
+  autoheader   touch file \`config.h.in'
+  automake     touch all \`Makefile.in' files
+  bison        create \`y.tab.[ch]', if possible, from existing .[ch]
+  flex         create \`lex.yy.c', if possible, from existing .c
+  lex          create \`lex.yy.c', if possible, from existing .c
+  makeinfo     touch the output file
+  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"
+    ;;
+
+  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+    echo "missing - GNU libit 0.0"
+    ;;
+
+  -*)
+    echo 1>&2 "$0: Unknown \`$1' option"
+    echo 1>&2 "Try \`$0 --help' for more information"
+    exit 1
+    ;;
+
+  aclocal)
+    echo 1>&2 "\
+WARNING: \`$1' is missing on your system.  You should only need it if
+         you modified \`acinclude.m4' or \`configure.in'.  You might want
+         to install the \`Automake' and \`Perl' packages.  Grab them from
+         any GNU archive site."
+    touch aclocal.m4
+    ;;
+
+  autoconf)
+    echo 1>&2 "\
+WARNING: \`$1' is missing on your system.  You should only need it if
+         you modified \`configure.in'.  You might want to install the
+         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
+         archive site."
+    touch configure
+    ;;
+
+  autoheader)
+    echo 1>&2 "\
+WARNING: \`$1' is missing on your system.  You should only need it if
+         you modified \`acconfig.h' or \`configure.in'.  You might want
+         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
+         from any GNU archive site."
+    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.in`
+    test -z "$files" && files="config.h"
+    touch_files=
+    for f in $files; do
+      case "$f" in
+      *:*) touch_files="$touch_files "`echo "$f" |
+                                      sed -e 's/^[^:]*://' -e 's/:.*//'`;;
+      *) touch_files="$touch_files $f.in";;
+      esac
+    done
+    touch $touch_files
+    ;;
+
+  automake)
+    echo 1>&2 "\
+WARNING: \`$1' is missing on your system.  You should only need it if
+         you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
+         You might want to install the \`Automake' and \`Perl' packages.
+         Grab them from any GNU archive site."
+    find . -type f -name Makefile.am -print |
+          sed 's/\.am$/.in/' |
+          while read f; do touch "$f"; done
+    ;;
+
+  bison|yacc)
+    echo 1>&2 "\
+WARNING: \`$1' is missing on your system.  You should only need it if
+         you modified a \`.y' file.  You may need the \`Bison' package
+         in order for those modifications to take effect.  You can get
+         \`Bison' from any GNU archive site."
+    rm -f y.tab.c y.tab.h
+    if [ $# -ne 1 ]; then
+        eval LASTARG="\${$#}"
+       case "$LASTARG" in
+       *.y)
+           SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
+           if [ -f "$SRCFILE" ]; then
+                cp "$SRCFILE" y.tab.c
+           fi
+           SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
+           if [ -f "$SRCFILE" ]; then
+                cp "$SRCFILE" y.tab.h
+           fi
+         ;;
+       esac
+    fi
+    if [ ! -f y.tab.h ]; then
+       echo >y.tab.h
+    fi
+    if [ ! -f y.tab.c ]; then
+       echo 'main() { return 0; }' >y.tab.c
+    fi
+    ;;
+
+  lex|flex)
+    echo 1>&2 "\
+WARNING: \`$1' is missing on your system.  You should only need it if
+         you modified a \`.l' file.  You may need the \`Flex' package
+         in order for those modifications to take effect.  You can get
+         \`Flex' from any GNU archive site."
+    rm -f lex.yy.c
+    if [ $# -ne 1 ]; then
+        eval LASTARG="\${$#}"
+       case "$LASTARG" in
+       *.l)
+           SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
+           if [ -f "$SRCFILE" ]; then
+                cp "$SRCFILE" lex.yy.c
+           fi
+         ;;
+       esac
+    fi
+    if [ ! -f lex.yy.c ]; then
+       echo 'main() { return 0; }' >lex.yy.c
+    fi
+    ;;
+
+  makeinfo)
+    echo 1>&2 "\
+WARNING: \`$1' is missing on your system.  You should only need it if
+         you modified a \`.texi' or \`.texinfo' file, or any other file
+         indirectly affecting the aspect of the manual.  The spurious
+         call might also be the consequence of using a buggy \`make' (AIX,
+         DU, IRIX).  You might want to install the \`Texinfo' package or
+         the \`GNU make' package.  Grab either from any GNU archive site."
+    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+    if test -z "$file"; then
+      file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
+    fi
+    touch $file
+    ;;
+
+  *)
+    echo 1>&2 "\
+WARNING: \`$1' is needed, and you do not seem to have it handy on your
+         system.  You might have modified some files without having the
+         proper tools for further handling them.  Check the \`README' file,
+         it often tells you about the needed prerequirements for installing
+         this package.  You may also peek at any GNU archive site, in case
+         some other package would contain this missing \`$1' program."
+    exit 1
+    ;;
+esac
+
+exit 0
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
new file mode 100644 (file)
index 0000000..146e103
--- /dev/null
@@ -0,0 +1,33 @@
+## Process this file with automake to create Makefile.in.
+
+## Makefile for Autoconf testsuite.
+## Copyright (C) 1999 Free Software Foundation, Inc.
+
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2, or (at your option)
+## any later version.
+
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.
+
+AUTOMAKE_OPTIONS = dejagnu
+
+GENERIC_TESTS = autoconf.g/sizeof.exp autoconf.g/init.exp
+SPECIFIC_TESTS = autoconf.s/defines.exp autoconf.s/syntax.exp
+
+EXTRA_DIST = config/unix.exp lib/common.exp $(GENERIC_TESTS) $(SPECIFIC_TESTS)
+
+AUTOCONFFLAGS = -m $(top_builddir)
+AUTOCONF = $(top_builddir)/autoconf
+
+## FIXME: I don't think it is normal that we need AUTOCONF.  Some scripts
+## use it explicitly though.
+RUNTESTFLAGS = AUTOCONF="$(AUTOCONF)" AUTOCONFFLAGS="$(AUTOCONFFLAGS)"
index c3c4cd40b09257d4efc6f3d4fa70f981d9d0e9a0..b1b6977cc0b9680fddf408b458df22e16a33bfb6 100644 (file)
-# Makefile for Autoconf test suite.
-# Copyright (C) 1994 Free Software Foundation, Inc.
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
 
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
 # This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
 
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-#### Start of system configuration section. ####
+SHELL = @SHELL@
 
-top_srcdir = @top_srcdir@
 srcdir = @srcdir@
+top_srcdir = @top_srcdir@
 VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
 
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = ..
+
+ACLOCAL = @ACLOCAL@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+AWK = @AWK@
 M4 = @M4@
+MAKEINFO = @MAKEINFO@
+PACKAGE = @PACKAGE@
+PERL = @PERL@
+PERLSCRIPTS = @PERLSCRIPTS@
+VERSION = @VERSION@
+standards_texi = @standards_texi@
 
-prefix = @prefix@
-exec_prefix = @exec_prefix@
+AUTOMAKE_OPTIONS = dejagnu
 
-AUTOCONF = ../autoconf
-AUTOCONFFLAGS = -m $(top_srcdir)
+GENERIC_TESTS = autoconf.g/sizeof.exp autoconf.g/init.exp
+SPECIFIC_TESTS = autoconf.s/defines.exp autoconf.s/syntax.exp
 
-RUNTEST= runtest
-RUNTESTFLAGS=
+EXTRA_DIST = config/unix.exp lib/common.exp $(GENERIC_TESTS) $(SPECIFIC_TESTS)
 
-#### End of system configuration section. ####
+AUTOCONFFLAGS = -m $(top_builddir)
+AUTOCONF = $(top_builddir)/autoconf
 
-SHELL = /bin/sh
+RUNTESTFLAGS = AUTOCONF="$(AUTOCONF)" AUTOCONFFLAGS="$(AUTOCONFFLAGS)"
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_CLEAN_FILES = 
+DIST_COMMON =  Makefile.am Makefile.in
 
-all:
-info:
-dvi:
 
-check: site.exp all
-       @if ($(RUNTEST) --version) >/dev/null 2>&1; then \
-       echo $(RUNTEST); \
-       $(RUNTEST) $(RUNTESTFLAGS) --tool autoconf AUTOCONF=${AUTOCONF} \
-       AUTOCONFFLAGS="${AUTOCONFFLAGS}" --srcdir $(srcdir); \
-       else echo $(RUNTEST) not found, check skipped; fi
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-installcheck:
+TAR = tar
+GZIP_ENV = --best
+EXPECT = expect
+RUNTEST = runtest
+all: all-redirect
+.SUFFIXES:
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+       cd $(top_srcdir) && $(AUTOMAKE) --gnu testsuite/Makefile
 
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+       cd $(top_builddir) \
+         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+tags: TAGS
+TAGS:
+
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = testsuite
+
+distdir: $(DISTFILES)
+       here=`cd $(top_builddir) && pwd`; \
+       top_distdir=`cd $(top_distdir) && pwd`; \
+       distdir=`cd $(distdir) && pwd`; \
+       cd $(top_srcdir) \
+         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu testsuite/Makefile
+       $(mkinstalldirs) $(distdir)/autoconf.g $(distdir)/autoconf.s \
+          $(distdir)/config $(distdir)/lib
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pr $$/$$file $(distdir)/$$file; \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
+DEJATOOL = $(PACKAGE)
+
+RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
+
+check-DEJAGNU: site.exp
+       srcdir=`cd $(srcdir) && pwd`; export srcdir; \
+       EXPECT=$(EXPECT); export EXPECT; \
+       runtest=$(RUNTEST); \
+       if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+         $$runtest $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
+       else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+       fi
 site.exp: Makefile
-       @echo "Making a new site.exp file..."
+       @echo 'Making a new site.exp file...'
        @test ! -f site.bak || rm -f site.bak
+       @echo '## these variables are automatically generated by make ##' > $@-t
+       @echo '# Do not edit here.  If you wish to override these values' >> $@-t
+       @echo '# edit the last section' >> $@-t
+       @echo 'set tool $(DEJATOOL)' >> $@-t
+       @echo 'set srcdir $(srcdir)' >> $@-t
+       @echo 'set objdir' `pwd` >> $@-t
+       @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
+       @test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
        @test ! -f site.exp || mv site.exp site.bak
-       @echo "## these variables are automatically generated by make ##" > site.exp
-       @echo "# Do not edit here. If you wish to override these values" >> site.exp
-       @echo "# add them to the last section" >> site.exp
-       @echo "set tool autoconf" >> site.exp
-       @echo "set srcdir ${srcdir}" >> site.exp
-       @echo "set objdir `pwd`" >> site.exp
-       @echo "## All variables above are generated by configure. Do Not Edit ##" >> site.exp
-       @test ! -f site.bak || sed '1,/^## All variables above are.*##/ d' site.bak >> site.exp
+       @mv $@-t site.exp
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+       $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+install-exec-am:
+install-exec: install-exec-am
 
-install:
+install-data-am:
+install-data: install-data-am
 
-install-info:
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am:
+uninstall: uninstall-am
+all-am: Makefile
+all-redirect: all-am
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
 
-uninstall:
 
-Makefile: Makefile.in ../config.status
-       cd ..; ./config.status
+mostlyclean-generic:
 
-clean mostlyclean distclean maintainer-clean::
-       rm -f autoconf.log autoconf.sum site.exp site.bak AC* confdummy* 
+clean-generic:
 
-distclean maintainer-clean::
-       rm -f Makefile config.status config.cache config.log
+distclean-generic:
+       -rm -f Makefile $(CONFIG_CLEAN_FILES)
+       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
 
-TAGS:
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-generic mostlyclean-am
+
+clean: clean-am
+
+distclean-am:  distclean-generic clean-am
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-generic distclean-am
+       @echo "This command is intended for maintainers to use;"
+       @echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-am
+
+.PHONY: tags distdir check-DEJAGNU 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
+
+
+# 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: