bug-ncurses
[Top][All Lists]
Advanced

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

Re: [PATCH] Check time.h existence in the configure script


From: Thomas Dickey
Subject: Re: [PATCH] Check time.h existence in the configure script
Date: Sun, 20 Mar 2011 19:25:05 -0400 (EDT)

On Mon, 21 Mar 2011, Petr Pavlu wrote:

On 20. bře 11 18:12, Thomas Dickey wrote:
On Sun, 20 Mar 2011, Petr Pavlu wrote:

Hello,
ncurses compilation failed for me because time.h header was
missing on my system. I think that existence of time.h header
should be checked already in the configure script thus I'm
attaching a one-liner fix. It also contains a fix for one
typo. ;)

thanks - this doesn't seem to be a new problem.  There's no corresponding
ifdef's in the code for HAVE_TIME_H however - so simply adding the
configure check wouldn't do much.  What was the failure?

I apologize, the actually missing check was for math.h. There
isn't needed any extra check for time.h on my system (Solaris 11)
because it's contained in a same package as sys/time.h.

I see (partly - not sure why you would not have math.h, which I assume is part of SUNWlibm). If you don't have math.h, would you expect
to be able to compile tclock?  (if so, where would sin/cos be prototyped).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

reply via email to

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