Mercurial > dropbear
comparison configure.ac @ 1698:f966834f0f9c
Use Linux getrandom() to ensure random device is initialised
Remove old code warning about random device being not ready,
/dev/random isn't used by default anyway.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 28 May 2020 22:50:41 +0800 |
parents | 39534eedf429 |
children | a139fe25f919 |
comparison
equal
deleted
inserted
replaced
1697:789466c5956b | 1698:f966834f0f9c |
---|---|
368 AC_HEADER_SYS_WAIT | 368 AC_HEADER_SYS_WAIT |
369 AC_CHECK_HEADERS([netinet/in.h netinet/tcp.h \ | 369 AC_CHECK_HEADERS([netinet/in.h netinet/tcp.h \ |
370 crypt.h \ | 370 crypt.h \ |
371 pty.h libutil.h libgen.h inttypes.h stropts.h utmp.h \ | 371 pty.h libutil.h libgen.h inttypes.h stropts.h utmp.h \ |
372 utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h \ | 372 utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h \ |
373 pam/pam_appl.h netinet/in_systm.h sys/uio.h linux/pkt_sched.h]) | 373 pam/pam_appl.h netinet/in_systm.h sys/uio.h linux/pkt_sched.h \ |
374 sys/random.h]) | |
374 | 375 |
375 # Checks for typedefs, structures, and compiler characteristics. | 376 # Checks for typedefs, structures, and compiler characteristics. |
376 AC_C_CONST | 377 AC_C_CONST |
377 AC_TYPE_UID_T | 378 AC_TYPE_UID_T |
378 AC_TYPE_MODE_T | 379 AC_TYPE_MODE_T |
524 | 525 |
525 # OS X monotonic time | 526 # OS X monotonic time |
526 AC_CHECK_HEADERS([mach/mach_time.h]) | 527 AC_CHECK_HEADERS([mach/mach_time.h]) |
527 AC_CHECK_FUNCS(mach_absolute_time) | 528 AC_CHECK_FUNCS(mach_absolute_time) |
528 | 529 |
529 AC_CHECK_FUNCS(explicit_bzero memset_s) | 530 AC_CHECK_FUNCS(explicit_bzero memset_s getrandom) |
530 | 531 |
531 AC_ARG_ENABLE(bundled-libtom, | 532 AC_ARG_ENABLE(bundled-libtom, |
532 [ --enable-bundled-libtom Force using bundled libtomcrypt/libtommath even if a system version exists. | 533 [ --enable-bundled-libtom Force using bundled libtomcrypt/libtommath even if a system version exists. |
533 --disable-bundled-libtom Force using system libtomcrypt/libtommath, fail if it does not exist. | 534 --disable-bundled-libtom Force using system libtomcrypt/libtommath, fail if it does not exist. |
534 Default is to use system if available, otherwise bundled. | 535 Default is to use system if available, otherwise bundled. |