]> git.sesse.net Git - ffmpeg/commit
configure: Check for nanosleep in headers as well, not only in libs
authorMartin Storsjö <martin@martin.st>
Mon, 11 Aug 2014 12:02:28 +0000 (15:02 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 13 Aug 2014 11:39:01 +0000 (14:39 +0300)
commit72199e1041b4052544e181ad90b431ca6704da12
treea62fa43336ee53e1765fb39ea5ce82bdc6b30ad4
parent428b0578c64241fc677fed7083cc8fe65e10f32e
configure: Check for nanosleep in headers as well, not only in libs

On mingw64 with c++11 support, the link libraries do contain a
nanosleep function, while it isn't exposed via the headers. Using
check_func_headers instead of a plain check_func fixes this
misdetection.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure