[glib-networking/wip/nacho/gnutls-optional: 9/9] 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: 9/9] meson: error out if no TLS backends are enabled
- Date: Wed, 12 Sep 2018 11:54:42 +0000 (UTC)
commit c2783e320ca01876ed28ebc679a97ac14d76a1e1
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]