diff options
| author | Brent Cook <busterb@gmail.com> | 2018-03-22 21:32:25 -0500 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2018-03-22 21:32:25 -0500 |
| commit | 158281bdfe1664174ea22d7f900a72d8c18887cb (patch) | |
| tree | feeb7d5cd37b0b5b0a2cd96b4f69fbe613b9c8fa | |
| parent | 7ffaf004153931ba77da7f6659feb1990f4ff760 (diff) | |
| download | portable-158281bdfe1664174ea22d7f900a72d8c18887cb.tar.gz portable-158281bdfe1664174ea22d7f900a72d8c18887cb.tar.bz2 portable-158281bdfe1664174ea22d7f900a72d8c18887cb.zip | |
AC_CHECK_FUNC does not set the define, prefer AC_CHECK_FUNCS
| -rw-r--r-- | m4/check-libc.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index df0266a..1fff77e 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 | |||
| @@ -126,12 +126,12 @@ AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF], | |||
| 126 | -a "x$ac_cv_func_arc4random_buf" = xyes]) | 126 | -a "x$ac_cv_func_arc4random_buf" = xyes]) |
| 127 | 127 | ||
| 128 | # Check for getentropy fallback dependencies | 128 | # Check for getentropy fallback dependencies |
| 129 | AC_CHECK_FUNC([getauxval]) | 129 | AC_CHECK_FUNCS([getauxval]) |
| 130 | AC_SEARCH_LIBS([clock_gettime],[rt posix4]) | ||
| 131 | AC_CHECK_FUNC([clock_gettime]) | ||
| 132 | AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) | 130 | AC_SEARCH_LIBS([dl_iterate_phdr],[dl]) |
| 133 | AC_CHECK_FUNC([dl_iterate_phdr]) | 131 | AC_CHECK_FUNCS([dl_iterate_phdr]) |
| 134 | 132 | ||
| 133 | AC_SEARCH_LIBS([clock_gettime],[rt posix4]) | ||
| 134 | AC_CHECK_FUNCS([clock_gettime]) | ||
| 135 | AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes]) | 135 | AM_CONDITIONAL([HAVE_CLOCK_GETTIME], [test "x$ac_cv_func_clock_gettime" = xyes]) |
| 136 | ]) | 136 | ]) |
| 137 | 137 | ||
