[gjs/wip/ptomato/autotools: 6/16] build: Use new LT_INIT syntax for Libtool



commit 89ad9716a856aeecda8d9a31bd741040d751fd43
Author: Philip Chimento <philip chimento gmail com>
Date:   Mon Sep 26 21:42:42 2016 -0700

    build: Use new LT_INIT syntax for Libtool
    
    This requires Libtool 2.2.0, which is many years old and available in all
    major distros. See:
    https://wiki.gnome.org/Initiatives/GnomeGoals/ModernAutotools

 configure.ac |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1214e79..a5e364f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,11 +36,9 @@ AX_CXX_COMPILE_STDCXX_11
 AC_ISC_POSIX
 AC_HEADER_STDC
 
+LT_PREREQ([2.2.0])
 # no stupid static libraries
-AM_DISABLE_STATIC
-# avoid libtool for LTCOMPILE, use it only to link
-AC_PROG_LIBTOOL
-dnl DOLT
+LT_INIT([disable-static])
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]