mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 18:08:05 +02:00
build: fix detection of NSS library on Debian
Debian added an epoch "2" to the version of NSS library. Fix configure to account for that. Related: https://launchpad.net/debian/sid/+source/nss
This commit is contained in:
parent
c38c4dce3e
commit
d48790cbec
1 changed files with 5 additions and 1 deletions
|
|
@ -595,7 +595,11 @@ AC_ARG_WITH(crypto, AS_HELP_STRING([--with-crypto=nss|gnutls], [Cryptography lib
|
|||
with_nss=no
|
||||
with_gnutls=no
|
||||
if test x"$ac_crypto" = xnss; then
|
||||
PKG_CHECK_MODULES(NSS, [nss >= 3.11])
|
||||
PKG_CHECK_MODULES(NSS, [nss >= 3.11], [have_nss=yes], [have_nss=no])
|
||||
if test "$have_nss" != yes; then
|
||||
# workaround on Debian, where the NSS module bumped the epoch
|
||||
PKG_CHECK_MODULES(NSS, [nss >= 2:3.11])
|
||||
fi
|
||||
|
||||
# Work around a pkg-config bug (fdo #29801) where exists != usable
|
||||
FOO=`$PKG_CONFIG --cflags --libs nss`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue