[FFmpeg-cvslog] configure: Do not treat JACK as a system library

Luca Barbato git at videolan.org
Sat Oct 21 20:13:35 EEST 2017


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Mar 14 23:42:37 2017 +0100| [bd805964f40f7af83da64645ba83d1e8060a1214] | committer: Luca Barbato

configure: Do not treat JACK as a system library

JACK is not commonly installed and should not be picked up as a
dependency unless specifically requested.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bd805964f40f7af83da64645ba83d1e8060a1214
---

 configure | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 665df27621..1c7887209e 100755
--- a/configure
+++ b/configure
@@ -203,6 +203,7 @@ External library support:
   --enable-libgsm            GSM audio encoding/decoding
   --enable-libhdcd           HDCD decoding filter
   --enable-libilbc           ILBC audio encoding/decoding
+  --enable-libjack           JACK audio sound server
   --enable-libkvazaar        HEVC video encoding
   --enable-libmp3lame        MP3 audio encoding
   --enable-libopencore-amrnb AMR-NB audio encoding/decoding
@@ -1315,6 +1316,7 @@ EXTERNAL_LIBRARY_LIST="
     libgsm
     libhdcd
     libilbc
+    libjack
     libkvazaar
     libmp3lame
     libopencv
@@ -2418,7 +2420,7 @@ bktr_indev_deps_any="dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h dev_video_bktr
 dv1394_indev_deps="dv1394"
 dv1394_indev_select="dv_demuxer"
 fbdev_indev_deps="linux_fb_h"
-jack_indev_deps="jack"
+jack_indev_deps="libjack"
 jack_indev_deps_any="sem_timedwait dispatch_dispatch_h"
 libcdio_indev_deps="libcdio"
 libdc1394_indev_deps="libdc1394"
@@ -4836,8 +4838,10 @@ check_header soundcard.h
 enabled_any alsa_indev alsa_outdev &&
     check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound
 
-enabled jack_indev && check_lib jack jack/jack.h jack_client_open -ljack &&
-    check_func jack_port_get_latency_range -ljack
+if enabled libjack; then
+    check_pkg_config libjack jack jack/jack.h jack_port_get_latency_range ||
+    require_pkg_config libjack jack jack/jack.h jack_client_open
+fi
 
 enabled_any sndio_indev sndio_outdev && check_lib sndio sndio.h sio_open -lsndio
 



More information about the ffmpeg-cvslog mailing list