aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_config.h.in')
-rw-r--r--src/include/gnunet_config.h.in58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/include/gnunet_config.h.in b/src/include/gnunet_config.h.in
new file mode 100644
index 000000000..5dff759ae
--- /dev/null
+++ b/src/include/gnunet_config.h.in
@@ -0,0 +1,58 @@
1/*
2 This file is part of GNUnet
3 Copyright (C) 2022 GNUnet e.V.
4
5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published
7 by the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
9
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 SPDX-License-Identifier: AGPL3.0-or-later
19 */
20
21#ifndef GNUNET_CONFIG_H
22#define GNUNET_CONFIG_H
23
24/**
25 * @author Martin Schanzenbach
26 *
27 * @file
28 * Convenience header including public (!) information on the
29 * installed GNUnet configuration.
30 *
31 */
32
33/* The version of GNUnet */
34#define GNUNET_VERSION "@gnunet_version@"
35
36/* Major version */
37#define GNUNET_MAJOR_VERSION @gnunet_major_version@
38
39/* Micro version */
40#define GNUNET_MINOR_VERSION @gnunet_minor_version@
41
42/* Mico version */
43#define GNUNET_MICRO_VERSION @gnunet_micro_version@
44
45/* Set to 1 is this is an experimental build */
46#define GNUNET_EXPERIMENTAL @enable_experimental@
47
48/* Set to 1 if GnuTLS has DANE support */
49#define GNUNET_CURL_GNUTLS @curl_gnutls@
50
51/**
52 * Set to 1 if file-sharing meta data parsing is built with
53 * libextractor, which means that callers to the API must use also use
54 * libextractor.
55 */
56#define GNUNET_FS_EXTRACTOR_ENABLED @extractor@
57
58#endif