On 01/21/2013 10:40 PM, Roumen Petrov wrote: > Hi automake developers, > > 1) defect > Bootstrap of quite recent release of one project automake 1.13 produce > following warning: > ... > #configure.ac:27: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms > are deprecated. For more info, see: > #configure.ac:27: > http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation > ... > > Hyperlink "Modernize-AM_INIT_AUTOMAKE-invocation" does not exist in current > page. > > As result I can not include proper automake reference in bug report to > package authors. > > It seems to me closed to topic is link '#Public-Macros' in current > (2013-01-21) manual. > > Please correct URL in warning message. > Should be fixed now (see first attached patch).
> > 2) enhancement > AM_INIT_AUTOMAKE paragraph ends with following : > .... > By default this macro AC_DEFINE's PACKAGE and VERSION. This can be avoided by > passing the no-define option: > > AM_INIT_AUTOMAKE([gnits 1.5 no-define dist-bzip2]) > --- > Probably correct suggestion is just AM_INIT_AUTOMAKE([1.5 no-define]) > Or even better, simply "AM_INIT_AUTOMAKE([no-define ...])". Done with the second attached patch. > and for details to refer again to macro options directly to chapter > "17.2 List of Automake options". > Good idea. Done as well. > Manual must not suggest gnits and dist-bzip2 as project distribution policy > could be less > restrictive (foreign) or authors may prefer dist-xz or dist-gzip. > > > Regards, > Roumen Petrov > > I'm now closing this bug report. Thanks, Stefano
>From 9d1002e0772e2fb6e9f9a3832a0f9c6486cd438a Mon Sep 17 00:00:00 2001 Message-Id: <9d1002e0772e2fb6e9f9a3832a0f9c6486cd438a.1358848159.git.stefano.lattar...@gmail.com> From: Stefano Lattarini <stefano.lattar...@gmail.com> Date: Tue, 22 Jan 2013 10:49:17 +0100 Subject: [PATCH] warn: correct broken hyperlink in warning message * automake.in (scan_autoconf_traces): Here, when an use of the deprecated two- and three-arguments forms of AM_INIT_AUTOMAKE is detected. Fixes automake bug#13519. Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- automake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automake.in b/automake.in index 7a863cf..7f00346 100644 --- a/automake.in +++ b/automake.in @@ -5336,7 +5336,7 @@ EOF { msg 'obsolete', $where, <<'EOF'; AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: -http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation +http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation EOF $package_version = $args[2]; $package_version_location = $where; -- 1.8.1.rc3.192.g2d0029e
>From ae34038674ae31fb9783264fc116075c511a1bcf Mon Sep 17 00:00:00 2001 Message-Id: <ae34038674ae31fb9783264fc116075c511a1bcf.1358848620.git.stefano.lattar...@gmail.com> From: Stefano Lattarini <stefano.lattar...@gmail.com> Date: Tue, 22 Jan 2013 10:56:57 +0100 Subject: [PATCH] docs: 'no-define' option and AM_INIT_AUTOMAKE three-args usage: fixlets See automake bug#13519. * doc/automake.texi: Adjust. Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- doc/automake.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/automake.texi b/doc/automake.texi index c4951e3..69e44ca 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -3950,9 +3950,9 @@ explicitly). @opindex no-define By default this macro @code{AC_DEFINE}'s @code{PACKAGE} and @code{VERSION}. This can be avoided by passing the @option{no-define} -option: +option (@pxref{List of Automake options}): @example -AM_INIT_AUTOMAKE([gnits 1.5 no-define dist-bzip2]) +AM_INIT_AUTOMAKE([no-define ...]) @end example @item AM_PATH_LISPDIR -- 1.8.1.rc3.192.g2d0029e