X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fpty.m4;fp=m4%2Fpty.m4;h=617b1b90f3e16a6234b2d71e6915ccf458d5c248;hb=e764ea2fcb9a6247ae4dc0d4c0566b43d950a694;hp=355db2871fac508933c461a09ec1578a5f7a5c5d;hpb=56d363d4ccf9d50e9c2fcc5080e8e8d69bc9d5ca;p=gnulib.git diff --git a/m4/pty.m4 b/m4/pty.m4 index 355db2871..617b1b90f 100644 --- 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 @@ AC_DEFUN([gl_FUNC_OPENPTY], 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.