Mercurial > hg > octave-nkf > gnulib-hg
changeset 12998:de97ad7c83eb
pty: Make forkpty check work.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Wed, 17 Mar 2010 15:29:00 +0100 |
parents | 3870d1e5f8d4 |
children | e7606e6e8c83 |
files | ChangeLog m4/pty.m4 |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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
--- a/m4/pty.m4 +++ b/m4/pty.m4 @@ -17,6 +17,7 @@ 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]])