ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/autoconf/configure.in
(Generate patch)

Comparing rxvt-unicode/autoconf/configure.in (file contents):
Revision 1.66 by root, Wed Jan 11 00:59:58 2006 UTC vs.
Revision 1.67 by root, Wed Jan 11 19:55:34 2006 UTC

739 seteuid \ 739 seteuid \
740 setreuid \ 740 setreuid \
741 setsid \ 741 setsid \
742 setpgrp \ 742 setpgrp \
743 setpgid \ 743 setpgid \
744 openpty \
745 _getpty \ 744 _getpty \
746 grantpt \ 745 grantpt \
747 unlockpt \ 746 unlockpt \
748 isastream \ 747 isastream \
749 on_exit \ 748 on_exit \
750 nanosleep \ 749 nanosleep \
751 updwtmp \ 750 updwtmp \
752 updwtmpx \ 751 updwtmpx \
753 ttyslot \ 752 ttyslot \
754) 753)
755dnl# Note: On NetBSD, openpty() exists in libutil. Don't pull it in
756 754
757dnl# -------------------------------------------------------------------------- 755dnl# --------------------------------------------------------------------------
758dnl# DO ALL UTMP AND WTMP CHECKING 756dnl# DO ALL UTMP AND WTMP CHECKING
759dnl# -------------------------------------------------------------------------- 757dnl# --------------------------------------------------------------------------
760dnl# check for host field in utmp structure 758dnl# check for host field in utmp structure
1185AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt, 1183AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt,
1186[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE 1184[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE
1187#ifdef HAVE_STDLIB_H 1185#ifdef HAVE_STDLIB_H
1188# include <cstdlib> 1186# include <cstdlib>
1189#endif]], [[(void)getpt();]])],[rxvt_cv_func_getpt=yes],[rxvt_cv_func_getpt=no])]) 1187#endif]], [[(void)getpt();]])],[rxvt_cv_func_getpt=yes],[rxvt_cv_func_getpt=no])])
1190if test x$rxvt_cv_func_getpt = xyes; then 1188if test x$rxvt_cv_func_getpt = xno; then
1191 AC_DEFINE(HAVE_GETPT, 1, Define if you have _GNU_SOURCE getpt() ) 1189 AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])])
1192fi 1190fi
1193 1191
1194dnl# if we don't guess right then it's up to the user 1192dnl# if we don't guess right then it's up to the user
1195AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, 1193AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys,
1196[if test x$ac_cv_func_openpty = xyes; then 1194[if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
1197 rxvt_cv_ptys=OPENPTY 1195 rxvt_cv_ptys=OPENPTY
1198 else if test x$ac_cv_func__getpty = xyes; then 1196 else if test x$ac_cv_func__getpty = xyes; then
1199 rxvt_cv_ptys=SGI4 1197 rxvt_cv_ptys=SGI4
1200 else if test -c /dev/ttyp20; then 1198 else if test -c /dev/ttyp20; then
1201 rxvt_cv_ptys=SCO 1199 rxvt_cv_ptys=SCO
1422AC_SUBST(PERLPRIVLIBEXP) 1420AC_SUBST(PERLPRIVLIBEXP)
1423AC_SUBST(PERL) 1421AC_SUBST(PERL)
1424AC_SUBST(IF_PERL) 1422AC_SUBST(IF_PERL)
1425AC_SUBST(PERL_O) 1423AC_SUBST(PERL_O)
1426 1424
1427if text x$support_perl = xyes; then 1425if test x$support_perl = xyes; then
1428 support_frills=yes 1426 support_frills=yes
1429fi 1427fi
1430 1428
1431dnl> AC_CHECK_FUNCS(gettimeofday putenv select socket) 1429dnl> AC_CHECK_FUNCS(gettimeofday putenv select socket)
1432 1430

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines