* Ralf Wildenhues wrote on Fri, Sep 22, 2006 at 08:45:54AM CEST: > > This check in m4/readutmp.m4:gl_READUTMP: > AC_CHECK_MEMBERS([struct utmpx.ut_exit],,,[$utmp_includes]) > > detects that as nonexistent [...]
Please ignore that message. I was reading both AC_CHECK_MEMBER and config.log wrongly, more specifically I overlooked that there is a second compile test to make up for a failure in the first one. Sorry about the noise. To keep myself from missing this again, I applied this patch to the Autoconf test suite. Cheers, Ralf * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct member. Index: tests/semantics.at =================================================================== RCS file: /cvsroot/autoconf/autoconf/tests/semantics.at,v retrieving revision 1.56 diff -u -r1.56 semantics.at --- tests/semantics.at 17 Mar 2006 20:37:26 -0000 1.56 +++ tests/semantics.at 26 Sep 2006 09:04:28 -0000 @@ -234,10 +242,12 @@ # Check that it performs the correct actions. # Must define HAVE_STRUCT_YES_S_YES, but not HAVE_STRUCT_YES_S_NO. AT_CHECK_MACRO([AC_CHECK_MEMBERS], -[[AC_CHECK_MEMBERS([struct yes_s.yes, struct yes_s.no],,, - [struct yes_s { int yes ;} ;])]], +[[AC_CHECK_MEMBERS([struct yes_s.yes, struct yes_s.no, struct yes_s.substruct],,, + [struct sub { int x; }; + struct yes_s { int yes; struct sub substruct; };])]], [AT_CHECK_DEFINES( [/* #undef HAVE_STRUCT_YES_S_NO */ +#define HAVE_STRUCT_YES_S_SUBSTRUCT 1 #define HAVE_STRUCT_YES_S_YES 1 ])])