Commit a05bd185 authored by diego's avatar diego

Check if -lrt is required for nanosleep, as is the case on Solaris.

inspired by a patch from Fabian Groffen, grobian gentoo org


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17537 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1dd900d0
...@@ -1900,6 +1900,9 @@ elif check_func dlopen -ldl; then ...@@ -1900,6 +1900,9 @@ elif check_func dlopen -ldl; then
ldl=-ldl ldl=-ldl
fi fi
# Solaris has nanosleep in -lrt, OpenSolaris no longer needs that
check_func nanosleep || { check_func nanosleep -lrt && add_extralibs -lrt; }
check_func fork check_func fork
check_func gethrtime check_func gethrtime
check_func getrusage check_func getrusage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment