Hello Ludovic,

* 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.

Cheers,
Ralf


Reply via email to