]> git.sesse.net Git - vlc/commitdiff
Check for clock_nanosleep so mtime compiles (linking is another matter)
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 4 Feb 2008 19:04:43 +0000 (19:04 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 4 Feb 2008 19:04:43 +0000 (19:04 +0000)
extras/buildsystem/cmake/include/config.cmake

index 5425556d8b486f6045fce2354b3d4fd5e9c59cde..a01f5c78ff9b5bc45a348479c85d16d7cc4cba5f 100644 (file)
@@ -78,6 +78,7 @@ find_library(HAVE_ICONV iconv)
 set( ICONV_CONST " " )
 
 check_library_exists(dl dlopen "" HAVE_DL_DLOPEN)
+check_library_exists(rt clock_nanosleep "" HAVE_CLOCK_NANOSLEEP)
 
 ###########################################################
 # Other check