configure: switch to new libtool-2.0 macro

It's been out for a while now.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
pull/1/head
Marc Kleine-Budde 2015-02-26 09:44:19 +01:00
parent 002f8eba87
commit ef968b91b3
2 changed files with 5 additions and 9 deletions

View File

@ -1,3 +1,5 @@
ACLOCAL_AMFLAGS = -I config/m4
AM_CPPFLAGS = \
-I$(top_srcdir)/include \
-I$(top_builddir)/include \

View File

@ -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]]))