bug-make
[Top][All Lists]
Advanced

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

Re: patch: check for c99 support


From: Paul Smith
Subject: Re: patch: check for c99 support
Date: Thu, 28 May 2020 21:58:29 -0400

On Fri, 2020-05-29 at 01:10 +0000, ky0ko@disroot.org wrote:
> as of version 4.3, with the inclusion of gnulib, make now appears to
> require c99 support in order to be compiled correctly.
> 
> since this is the case, the configure script should check if flags
> are necessary to enable c99 support, as several non-gnu compilers do
> not enable it by default.

Thanks for this patch.

I discussed this with the gnulib folks and Bruno discovered that a
number of the gnulib modules that should have been marked as relying on
c99, were not so marked.  This includes verify (the module that caused
GNU make grief).

Bruno pushed a patch (to gnulib) which adds c99 prerequisites on the
modules that need it.

I believe that with this change to gnulib, it's no longer necessary for
GNU make to change anything in our configure.am.

However I'm not sure the best way to check this.  Maybe I can come up
with a wrapper script locally that sets the default to c89 on my
compiler to ensure that configure will detect this and add appropriate
flags.




reply via email to

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