Ludovic Courtès wrote:
> The following patch makes sure `time' uses `AC_C_RESTRICT'.

This is redundant, because gl_HEADER_TIME_H requires gl_HEADER_TIME_H_BODY
which requires AC_C_RESTRICT.

> This fixes compilation at least on MinGW as reported here:
> 
>   http://thread.gmane.org/gmane.lisp.guile.bugs/3984

The user's problem can be tracked down as follows:
  - Check that configure contains an expansion of AC_C_RESTRICT.
  - Check that config.h.in contains a section for 'restrict'.
  - Check that config.h contains a definition for 'restrict'. If not,
    check the config.log for explanations.

Maybe the user simply attempted to build the package with a different compiler
than with the one with which the configure script was run? This is not 
supported.

Or maybe some subdirectories are built with "gcc" and others with "gcc 
-std=gnu99"
or similar?

Bruno



Reply via email to