- add back upstream AH_CHECK_HEADERS, backported from upstream fixes some
build failures
This commit is contained in:
parent
80edf5fc27
commit
cd8d159568
@ -1,7 +1,7 @@
|
||||
Summary: A GNU tool for automatically configuring source code
|
||||
Name: autoconf
|
||||
Version: 2.64
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+ and GFDL
|
||||
Group: Development/Tools
|
||||
Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz
|
||||
@ -17,6 +17,10 @@ Requires(preun): /sbin/install-info
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# Bring back an undocumented macro, some projects do use it.
|
||||
# Committed to Autoconf it soon after 2.64.
|
||||
Patch1: autoconf_ah_check_header.patch
|
||||
|
||||
# filter out bogus perl(Autom4te*) dependencies
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_provides %{SOURCE1}
|
||||
@ -40,6 +44,7 @@ their use.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -83,6 +88,10 @@ fi
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
42
autoconf_ah_check_header.patch
Normal file
42
autoconf_ah_check_header.patch
Normal file
@ -0,0 +1,42 @@
|
||||
2009-07-30 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
Add back AH_CHECK_HEADERS.
|
||||
* lib/autoconf/general.m4 (AH_CHECK_HEADERS): New.
|
||||
* NEWS: Create new section.
|
||||
|
||||
diff --git a/NEWS b/NEWS
|
||||
index fc5730f..7e8a522 100644
|
||||
--- a/NEWS
|
||||
+++ b/NEWS
|
||||
@@ -1,5 +1,14 @@
|
||||
GNU Autoconf NEWS - User visible changes.
|
||||
|
||||
+* Major changes in Autoconf 2.64a (????-??-??) [experimental]
|
||||
+ Released by ???? ????
|
||||
+
|
||||
+** The following undocumented autoconf macros, removed in Autoconf 2.64,
|
||||
+ have been reinstated:
|
||||
+ AH_CHECK_HEADERS
|
||||
+
|
||||
+ These macros are present only for backwards compatibility purposes.
|
||||
+
|
||||
* Major changes in Autoconf 2.64 (2009-07-26) [stable]
|
||||
Released by Eric Blake, based on git versions 2.63b.*.
|
||||
|
||||
diff --git a/lib/autoconf/headers.m4 b/lib/autoconf/headers.m4
|
||||
index 21b512c..36c1899 100644
|
||||
--- a/lib/autoconf/headers.m4
|
||||
+++ b/lib/autoconf/headers.m4
|
||||
@@ -253,6 +253,12 @@ m4_define([_AH_CHECK_HEADER],
|
||||
[Define to 1 if you have the <$1> header file.])])
|
||||
|
||||
|
||||
+# AH_CHECK_HEADERS(HEADER-FILE...)
|
||||
+# --------------------------------
|
||||
+m4_define([AH_CHECK_HEADERS],
|
||||
+[m4_foreach_w([AC_Header], [$1], [_AH_CHECK_HEADER(m4_defn([AC_Header]))])])
|
||||
+
|
||||
+
|
||||
# AC_CHECK_HEADERS(HEADER-FILE...,
|
||||
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
|
||||
# [INCLUDES])
|
Loading…
Reference in New Issue
Block a user