Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-02-25 17:00:59 +0300
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-02-26 11:23:17 +0300
commit885a6d83247b76d4e58084440189620c6f22ca13 (patch)
tree6653b272e4c2129d4403b281d1cde78666bdddef /configure
parent0eb0f29a404e62ac3926a3778656454460184baf (diff)
configure: only check dispatch header on darwin
Fixes build of lavd/jack on linux if dispatch happens to be available on this platform. dispatch, as well as its dependencies kqueue and pwq are generally not installed / distribued on linux systems. If it happens to be the case, you want to explicitely link against the libraries (using -ldispatch) as opposed to darwin where it is part of the standard library and -ldispatch doesn't work.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0576c65827..08edfd3aa0 100755
--- a/configure
+++ b/configure
@@ -4533,6 +4533,7 @@ case $target_os in
enabled x86_64 && objformat="macho64"
enabled_any pic shared x86_64 ||
{ check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
+ check_header dispatch/dispatch.h
;;
msys*)
die "Native MSYS builds are discouraged, please use the MINGW environment.";
@@ -5347,7 +5348,6 @@ check_func_headers glob.h glob
enabled xlib &&
check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext
-check_header dispatch/dispatch.h
check_header direct.h
check_header dirent.h
check_header dlfcn.h