[Top][All Lists]

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

Re: [ANN] m4-1.4.17 released [stable]

From: Gary V. Vaughan
Subject: Re: [ANN] m4-1.4.17 released [stable]
Date: Mon, 23 Sep 2013 22:28:47 +0700

Hi Dago,

Thanks for the analysis.

On Sep 23, 2013, at 10:07 PM, Dagobert Michelsen <address@hidden> wrote:
> I didn't enable gcc-warnings, but as it turns out this flag is automatically
> enabled when $srcdir/.git is present:
> AC_ARG_ENABLE([gcc-warnings],
>  [AS_HELP_STRING([--enable-gcc-warnings],
>                  [turn on lots of GCC warnings (for developers)])],
>  [case $enableval in
>     yes|no) ;;
>     *)      AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
>   esac
>   gl_gcc_warnings=$enableval],
>  [if test -d "$srcdir"/.git; then
>     gl_gcc_warnings=yes
>   else
>     gl_gcc_warnings=no
>   fi]
> )

Ugh, I didn't even notice that had arrived since 1.4.16:


Clearly, it should at least check whether the compiler is actually gcc before 
on the flags, although I don't think it is serious enough to warrant another 

Eric, do you mind if I revert that change in branch-1.4 in case of a 1.4.18 in 

> However, when I browse git the automatic detection of .git is not in there:
> http://git.savannah.gnu.org/gitweb/?p=m4.git;a=blob;f=configure.ac;h=2fe6d9e8189d4083b58ba10bfbbe558da15f393b;hb=c09a187c50f2f74e89d4d0991bdbd2c6846cc707

That's a link to master, which is where 2.0 is being polished. But 1.4.17 was 
from branch-1.4.

> By coincidence we use git to apply patches in our build system
> to upstream sources if necessary, so this is the thing that
> confuses the build.

I suggest you add a patch to revert the changeset I linked above, or configure 
build system to pass --disable-gcc-warnings as suggested in the commit log.

> When I disable using git in our buildsystem
> the compilation works fine. I would prefer a system that enabled flags
> explicitly and not by inspecting side effects but I can understand the
> current behaviour.

Gary V. Vaughan (gary AT gnu DOT org)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

reply via email to

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