summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authord s <avxsynth.testing@gmail.com>2013-02-26 18:02:20 -0500
committerMichael Niedermayer <michaelni@gmx.at>2013-03-21 04:11:22 +0100
commitb9ad009475f3afb76bd2fbd92936dc4d4cd441ec (patch)
tree863585b9127c3a9cc25421a7e9971663d70181a3 /configure
parent47540c8a68c929e46af0cc102df59d45f063f945 (diff)
AviSynth demuxer rewrite.
Dynamically loads the library itself, rather than through VfW. Supports AvxSynth on Linux and OS X. Supports the new colorspaces added in AviSynth 2.6 when used with AviSynth 2.6.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 8443db4370..ba83376474 100755
--- a/configure
+++ b/configure
@@ -3917,7 +3917,9 @@ for func in $MATH_FUNCS; do
done
# these are off by default, so fail if requested and not available
-enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lavifil32
+enabled avisynth && { { check_lib2 "windows.h" LoadLibrary; } ||
+ { check_lib2 "dlfcn.h" dlopen -ldl; } ||
+ die "ERROR: LoadLibrary/dlopen not found for avisynth"; }
enabled fontconfig && require_pkg_config fontconfig "fontconfig/fontconfig.h" FcInit
enabled frei0r && { check_header frei0r.h || die "ERROR: frei0r.h header not found"; }
enabled gnutls && require_pkg_config gnutls gnutls/gnutls.h gnutls_global_init