Browse Source

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

inspired by a patch from Fabian Groffen, grobian gentoo org

Originally committed as revision 17537 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 17 years ago
parent
commit
75ecf14900
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      configure

+ 3
- 0
configure View File

@@ -1900,6 +1900,9 @@ elif check_func dlopen -ldl; then
ldl=-ldl
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 gethrtime
check_func getrusage


Loading…
Cancel
Save