diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-03-17 13:31:41 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2015-04-15 14:52:58 +0200 |
commit | 1336bb06c9fbf9a14765e9f78616f2aad4f3a45a (patch) | |
tree | 2de367471c4f3220528349834e7cae2e359ba633 | |
parent | 247aa7af7d8197247c181e3fbfe8d93d75e41b29 (diff) | |
download | ffmpeg-1336bb06c9fbf9a14765e9f78616f2aad4f3a45a.tar.gz |
configure: Simplify avisynth check
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4217,8 +4217,8 @@ for func in $MATH_FUNCS; do done # these are off by default, so fail if requested and not available -enabled avisynth && { { check_header "avisynth/avisynth_c.h" && check_lib2 "windows.h" LoadLibrary; } || - { check_header "avxsynth/avxsynth_c.h" && check_lib2 "dlfcn.h" dlopen -ldl; } || +enabled avisynth && { check_lib2 "avisynth/avisynth_c.h windows.h" LoadLibrary || + check_lib2 "avxsynth/avxsynth_c.h dlfcn.h" dlopen -ldl || die "ERROR: LoadLibrary/dlopen not found, or avisynth header not found"; } 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 |