]> git.eshelyaron.com Git - emacs.git/commitdiff
Support pty's on OpenBSD
authorYASUOKA Masahiko <yasuoka@yasuoka.net>
Sat, 27 Jun 2020 03:56:42 +0000 (12:56 +0900)
committerEli Zaretskii <eliz@gnu.org>
Wed, 1 Jul 2020 14:22:25 +0000 (17:22 +0300)
* configure.ac (PTY_TTY_NAME_SPRINTF): OpenBSD has posix_openpt
nowadays.  (Bug#42059)

Copyright-paperwork-exempt: yes

configure.ac

index 9edd2273b193f6a775f6e8da49de7bc558fcc59b..6ede6104d397fcb8b2069cb772ac305c5f869f58 100644 (file)
@@ -4884,11 +4884,11 @@ case $opsys in
     AC_DEFINE(PTY_TTY_NAME_SPRINTF, [])
     ;;
 
-  gnu | openbsd | qnxnto )
+  gnu | qnxnto )
     AC_DEFINE(FIRST_PTY_LETTER, ['p'])
     ;;
 
-  gnu-linux | gnu-kfreebsd | dragonfly | freebsd | netbsd | darwin | nacl )
+  gnu-linux | gnu-kfreebsd | dragonfly | freebsd | openbsd | netbsd | darwin | nacl )
     dnl if HAVE_GRANTPT
     if test "x$ac_cv_func_grantpt" = xyes; then
       AC_DEFINE(UNIX98_PTYS, 1, [Define if the system has Unix98 PTYs.])