summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-03-23 08:03:52 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-03-24 20:55:01 +0100
commitb15ef720804793213ee3fe8172520ac79cd60f25 (patch)
tree251c16b2efdc963fa25ba6e8af4ffbeb4b13e6d2 /configure.ac
parentd650301909f0ac4674fa0de0a8dd839dc1d0a532 (diff)
downloadgnutls-b15ef720804793213ee3fe8172520ac79cd60f25.tar.gz
gnutls.pc: don't include zlib twice in private libs
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b98c47033c..2e94e1693e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -746,12 +746,15 @@ if test x$ac_zlib != xno; then
else
GNUTLS_REQUIRES_PRIVATE="$GNUTLS_REQUIRES_PRIVATE, zlib"
fi
+ LIBZ_PC=""
+ else
+ LIBZ_PC=$LIBZ
fi
fi
+AC_SUBST(LIBZ_PC)
AC_SUBST(GNUTLS_REQUIRES_PRIVATE)
-
AC_ARG_WITH([default-trust-store-pkcs11],
[AS_HELP_STRING([--with-default-trust-store-pkcs11=URI],
[use the given pkcs11 uri as default trust store])])