chiark / gitweb /
build-sys: add autoconf macro to pick macro for x32 compatibility
[elogind.git] / configure.ac
index 3566dac830a1d00bfc4eb24f3f0a535950c76015..540bfa47a5fc1a8f316246b0f69461ac8561d506 100644 (file)
@@ -40,6 +40,7 @@ AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.])
 AS_IF([test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
        test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"],
       [AC_DEFINE(ARCH_MIPS, [], [Whether on mips arch])])
+SD_CHECK_MAX_INT_SIZE([time_t], [#include <time.h>])
 
 LT_PREREQ(2.2)
 LT_INIT([disable-static])