From: Marc Kleine-Budde Date: Thu, 26 Feb 2015 08:44:19 +0000 (+0100) Subject: configure: switch to new libtool-2.0 macro X-Git-Url: https://rtime.felk.cvut.cz/gitweb/can-utils.git/commitdiff_plain/ef968b91b3c90ac450998831d6930a947d618b6d configure: switch to new libtool-2.0 macro It's been out for a while now. Signed-off-by: Marc Kleine-Budde --- diff --git a/GNUmakefile.am b/GNUmakefile.am index 53dfb4e..580e60d 100644 --- a/GNUmakefile.am +++ b/GNUmakefile.am @@ -1,3 +1,5 @@ +ACLOCAL_AMFLAGS = -I config/m4 + AM_CPPFLAGS = \ -I$(top_srcdir)/include \ -I$(top_builddir)/include \ diff --git a/configure.ac b/configure.ac index 2fa16ce..3b695d3 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) +AC_PREREQ([2.59]) -AC_INIT([can-utils], [trunk], [linux-can@vger.kernel.org]) +AC_INIT([can-utils],[trunk],[linux-can@vger.kernel.org]) AC_CONFIG_SRCDIR([lib.c]) AC_CONFIG_MACRO_DIR([config/m4]) AC_CONFIG_AUX_DIR([config/autoconf]) @@ -17,13 +17,7 @@ CFLAGS="${CFLAGS} -Wall" # Checks for programs. # AC_PROG_CC -#AM_MISSING_PROG(PERL, perl, $missing_dir) -# libtool, old: -AC_LIBTOOL_WIN32_DLL -#AC_LIBTOOL_TAGS([]) -AC_PROG_LIBTOOL -# libtool, new: -# LT_INIT(win32-dll) +LT_INIT(win32-dll) AM_INIT_AUTOMAKE([foreign no-exeext dist-bzip2]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes]]))