* [PATCH] configure: switch to new libtool macro
@ 2015-02-26 8:45 Marc Kleine-Budde
0 siblings, 0 replies; only message in thread
From: Marc Kleine-Budde @ 2015-02-26 8:45 UTC (permalink / raw)
To: linux-can; +Cc: Andrew Lentvorski, Marc Kleine-Budde
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
GNUmakefile.am | 2 ++
configure.ac | 12 +++---------
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/GNUmakefile.am b/GNUmakefile.am
index 53dfb4ec47db..580e60d364c2 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 2fa16ce35af2..3b695d3aa9ea 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]]))
--
2.1.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-26 8:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 8:45 [PATCH] configure: switch to new libtool macro Marc Kleine-Budde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).