> ... > > -], ac_cv_header_stat_broken=yes, ac_cv_header_stat_broken=no)]) > > +]])], ac_cv_header_stat_broken=yes, ac_cv_header_stat_broken=no)]) > > if test $ac_cv_header_stat_broken = yes; then > > AC_DEFINE(STAT_MACROS_BROKEN, 1, > > [Define to 1 if the `S_IS*' macros in <sys/stat.h> do not > > It looks like you got this logic backwards in the update. If all four test > cases > compile, we are now defining ac_cv_header_stat_broken to yes. I'm checking in this patch, hopefully obvious: 2006-08-28 Eric Blake <ebb9@xxxxxxx> * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was mistakenly swapped on 2006-08-15. Index: lib/autoconf/headers.m4 =================================================================== RCS file: /sources/autoconf/autoconf/lib/autoconf/headers.m4,v retrieving revision 1.51 diff -u -p -r1.51 headers.m4 --- lib/autoconf/headers.m4 15 Aug 2006 16:24:42 -0000 1.51 +++ lib/autoconf/headers.m4 29 Aug 2006 04:31:51 -0000 @@ -529,7 +529,7 @@ extern char c3[S_ISLNK (S_IFREG) ? -1 : #if defined S_ISSOCK && defined S_IFREG extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; #endif -]])], ac_cv_header_stat_broken=yes, ac_cv_header_stat_broken=no)]) +]])], ac_cv_header_stat_broken=no, ac_cv_header_stat_broken=yes)]) if test $ac_cv_header_stat_broken = yes; then AC_DEFINE(STAT_MACROS_BROKEN, 1, [Define to 1 if the `S_IS*' macros in <sys/stat.h> do not _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf