bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf-2.66: AC_CONFIG_SUBDIRS and AC_INIT warns


From: Ralf Wildenhues
Subject: Re: autoconf-2.66: AC_CONFIG_SUBDIRS and AC_INIT warns
Date: Tue, 6 Jul 2010 23:17:37 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hi Bruno, Eric,

thanks for the bug reports.

* Bruno Haible wrote on Sun, Jul 04, 2010 at 02:51:21AM CEST:
> But there's another, similar regression in AC_INIT:
> 
> ================================= configure.ac 
> ================================
> AC_INIT([GNU CLISP], [2.48++ (2010-07-03)], [http://clisp.cons.org/], [clisp])
> AC_OUTPUT
> ===============================================================================
> 
> With autoconf 2.65, no warning. With autoconf 2.66 (with or without your 
> patch):
> 
>   $ autoconf
>   configure.ac:1: warning: AC_INIT: not a literal: 2.48++ (2010-07-03)
> 
> Yes, in some packages, the version number consists of two parts, separated by
> a space.

The space isn't a what triggers the warning here, it's the parentheses
around the date.  OTOH, at least for Automake, the space is also a
problem, because $(PACKAGE)-$(VERSION) is used for distdir and not
consistently quoted.  Sure, you may not use Automake for your package,
but that means there would need to be a stricter test in Automake for
the version string.

My current recommendation on this, since it's a warning only, is to
either ignore it, or use -Wno-syntax to silence it for now.  WDYT?

Cheers,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]