[tlbuild] dvisvgm build failures on Solaris

Mojca Miklavec mojca.miklavec.lists at gmail.com
Fri Feb 19 21:23:46 CET 2021


On Fri, 19 Feb 2021 at 21:05, Martin Gieseking wrote:
>
>
> What about adding
>     AC_CHECK_LIB(rt, clock_gettime, [], [])
> to configure.ac? It should ensure to add -lrt only if the library is
> available.

According to the manual one should apparently prefer AC_SEARCH_LIBS:
    https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Libraries.html
and I've found a number of projects that use
    AC_SEARCH_LIBS(clock_gettime, rt)

Maybe this is both the simplest and the correct solution.

Mojca


More information about the tlbuild mailing list.