With an Autoconf update: Get the size of a void * and a time_t.
With this change we know:
whether this is a 32-bit or 64-bit build ;
whether the time_t size is 32-bit or 64-bit.
AC_LBL_C_INIT(V_CCOPT, V_INCLS)
AC_CHECK_HEADERS(fcntl.h)
+#
+# Get the size of a void *, to know whether this is a 32-bit or 64-bit build.
+#
+AC_CHECK_SIZEOF([void *])
+
+#
+# Get the size of a time_t, to know whether it's 32-bit or 64-bit.
+#
+AC_CHECK_SIZEOF([time_t],,[#include <time.h>])
#
# Try to arrange for large file support.
#endif /* HAVE_LIBNIDS */
+#if defined(SIZEOF_VOID_P) && defined(SIZEOF_TIME_T)
+ (void)fprintf (f, "%u-bit build, %u-bit time_t\n",
+ SIZEOF_VOID_P * 8, SIZEOF_TIME_T * 8);
+#endif
+
(void)fprintf(f,
"Usage: tcpslice [-DdhlRrtv] [-w file]\n"
" [ -s types [ -e seconds ] [ -f format ] ]\n"