[gjs/wip/ptomato/autotools: 8/18] build: Use new LT_INIT syntax for Libtool



commit b53388831591d7075e83bde82c3219cf7f8acbcf
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 5398d71..cc27203 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,11 +34,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]