X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=configure.in;h=287875bc95dc6948ff218ba5e32ddb4c2b575bc1;hp=9b8c56806556c0b8625dcabc83763a8552f15018;hb=56539e8eafef3e955be9d08254d61b139faf34f1;hpb=8979d70884315e7de858d4de2c0bb5287ad7bbbb diff --git a/configure.in b/configure.in index 9b8c568..287875b 100644 --- a/configure.in +++ b/configure.in @@ -793,6 +793,15 @@ if test $nmh_cv_struct_tm_gmtoff = yes; then AC_DEFINE(HAVE_TM_GMTOFF) fi +AC_CACHE_CHECK(for ut_type in struct utmp, nmh_cv_struct_utmp_ut_type, +[AC_TRY_COMPILE( +[#include ], +[struct utmp temputmp; temputmp.ut_type = 0;], + nmh_cv_struct_utmp_ut_type=yes, nmh_cv_struct_utmp_ut_type=no)]) +if test $nmh_cv_struct_utmp_ut_type = yes; then + AC_DEFINE(HAVE_UTMP_UT_TYPE) +fi + dnl ------------- dnl CHECK SIGNALS dnl -------------