Skip to content

Instantly share code, notes, and snippets.

@BtbN
Created March 25, 2016 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BtbN/ccf56f8a31fbe004d1b2 to your computer and use it in GitHub Desktop.
Save BtbN/ccf56f8a31fbe004d1b2 to your computer and use it in GitHub Desktop.
stdin
diff --git a/configure b/configure
index feb0bc2..2b16198 100755
--- a/configure
+++ b/configure
@@ -5516,7 +5516,8 @@ enabled avfoundation_indev && { check_lib2 CoreGraphics/CoreGraphics.h CGGetActi
enabled avisynth && { { check_lib2 "windows.h" LoadLibrary; } ||
{ check_lib2 "dlfcn.h" dlopen -ldl; } ||
die "ERROR: LoadLibrary/dlopen not found for avisynth"; }
-enabled cuda && check_lib cuda.h cuInit -lcuda
+enabled cuda && { check_lib cuda.h cuInit -lcuda ||
+ die "ERROR: CUDA not found"; }
enabled chromaprint && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint
enabled coreimage_filter && { check_header_objcc QuartzCore/CoreImage.h || disable coreimage_filter; }
enabled coreimagesrc_filter && { check_header_objcc QuartzCore/CoreImage.h || disable coreimagesrc_filter; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment