[glib-networking/wip/nacho/gnutls-optional: 6/6] meson: error out if no TLS backends are enabled
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/wip/nacho/gnutls-optional: 6/6] meson: error out if no TLS backends are enabled
- Date: Wed, 12 Sep 2018 11:55:16 +0000 (UTC)
commit f28f59e4addb67866debbc02976e96c7ba5f838a
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Tue Sep 11 15:29:48 2018 +0200
meson: error out if no TLS backends are enabled
meson.build | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/meson.build b/meson.build
index 9e6ef6f..17a2779 100644
--- a/meson.build
+++ b/meson.build
@@ -85,6 +85,10 @@ if gnutls_dep.found()
endif
endif
+if backends.length() == 0
+ error('No TLS backends enabled. Please enable at least one TLS backend')
+endif
+
configure_file(
output: 'config.h',
configuration: config_h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]