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