Skip to content

Commit

Permalink
AC_CHECK_FUNC does not set the define, prefer AC_CHECK_FUNCS
Browse files Browse the repository at this point in the history
  • Loading branch information
busterb committed Mar 23, 2018
1 parent 7ffaf00 commit 158281b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions m4/check-libc.m4
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF],
-a "x$ac_cv_func_arc4random_buf" = xyes])
# Check for getentropy fallback dependencies
AC_CHECK_FUNC([getauxval])
AC_SEARCH_LIBS([clock_gettime],[rt posix4])
AC_CHECK_FUNC([clock_gettime])
AC_CHECK_FUNCS([getauxval])
AC_SEARCH_LIBS([dl_iterate_phdr],[dl])
AC_CHECK_FUNC([dl_iterate_phdr])
AC_CHECK_FUNCS([dl_iterate_phdr])
AC_SEARCH_LIBS([clock_gettime],[rt posix4])
AC_CHECK_FUNCS([clock_gettime])
AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes])
])

Expand Down

0 comments on commit 158281b

Please sign in to comment.