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

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