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) AC_CHECK_FUNC([clock_gettime],, [AC_SEARCH_LIBS([clock_gettime],[rt posix4])]) +AC_CHECK_FUNC([dl_iterate_phdr],, + [AC_SEARCH_LIBS([dl_iterate_phdr],[dl])]) + AC_PROG_CC AC_PROG_LIBTOOL AC_PROG_CC_STDC