summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@gmail.com>2017-03-15 15:23:34 +0100
committerMatthieu Bouron <matthieu.bouron@gmail.com>2017-03-20 18:48:44 +0100
commitd839c4716cdcecf3b46d05d0aec8f460cdb4ce23 (patch)
tree510599cc05e6d3f5f44879425706a4c79c2e241c /configure
parentf91bf71d69d9d9edb4141988367e043357ec7ec7 (diff)
downloadffmpeg-streaming-d839c4716cdcecf3b46d05d0aec8f460cdb4ce23.zip
ffmpeg-streaming-d839c4716cdcecf3b46d05d0aec8f460cdb4ce23.tar.gz
configure: error out if jni is enabled and cannot be found
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e1b7c61..3232b9f 100755
--- a/configure
+++ b/configure
@@ -5751,7 +5751,7 @@ enabled frei0r && { check_header frei0r.h || die "ERROR: frei0r.h hea
enabled gmp && require gmp gmp.h mpz_export -lgmp
enabled gnutls && require_pkg_config gnutls gnutls/gnutls.h gnutls_global_init
enabled jni && { [ $target_os = "android" ] && check_header jni.h && enabled pthreads &&
- check_lib "dlfcn.h" dlopen -ldl; }
+ check_lib "dlfcn.h" dlopen -ldl || die "ERROR: jni not found"; }
enabled ladspa && { check_header ladspa.h || die "ERROR: ladspa.h header not found"; }
enabled libiec61883 && require libiec61883 libiec61883/iec61883.h iec61883_cmp_connect -lraw1394 -lavc1394 -lrom1394 -liec61883
enabled libass && require_pkg_config libass ass/ass.h ass_library_init
OpenPOWER on IntegriCloud