chiark / gitweb /
Remove unnecessary casts in printfs
[elogind.git] / configure.ac
index 972fc2f6bf83d6141b3315b4ed196cf5a35746e2..c3653e3f76c4f7fe246c8156150ad731c9799197 100644 (file)
@@ -199,6 +199,11 @@ AC_SUBST([OUR_LDFLAGS], "$with_ldflags $sanitizer_ldflags")
 AC_CHECK_SIZEOF(pid_t)
 AC_CHECK_SIZEOF(uid_t)
 AC_CHECK_SIZEOF(gid_t)
+AC_CHECK_SIZEOF(time_t)
+AC_CHECK_SIZEOF(rlim_t,,[
+       #include <sys/time.h>
+       #include <sys/resource.h>
+])
 
 # ------------------------------------------------------------------------------
 # we use python to build the man page index, and for systemd-python