[FFmpeg-cvslog] r17537 - trunk/configure

diego subversion
Mon Feb 23 02:56:09 CET 2009


Author: diego
Date: Mon Feb 23 02:56:08 2009
New Revision: 17537

Log:
Check if -lrt is required for nanosleep, as is the case on Solaris.
inspired by a patch from Fabian Groffen, grobian gentoo org

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Feb 23 02:47:18 2009	(r17536)
+++ trunk/configure	Mon Feb 23 02:56:08 2009	(r17537)
@@ -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




More information about the ffmpeg-cvslog mailing list