- configure: fix "C preprocessor "gcc -E" fails sanity check" error
with autoconf 2.72+ Resolves: rhbz#2256836
This commit is contained in:
parent
2010cfa183
commit
feee8a05b2
22
bz2256836-configure-fix-sanity-check-autoconf-2.72.patch
Normal file
22
bz2256836-configure-fix-sanity-check-autoconf-2.72.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From a97a00c37d8a15ee3a8d11ac00281626f55790b3 Mon Sep 17 00:00:00 2001
|
||||
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
|
||||
Date: Mon, 8 Jan 2024 15:07:19 +0100
|
||||
Subject: [PATCH] configure: fix "C preprocessor "gcc -E" fails sanity check"
|
||||
error caused by autoconf 2.72
|
||||
|
||||
---
|
||||
configure.ac | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 74766899b..67b9ddd35 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -81,6 +81,7 @@ fi
|
||||
AC_PROG_CC dnl Can force other with environment variable "CC".
|
||||
AM_PROG_CC_C_O
|
||||
AC_PROG_CC_STDC
|
||||
+AC_PROG_CPP
|
||||
AC_PROG_AWK
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_INSTALL
|
@ -52,10 +52,11 @@
|
||||
Name: resource-agents
|
||||
Summary: Open Source HA Reusable Cluster Resource Scripts
|
||||
Version: 4.13.0
|
||||
Release: 1%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||
Release: 2%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist}
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
URL: https://github.com/ClusterLabs/resource-agents
|
||||
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
||||
Patch0: bz2256836-configure-fix-sanity-check-autoconf-2.72.patch
|
||||
Obsoletes: heartbeat-resources <= %{version}
|
||||
Provides: heartbeat-resources = %{version}
|
||||
|
||||
@ -389,6 +390,12 @@ ccs_update_schema > /dev/null 2>&1 ||:
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jan 10 2024 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.13.0-2
|
||||
- configure: fix "C preprocessor "gcc -E" fails sanity check" error
|
||||
with autoconf 2.72+
|
||||
|
||||
Resolves: rhbz#2256836
|
||||
|
||||
* Wed Oct 11 2023 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.13.0-1
|
||||
- Rebase to resource-agents 4.13.0 upstream release.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user