From: Simon Josefsson Date: Wed, 17 Mar 2010 14:29:00 +0000 (+0100) Subject: pty: Make forkpty check work. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34311b2a84364c9ea69d544fd5e53acd27721cce;p=pspp pty: Make forkpty check work. --- diff --git a/ChangeLog b/ChangeLog index e404640f69..2095b2fc39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-03-17 Ludovic Courtès (tiny change) + + * m4/pty.m4: Unset $ac_cv_have_decl_forkpty before the second + `AC_CHECK_DECL' invocation. + 2010-03-15 Sergey Poznyakoff * lib/inttostr.c (inttostr): Make sure the invocation of verify diff --git a/m4/pty.m4 b/m4/pty.m4 index 1d8616d694..35ff929d75 100644 --- a/m4/pty.m4 +++ b/m4/pty.m4 @@ -17,6 +17,7 @@ AC_DEFUN([gl_PTY], if test $ac_cv_header_pty_h != yes; then AC_CHECK_DECL([forkpty],,, [[#include ]]) if test $ac_cv_have_decl_forkpty = no; then + unset ac_cv_have_decl_forkpty AC_CHECK_DECL([forkpty],,, [[#include ]]) if test $ac_cv_have_decl_forkpty = no; then AC_MSG_WARN([[Cannot find forkpty, build will likely fail]])