diff options
author | Brent Cook <bcook@openbsd.org> | 2014-07-27 06:15:26 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-07-28 07:26:42 -0500 |
commit | f8195c9c22eda252afd753aea86b0280c34d6a0e (patch) | |
tree | f4ffcc9be9e3b7afc53bf6a9e9f7135e239c9bf4 | |
parent | 1b62d5e416a0b47ba89653b2683bf51bdcff527e (diff) | |
download | portable-f8195c9c22eda252afd753aea86b0280c34d6a0e.tar.gz portable-f8195c9c22eda252afd753aea86b0280c34d6a0e.tar.bz2 portable-f8195c9c22eda252afd753aea86b0280c34d6a0e.zip |
check link requirements for dl_iterate_phdr
Note that gcc chose to disable this rather than cause link issues with
older copies of Solaris 10:
https://gcc.gnu.org/ml/gcc-patches/2012-01/msg00816.html
If we want to support Solaris <10.10 (I'd rather support up-to-date
versions), getentropy_solaris would need to change.
-rw-r--r-- | configure.ac.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac.tpl b/configure.ac.tpl index 61476cf..d7bb8aa 100644 --- a/configure.ac.tpl +++ b/configure.ac.tpl | |||
@@ -39,6 +39,9 @@ AM_CONDITIONAL(HOST_WIN, test x$HOST_OS = xwin) | |||
39 | AC_CHECK_FUNC([clock_gettime],, | 39 | AC_CHECK_FUNC([clock_gettime],, |
40 | [AC_SEARCH_LIBS([clock_gettime],[rt posix4])]) | 40 | [AC_SEARCH_LIBS([clock_gettime],[rt posix4])]) |
41 | 41 | ||
42 | AC_CHECK_FUNC([dl_iterate_phdr],, | ||
43 | [AC_SEARCH_LIBS([dl_iterate_phdr],[dl])]) | ||
44 | |||
42 | AC_PROG_CC | 45 | AC_PROG_CC |
43 | AC_PROG_LIBTOOL | 46 | AC_PROG_LIBTOOL |
44 | AC_PROG_CC_STDC | 47 | AC_PROG_CC_STDC |