Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 619416
Collapse All | Expand All

(-)nvi-1.81.6/dist/configure.in.orig (-1 / +1 lines)
Lines 790-796 Link Here
790
dnl Check for which version of openpty to use, System V or Berkeley.
790
dnl Check for which version of openpty to use, System V or Berkeley.
791
AC_MSG_CHECKING(for System V pty calls)
791
AC_MSG_CHECKING(for System V pty calls)
792
AC_CACHE_VAL(vi_cv_sys5_pty, [dnl
792
AC_CACHE_VAL(vi_cv_sys5_pty, [dnl
793
AC_TRY_LINK(, [grantpt(0);],
793
AC_TRY_LINK([#include <sys/stropts.h>], [grantpt(0);],
794
	[vi_cv_sys5_pty=yes], [vi_cv_sys5_pty=no])])
794
	[vi_cv_sys5_pty=yes], [vi_cv_sys5_pty=no])])
795
if test "$vi_cv_sys5_pty" = yes; then
795
if test "$vi_cv_sys5_pty" = yes; then
796
	AC_DEFINE(HAVE_SYS5_PTY)
796
	AC_DEFINE(HAVE_SYS5_PTY)

Return to bug 619416