From 924288c8d968d9c4954b16da1f545c4411e5e859 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 27 Sep 2010 10:02:09 +0000 Subject: [PATCH] switch to newer libtool macro to avoid autoconf warnings git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1849 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 3 +++ urjtag/acinclude.m4 | 10 ++++++++++ urjtag/configure.ac | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 45ff52ae..2d647771 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -9,6 +9,9 @@ style of all other Blackfin parts. * src/bus/bf548_ezkit.c (bf548_ezkit_bus_new): Update signal names. + * configure.ac: Change to newer libtool macro (LT_INIT) to avoid warnings. + * acinclude.m4: Redirect LT_INIT to AC_PROG_LIBTOOL for older libtools. + 2010-08-30 Mike Frysinger * configure.ac: Clean up libusb detection to prefer 1.0 over 0.1, and accept diff --git a/urjtag/acinclude.m4 b/urjtag/acinclude.m4 index c0555e72..8e16e3ec 100644 --- a/urjtag/acinclude.m4 +++ b/urjtag/acinclude.m4 @@ -157,3 +157,13 @@ dnl m4_ifndef([m4_ifnblank],[dnl m4_define([m4_ifnblank], [m4_ifval(m4_normalize([$1]), [$2], [$3])]) ])dnl + + +dnl LT_INIT +dnl ------- +dnl +dnl this was added in libtool-2 +dnl +m4_ifndef([LT_INIT],[dnl +m4_define([LT_INIT],[LT_AM_PROG_LIBTOOL]) +])dnl diff --git a/urjtag/configure.ac b/urjtag/configure.ac index 26e627f4..74692763 100644 --- a/urjtag/configure.ac +++ b/urjtag/configure.ac @@ -95,9 +95,9 @@ AC_GNU_SOURCE AM_GNU_GETTEXT(external) AM_GNU_GETTEXT_VERSION(0.14.1) +LT_INIT AC_PROG_CC AC_PROG_YACC -AC_PROG_LIBTOOL AC_PROG_CC_C99 PKG_PROG_PKG_CONFIG