summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--0001-Fix-testsuite-failures-with-bash-5.2.patch69
-rw-r--r--0001-_AC_PROG_CXX_STDCXX_EDITION_TRY-fix-typo-in-variable.patch31
-rw-r--r--autoconf-init.el16
-rw-r--r--autoconf-latest.spec680
-rw-r--r--config.site29
-rw-r--r--sources1
7 files changed, 827 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e748e87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/autoconf-2.71.tar.xz
diff --git a/0001-Fix-testsuite-failures-with-bash-5.2.patch b/0001-Fix-testsuite-failures-with-bash-5.2.patch
new file mode 100644
index 0000000..0e12794
--- /dev/null
+++ b/0001-Fix-testsuite-failures-with-bash-5.2.patch
@@ -0,0 +1,69 @@
+From 412166e185c00d6eacbe67dfcb0326f622ec4020 Mon Sep 17 00:00:00 2001
+From: Xi Ruoyao <xry111@xry111.site>
+Date: Fri, 30 Sep 2022 11:36:03 -0400
+Subject: [PATCH] Fix testsuite failures with bash 5.2.
+
+Bash v5.2 includes several new optimizations to the number of
+subshells used for various constructs; as a side effect, the value of
+SHLVL is less stable than it used to be. Add SHLVL to the list of
+built-in shell variables with unstable values, to be ignored when
+checking for inappropriate differences to the shell environment
+before and after a macro invocation / between two configure runs.
+
+Problem and solution reported by Xi Ruoyao in
+https://lists.gnu.org/archive/html/autoconf/2022-09/msg00015.html
+Problem also reported by Bruce Dubbs in
+https://lists.gnu.org/archive/html/bug-autoconf/2022-09/msg00010.html
+
+* tests/local.at (_AT_CHECK_ENV, AT_CONFIG_CMP): Ignore changes in
+ value of SHLVL.
+Copyright-paperwork-exempt: yes
+
+Conflicts:
+ tests/local.at
+ (First block needed Fuzz 2, other blocks needed offset)
+---
+ tests/local.at | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/tests/local.at b/tests/local.at
+index b5e68d37..e602c12b 100644
+--- a/tests/local.at
++++ b/tests/local.at
+@@ -352,7 +352,7 @@ m4_define([AT_CHECK_CONFIGURE],
+ # - AC_SUBST'ed variables
+ # (FIXME: Generate a list of these automatically.)
+ # - _|@|.[*#?$].|argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS
+-# |START_TIME|ToD|_AST_FEATURES
++# |SHLVL|START_TIME|ToD|_AST_FEATURES
+ # Some variables some shells use and change.
+ # `.[*#?$].' catches `$#' etc. which are displayed like this:
+ # | '!'=18186
+@@ -403,7 +403,7 @@ if test -f state-env.before && test -f state-env.after; then
+ [GREP|[EF]GREP|SED],
+ [[_@]|.[*@%:@?$].],
+ [argv|ARGC|LINENO|BASH_ARGC|BASH_ARGV|OLDPWD|PIPESTATUS|RANDOM],
+- [SECONDS|START_TIME|ToD|_AST_FEATURES]))=' \
++ [SECONDS|SHLVL|START_TIME|ToD|_AST_FEATURES]))=' \
+ $act_file ||
+ test $? -eq 1 || echo failed >&2
+ ) 2>stderr-$act_file |
+@@ -434,6 +434,7 @@ fi
+ # - PPID [bash, zsh]
+ # - RANDOM [bash, zsh]
+ # - SECONDS [bash, zsh]
++# - SHLVL [bash]
+ # - START_TIME [NetBSD sh]
+ # - ToD [NetBSD sh]
+ # - '$' [zsh]
+@@ -481,6 +482,7 @@ do
+ /^PPID=/ d
+ /^RANDOM=/ d
+ /^SECONDS=/ d
++ /^SHLVL=/ d
+ /^START_TIME=/ d
+ /^ToD=/ d
+ /'\'\\\$\''=/ d
+--
+2.37.3
+
diff --git a/0001-_AC_PROG_CXX_STDCXX_EDITION_TRY-fix-typo-in-variable.patch b/0001-_AC_PROG_CXX_STDCXX_EDITION_TRY-fix-typo-in-variable.patch
new file mode 100644
index 0000000..0a00c5b
--- /dev/null
+++ b/0001-_AC_PROG_CXX_STDCXX_EDITION_TRY-fix-typo-in-variable.patch
@@ -0,0 +1,31 @@
+From f460883035ef849a2248b1713f711292ec19f4f0 Mon Sep 17 00:00:00 2001
+From: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
+Date: Fri, 14 May 2021 09:06:20 +0300
+Subject: [PATCH] _AC_PROG_CXX_STDCXX_EDITION_TRY: fix typo in variable name
+
+The typo causes "ac_prog_cxx_stdcxx" to be always set to "cxx11",
+regardless of whether the C++ compiler supports C++11.
+Message-Id: <YJ4TXAeJcvU0oSec@FSAPPLE2215.fi.f-secure.com>
+(tiny change)
+---
+ lib/autoconf/c.m4 | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
+index 9f881f0b..47434c89 100644
+--- a/lib/autoconf/c.m4
++++ b/lib/autoconf/c.m4
+@@ -2749,8 +2749,8 @@ AC_DEFUN([_AC_PROG_CXX_STDCXX_EDITION_TRY],
+ [AC_REQUIRE([_AC_CXX_CXX$1_TEST_PROGRAM])]dnl
+ [AS_IF([test x$ac_prog_cxx_stdcxx = xno],
+ [AC_MSG_CHECKING([for $CXX option to enable C++$1 features])
+-AC_CACHE_VAL(ac_cv_prog_cxx_$1,
+-[ac_cv_prog_cxx_$1=no
++AC_CACHE_VAL(ac_cv_prog_cxx_cxx$1,
++[ac_cv_prog_cxx_cxx$1=no
+ ac_save_CXX=$CXX
+ AC_LANG_CONFTEST([AC_LANG_DEFINES_PROVIDED][$][ac_cxx_conftest_cxx$1_program])
+ for ac_arg in '' m4_normalize(m4_defn([_AC_CXX_CXX$1_OPTIONS]))
+--
+2.37.2
+
diff --git a/autoconf-init.el b/autoconf-init.el
new file mode 100644
index 0000000..1c5725d
--- /dev/null
+++ b/autoconf-init.el
@@ -0,0 +1,16 @@
+;; Activate autoconf-mode
+
+;; Uncomment the following code if you feel that autoconf-mode.el does better
+;; job than Emacs's default autoconf.el.
+
+;; (autoload 'autoconf-mode "autoconf-mode"
+;; "Major mode for editing autoconf files." t)
+;; (setq auto-mode-alist
+;; (cons '("\.ac\'\|configure\.in\'" . autoconf-mode)
+;; auto-mode-alist))
+
+;; Activate autotest-mode
+(autoload 'autotest-mode "autotest-mode"
+ "Major mode for editing autotest files." t)
+(setq auto-mode-alist
+ (cons '("\.at\'" . autotest-mode) auto-mode-alist))
diff --git a/autoconf-latest.spec b/autoconf-latest.spec
new file mode 100644
index 0000000..bde2d66
--- /dev/null
+++ b/autoconf-latest.spec
@@ -0,0 +1,680 @@
+# Run extended test
+%bcond_without autoconf_enables_optional_test
+
+# The design goal is to allow use of the same specfile on the original
+# `autoconf` package and the `autoconf-latest` package by just changing the
+# `Name` property.
+# The `autoconf-latest` package aims to provide a versioned sub-package which
+# enables the user to install different updates in parallel on long term
+# releases. Hence, the versioned package installs its artifacts in
+# `/opt/{namespace}/{versioned name}`.
+Name: autoconf-latest
+Version: 2.71
+Release: 8%{?dist}
+
+# To help future rebase, the following licenses were seen in the following files/folders:
+# '*' is anything that was not explicitly listed earlier in the folder
+# usr/bin/* - GPL-3.0-or-later
+# usr/share/:
+# autoconf:
+# Autom4te:
+# {C4che.pm,General.pm,Getopt.pm,Request.pm}: GPL-3.0-or-later
+# * - GPL-2.0-or-later
+# autoconf:
+# * - GPL-3.0-or-later WITH Autoconf-exception-generic-3.0
+# autoscan/autoscan.list - GPL-3.0-or-later
+# autotest:
+# * - GPL-3.0-or-later WITH Autoconf-exception-3.0
+# build-aux:
+# config.{sub,guess} - GPL-3.0-or-later WITH Autoconf-exception-generic-3.0
+# install-sh - X11 AND LicenseRef-Fedora-Public-Domain
+# m4sugar:
+# {foreach.m4,m4sh.m4,m4sugar.m4} - GPL-3.0-or-later WITH Autoconf-exception-generic-3.0
+# * - None found
+# INSTALL - FSFAP
+# autom4te.cfg - GPL-3.0-or-later
+# doc/autoconf:
+# {AUTHORS,THANKS} - GPL-3.0-or-later
+# {README,TODO} - FSFAP
+# * - None found
+# emacs/site-lisp:
+# autoconf/*.el - GPL-3.0-or-later
+# * - None found
+# info/autoconf.info.gz/autoconf.info - GFDL-1.3-or-later
+# config.site - None found
+# usr/share/man/man1/*: generated from usr/bin/* using help2man
+#
+# Note on Autoconf-exception{,-generic}-3.0, one is the license itself, the other is
+# the text note that can be found in sources. That doesn't make sense to have 2 separate IDs
+# but that's how it is.
+License: GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 AND GFDL-1.3-or-later AND FSFAP AND X11 AND LicenseRef-Fedora-Public-Domain
+Source0: https://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz
+Source1: config.site
+Source2: autoconf-init.el
+URL: https://www.gnu.org/software/autoconf/
+
+# Cherry-pick from upstream f460883035ef849a2248b1713f711292ec19f4f0
+Patch0: 0001-_AC_PROG_CXX_STDCXX_EDITION_TRY-fix-typo-in-variable.patch
+# Cherry-pick from upstream 412166e185c00d6eacbe67dfcb0326f622ec4020
+Patch1: 0001-Fix-testsuite-failures-with-bash-5.2.patch
+
+%if "%{name}" != "autoconf"
+# Set this to the sub-package base name, for "autoconf-latest"
+%global autoconf %(echo autoconf%{version} | tr -d .)
+# Enforce use of system provided emacs support
+%global autoconf_enables_emacs 0
+
+%if 0%{?rhel} > 0
+%global _prefix /opt/rh/%{autoconf}
+%else
+# We intentionally do not define a case for Fedora, as it should not
+# need this functionality, and letting it error avoids accidents.
+%{error:"Each downstream must specify its own /opt namespace"}
+%endif
+Summary: Meta package to include latest version of autoconf
+%else
+#name == autoconf
+# Enable Emacs support
+%bcond_without autoconf_enables_emacs
+%global autoconf %{name}
+Summary: A GNU tool for automatically configuring source code
+%endif
+
+BuildArch: noarch
+
+
+# run "make check" by default
+%bcond_without check
+
+# m4 >= 1.4.6 is required, >= 1.4.14 is recommended:
+BuildRequires: perl
+Requires: perl-File-Compare
+Requires: perl-interpreter
+BuildRequires: m4 >= 1.4.14
+Requires: m4 >= 1.4.14
+%if %{with autoconf_enables_emacs}
+Requires: emacs-filesystem
+BuildRequires: emacs
+%endif
+# the filtering macros are currently in /etc/rpm/macros.perl:
+BuildRequires: perl-generators
+BuildRequires: perl-macros
+BuildRequires: perl(Data::Dumper)
+# from f19, Text::ParseWords is not the part of 'perl' package
+BuildRequires: perl(Text::ParseWords)
+
+# %%configure replaces config.guess/config.sub for us, which confuses autoconf
+# build system and it produces empty man pages for those scripts if help2man is
+# not installed
+BuildRequires: help2man
+BuildRequires: make
+
+%if %{with check}
+%if %{with autoconf_enables_optional_test}
+# For extended testsuite coverage
+BuildRequires: gcc-gfortran
+%if 0%{?fedora} >= 15
+BuildRequires: erlang
+%endif
+%endif
+%endif
+
+# filter out bogus perl(Autom4te*) dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Autom4te::
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Autom4te::
+
+%if "%{name}" != "autoconf"
+# We're still on the autoconf-latest package
+Requires: %{autoconf}
+%description -n autoconf-latest
+The latest GNU Autoconf, with a version-specific install
+%files -n autoconf-latest
+
+%package -n %{autoconf}
+Summary: A GNU tool for automatically configuring source code
+%endif
+
+%description -n %{autoconf}
+GNU's Autoconf is a tool for configuring source code and Makefiles.
+Using Autoconf, programmers can create portable and configurable
+packages, since the person building the package is allowed to
+specify various configuration options.
+
+You should install Autoconf if you are developing software and
+would like to create shell scripts that configure your source code
+packages. If you are installing Autoconf, you will also need to
+install the GNU m4 package.
+
+Note that the Autoconf package is not required for the end-user who
+may be configuring software with an Autoconf-generated script;
+Autoconf is only required for the generation of the scripts, not
+their use.
+
+
+%prep
+%autosetup -n autoconf-%{version} -p1
+
+%build
+%if %{with autoconf_enables_emacs}
+export EMACS=%{_bindir}/emacs
+%else
+export EMACS=%{_bindir}/false
+%endif
+%configure \
+ %{?with_autoconf_enables_emacs:--with-lispdir=%{_emacs_sitelispdir}/autoconf}
+%make_build
+
+
+%check
+%if %{with check}
+# make check # TESTSUITEFLAGS='1-198 200-' # will disable nr. 199.
+# make check TESTSUITEFLAGS="-k \!erlang"
+make check %{?_smp_mflags}
+%endif
+
+
+%install
+%make_install
+mkdir -p %{buildroot}/share
+install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}
+
+%if %{with autoconf_enables_emacs}
+# Create file to activate Emacs modes as required
+mkdir -p %{buildroot}%{_emacs_sitestartdir}
+install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir}
+%endif
+
+%if "%{name}" != "autoconf"
+install -d -m 755 ${RPM_BUILD_ROOT}/etc/scl/prefixes
+dirname %{_prefix} > %{autoconf}.prefix
+install -p -m 644 %{autoconf}.prefix ${RPM_BUILD_ROOT}/etc/scl/prefixes/%{autoconf}
+
+echo "export PATH=%{_prefix}/bin:\$PATH" > enable.scl
+install -p -m 755 enable.scl ${RPM_BUILD_ROOT}/%{_prefix}/enable
+%endif
+
+%files -n %{autoconf}
+%license COPYING*
+%{_bindir}/*
+%{_infodir}/autoconf.info*
+# don't include standards.info, because it comes from binutils...
+%exclude %{_infodir}/standards*
+# don't include info's TOP directory
+%exclude %{_infodir}/dir
+%{_datadir}/autoconf/
+%{_datadir}/config.site
+%if %{with autoconf_enables_emacs}
+%{_datadir}/emacs/site-lisp/*
+%endif
+%{_mandir}/man1/*
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
+%if "%{name}" != "autoconf"
+/etc/scl/prefixes/%{autoconf}
+%{_prefix}/enable
+%endif
+
+
+%changelog
+* Tue Jan 02 2024 Frederic Berat <fberat@redhat.com> - 2.71-8
+- Renamed main package as autoconf-latest
+- Adapt dependencies to c9s
+
+* Fri Dec 22 2023 Frederic Berat <fberat@redhat.com> - 2.71-8
+- Modify spec file to support autoconf-latest package
+
+* Mon Aug 07 2023 Frederic Berat <fberat@redhat.com> - 2.71-7
+- Migrate to SPDX licences (#2222088)
+
+* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.71-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.71-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Tue Oct 11 2022 Frederic Berat <fberat@redhat.com> - 2.71-4
+- Cherry-pick: Fix typo in variable name (#2132715)
+- Backport: Fix testsuite failures with bash 5.2
+
+* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.71-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.71-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Tue Aug 24 2021 Ondrej Dubaj <odubaj@redhat.com> - 2.71-1
+- Rebase to version 2.71 (#1905678)
+
+* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-37
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-36
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Fri Jan 15 2021 Patrik Novotný <panovotn@redhat.com> - 2.69-35
+- Backport: add --runstatedir option to configure
+
+* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-34
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Mar 11 2020 Ondrej Dubaj <odubaj@redhat.com> - 2.69-33
+- Added perl dependency
+
+* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-32
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Wed Aug 28 2019 Ondrej Dubaj <odubaj@redhat.com> - 2.69-31
+- Port tests to Bash 5
+
+* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-30
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-29
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-28
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-27
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Fri Oct 27 2017 Pavel Raiskup <praiskup@redhat.com> - 2.69-26
+- drop %%config attribute for /usr/share/config.site file (rhbz#1506655)
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-25
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-24
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Jul 29 2016 Pavel Raiskup <praiskup@redhat.com> - 2.69-23
+- re-enable erlang tests, after rhbz#1240487 fix
+- packaging guidelines fixes
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.69-22
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Mon Jul 13 2015 Pavel Raiskup <praiskup@redhat.com> - 2.69-21
+- disable erlang tests as erlang on i386 is currently broken (#1236072)
+
+* Mon Jul 06 2015 Pavel Raiskup <praiskup@redhat.com> - 2.69-21
+- '{' character in regular expression must be escaped with perl 5.22
+
+* Fri Jun 26 2015 Pavel Raiskup <praiskup@redhat.com> - 2.69-20
+- conform to Packaging:Emacs guidelines (#1204274), init script
+ by Jonathan Underwood
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-19
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Fri Mar 20 2015 Pavel Raiskup <praiskup@redhat.com> - 2.69-18
+- depend on emacs-filesystem (rhbz#1204274)
+
+* Fri Feb 27 2015 Pavel Raiskup <praiskup@redhat.com> - 2.69-17
+- config.site: take AC_PREFIX_DEFAULT([/usr]) into account, by
+ agruen at kernel.org (rhbz#1196340)
+
+* Wed Nov 12 2014 Pavel Raiskup <praiskup@redhat.com> - 2.69-16
+- avoid generating empty man pages for gnuconfig (#1162227)
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-15
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Tue Dec 17 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-14
+- fix config.site to not affect cross compilation (Stefan Sørensen, #1042775)
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.69-12
+- Perl 5.18 rebuild
+
+* Mon Jun 17 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-11
+- config.site installation should be safe as long as the CONFIG_SITE=NONE is
+ exported by the rpmbuild environment (#772999)
+
+* Thu Feb 14 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-10
+- BR the perl(Text::ParseWords) explicitly to enable build again
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Wed Jan 23 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-9
+- disable 'config.site' under /usr/share for now
+
+* Tue Jan 15 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-8
+- the 'INSTALL' file can be used as template file for packages which are using
+ autoconf - mark it for installation again (#661623)
+
+* Tue Jan 08 2013 Pavel Raiskup <praiskup@redhat.com> - 2.69-7
+- Support the 'config.site' file in /usr/share
+
+* Thu Oct 25 2012 Pavel Raiskup <praiskup@redhat.com> - 2.69-6
+- fedora-review (minor) fixes and typos: trim lines, remove defattr(,,), do not
+ run `rm -rf %%{buildroot} at the beginning of install section, use curly
+ brackets only around rpm macros/variables and not around shell variables,
+ remove clean section
+
+* Wed Sep 26 2012 Pavel Raiskup <praiskup@redhat.com> - 2.69-5
+- do not install the "INSTALL" documentation file (#661623)
+
+* Thu Sep 13 2012 Karsten Hopp <karsten@redhat.com> 2.69-4
+- don't require erlang in RHEL
+
+* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.69-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Mon Jun 18 2012 Karsten Hopp <karsten@redhat.com> 2.69-2
+- spec file changes by Ralf Corsépius:
+- Use %%bcond_without for --with/out=check.
+- Add BR: perl(Data::Dumper).
+- Remove BR: automake (Testsuite doesn't need automake).
+- Add BR: gcc-gfortran, erlang (Extend testsuite).
+- Remove TESTSUITEFLAGS (Was referring to autoconf < 2.69).
+- Add rpm-4.9 perl-filters %%__provides_exclude, %%__requires_exclude.
+ Remove rpm-4.8 perl-filters (Address RHBZ 823770).
+- Reflect autoconf being GPLv3'ed.
+- Add BR: perl-macros, Remove BR: perl-devel
+
+* Tue May 15 2012 Karsten Hopp <karsten@redhat.com> 2.69-1
+- update to 2.69
+
+* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.68-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.68-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Dec 06 2010 Karsten Hopp <karsten@redhat.com> 2.68-1
+- update to 2.68
+
+* Tue Jul 06 2010 Karsten Hopp <karsten@redhat.com> 2.66-2
+- add 2 upstream patches (#611661)
+- allow rpmbuild --without check
+
+* Mon Jul 5 2010 Stepan Kasal <kasal@ucw.cz> - 2.66-1
+- new upstream version, drop upstreamed patches
+
+* Tue Mar 2 2010 Stepan Kasal <skasal@redhat.com> - 2.65-2
+- use perl filtering macros
+
+* Wed Nov 25 2009 Stepan Kasal <skasal@redhat.com> - 2.65-1
+- new upstream version
+- backported patch: make AC_FUNC_MMAP work with C++ again
+
+* Tue Nov 24 2009 Stepan Kasal <skasal@redhat.com> - 2.64-2
+- add back upstream AH_CHECK_HEADERS, backported from upstream
+ fixes some build failures
+
+* Fri Oct 30 2009 Stepan Kasal <skasal@redhat.com> - 2.64-1
+- new upstream version
+- skip failing test
+
+* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.63-4
+- Use lzma compressed upstream tarball.
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.63-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.63-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Sep 17 2008 Stepan Kasal <skasal@redhat.com> 2.63-1
+- upstream bugfix release
+- all patches dropped, the issues are fixed upstream
+
+* Mon Jul 07 2008 Karsten Hopp <karsten@redhat.com> 2.62-5
+- fix multiline variables (p.e. #449467)
+
+* Fri Jul 4 2008 Stepan Kasal <skasal@redhat.com> 2.62-4
+- add a quick fix for #449944
+- remove Requires: mktemp, imake, grep; these are required by the generated
+ configure, but not by Autoconf.
+- switch on make check
+
+* Tue Jun 24 2008 Karsten Hopp <karsten@redhat.com> 2.62-3
+- add fix for same line comments #449245 (Ralf Wildenhues)
+
+* Fri Jun 06 2008 Karsten Hopp <karsten@redhat.com> 2.62-2
+- add upstream fix from Eric Blake for #449973,
+ m4_if releated error message from autotest
+
+* Tue May 13 2008 Karsten Hopp <karsten@redhat.com> 2.62-1
+- autoconf-2.62
+
+* Mon Oct 29 2007 Stepan Kasal <skasal@redhat.com> 2.61-10
+- require m4 >= 1.4.7
+- Resolves: #236073
+
+* Wed Aug 08 2007 Karsten Hopp <karsten@redhat.com> 2.61-9
+- update license tag
+
+* Tue Feb 27 2007 Karsten Hopp <karsten@redhat.com> 2.61-8
+- own %%{_datadir}/emacs/ (#225296)
+
+* Mon Feb 26 2007 Karsten Hopp <karsten@redhat.com> 2.61-7
+- add Requires: grep
+
+* Thu Feb 22 2007 Karsten Hopp <karsten@redhat.com> 2.61-6
+- drop gawk, sed requirements (#225296)
+- add some comments
+
+* Mon Feb 19 2007 Karsten Hopp <karsten@redhat.com> 2.61-5
+- use ./configure
+- filter dependencies
+
+* Thu Feb 15 2007 Karsten Hopp <karsten@redhat.com> 2.61-4
+- add disttag
+- replace tabs with spaces
+- fix buildroot
+- use Requires(post), Requires(preun)
+- use make install DESTDIR=....
+- drop perl requirement as it gets pulled it automatically
+
+* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 2.61-3
+- don't abort (un)install scriptlets when _excludedocs is set (Ville Skyttä)
+
+* Tue Nov 21 2006 Karsten Hopp <karsten@redhat.com> 2.61-2
+- drop obsolete linkX11 patch
+
+* Tue Nov 21 2006 Karsten Hopp <karsten@redhat.com> 2.61-1
+- autoconf-2.61
+
+* Thu Nov 09 2006 Karsten Hopp <karsten@redhat.com> 2.60-4
+- autoconf-2.60
+
+* Fri Oct 13 2006 Stepan Kasal <skasal@redhat.com> 2.59-12
+- Add autoconf-2.59-lock.patch to eliminate a perl warning (#210653).
+
+* Thu Jul 27 2006 Karsten Hopp <karsten@redhat.de> 2.59-11
+- Requires imake for _AC_PATH_X
+
+* Thu Jul 20 2006 Karsten Hopp <karsten@redhat.de> 2.59-10
+- rebuild
+
+* Wed Jul 19 2006 Karsten Hopp <karsten@redhat.de> 2.59-9
+- rebuild
+
+* Tue May 16 2006 Karsten Hopp <karsten@redhat.de> 2.59-8
+- try to link with libX11 instead of libXt
+
+* Wed Feb 15 2006 Karsten Hopp <karsten@redhat.de> 2.59-7
+- XrmInitialize takes no argument (#181340)
+
+* Mon Feb 06 2006 Karsten Hopp <karsten@redhat.de> 2.59-6
+- check for Xlib.h instead of Intrinsic.h to find X11 headers
+ (#176379)
+
+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt
+
+* Tue Sep 21 2004 Daniel Reed <djr@redhat.com> - 2.59-5
+- rebuilt for dist-fc3
+
+* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Thu Dec 18 2003 Jens Petersen <petersen@redhat.com> - 2.59-2
+- rebuild with perl-5.8.2 [Harald Hoyer]
+
+* Thu Nov 13 2003 Jens Petersen <petersen@redhat.com> - 2.59-1
+- update to 2.59 bugfix release
+- remove autoconf-2.58-fix-ac_abs-109267.patch no longer needed
+
+* Fri Nov 7 2003 Jens Petersen <petersen@redhat.com> - 2.58-2
+- fix problem with ac_abs_{build,src}dir (#109267) [reported by Joe Orton,
+ patch by Alexandre Duret-Lutz]
+
+* Wed Nov 5 2003 Jens Petersen <petersen@redhat.com> - 2.58-1
+- 2.58 release
+
+* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
+- rebuilt
+
+* Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.57-2
+- Fix missing/unpackaged file
+
+* Thu Dec 5 2002 Jens Petersen <petersen@redhat.com> 2.57-1
+- update to 2.57 bugfix release
+- buildrequire emacs (#79031), sed and m4
+
+* Sat Nov 23 2002 Jens Petersen <petersen@redhat.com> 2.56-2
+- add --without check build option to control whether "make check" run
+- don't gzip info files explicitly
+- use exclude for unwanted info files
+
+* Thu Nov 21 2002 Jens Petersen <petersen@redhat.com>
+- no longer obsolete autoconf253
+
+* Mon Nov 18 2002 Jens Petersen <petersen@redhat.com> 2.56-1
+- update to 2.56
+- obsolete autoheader-warn patch
+- no longer provide autoconf253
+- include site-lisp and man files
+- remove info dir which is not in the manifest
+- do not version suffix bin files for now
+
+* Mon Aug 19 2002 Jens Petersen <petersen@redhat.com> 2.53-8
+- make check
+
+* Fri Jun 28 2002 Jens Petersen <petersen@redhat.com> 2.53-7
+- update url (#66840)
+- added doc files
+
+* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.53-6
+- automated rebuild
+
+* Sun May 26 2002 Tim Powers <timp@redhat.com> 2.53-5
+- automated rebuild
+
+* Mon May 20 2002 Bill Nottingham <notting@redhat.com> 2.53-4
+- provide autoconf253
+
+* Thu May 16 2002 Bill Nottingham <notting@redhat.com> 2.53-3
+- obsolete autoconf253
+
+* Wed May 8 2002 Jens Petersen <petersen@redhat.com> 2.53-2
+- patch autoheader so that --warnings=CATEGORY works (#64566)
+ [reported with fix by hjl@gnu.org]
+
+* Tue Apr 23 2002 Jens Petersen <petersen@redhat.com> 2.53-1
+- update to autoconf-2.53
+- drop mawk patch again
+- version suffix bindir files and add symlinks to unversioned names
+
+* Fri Feb 1 2002 Jens Petersen <petersen@redhat.com> 2.52-7
+- revert to 2.52 (also fixes #58210!)
+- remove relversion variable
+- bring back mawk -> gawk patch
+
+* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 2.52-6
+- automated rebuild
+
+* Thu Dec 20 2001 Jens Petersen <petersen@redhat.com> 2.52-5
+- update to 2.52f
+- add URL
+- minor description improvements
+- define relversion to carry version number
+- mawk.patch no longer needed
+
+* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.52-4
+- rebuild
+
+* Wed Sep 19 2001 Jens Petersen <petersen@redhat.com> 2.52-3
+- restore patch to prefer gawk to mawk
+
+* Tue Sep 18 2001 Florian La Roche <Florian.LaRoche@redhat.de> 2.52-2
+- update to 2.52d
+
+* Mon Sep 17 2001 Jens Petersen <petersen@redhat.com> 2.52-1
+- update to 2.52
+- remove obsolete patches, since already new version
+- dont install install-sh
+
+* Tue Jul 10 2001 Jens Petersen <petersen@redhat.com>
+- add patch to include various standard C headers as needed
+ by various autoconf tests (#19114)
+- add patch to autoscan.pl to get a better choice of init
+ file (#42071), to test for CPP after CC (#42072) and to
+ detect C++ source and g++ (#42073).
+
+* Tue Jun 26 2001 Jens Petersen <petersen@redhat.com>
+- Add a back-port of _AC_PROG_CXX_EXIT_DECLARATION
+ from version 2.50 to make detection of C++ exit()
+ declaration prototype platform independent. The check is
+ done in AC_PROG_CXX with the result stored in "confdefs.h".
+ The exit() prototype in AC_TRY_RUN_NATIVE is no longer needed.
+ (fixes #18829)
+
+* Wed Nov 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- Fix up interoperability with glibc 2.2 and gcc 2.96:
+ AC_TRY_RUN_NATIVE in C++ mode added a prototype for exit() to
+ the test code without throwing an exception, causing a conflict
+ with stdlib.h --> AC_TRY_RUN_NATIVE for C++ code including stdlib.h
+ always failed, returning wrong results
+
+* Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com>
+- add textutils as a dependency (#14439)
+
+* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
+- automatic rebuild
+
+* Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
+- FHS packaging.
+
+* Sun Mar 26 2000 Florian La Roche <Florian.LaRoche@redhat.com>
+- fix preun
+
+* Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com>
+- add patch to help autoconf clean after itself and not leave /tmp clobbered
+ with acin.* and acout.* files (can you say annoying?)
+
+* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
+- auto rebuild in the new build environment (release 4)
+- use gawk, not mawk
+
+* Thu Mar 18 1999 Preston Brown <pbrown@redhat.com>
+- moved /usr/lib/autoconf to /usr/share/autoconf (with automake)
+
+* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
+- Injected new description and group.
+
+* Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com>
+- update to 2.13.
+
+* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
+- build against glibc 2.1
+
+* Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com>
+- requires perl
+
+* Thu Aug 27 1998 Cristian Gafton <gafton@redhat.com>
+- patch for fixing /tmp race conditions
+
+* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
+- spec file cleanups
+- made a noarch package
+- uses autoconf
+- uses install-info
+
+* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
+- built with glibc
diff --git a/config.site b/config.site
new file mode 100644
index 0000000..5bea225
--- /dev/null
+++ b/config.site
@@ -0,0 +1,29 @@
+# This is the config.site file to satisfy FHS defaults when installing below
+# /usr.
+#
+# You may override this file by your config.site using the CONFIG_SITE env
+# variable.
+#
+# Note: This file includes also RHEL/Fedora fix for installing libraries into
+# "/lib/lib64" on 64bit systems.
+
+if test -n "$host"; then
+ # skip when cross-compiling
+ return 0
+fi
+
+if test "$prefix" = /usr \
+ || { test "$prefix" = NONE && test "$ac_default_prefix" = /usr ; }
+then
+ test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
+ test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
+ test "$localstatedir" = '${prefix}/var' && localstatedir=/var
+
+ ARCH=`uname -m`
+ for i in x86_64 ppc64 s390x aarch64; do
+ if test $ARCH = $i; then
+ test "$libdir" = '${exec_prefix}/lib' && libdir='${exec_prefix}/lib64'
+ break
+ fi
+ done
+fi
diff --git a/sources b/sources
new file mode 100644
index 0000000..5432acb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+12cfa1687ffa2606337efe1a64416106 autoconf-2.71.tar.xz