Merge pull request #190 from fragglet/patch-1

configure: Enable /dev/ptmx for Linux, Darwin.
This commit is contained in:
asvitkine 2020-03-15 19:04:20 -04:00 committed by GitHub
commit a4a2c88ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -569,9 +569,6 @@ case "$host" in
*-*-hpux10.26) *-*-hpux10.26)
disable_ptmx_check=yes disable_ptmx_check=yes
;; ;;
*-*-linux*)
no_dev_ptmx=1
;;
mips-sony-bsd|mips-sony-newsos4) mips-sony-bsd|mips-sony-newsos4)
AC_DEFINE(HAVE_NEWS4, 1, [Define if you are on NEWS-OS (additions from openssh-3.2.2p1, for sshpty.c).]) AC_DEFINE(HAVE_NEWS4, 1, [Define if you are on NEWS-OS (additions from openssh-3.2.2p1, for sshpty.c).])
;; ;;
@ -585,7 +582,6 @@ mips-sony-bsd|mips-sony-newsos4)
no_dev_ptmx=1 no_dev_ptmx=1
;; ;;
*-*-darwin*) *-*-darwin*)
no_dev_ptmx=1
LIBS="$LIBS -lstdc++" LIBS="$LIBS -lstdc++"
;; ;;
*-*-freebsd*) *-*-freebsd*)