+2006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct
+ member.
+
2006-09-25 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Recommend M4 1.4.7 instead of 1.4.6.
# 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
])])