[FFmpeg-cvslog] configure: Merge separate parts of GnuTLS test

Diego Biurrun git at videolan.org
Sat Nov 11 21:43:40 EET 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Sep 23 17:07:50 2017 +0200| [4f6401df43d7ee9082ea591037b9f9284217d834] | committer: Diego Biurrun

configure: Merge separate parts of GnuTLS test

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

 configure | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 240410bf19..bc29d1912f 100755
--- a/configure
+++ b/configure
@@ -4686,7 +4686,8 @@ enabled avxsynth          && require_header avxsynth/avxsynth_c.h
 enabled cuda              && require cuda cuda.h cuInit -lcuda
 enabled cuvid             && require cuvid cuviddec.h cuvidCreateDecoder -lnvcuvid
 enabled frei0r            && require_header frei0r.h
-enabled gnutls            && require_pkg_config gnutls gnutls gnutls/gnutls.h gnutls_global_init
+enabled gnutls            && require_pkg_config gnutls gnutls gnutls/gnutls.h gnutls_global_init &&
+                             check_lib gmp gmp.h mpz_export -lgmp
 enabled libbs2b           && require_pkg_config libbs2b libbs2b bs2b.h bs2b_open
 enabled libdc1394         && require_pkg_config libdc1394 libdc1394-2 dc1394/dc1394.h dc1394_new
 enabled libdcadec         && require libdcadec libdcadec/dca_context.h dcadec_context_create -ldcadec
@@ -4759,8 +4760,6 @@ enabled openssl           && { { check_pkg_config openssl openssl openssl/ssl.h
                                check_lib openssl openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||
                                die "ERROR: openssl not found"; }
 
-enabled gnutls            && check_lib gmp gmp.h mpz_export -lgmp
-
 # SDL adds some CFLAGS that should not be part of the general CFLAGS.
 enabled avplay &&
     test_pkg_config sdl "sdl >= 1.2.1 sdl < 1.3.0" SDL_events.h SDL_PollEvent



More information about the ffmpeg-cvslog mailing list