[SCM] libav/experimental: Check if -lrt is required for nanosleep, as is the case on Solaris. inspired by a patch from Fabian Groffen, grobian gentoo org
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:39:17 UTC 2013
The following commit has been merged in the experimental branch:
commit 75ecf1490093f391275f86b277bf3bc7eed84b8a
Author: Diego Biurrun <diego at biurrun.de>
Date: Mon Feb 23 01:56:08 2009 +0000
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
diff --git a/configure b/configure
index 42d01b1..a8d094f 100755
--- a/configure
+++ b/configure
@@ -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
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list