bug-make
[Top][All Lists]
Advanced

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

Re: gmake-4.2.90 patch


From: Paul Smith
Subject: Re: gmake-4.2.90 patch
Date: Tue, 03 Sep 2019 12:02:26 -0400
User-agent: Evolution 3.32.1-2

On Tue, 2019-09-03 at 10:27 -0400, Dmitry Goncharov wrote:
> /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
> /* #undef TIME_WITH_SYS_TIME */

This is the reason for your problem.  On my system, this is defined.

What version of GNU/Linux are you using?

What this undefined value means is that as far as autoconf is
concerned, it's not valid to include both <sys/time.h> and <time.h> at
the same time on the same system.  In this situation, if
HAVE_SYS_TIME_H is defined (which it is for you) then <sys/time.h> will
be included but not <time.h>.

The fact that you can add an include of <time.h> into file.c and have
it not fail shows that in fact, it IS OK to have both these headers
included at the same time, which means that the configure check got it
wrong.

Can you email me (privately please, not to the entire list) your
config.log file, or go through it to find the errors that were
generated when configure attempted to determine whether both these
headers can be included?

Thanks!




reply via email to

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