ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/ptytty.m4
(Generate patch)

Comparing libptytty/ptytty.m4 (file contents):
Revision 1.28 by sf-exg, Thu Nov 10 16:30:16 2011 UTC vs.
Revision 1.29 by sf-exg, Sun Nov 20 14:38:44 2011 UTC

53 seteuid \ 53 seteuid \
54 setreuid \ 54 setreuid \
55 setresuid \ 55 setresuid \
56) 56)
57 57
58 AC_MSG_CHECKING(for UNIX98 ptys) 58AC_MSG_CHECKING(for UNIX98 ptys)
59 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]], 59AC_LINK_IFELSE(
60 [AC_LANG_PROGRAM(
61 [[#include <stdlib.h>]],
60 [[grantpt(0);unlockpt(0);ptsname(0);]])], 62 [[grantpt(0);unlockpt(0);ptsname(0);]])],
61 [unix98_pty=yes 63 [unix98_pty=yes
62 AC_DEFINE(UNIX98_PTY, 1, "") 64 AC_DEFINE(UNIX98_PTY, 1, "")
63 AC_MSG_RESULT(yes)], 65 AC_MSG_RESULT(yes)],
64 [AC_MSG_RESULT(no)]) 66 [AC_MSG_RESULT(no)])
65 67
66if test -z "$unix98_pty"; then 68if test -z "$unix98_pty"; then
67 AC_SEARCH_LIBS(openpty, util, AC_DEFINE(HAVE_OPENPTY, 1, "")) 69 AC_SEARCH_LIBS(openpty, util, AC_DEFINE(HAVE_OPENPTY, 1, ""))
68fi 70fi
69]) 71])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines