… | |
… | |
733 | |
733 | |
734 | dnl# -------------------------------------------- |
734 | dnl# -------------------------------------------- |
735 | AC_CHECK_HEADER(utmp.h, |
735 | AC_CHECK_HEADER(utmp.h, |
736 | [AC_CACHE_CHECK([for struct utmp], rxvt_cv_struct_utmp, |
736 | [AC_CACHE_CHECK([for struct utmp], rxvt_cv_struct_utmp, |
737 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
737 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> |
738 | #include <stdint.h> |
|
|
739 | #include <utmp.h>]], [[struct utmp ut;]])],[rxvt_cv_struct_utmp=yes],[rxvt_cv_struct_utmp=no])]) |
738 | #include <utmp.h>]], [[struct utmp ut;]])],[rxvt_cv_struct_utmp=yes],[rxvt_cv_struct_utmp=no])]) |
740 | if test x$rxvt_cv_struct_utmp = xyes; then |
739 | if test x$rxvt_cv_struct_utmp = xyes; then |
741 | AC_DEFINE(HAVE_STRUCT_UTMP, 1, Define if utmp.h has struct utmp) |
740 | AC_DEFINE(HAVE_STRUCT_UTMP, 1, Define if utmp.h has struct utmp) |
742 | fi |
741 | fi |
743 | ] |
742 | ] |