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.52 by root, Fri Feb 18 12:15:07 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>
1443 echo ". functions could not be found. ." 1452 echo ". functions could not be found. ."
1444 echo ". XIM is now being DISABLED! ." 1453 echo ". XIM is now being DISABLED! ."
1445 echo ".----------------------------------------------------------------." 1454 echo ".----------------------------------------------------------------."
1446fi 1455fi
1447 1456
1448echo " *** Please check src/feature.h for further options ***" 1457echo " *** Optionally check src/feature.h for further options ***"
1449echo 1458echo
1450 1459
1451echo ".----------------------------------------------------------------." 1460echo ".----------------------------------------------------------------."
1452echo ". NOTE: most features are disabled by default, try ." 1461echo ". NOTE: most features are disabled by default, try ."
1453echo ". configure --help to get an idea of the optional features ." 1462echo ". configure --help to get an idea of the optional features, ."
1463echo ". or read ./README.configure ."
1464echo ". ."
1465echo ". The script ./reconf gives a reasonable baseline, try it if ."
1466echo ". you do not want to read documentation and still want some ."
1467echo ". useful features. ."
1454echo ".----------------------------------------------------------------." 1468echo ".----------------------------------------------------------------."
1455echo 1469echo
1456 1470

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines