diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-09-29 16:52:01 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-09-29 16:52:01 +0200 |
commit | d4aa74342710222b4d5ed03926a27a72a891cf61 (patch) | |
tree | d8b8a08fe1620cdfea6df32ffdb139082c398caa /configure.seed | |
parent | 5cf3fef8f7edc14d1f62750782901b8eec997b2a (diff) |
Added nDPI pkg-config file to Debian / Ubuntu ndpi-dev packaging.fix/gcrypt-autoconf-and-dpkg-pkg-config
* fixed missing gcrypt library dependency in libndpi.pc
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'configure.seed')
-rw-r--r-- | configure.seed | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.seed b/configure.seed index 86464d706..69739ca44 100644 --- a/configure.seed +++ b/configure.seed @@ -224,7 +224,7 @@ AC_ARG_ENABLE([gcrypt], [AS_HELP_STRING([--disable-gcrypt], [Avoid compiling with libgcrypt/libgpg-error, even if they are present. QUIC sub-classification may be missing])], [GCRYPT_ENABLED=0], [AC_CHECK_LIB(gcrypt, gcry_cipher_checktag)]) -AS_IF([test "x$enable_gcrypt" = "xyes"], [ +AS_IF([test ${GCRYPT_ENABLED} -eq 1], [ if test "x$ac_cv_lib_gcrypt_gcry_cipher_checktag" = xyes; then : ADDITIONAL_LIBS="${ADDITIONAL_LIBS} -lgcrypt" else @@ -233,6 +233,8 @@ AS_IF([test "x$enable_gcrypt" = "xyes"], [ AC_CHECK_LIB(gcrypt, gcry_cipher_checktag) if test "x$ac_cv_lib_gcrypt_gcry_cipher_checktag" = xyes -a "x$ac_cv_lib_gpg_error_gpg_strerror_r" = xyes; then : ADDITIONAL_LIBS="${ADDITIONAL_LIBS} -lgcrypt -lgpg-error" + else + GCRYPT_ENABLED=0 fi fi ]) |