mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 04:50:30 +01:00
Revert "build: fix detection of NSS library on Debian"
Sorry, it was not Debian's fault. It is only libnss-devel package on
Ubuntu 12.04/Precise [1].
Revert the workaround and avoid the failure by dropping the version check altogether.
NSS 3.11 is from 2006, it's unlikely a user tries to build current NetworkManager
against such an old version of the library.
[1] https://bugs.launchpad.net/ubuntu/+source/nss/+bug/1547147
This reverts commit d48790cbec.
This commit is contained in:
parent
86f005ea4b
commit
b76d4b6b09
1 changed files with 1 additions and 5 deletions
|
|
@ -595,11 +595,7 @@ 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], [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
|
||||
PKG_CHECK_MODULES(NSS, [nss])
|
||||
|
||||
# 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