+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
-# 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,
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.