@@ -23,10 +23,16 @@ AC_SUBST(NO_CONST_CFSTRINGS) AC_MSG_CHECKING(whether Objective C compiler supports fast enumeration) AC_TRY_COMPILE([ #import + + @protocol OFFastEnumeration + - (int)countByEnumeratingWithState: (void*)state + objects: (id*)objects + count: (int)count; + @end ], [ id n = nil; for (id i in n); ], [ AC_DEFINE(OF_HAVE_FAST_ENUMERATION, 1,