[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] dejagnu: fix example/mathhelper automake warnings
From: |
Gilles Espinasse |
Subject: |
[PATCH] dejagnu: fix example/mathhelper automake warnings |
Date: |
Sat, 30 Mar 2013 08:27:54 +0100 |
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 <address@hidden>
---
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 <address@hidden>
+
+ * Fix example/mathhelper warnings with automake-1.12.6.
+
2013-03-28 Gilles Espinasse <address@hidden>
* 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] dejagnu: fix example/mathhelper automake warnings,
Gilles Espinasse <=