diff options
m--------- | contrib/gana | 0 | ||||
m--------- | contrib/sphinx | 0 | ||||
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | src/datacache/meson.build | 16 | ||||
-rw-r--r-- | src/datastore/meson.build | 17 | ||||
-rw-r--r-- | src/namecache/meson.build | 17 | ||||
-rw-r--r-- | src/namestore/meson.build | 23 |
7 files changed, 44 insertions, 31 deletions
diff --git a/contrib/gana b/contrib/gana | |||
Subproject c9bda21875ea1775f88b71de735d527132e4592 | Subproject c1dc2dc975742c929a523c22d91f7d4f8278723 | ||
diff --git a/contrib/sphinx b/contrib/sphinx | |||
Subproject 0cccef450b037a48170402117f7d3b6c0a4272a | Subproject 9c5b9d9040d21542eff792e26624cf9669b127a | ||
diff --git a/meson.build b/meson.build index 513a8da99..a827c1796 100644 --- a/meson.build +++ b/meson.build | |||
@@ -104,7 +104,7 @@ if not sqlite_dep.found() | |||
104 | endif | 104 | endif |
105 | curl_dep = dependency('libcurl', version: '>=7.85.0', required : false) | 105 | curl_dep = dependency('libcurl', version: '>=7.85.0', required : false) |
106 | if not curl_dep.found() | 106 | if not curl_dep.found() |
107 | curl_dep = cc.find_library('curl', version: '>=7.85.0', required : true) | 107 | curl_dep = cc.find_library('curl', required : true) |
108 | endif | 108 | endif |
109 | zlib_dep = dependency('zlib', required : false) | 109 | zlib_dep = dependency('zlib', required : false) |
110 | if not zlib_dep.found() | 110 | if not zlib_dep.found() |
diff --git a/src/datacache/meson.build b/src/datacache/meson.build index b61a5e2a7..8613e527f 100644 --- a/src/datacache/meson.build +++ b/src/datacache/meson.build | |||
@@ -31,10 +31,12 @@ shared_module('gnunet_plugin_datacache_sqlite', | |||
31 | sqlite_dep, | 31 | sqlite_dep, |
32 | libgnunetsq_dep], | 32 | libgnunetsq_dep], |
33 | include_directories: [incdir, configuration_inc]) | 33 | include_directories: [incdir, configuration_inc]) |
34 | shared_module('gnunet_plugin_datacache_postgres', | 34 | if pq_dep.found() |
35 | ['plugin_datacache_postgres.c'], | 35 | shared_module('gnunet_plugin_datacache_postgres', |
36 | dependencies: [libgnunetutil_dep, | 36 | ['plugin_datacache_postgres.c'], |
37 | libgnunetdatacache_dep, | 37 | dependencies: [libgnunetutil_dep, |
38 | pq_dep, | 38 | libgnunetdatacache_dep, |
39 | libgnunetpq_dep], | 39 | pq_dep, |
40 | include_directories: [incdir, configuration_inc]) | 40 | libgnunetpq_dep], |
41 | include_directories: [incdir, configuration_inc]) | ||
42 | endif | ||
diff --git a/src/datastore/meson.build b/src/datastore/meson.build index e54340f8c..6c83b228b 100644 --- a/src/datastore/meson.build +++ b/src/datastore/meson.build | |||
@@ -35,13 +35,16 @@ shared_module('gnunet_plugin_datastore_sqlite', | |||
35 | sqlite_dep, | 35 | sqlite_dep, |
36 | libgnunetsq_dep], | 36 | libgnunetsq_dep], |
37 | include_directories: [incdir, configuration_inc]) | 37 | include_directories: [incdir, configuration_inc]) |
38 | shared_module('gnunet_plugin_datastore_postgres', | 38 | |
39 | ['plugin_datastore_postgres.c'], | 39 | if pq_dep.found() |
40 | dependencies: [libgnunetutil_dep, | 40 | shared_module('gnunet_plugin_datastore_postgres', |
41 | libgnunetdatastore_dep, | 41 | ['plugin_datastore_postgres.c'], |
42 | pq_dep, | 42 | dependencies: [libgnunetutil_dep, |
43 | libgnunetpq_dep], | 43 | libgnunetdatastore_dep, |
44 | include_directories: [incdir, configuration_inc]) | 44 | pq_dep, |
45 | libgnunetpq_dep], | ||
46 | include_directories: [incdir, configuration_inc]) | ||
47 | endif | ||
45 | 48 | ||
46 | executable ('gnunet-datastore', | 49 | executable ('gnunet-datastore', |
47 | ['gnunet-datastore.c'], | 50 | ['gnunet-datastore.c'], |
diff --git a/src/namecache/meson.build b/src/namecache/meson.build index 24c546c05..719d94c0b 100644 --- a/src/namecache/meson.build +++ b/src/namecache/meson.build | |||
@@ -34,13 +34,16 @@ shared_module('gnunet_plugin_namecache_sqlite', | |||
34 | sqlite_dep, | 34 | sqlite_dep, |
35 | libgnunetsq_dep], | 35 | libgnunetsq_dep], |
36 | include_directories: [incdir, configuration_inc]) | 36 | include_directories: [incdir, configuration_inc]) |
37 | shared_module('gnunet_plugin_namecache_postgres', | 37 | |
38 | ['plugin_namecache_postgres.c'], | 38 | if pq_dep.found() |
39 | dependencies: [libgnunetutil_dep, | 39 | shared_module('gnunet_plugin_namecache_postgres', |
40 | libgnunetgnsrecord_dep, | 40 | ['plugin_namecache_postgres.c'], |
41 | pq_dep, | 41 | dependencies: [libgnunetutil_dep, |
42 | libgnunetpq_dep], | 42 | libgnunetgnsrecord_dep, |
43 | include_directories: [incdir, configuration_inc]) | 43 | pq_dep, |
44 | libgnunetpq_dep], | ||
45 | include_directories: [incdir, configuration_inc]) | ||
46 | endif | ||
44 | 47 | ||
45 | executable ('gnunet-namecache', | 48 | executable ('gnunet-namecache', |
46 | gnunetnamecache_src, | 49 | gnunetnamecache_src, |
diff --git a/src/namestore/meson.build b/src/namestore/meson.build index 79396915e..5b20d93ae 100644 --- a/src/namestore/meson.build +++ b/src/namestore/meson.build | |||
@@ -17,6 +17,7 @@ if get_option('monolith') | |||
17 | endforeach | 17 | endforeach |
18 | subdir_done() | 18 | subdir_done() |
19 | endif | 19 | endif |
20 | |||
20 | libgnunetnamestore = library('gnunetnamestore', | 21 | libgnunetnamestore = library('gnunetnamestore', |
21 | libgnunetnamestore_src, | 22 | libgnunetnamestore_src, |
22 | soversion: '0.1.0', | 23 | soversion: '0.1.0', |
@@ -37,15 +38,19 @@ shared_module('gnunet_plugin_namestore_sqlite', | |||
37 | libgnunetstatistics_dep, | 38 | libgnunetstatistics_dep, |
38 | sqlite_dep], | 39 | sqlite_dep], |
39 | include_directories: [incdir, configuration_inc]) | 40 | include_directories: [incdir, configuration_inc]) |
40 | shared_module('gnunet_plugin_namestore_postgres', | 41 | |
41 | ['plugin_namestore_postgres.c'], | 42 | if pq_dep.found() |
42 | dependencies: [libgnunetutil_dep, | 43 | shared_module('gnunet_plugin_namestore_postgres', |
43 | libgnunetgnsrecord_dep, | 44 | ['plugin_namestore_postgres.c'], |
44 | libgnunetidentity_dep, | 45 | dependencies: [libgnunetutil_dep, |
45 | libgnunetpq_dep, | 46 | libgnunetgnsrecord_dep, |
46 | libgnunetstatistics_dep, | 47 | libgnunetidentity_dep, |
47 | pq_dep], | 48 | libgnunetpq_dep, |
48 | include_directories: [incdir, configuration_inc]) | 49 | libgnunetstatistics_dep, |
50 | pq_dep], | ||
51 | include_directories: [incdir, configuration_inc]) | ||
52 | endif | ||
53 | |||
49 | executable ('gnunet-namestore', | 54 | executable ('gnunet-namestore', |
50 | gnunetnamestore_src, | 55 | gnunetnamestore_src, |
51 | dependencies: [libgnunetnamestore_dep, | 56 | dependencies: [libgnunetnamestore_dep, |