openpty: fix bug where HAVE_OPENPTY wasn't defined
authorReuben Thomas <rrt@sc3d.org>
Thu, 31 Jan 2013 21:55:55 +0000 (13:55 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 31 Jan 2013 21:56:24 +0000 (13:56 -0800)
commit9fdffffad88a06f406d74ea9b23643a05a4069ef
tree56252530ff085868fe23cae7f8258c3d9505f74f
parentdb61fd22822da6974c2ca4caa2975d74229a4c70
openpty: fix bug where HAVE_OPENPTY wasn't defined

See the thread starting at:
http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00185.html
* m4/pty.m4 (gl_FUNC_OPENPTY): Define HAVE_OPENPTY when the
openpty function exists, not merely when we intend to replace it.
ChangeLog
m4/pty.m4