summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-12-02 18:50:21 +0100
committerPaul B Mahol <onemda@gmail.com>2018-12-03 11:07:49 +0100
commit42d5b59bdcf8404767c4368b7bd1ccb4bbaf1d47 (patch)
tree68b35be2bff8908107c1a373ad3a994e029a06b7
parent8440835dbe93ef9972ceb940af9bda9bc0e178e7 (diff)
downloadffmpeg-42d5b59bdcf8404767c4368b7bd1ccb4bbaf1d47.tar.gz
configure: check if dlfcn.h is present for ladspa and frei0r, if not abort early
Fixes #4517.
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 330e55049f..642c13d839 100755
--- a/configure
+++ b/configure
@@ -6065,11 +6065,11 @@ enabled chromaprint && require chromaprint chromaprint.h chromaprint_get_v
enabled decklink && { require_headers DeckLinkAPI.h &&
{ test_cpp_condition DeckLinkAPIVersion.h "BLACKMAGIC_DECKLINK_API_VERSION >= 0x0a090500" || die "ERROR: Decklink API version must be >= 10.9.5."; } }
enabled libndi_newtek && require_headers Processing.NDI.Lib.h
-enabled frei0r && require_headers frei0r.h
+enabled frei0r && require_headers "frei0r.h dlfcn.h"
enabled gmp && require gmp gmp.h mpz_export -lgmp
enabled gnutls && require_pkg_config gnutls gnutls gnutls/gnutls.h gnutls_global_init
enabled jni && { [ $target_os = "android" ] && check_headers jni.h && enabled pthreads || die "ERROR: jni not found"; }
-enabled ladspa && require_headers ladspa.h
+enabled ladspa && require_headers "ladspa.h dlfcn.h"
enabled libaom && require_pkg_config libaom "aom >= 1.0.0" aom/aom_codec.h aom_codec_version
enabled lv2 && require_pkg_config lv2 lilv-0 "lilv/lilv.h" lilv_world_new
enabled libiec61883 && require libiec61883 libiec61883/iec61883.h iec61883_cmp_connect -lraw1394 -lavc1394 -lrom1394 -liec61883