Skip to content

Commit

Permalink
Merge pull request cebix#221 from atsampson/openpty
Browse files Browse the repository at this point in the history
Use openpty if possible
  • Loading branch information
asvitkine authored Nov 23, 2020
2 parents 29bb3d5 + 413190d commit 6c38946
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion BasiliskII/src/Unix/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,8 @@ dnl Check for headers and functions related to pty support (sshpty.c)
dnl From openssh-3.2.2p1 configure.ac

AC_CHECK_HEADERS(strings.h login.h sys/bsdtty.h sys/stat.h util.h pty.h)
AC_CHECK_FUNCS(_getpty vhangup strlcpy)
AC_SEARCH_LIBS([openpty], [util bsd])
AC_CHECK_FUNCS(_getpty openpty vhangup strlcpy)

case "$host" in
*-*-hpux10.26)
Expand Down
3 changes: 2 additions & 1 deletion SheepShaver/src/Unix/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,8 @@ esac
dnl Check for headers and functions related to pty support (sshpty.c)
dnl From openssh-3.2.2p1 configure.ac
AC_CHECK_HEADERS(strings.h login.h sys/bsdtty.h sys/stat.h util.h pty.h)
AC_CHECK_FUNCS(_getpty vhangup strlcpy)
AC_SEARCH_LIBS([openpty], [util bsd])
AC_CHECK_FUNCS(_getpty openpty vhangup strlcpy)

case "$host" in
*-*-hpux10.26)
Expand Down

0 comments on commit 6c38946

Please sign in to comment.