… | |
… | |
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 | ) |
714 | dnl# Note: On NetBSD, openpty() exists in libutil. Don't pull it in |
715 | dnl# Note: On NetBSD, openpty() exists in libutil. Don't pull it in |
715 | |
716 | |
716 | dnl# -------------------------------------------------------------------------- |
717 | dnl# -------------------------------------------------------------------------- |
… | |
… | |
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])]) |
761 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
762 | if 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) |
763 | fi |
764 | fi |
|
|
765 | |
|
|
766 | AC_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;], |
|
|
770 | rxvt_cv_struct_utmpx_session=yes, rxvt_cv_struct_utmpx_session=no)]) |
|
|
771 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
|
|
772 | AC_DEFINE(HAVE_UTMPX_SESSION, 1, Define if struct utmpx contains ut_session) |
|
|
773 | fi |
764 | ) dnl# AC_CHECK_HEADER(utmpx.h |
774 | ) dnl# AC_CHECK_HEADER(utmpx.h |
765 | |
|
|
766 | |
775 | |
767 | dnl# -------------------------------------------------------------------------- |
776 | dnl# -------------------------------------------------------------------------- |
768 | dnl# check for struct lastlog |
777 | dnl# check for struct lastlog |
769 | AC_CACHE_CHECK(for struct lastlog, rxvt_cv_struct_lastlog, |
778 | AC_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 ".----------------------------------------------------------------." |
1446 | fi |
1455 | fi |
1447 | |
1456 | |
1448 | echo " *** Please check src/feature.h for further options ***" |
1457 | echo " *** Optionally check src/feature.h for further options ***" |
1449 | echo |
1458 | echo |
1450 | |
1459 | |
1451 | echo ".----------------------------------------------------------------." |
1460 | echo ".----------------------------------------------------------------." |
1452 | echo ". NOTE: most features are disabled by default, try ." |
1461 | echo ". NOTE: most features are disabled by default, try ." |
1453 | echo ". configure --help to get an idea of the optional features ." |
1462 | echo ". configure --help to get an idea of the optional features, ." |
|
|
1463 | echo ". or read ./README.configure ." |
|
|
1464 | echo ". ." |
|
|
1465 | echo ". The script ./reconf gives a reasonable baseline, try it if ." |
|
|
1466 | echo ". you do not want to read documentation and still want some ." |
|
|
1467 | echo ". useful features. ." |
1454 | echo ".----------------------------------------------------------------." |
1468 | echo ".----------------------------------------------------------------." |
1455 | echo |
1469 | echo |
1456 | |
1470 | |