AC_MSG_CHECKING(for %zd printf() format support)
AC_TRY_RUN([#include <stdio.h>
AC_RUN_IFELSE([#include <stdio.h>
#include <stddef.h>
#include <string.h>
}],
[AC_MSG_RESULT(yes)
AC_DEFINE(PY_FORMAT_SIZE_T, "z", [Define to printf format modifier for Py_ssize_t])],
AC_MSG_RESULT(no),
AC_MSG_RESULT(no))
AC_CHECK_TYPE(socklen_t,,