aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-07-27 06:15:26 -0500
committerBrent Cook <bcook@openbsd.org>2014-07-28 07:26:42 -0500
commitf8195c9c22eda252afd753aea86b0280c34d6a0e (patch)
treef4ffcc9be9e3b7afc53bf6a9e9f7135e239c9bf4
parent1b62d5e416a0b47ba89653b2683bf51bdcff527e (diff)
downloadportable-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.tpl3
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)
39AC_CHECK_FUNC([clock_gettime],, 39AC_CHECK_FUNC([clock_gettime],,
40 [AC_SEARCH_LIBS([clock_gettime],[rt posix4])]) 40 [AC_SEARCH_LIBS([clock_gettime],[rt posix4])])
41 41
42AC_CHECK_FUNC([dl_iterate_phdr],,
43 [AC_SEARCH_LIBS([dl_iterate_phdr],[dl])])
44
42AC_PROG_CC 45AC_PROG_CC
43AC_PROG_LIBTOOL 46AC_PROG_LIBTOOL
44AC_PROG_CC_STDC 47AC_PROG_CC_STDC