comparison configure.ac @ 1622:e11ed628708b

- Add adaptive authentication failure delay - Rework monotonic_now/gettime_wrapper and use clock_gettime on more platforms
author Matt Johnston <matt@ucc.asn.au>
date Mon, 05 Nov 2018 23:36:34 +0800
parents 68abf717328d
children c66c49ebf77d
comparison
equal deleted inserted replaced
1621:8cdabd7d34aa 1622:e11ed628708b
495 AC_CHECK_FUNCS(utmpname) 495 AC_CHECK_FUNCS(utmpname)
496 AC_CHECK_FUNCS(endutxent getutxent getutxid getutxline pututxline ) 496 AC_CHECK_FUNCS(endutxent getutxent getutxid getutxline pututxline )
497 AC_CHECK_FUNCS(setutxent utmpxname) 497 AC_CHECK_FUNCS(setutxent utmpxname)
498 AC_CHECK_FUNCS(logout updwtmp logwtmp) 498 AC_CHECK_FUNCS(logout updwtmp logwtmp)
499 499
500 # POSIX monotonic time
501 OLDCFLAGS="$CFLAGS"
502 CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=199309L"
503 AC_CHECK_FUNCS(clock_gettime)
504 CFLAGS="$OLDCFLAGS"
505
500 # OS X monotonic time 506 # OS X monotonic time
501 AC_CHECK_HEADERS([mach/mach_time.h]) 507 AC_CHECK_HEADERS([mach/mach_time.h])
502 AC_CHECK_FUNCS(mach_absolute_time) 508 AC_CHECK_FUNCS(mach_absolute_time)
503 509
504 AC_CHECK_FUNCS(explicit_bzero memset_s) 510 AC_CHECK_FUNCS(explicit_bzero memset_s)