Skip to content

Commit

Permalink
Require sizeof(time_t) >= 8
Browse files Browse the repository at this point in the history
  • Loading branch information
botovq authored and cjeker committed Jun 12, 2024
1 parent e11740d commit 764aadf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ AM_LDFLAGS="$LDFLAGS $CLANG_FLAGS"
AC_SUBST(AM_CFLAGS)
AC_SUBST(AM_LDFLAGS)

AC_CHECK_SIZEOF([time_t], [time.h])
if test "$ac_cv_sizeof_time_t" -lt "8"; then
AC_MSG_ERROR([rpki-client doesn't support broken OS with small time_t])
fi

AC_ARG_WITH([openssl],
AS_HELP_STRING([--with-openssl=pkg-name],
[Use pkg-config(1) pkg-name to find OpenSSL files]),
Expand Down

0 comments on commit 764aadf

Please sign in to comment.