aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-12-07 19:43:57 +0100
committerDiego Biurrun <diego@biurrun.de>2016-12-08 20:12:24 +0100
commit892acc70105df9e6f7773bdde85b3e9541098525 (patch)
tree6f288dd61801cbcd5cdc0347dc0b9df090a0dcd9
parentf55c0a64ae40dc8e0a131a590e123cd14d0c0f7a (diff)
downloadffmpeg-892acc70105df9e6f7773bdde85b3e9541098525.tar.gz
configure: Fail if cuda was enabled and is not available
This is the standard behavior for external libraries.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c755aabb2d..165aa8075d 100755
--- a/configure
+++ b/configure
@@ -4619,7 +4619,7 @@ done
# these are off by default, so fail if requested and not available
enabled avisynth && { check_header avisynth/avisynth_c.h || die "ERROR: avisynth/avisynth_c.h header not found"; }
enabled avxsynth && require avxsynth "avxsynth/avxsynth_c.h dlfcn.h" dlopen -ldl
-enabled cuda && check_lib cuda.h cuInit -lcuda
+enabled cuda && require cuda cuda.h cuInit -lcuda
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
enabled libbs2b && require_pkg_config libbs2b bs2b.h bs2b_open