a3aaa06ab1
which will now belong to group tty.
21 lines
603 B
Plaintext
21 lines
603 B
Plaintext
$OpenBSD: patch-kiklib_configure_in,v 1.1 2012/12/17 18:39:29 naddy Exp $
|
|
--- kiklib/configure.in.orig Fri Dec 14 19:22:28 2012
|
|
+++ kiklib/configure.in Fri Dec 14 19:28:34 2012
|
|
@@ -241,13 +241,15 @@ AC_SUBST(UTMP_LIBS)
|
|
#
|
|
# --- pty checks ---
|
|
#
|
|
+kik_cv_posix_openpt=no
|
|
+AC_CHECK_FUNCS(posix_openpt, kik_cv_posix_openpt=yes)
|
|
AC_MSG_CHECKING(for pty/tty type)
|
|
AC_CACHE_VAL(kik_cv_pty,
|
|
[
|
|
if test "$kik_cv_mingw32" = yes ; then
|
|
kik_cv_pty=win32
|
|
else
|
|
- if test -c /dev/ptmx ; then
|
|
+ if test "$kik_cv_posix_openpt" = yes -o -c /dev/ptmx ; then
|
|
kik_cv_pty=streams
|
|
else
|
|
kik_cv_pty=bsd
|