replace AM_CONFIG_HEADER macro with AC_CONFIG_HEADERS
This commit is contained in:
parent
f4d44cf620
commit
5868c565ab
13
cyrus-sasl-2.1.26-obsolete-macro.patch
Normal file
13
cyrus-sasl-2.1.26-obsolete-macro.patch
Normal file
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user