[cyrus-sasl] replace AM_CONFIG_HEADER macro with AC_CONFIG_HEADERS
plautrba
plautrba at fedoraproject.org
Thu Jan 31 10:21:54 UTC 2013
commit 5868c565ab6846129f04d4e5b5c8533b2ffef21c
Author: Petr Lautrbach <plautrba at redhat.com>
Date: Mon Jan 21 11:10:00 2013 +0100
replace AM_CONFIG_HEADER macro with AC_CONFIG_HEADERS
cyrus-sasl-2.1.26-obsolete-macro.patch | 13 +++++++++++++
cyrus-sasl.spec | 3 +++
2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/cyrus-sasl-2.1.26-obsolete-macro.patch b/cyrus-sasl-2.1.26-obsolete-macro.patch
new file mode 100644
index 0000000..a836d8f
--- /dev/null
+++ b/cyrus-sasl-2.1.26-obsolete-macro.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.in b/configure.in
+index e70c99a..60f366c 100644
+--- a/configure.in
++++ b/configure.in
+@@ -1416,7 +1416,7 @@ inline static unsigned int sleep(unsigned int seconds) {
+ #endif /* CONFIG_H */
+ ])
+
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+
+ AC_OUTPUT(Makefile
+ libsasl2.pc
diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec
index 015a147..111307b 100644
--- a/cyrus-sasl.spec
+++ b/cyrus-sasl.spec
@@ -38,6 +38,8 @@ Patch42: cyrus-sasl-2.1.26-relro.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=816250
Patch43: cyrus-sasl-2.1.26-null-crypt.patch
Patch44: cyrus-sasl-2.1.26-release-server_creds.patch
+# AM_CONFIG_HEADER is obsolete, use AC_CONFIG_HEADERS instead
+Patch45: cyrus-sasl-2.1.26-obsolete-macro.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf, automake, libtool, gdbm-devel, groff
@@ -173,6 +175,7 @@ chmod -x include/*.h
%patch42 -p1 -b .relro
%patch43 -p1 -b .null-crypt
%patch44 -p1 -b .release-server_creds
+%patch45 -p1 -b .obsolete-macro
%build
# FIXME - we remove these files directly so that we can avoid using the -f
More information about the scm-commits
mailing list