[glib-networking/wip/nacho/gnutls-optional: 5/6] meson: do not build pkcs11 if gnutls is not enabled
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/wip/nacho/gnutls-optional: 5/6] meson: do not build pkcs11 if gnutls is not enabled
- Date: Wed, 12 Sep 2018 11:54:49 +0000 (UTC)
commit e55242f6a3efb124b97c1e6efef647ac84b39cc2
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Tue Sep 11 15:24:01 2018 +0200
meson: do not build pkcs11 if gnutls is not enabled
meson.build | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index cc1c1fa..9e6ef6f 100644
--- a/meson.build
+++ b/meson.build
@@ -75,14 +75,14 @@ gnutls_dep = dependency('gnutls', version: '>= 3.4.4', required: get_option('gnu
if gnutls_dep.found()
backends += ['gnutls']
-endif
-# *** Checks for p11-kit ***
-pkcs11_dep = dependency('p11-kit-1', version: '>= 0.20', required: get_option('pkcs11'))
+ # *** Checks for p11-kit ***
+ pkcs11_dep = dependency('p11-kit-1', version: '>= 0.20', required: get_option('pkcs11'))
-if pkcs11_dep.found()
- config_h.set('HAVE_PKCS11', 1,
- description: 'Building with PKCS#11 support')
+ if pkcs11_dep.found()
+ config_h.set('HAVE_PKCS11', 1,
+ description: 'Building with PKCS#11 support')
+ endif
endif
configure_file(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]