From 64aff9776bfe01be71d7ff4ee036bb7d5b9ba28f Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Thu, 7 Mar 2013 16:37:29 +0100
Subject: [PATCH v4 03/13] build: Use LT_INIT instead of AC_DISABLE_STATIC and
 AC_PROG_LIBTOOL
Status: applied

AC_PROG_LIBTOOL is deprecated and wrongly uses the autoconf namespace,
use LT_INIT instead. As we are using LT_INIT anyway we might as well
pass the disable-static option directly to it instead of using the
AC_DISABLE_STATIC macro, which is not deprecated right now, but uses
the autoconf namespace too.
---
 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 06e0f1a..37296ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,8 +28,7 @@ AC_PROG_MKDIR_P
 m4_define([_LT_AC_TAGCONFIG], [])
 m4_ifdef([AC_LIBTOOL_TAGS], [AC_LIBTOOL_TAGS([])])
 
-AC_DISABLE_STATIC
-AC_PROG_LIBTOOL
+LT_INIT([disable-static])
 
 AM_CONDITIONAL(READLINE, test "${enable_readline}" = "yes")
 
-- 
2.1.1

