Blame SOURCES/0001-configure-update-some-macros-for-autoconf-2.71.patch

69a8fd
From a8492d71a6db8565544444eef11de8c733c95ef8 Mon Sep 17 00:00:00 2001
69a8fd
From: Sumit Bose <sbose@redhat.com>
69a8fd
Date: Tue, 6 Apr 2021 19:32:07 +0200
69a8fd
Subject: [PATCH] configure: update some macros for autoconf-2.71
69a8fd
69a8fd
---
69a8fd
 configure.ac        | 10 +++++-----
69a8fd
 library/Makefile.am |  2 +-
69a8fd
 tools/Makefile.am   |  2 +-
69a8fd
 3 files changed, 7 insertions(+), 7 deletions(-)
69a8fd
69a8fd
diff --git a/configure.ac b/configure.ac
69a8fd
index 7dfba97..c6ff31d 100644
69a8fd
--- a/configure.ac
69a8fd
+++ b/configure.ac
69a8fd
@@ -1,4 +1,4 @@
69a8fd
-AC_PREREQ(2.61)
69a8fd
+AC_PREREQ([2.61])
69a8fd
 
69a8fd
 AC_INIT([adcli],
69a8fd
 	[0.9.1],
69a8fd
@@ -33,7 +33,7 @@ LT_INIT([dlopen disable-static])
69a8fd
 AC_PROG_CC
69a8fd
 AC_PROG_CPP
69a8fd
 AM_PROG_CC_C_O
69a8fd
-AM_PROG_LIBTOOL
69a8fd
+LT_INIT
69a8fd
 
69a8fd
 # -------------------------------------------------------------------
69a8fd
 # Kerberos
69a8fd
@@ -143,7 +143,7 @@ AC_ARG_WITH([vendor-error-message],
69a8fd
 
69a8fd
 AC_MSG_CHECKING([whether to build documentation])
69a8fd
 AC_ARG_ENABLE(doc,
69a8fd
-              AC_HELP_STRING([--enable-doc],
69a8fd
+              AS_HELP_STRING([--enable-doc],
69a8fd
                              [Disable building documentation])
69a8fd
              )
69a8fd
 
69a8fd
@@ -180,7 +180,7 @@ doc_status=$enable_doc
69a8fd
 
69a8fd
 AC_MSG_CHECKING([for debug mode])
69a8fd
 AC_ARG_ENABLE(debug,
69a8fd
-              AC_HELP_STRING([--enable-debug=no/default/yes],
69a8fd
+              AS_HELP_STRING([--enable-debug=no/default/yes],
69a8fd
               [Turn on or off debugging]))
69a8fd
 
69a8fd
 if test "$enable_debug" != "no"; then
69a8fd
@@ -308,7 +308,7 @@ fi
69a8fd
 
69a8fd
 AC_MSG_CHECKING([where is Samba's net utility])
69a8fd
 AC_ARG_WITH([samba_data_tool],
69a8fd
-              AC_HELP_STRING([--with-samba-data-tool=/path],
69a8fd
+              AS_HELP_STRING([--with-samba-data-tool=/path],
69a8fd
               [Path to Samba's net utility]),
69a8fd
               [],
69a8fd
               [with_samba_data_tool=/usr/bin/net])
69a8fd
diff --git a/library/Makefile.am b/library/Makefile.am
69a8fd
index 4829555..e046606 100644
69a8fd
--- a/library/Makefile.am
69a8fd
+++ b/library/Makefile.am
69a8fd
@@ -1,6 +1,6 @@
69a8fd
 include $(top_srcdir)/Makefile.decl
69a8fd
 
69a8fd
-INCLUDES = \
69a8fd
+AM_CPPFLAGS = \
69a8fd
 	-I$(top_srcdir) \
69a8fd
 	-DADCLI_UNSTABLE_API \
69a8fd
 	-DHOST_TRIPLET=\"$(host_triplet)\" \
69a8fd
diff --git a/tools/Makefile.am b/tools/Makefile.am
69a8fd
index 1cdf451..71ec14d 100644
69a8fd
--- a/tools/Makefile.am
69a8fd
+++ b/tools/Makefile.am
69a8fd
@@ -1,6 +1,6 @@
69a8fd
 include $(top_srcdir)/Makefile.decl
69a8fd
 
69a8fd
-INCLUDES = \
69a8fd
+AM_CPPFLAGS = \
69a8fd
 	-I$(top_srcdir) \
69a8fd
 	-I$(top_srcdir)/library \
69a8fd
 	-DKRB5_CONFIG=\""$(sysconfdir)/krb5.conf"\" \
69a8fd
-- 
69a8fd
2.30.2
69a8fd