X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=configure.ac;h=9512a1eb8877ca7a5b4f8ae11ed4268bf1c11c74;hb=994bcb9764af0b26a256d99c05993836f816eb43;hp=c7b7b1b44c46ad33ae0079a2a4970d20f7d3c8d4;hpb=d6494a973444b73361836ef1f2d66bd895903fff;p=deb_libcec.git diff --git a/configure.ac b/configure.ac index c7b7b1b..9512a1e 100644 --- a/configure.ac +++ b/configure.ac @@ -116,7 +116,7 @@ AC_CHECK_FUNCS([dlopen dlclose dlsym]) case "${host}" in *-*-linux*) # for timeutils - LIBS="$LIBS -lrt" + AC_SEARCH_LIBS([clock_gettime], [rt]) ;; *-apple-darwin*) LIBS="$LIBS -framework CoreVideo -framework IOKit"