compute ASN.1 to UTC time without time functions
This commit is contained in:
@@ -819,22 +819,6 @@ AC_TRY_COMPILE(
|
||||
AC_CHECK_FUNCS(backtrace)
|
||||
AC_CHECK_FUNCS(prctl)
|
||||
AC_CHECK_FUNCS(gethostbyname_r)
|
||||
AC_CHECK_FUNCS(timegm)
|
||||
|
||||
AC_MSG_CHECKING(for timezone variable)
|
||||
AC_TRY_LINK(
|
||||
[#include <time.h>],
|
||||
[/* check for timezone function (e.g. FreeBSD) */
|
||||
return (int)timezone(0, 0);],
|
||||
[AC_MSG_RESULT([no])],
|
||||
[AC_TRY_LINK(
|
||||
[#include <time.h>],
|
||||
[/* check for global variable */
|
||||
return (int)timezone;],
|
||||
[AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_VAR_TIMEZONE])],
|
||||
[AC_MSG_RESULT([no])]
|
||||
)]
|
||||
)
|
||||
|
||||
AC_CHECK_HEADERS(net/pfkeyv2.h netipsec/ipsec.h)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user