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.50 by root, Wed Feb 16 20:32:05 2005 UTC vs.
Revision 1.51 by root, Wed Feb 16 21:21:43 2005 UTC

707 unlockpt \ 707 unlockpt \
708 isastream \ 708 isastream \
709 on_exit \ 709 on_exit \
710 nanosleep \ 710 nanosleep \
711 updwtmp \ 711 updwtmp \
712 updwtmpx \
712 ttyslot \ 713 ttyslot \
713) 714)
714dnl# Note: On NetBSD, openpty() exists in libutil. Don't pull it in 715dnl# Note: On NetBSD, openpty() exists in libutil. Don't pull it in
715 716
716dnl# -------------------------------------------------------------------------- 717dnl# --------------------------------------------------------------------------
759[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> 760[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
760#include <utmpx.h>]], [[struct utmpx utx; utx.ut_host;]])],[rxvt_cv_struct_utmpx_host=yes],[rxvt_cv_struct_utmpx_host=no])]) 761#include <utmpx.h>]], [[struct utmpx utx; utx.ut_host;]])],[rxvt_cv_struct_utmpx_host=yes],[rxvt_cv_struct_utmpx_host=no])])
761if test x$rxvt_cv_struct_utmpx_host = xyes; then 762if test x$rxvt_cv_struct_utmpx_host = xyes; then
762 AC_DEFINE(HAVE_UTMPX_HOST, 1, Define if struct utmpx contains ut_host) 763 AC_DEFINE(HAVE_UTMPX_HOST, 1, Define if struct utmpx contains ut_host)
763fi 764fi
765
766AC_CACHE_CHECK(for session in utmpx struct, rxvt_cv_struct_utmpx_session,
767[AC_TRY_COMPILE([#include <sys/types.h>
768#include <utmpx.h>],
769[struct utmpx utx; utx.ut_session;],
770rxvt_cv_struct_utmpx_session=yes, rxvt_cv_struct_utmpx_session=no)])
771if test x$rxvt_cv_struct_utmpx_session = xyes; then
772 AC_DEFINE(HAVE_UTMPX_SESSION, 1, Define if struct utmpx contains ut_session)
773fi
764) dnl# AC_CHECK_HEADER(utmpx.h 774) dnl# AC_CHECK_HEADER(utmpx.h
765
766 775
767dnl# -------------------------------------------------------------------------- 776dnl# --------------------------------------------------------------------------
768dnl# check for struct lastlog 777dnl# check for struct lastlog
769AC_CACHE_CHECK(for struct lastlog, rxvt_cv_struct_lastlog, 778AC_CACHE_CHECK(for struct lastlog, rxvt_cv_struct_lastlog,
770[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> 779[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines