Mercurial > hg > octave-lojdl > gnulib-hg
changeset 13235:a068c8f101e6
openpty: Fix mistake from 2010-03-21.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 16 Apr 2010 02:38:16 +0200 |
parents | 4bca2ccf46d1 |
children | 3421d6e36cbd |
files | ChangeLog m4/pty.m4 |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-15 Bruno Haible <bruno@clisp.org> + + openpty: Fix mistake from 2010-03-21. + * m4/pty.m4 (gl_FUNC_OPENPTY): Define HAVE_OPENPTY when openpty exists. + Reported by Simon Josefsson. + 2010-04-15 Eric Blake <eblake@redhat.com> test-forkpty: fix expected signature
--- a/m4/pty.m4 +++ b/m4/pty.m4 @@ -1,4 +1,4 @@ -# pty.m4 serial 6 +# pty.m4 serial 7 dnl Copyright (C) 2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -119,6 +119,8 @@ if test $gl_cv_func_openpty_const != yes; then REPLACE_OPENPTY=1 AC_LIBOBJ([openpty]) + AC_DEFINE([HAVE_OPENPTY], [1], + [Define to 1 if the system has the 'openpty' function.]) fi else dnl The system does not have openpty.