AC_CHECK_HEADERS(security/pam_modules.h ucontext.h regex.h sys/statvfs.h sys/statfs.h sys/bitypes.h)
AC_CHECK_HEADERS(sys/socket.h sys/ioctl.h errno.h time.h syslog.h)
AC_CHECK_HEADERS(linux/errqueue.h,,,[#include <linux/types.h>])
-AC_CHECK_HEADERS(et/com_err.h)
+AC_CHECK_HEADERS(et/com_err.h stdio_ext.h)
AC_CHECK_TYPES([fsblkcnt_t],,,[
#include <sys/types.h>
setprogname \
setvbuf \
sigaction \
- snprintf \
strcasestr \
strerror \
timegm \
- vsnprintf \
- vsyslog \
])
OPENAFS_ROKEN()
strsep \
])
-dnl Functions that we're going to try and get from libroken
+dnl Functions that are in objects that we always build from libroken
+AC_CHECK_FUNCS([ \
+ asprintf \
+ asnprintf \
+ vasprintf \
+ vasnprintf \
+ vsnprintf \
+ snprintf \
+])
+dnl Functions that we're going to try and get from libroken
AC_REPLACE_FUNCS([ \
daemon \
ecalloc \
strlcpy \
verr \
verrx \
+ vsyslog \
vwarn \
vwarnx \
warn \
#include <netdb.h>
#endif
])
+AC_CHECK_TYPES([long long], [], [], [])
AC_SIZEOF_TYPE(long)