diff options
| author | YASUOKA Masahiko | 2020-06-27 12:56:42 +0900 |
|---|---|---|
| committer | Eli Zaretskii | 2020-07-01 17:22:25 +0300 |
| commit | af313f5b9ef1c140ff13ee8ab3077dd5c94bb896 (patch) | |
| tree | d89f9f52f19e137eea8054ec01d32ef47a2ebb06 | |
| parent | 3e72ca1fc3946a409467c33dae66beeaac028a3e (diff) | |
| download | emacs-af313f5b9ef1c140ff13ee8ab3077dd5c94bb896.tar.gz emacs-af313f5b9ef1c140ff13ee8ab3077dd5c94bb896.zip | |
Support pty's on OpenBSD
* configure.ac (PTY_TTY_NAME_SPRINTF): OpenBSD has posix_openpt
nowadays. (Bug#42059)
Copyright-paperwork-exempt: yes
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9edd2273b19..6ede6104d39 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -4884,11 +4884,11 @@ case $opsys in | |||
| 4884 | AC_DEFINE(PTY_TTY_NAME_SPRINTF, []) | 4884 | AC_DEFINE(PTY_TTY_NAME_SPRINTF, []) |
| 4885 | ;; | 4885 | ;; |
| 4886 | 4886 | ||
| 4887 | gnu | openbsd | qnxnto ) | 4887 | gnu | qnxnto ) |
| 4888 | AC_DEFINE(FIRST_PTY_LETTER, ['p']) | 4888 | AC_DEFINE(FIRST_PTY_LETTER, ['p']) |
| 4889 | ;; | 4889 | ;; |
| 4890 | 4890 | ||
| 4891 | gnu-linux | gnu-kfreebsd | dragonfly | freebsd | netbsd | darwin | nacl ) | 4891 | gnu-linux | gnu-kfreebsd | dragonfly | freebsd | openbsd | netbsd | darwin | nacl ) |
| 4892 | dnl if HAVE_GRANTPT | 4892 | dnl if HAVE_GRANTPT |
| 4893 | if test "x$ac_cv_func_grantpt" = xyes; then | 4893 | if test "x$ac_cv_func_grantpt" = xyes; then |
| 4894 | AC_DEFINE(UNIX98_PTYS, 1, [Define if the system has Unix98 PTYs.]) | 4894 | AC_DEFINE(UNIX98_PTYS, 1, [Define if the system has Unix98 PTYs.]) |