[Freeipa-devel] [PATCH] CONFIGURE: Replace obsolete macros

Lukas Slebodnik lslebodn at redhat.com
Tue Feb 2 08:36:38 UTC 2016


ehlo,

The AC_PROG_LIBTOOL macro is obsoleted by since libtool-2.0
which is already in rhel6+

https://fedorahosted.org/FedoraReview/wiki/AutoTools

simple patch is attached

LS
-------------- next part --------------
>From 079fbfa32cb7c70d76828d96f1db3ed05e7e10c0 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Tue, 2 Feb 2016 09:09:03 +0100
Subject: [PATCH] CONFIGURE: Replace obsolete macros

The AC_PROG_LIBTOOL macro is obsoleted by since libtool-2.0
which is already in rhel6+

https://fedorahosted.org/FedoraReview/wiki/AutoTools
---
 asn1/configure.ac    | 2 +-
 client/configure.ac  | 3 +--
 daemons/configure.ac | 2 +-
 install/configure.ac | 1 -
 4 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/asn1/configure.ac b/asn1/configure.ac
index c3e398ea20d4112ed8308ba5eb822ab22d256436..c0209142821482b1e76c8eac3d9179224847ff38 100644
--- a/asn1/configure.ac
+++ b/asn1/configure.ac
@@ -6,7 +6,7 @@ AC_INIT([ipa-server],
 
 AC_CONFIG_HEADERS([config.h])
 AC_PROG_CC_C99
-AC_PROG_LIBTOOL
+LT_INIT
 
 AM_INIT_AUTOMAKE([foreign])
 
diff --git a/client/configure.ac b/client/configure.ac
index 8e3a71f7b4c08f4c608606bd8f3ef846daeb9a4c..58f23afa71e9d377afd52c26b6e4c1dfb7b404a6 100644
--- a/client/configure.ac
+++ b/client/configure.ac
@@ -3,8 +3,7 @@ m4_include(version.m4)
 AC_INIT([ipa-client],
         IPA_VERSION,
         [https://hosted.fedoraproject.org/projects/freeipa/newticket])
-LT_INIT()
-AC_PROG_LIBTOOL
+LT_INIT
 
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_SUBDIRS([../asn1])
diff --git a/daemons/configure.ac b/daemons/configure.ac
index f2eebee51a0b5fd0648c835fd1f44667c5e49068..2a1f6aa8a24188c9b5f2d12fc25dbab079c2247c 100644
--- a/daemons/configure.ac
+++ b/daemons/configure.ac
@@ -14,7 +14,7 @@ AM_MAINTAINER_MODE
 AC_PROG_CC_C99
 AC_STDC_HEADERS
 AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
+LT_INIT
 
 AC_HEADER_STDC
 
diff --git a/install/configure.ac b/install/configure.ac
index cf19758a1e24c0682db954bf910120dbd31a05fa..b5f77bf8c737a437fe78ec5bfdc95599fce99760 100644
--- a/install/configure.ac
+++ b/install/configure.ac
@@ -13,7 +13,6 @@ AM_MAINTAINER_MODE
 #AC_PROG_CC
 #AC_STDC_HEADERS
 #AC_DISABLE_STATIC
-#AC_PROG_LIBTOOL
 
 #AC_HEADER_STDC
 
-- 
2.5.0



More information about the Freeipa-devel mailing list