[SSSD] [ding-libs][PATCH] Run autoreconf during %build in the specfile
Jakub Hrozek
jhrozek at redhat.com
Mon Mar 25 10:17:59 UTC 2013
Attached are two build-time patches for ding-libs. Patch 0001 amends
configure.ac to be able to work with recent autoconf versions without
warnings and Patch 0002 runs autoreconf in the specfile to resolve
https://bugzilla.redhat.com/show_bug.cgi?id=925258
-------------- next part --------------
>From 41a7811b2a4e07a30701508bbbb4b16d4ce1e0ba Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Mon, 25 Mar 2013 11:03:19 +0100
Subject: [PATCH 1/2] Include AM_PROG_AR in configure.ac to get rid of warnings
---
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 2e22e8a6aaac271dfa4841c17f98411967e09fd9..8f0f1244ecaa627c1d1543407344e5c31b3eeb6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,9 @@ AC_INIT([ding-libs],
AC_CONFIG_SRCDIR([README])
AC_CONFIG_AUX_DIR([build])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
-AC_PROG_CC
+AM_PROG_CC_C_O
+m4_pattern_allow([AM_PROG_AR])
+AM_PROG_AR
AC_PROG_LIBTOOL
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_INSTALL
--
1.8.1.4
-------------- next part --------------
>From f9a9b2a3c0e1e82f59baa2185ff08cbc29fbb7c1 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Mon, 25 Mar 2013 10:56:23 +0100
Subject: [PATCH 2/2] Run autoreconf before configure in the specfile
---
contrib/ding-libs.spec.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/contrib/ding-libs.spec.in b/contrib/ding-libs.spec.in
index 85d36637a5246b3f98f2fa74ed5d7d979cea9e02..533019c4d05043545ab119d07348e078df18d80b 100644
--- a/contrib/ding-libs.spec.in
+++ b/contrib/ding-libs.spec.in
@@ -319,6 +319,7 @@ structure
%setup -q
%build
+autoreconf -ivf
%configure \
--disable-static
--
1.8.1.4
More information about the sssd-devel
mailing list