On Mon, Jun 06, 2016 at 04:22:59PM +0100, Jonathan Perkin wrote: > > Right, it only exists as a macro, defined as > > #define stat64 stat > > in sys/stat.h. The AC_CHECK_FUNC test fails as it doesn't pull in any > includes, and cannot find a stat64() function in libc. > > Adding the AC_CHECK_DECL test finds the definition and avoids running > the AC_CHECK_FUNC tests if that is the case. OK, how about just changing the AC_CHECK_FUNC to AC_CHECK_DECL? Please resubmit the patch. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html