Hi Simon,

Simon Josefsson <si...@josefsson.org> writes:

> l...@gnu.org (Ludovic Courtès) writes:
>
>> Hi Ralf,
>>
>> Ralf Wildenhues <ralf.wildenh...@gmx.de> writes:
>>
>>> * Ludovic Courtès wrote on Tue, Mar 16, 2010 at 10:52:11AM CET:
>>>> checking whether forkpty is declared... no
>>>> checking whether forkpty is declared... (cached) no
>>>
>>>> Looking at pty.m4, I’m wondering whether the second
>>>> ‘AC_CHECK_DECL([forkpty]...])’ is actually performed; it seems that
>>>> ‘configure’ just reuses the value from the previous check.  Thus, if
>>>> ‘forkpty’ is declared in <libutil.h>, it’s never found.
>>>
>>> Yes, you have to unset the cache variable before the second test,
>>> ac_cv_have_decl_forkpty.
>>
>> Then I think this patch should fix it:
>
> Applied, let's see if it helps.

Apparently it doesn’t: http://hydra.nixos.org/build/327435 .

I’ve checked this:

--8<---------------cut here---------------start------------->8---
$ uname -rs
FreeBSD 8.0-RELEASE
$ grep forkpty /usr/include/*.h
/usr/include/libutil.h:int      forkpty(int *_amaster, char *_name,
--8<---------------cut here---------------end--------------->8---

But the build farm uses FreeBSD 7.2, where things could be different.

Thanks,
Ludo’.


Reply via email to