automake-1.12.6 emitted those warnings configure.ac:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:8: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation testsuite/mathhelper/Makefile.am:23: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Signed-off-by: Gilles Espinasse <g....@free.fr> --- ChangeLog | 4 ++++ example/mathhelper/configure.ac | 4 ++-- .../mathhelper/testsuite/mathhelper/Makefile.am | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a00176..16c35be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-03-30 Gilles Espinasse <g....@free.fr> + + * Fix example/mathhelper warnings with automake-1.12.6. + 2013-03-28 Gilles Espinasse <g....@free.fr> * TODO: Remove todo item about warncnt and errcnt. diff --git a/example/mathhelper/configure.ac b/example/mathhelper/configure.ac index dfe356e..acd98e1 100644 --- a/example/mathhelper/configure.ac +++ b/example/mathhelper/configure.ac @@ -1,11 +1,11 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT +AC_INIT([mathhelper], [1.0]) AC_CONFIG_SRCDIR([libmathhelper/mathhelper.c]) dnl handles checking target AC_CANONICAL_TARGET([]) -AM_INIT_AUTOMAKE(mathhelper,1.0) +AM_INIT_AUTOMAKE dnl Checks for programs. AC_PROG_CC diff --git a/example/mathhelper/testsuite/mathhelper/Makefile.am b/example/mathhelper/testsuite/mathhelper/Makefile.am index d80c08d..80deecd 100644 --- a/example/mathhelper/testsuite/mathhelper/Makefile.am +++ b/example/mathhelper/testsuite/mathhelper/Makefile.am @@ -20,7 +20,7 @@ CLEANFILES = *.log *.sum site.bak all: @echo "Nothing to be done for all" -INCLUDES= \ +AM_CPPFLAGS= \ -I$(top_srcdir)/libmathhelper -I/opt/dejagnu-1.4.4/include noinst_PROGRAMS = -- 1.7.2.5 _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu