+2010-03-17 Ludovic Courtès <ludo@gnu.org> (tiny change)
+
+ * m4/pty.m4: Unset $ac_cv_have_decl_forkpty before the second
+ `AC_CHECK_DECL' invocation.
+
2010-03-15 Sergey Poznyakoff <gray@gnu.org.ua>
* lib/inttostr.c (inttostr): Make sure the invocation of verify
if test $ac_cv_header_pty_h != yes; then
AC_CHECK_DECL([forkpty],,, [[#include <util.h>]])
if test $ac_cv_have_decl_forkpty = no; then
+ unset ac_cv_have_decl_forkpty
AC_CHECK_DECL([forkpty],,, [[#include <libutil.h>]])
if test $ac_cv_have_decl_forkpty = no; then
AC_MSG_WARN([[Cannot find forkpty, build will likely fail]])