History

Merge commit '54e39b102e29adcc2f59f1eca85be5f86c89454b'

* commit '54e39b102e29adcc2f59f1eca85be5f86c89454b': configure: Explicitly spell out first require_pkg_config() parameter

James Almer committed 9 years ago

Commit 00a61f32 parents 1a4d2e8 54e39b11 file · +17 −18Browse files

Unified · Split

configure+17−18
@@ -1395,7 +1395,6 @@ use_pkg_config(){ · 1394 unmodified lines
13951395 shift
13961396 pkg_version="$1"
13971397 pkg="${1%% *}"
1398− test "$name" = "" && name=$pkg
13991398 check_pkg_config "$@" || return 1
14001399 add_cflags $(get_safe "${pkg}_cflags")
14011400 add_extralibs $(get_safe "${pkg}_extralibs")
@@ -5709,7 +5708,7 @@ case "$custom_allocator" in · 4307 unmodified lines
57095708 require libjemalloc jemalloc/jemalloc.h malloc -ljemalloc
57105709 ;;
57115710 tcmalloc)
5712− require_pkg_config "" libtcmalloc gperftools/tcmalloc.h tc_malloc
5711+ require_pkg_config libtcmalloc libtcmalloc gperftools/tcmalloc.h tc_malloc
57135712 malloc_prefix=tc_
57145713 ;;
57155714 esac
@@ -5909,19 +5908,19 @@ enabled decklink && { require_header DeckLinkAPI.h && · 193 unmodified lines
59095908 enabled libndi_newtek && require_header Processing.NDI.Lib.h
59105909 enabled frei0r && require_header frei0r.h
59115910 enabled gmp && require gmp gmp.h mpz_export -lgmp
5912−enabled gnutls && require_pkg_config "" gnutls gnutls/gnutls.h gnutls_global_init
5911+enabled gnutls && require_pkg_config gnutls gnutls gnutls/gnutls.h gnutls_global_init
59135912 enabled jni && { [ $target_os = "android" ] && check_header jni.h && enabled pthreads || die "ERROR: jni not found"; }
59145913 enabled ladspa && require_header ladspa.h
59155914 enabled libiec61883 && require libiec61883 libiec61883/iec61883.h iec61883_cmp_connect -lraw1394 -lavc1394 -lrom1394 -liec61883
5916−enabled libass && require_pkg_config "" libass ass/ass.h ass_library_init
5917−enabled libbluray && require_pkg_config "" libbluray libbluray/bluray.h bd_open
5918−enabled libbs2b && require_pkg_config "" libbs2b bs2b.h bs2b_open
5915+enabled libass && require_pkg_config libass libass ass/ass.h ass_library_init
5916+enabled libbluray && require_pkg_config libbluray libbluray libbluray/bluray.h bd_open
5917+enabled libbs2b && require_pkg_config libbs2b libbs2b bs2b.h bs2b_open
59195918 enabled libcelt && require libcelt celt/celt.h celt_decode -lcelt0 &&
59205919 { check_lib libcelt celt/celt.h celt_decoder_create_custom -lcelt0 ||
59215920 die "ERROR: libcelt must be installed and version must be >= 0.11.0."; }
59225921 enabled libcaca && require_pkg_config libcaca caca caca.h caca_create_canvas
59235922 enabled libdc1394 && require_pkg_config libdc1394 libdc1394-2 dc1394/dc1394.h dc1394_new
5924−enabled libdrm && require_pkg_config "" libdrm xf86drm.h drmGetVersion
5923+enabled libdrm && require_pkg_config libdrm libdrm xf86drm.h drmGetVersion
59255924 enabled libfdk_aac && { use_pkg_config libfdk_aac fdk-aac "fdk-aac/aacenc_lib.h" aacEncOpen ||
59265925 { require libfdk_aac fdk-aac/aacenc_lib.h aacEncOpen -lfdk-aac &&
59275926 warn "using libfdk without pkg-config"; } }
@@ -5931,7 +5930,7 @@ enabled fontconfig && enable libfontconfig · 3 unmodified lines
59315930 enabled libfontconfig && require_pkg_config libfontconfig fontconfig "fontconfig/fontconfig.h" FcInit
59325931 enabled libfreetype && require_pkg_config libfreetype2 freetype2 "ft2build.h FT_FREETYPE_H" FT_Init_FreeType
59335932 enabled libfribidi && require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info
5934−enabled libgme && { use_pkg_config "" libgme gme/gme.h gme_new_emu ||
5933+enabled libgme && { use_pkg_config libgme libgme gme/gme.h gme_new_emu ||
59355934 require libgme gme/gme.h gme_new_emu -lgme -lstdc++; }
59365935 enabled libgsm && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
59375936 check_lib libgsm "${gsm_hdr}" gsm_create -lgsm && break;
@@ -5944,9 +5943,9 @@ enabled libkvazaar && require_pkg_config libkvazaar "kvazaar >= 0.8.1" kv · 6 unmodified lines
59445943 # Media SDK or Intel Media Server Studio, these don't come with
59455944 # pkg-config support. Instead, users should make sure that the build
59465945 # can find the libraries and headers through other means.
5947−enabled libmfx && { use_pkg_config "" libmfx "mfx/mfxvideo.h" MFXInit ||
5946+enabled libmfx && { use_pkg_config libmfx libmfx "mfx/mfxvideo.h" MFXInit ||
59485947 { require libmfx "mfx/mfxvideo.h" MFXInit -llibmfx && warn "using libmfx without pkg-config"; } }
5949−enabled libmodplug && require_pkg_config "" libmodplug libmodplug/modplug.h ModPlug_Load
5948+enabled libmodplug && require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load
59505949 enabled libmp3lame && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame
59515950 enabled libmysofa && require libmysofa "mysofa.h" mysofa_load -lmysofa
59525951 enabled libnpp && { check_lib libnpp npp.h nppGetLibVersion -lnppig -lnppicc -lnppc ||
@@ -5976,25 +5975,25 @@ enabled libopus && { · 23 unmodified lines
59765975 require_pkg_config libopus opus opus_multistream.h opus_multistream_surround_encoder_create
59775976 }
59785977 }
5979−enabled libpulse && require_pkg_config "" libpulse pulse/pulseaudio.h pa_context_new
5978+enabled libpulse && require_pkg_config libpulse libpulse pulse/pulseaudio.h pa_context_new
59805979 enabled librsvg && require_pkg_config librsvg librsvg-2.0 librsvg-2.0/librsvg/rsvg.h rsvg_handle_render_cairo
5981−enabled librtmp && require_pkg_config "" librtmp librtmp/rtmp.h RTMP_Socket
5980+enabled librtmp && require_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket
59825981 enabled librubberband && require_pkg_config librubberband "rubberband >= 1.8.1" rubberband/rubberband-c.h rubberband_new
59835982 enabled libshine && require_pkg_config libshine shine shine/layer3.h shine_encode_buffer
59845983 enabled libsmbclient && { use_pkg_config libsmbclient smbclient libsmbclient.h smbc_init ||
59855984 require smbclient libsmbclient.h smbc_init -lsmbclient; }
59865985 enabled libsnappy && require libsnappy snappy-c.h snappy_compress -lsnappy
59875986 enabled libsoxr && require libsoxr soxr.h soxr_create -lsoxr && LIBSOXR="-lsoxr"
5988−enabled libssh && require_pkg_config "" libssh libssh/sftp.h sftp_init
5987+enabled libssh && require_pkg_config libssh libssh libssh/sftp.h sftp_init
59895988 enabled libspeex && require_pkg_config libspeex speex speex/speex.h speex_decoder_init -lspeex
59905989 enabled libtesseract && require_pkg_config libtesseract tesseract tesseract/capi.h TessBaseAPICreate
59915990 enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
59925991 enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame &&
59935992 { check_lib libtwolame twolame.h twolame_encode_buffer_float32_interleaved -ltwolame ||
59945993 die "ERROR: libtwolame must be installed and version must be >= 0.3.10"; }
5995−enabled libv4l2 && require_pkg_config "" libv4l2 libv4l2.h v4l2_ioctl
5994+enabled libv4l2 && require_pkg_config libv4l2 libv4l2 libv4l2.h v4l2_ioctl
59965995 enabled libvidstab && require_pkg_config libvidstab "vidstab >= 0.98" vid.stab/libvidstab.h vsMotionDetectInit
5997−enabled libvmaf && require_pkg_config "" libvmaf libvmaf.h compute_vmaf
5996+enabled libvmaf && require_pkg_config libvmaf libvmaf libvmaf.h compute_vmaf
59985997 enabled libvo_amrwbenc && require libvo_amrwbenc vo-amrwbenc/enc_if.h E_IF_init -lvo-amrwbenc
59995998 enabled libvorbis && require_pkg_config libvorbis vorbis vorbis/codec.h vorbis_info_init &&
60005999 require_pkg_config libvorbisenc vorbisenc vorbis/vorbisenc.h vorbis_encode_init
@@ -6038,7 +6037,7 @@ enabled libx265 && require_pkg_config libx265 x265 x265.h x265_api_get · 37 unmodified lines
60386037 enabled libxavs && require libxavs "stdint.h xavs.h" xavs_encoder_encode -lxavs
60396038 enabled libxvid && require libxvid xvid.h xvid_global -lxvidcore
60406039 enabled libzimg && require_pkg_config libzimg "zimg >= 2.3.0" zimg.h zimg_get_api_version
6041−enabled libzmq && require_pkg_config "" libzmq zmq.h zmq_ctx_new
6040+enabled libzmq && require_pkg_config libzmq libzmq zmq.h zmq_ctx_new
60426041 enabled libzvbi && require libzvbi libzvbi.h vbi_decoder_new -lzvbi &&
60436042 { check_cpp_condition libzvbi.h "VBI_VERSION_MAJOR > 0 || VBI_VERSION_MINOR > 2 || VBI_VERSION_MINOR == 2 && VBI_VERSION_MICRO >= 28" ||
60446043 enabled gpl || die "ERROR: libzvbi requires version 0.2.28 or --enable-gpl."; }
@@ -6072,8 +6071,8 @@ enabled omx_rpi && { check_header OMX_Core.h || · 27 unmodified lines
60726071 { ! enabled cross_compile && add_cflags -isystem/opt/vc/include/IL && check_header OMX_Core.h ; } ||
60736072 die "ERROR: OpenMAX IL headers not found"; }
60746073 enabled omx && require_header OMX_Core.h
6075−enabled openssl && { use_pkg_config "" openssl openssl/ssl.h OPENSSL_init_ssl ||
6076− use_pkg_config "" openssl openssl/ssl.h SSL_library_init ||
6074+enabled openssl && { use_pkg_config openssl openssl openssl/ssl.h OPENSSL_init_ssl ||
6075+ use_pkg_config openssl openssl openssl/ssl.h SSL_library_init ||
60776076 check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto ||
60786077 check_lib openssl openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
60796078 check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t