mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-20 11:29:01 +00:00
configure: Enable /dev/ptmx for Linux, Darwin.
Both of these systems have /dev/ptmx for creating pseudoterminals. OS X Leopard (10.5) added it in 2007, and Linux has had support for it since v2.1 (1998). This fixes a bug with pseudoterminal creation on Linux and macOS where a new pseudoterminal cannot be created because the wrong method is being used to find one.
This commit is contained in:
parent
01052ca89d
commit
507508b66d
@ -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*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user