gnutls: avoid accidentally using libseccomp

Specify whether to use libseccomp or not.  Do not
just let configure check for it.

(From OE-Core rev: 62cc91e8831c72e9beceff13ad68dd69298135b5)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joe Slater 2017-01-25 15:03:50 -08:00 committed by Richard Purdie
parent 34fd5043b2
commit 50c885e165
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@ inherit autotools texinfo binconfig pkgconfig gettext lib_package gtk-doc
PACKAGECONFIG ??= "libidn zlib"
# You must also have CONFIG_SECCOMP enabled in the kernel for
# seccomp to work.
#
PACKAGECONFIG[seccomp] = "ac_cv_libseccomp=yes,ac_cv_libseccomp=no,libseccomp"
PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn"
PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1"
PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"