diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 466 |
1 files changed, 211 insertions, 255 deletions
diff --git a/configure.ac b/configure.ac index 60ff7e4b9..316257f97 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,5 +1,5 @@ | |||
1 | # This file is part of GNUnet. | 1 | # This file is part of GNUnet. |
2 | # (C) 2001--2022 GNUnet e.V. | 2 | # (C) 2001--2023 GNUnet e.V. |
3 | # | 3 | # |
4 | # GNUnet is free software: you can redistribute it and/or modify it | 4 | # GNUnet is free software: you can redistribute it and/or modify it |
5 | # under the terms of the GNU Affero General Public License as published | 5 | # under the terms of the GNU Affero General Public License as published |
@@ -20,12 +20,22 @@ | |||
20 | # | 20 | # |
21 | # | 21 | # |
22 | AC_PREREQ([2.69]) | 22 | AC_PREREQ([2.69]) |
23 | AC_INIT([gnunet],[m4_esyscmd_s(sh contrib/get_version.sh)],[bug-gnunet@gnu.org]) | 23 | AC_INIT([gnunet],[m4_esyscmd_s(sh scripts/get_version.sh)],[bug-gnunet@gnu.org]) |
24 | |||
25 | gnunet_version=m4_esyscmd_s(sh scripts/get_version.sh) | ||
26 | gnunet_major_version=m4_esyscmd_s(sh scripts/get_version.sh --major) | ||
27 | gnunet_minor_version=m4_esyscmd_s(sh scripts/get_version.sh --minor) | ||
28 | gnunet_micro_version=m4_esyscmd_s(sh scripts/get_version.sh --micro) | ||
29 | |||
30 | AC_SUBST([gnunet_version]) | ||
31 | AC_SUBST([gnunet_major_version]) | ||
32 | AC_SUBST([gnunet_minor_version]) | ||
33 | AC_SUBST([gnunet_micro_version]) | ||
24 | 34 | ||
25 | AC_CONFIG_AUX_DIR([build-aux]) | 35 | AC_CONFIG_AUX_DIR([build-aux]) |
26 | AC_CONFIG_MACRO_DIRS([m4]) | 36 | AC_CONFIG_MACRO_DIRS([m4]) |
27 | 37 | ||
28 | AC_CONFIG_HEADERS([gnunet_config.h]) | 38 | AC_CONFIG_HEADERS([gnunet_private_config.h]) |
29 | 39 | ||
30 | AC_CANONICAL_TARGET | 40 | AC_CANONICAL_TARGET |
31 | AC_CANONICAL_HOST | 41 | AC_CANONICAL_HOST |
@@ -442,15 +452,10 @@ AC_ARG_ENABLE([documentation], | |||
442 | [documentation=${enableval}], | 452 | [documentation=${enableval}], |
443 | [documentation=yes]) | 453 | [documentation=yes]) |
444 | 454 | ||
445 | AC_CHECK_PROG([SPHINX_BINARY], [sphinx-build], [true], [false]) | 455 | AC_CHECK_PROG([DOXY_BINARY], [doxygen], [true], [false]) |
446 | AM_CONDITIONAL([HAVE_SPHINX_BINARY], [$SPHINX_BINARY]) | 456 | AM_CONDITIONAL([HAVE_DOXY_BINARY], [$DOXY_BINARY]) |
447 | 457 | ||
448 | AM_CONDITIONAL([DOCUMENTATION], [test "x$documentation" = "xyes"]) | 458 | AM_CONDITIONAL([DOCUMENTATION], [test "x$documentation" = "xyes"]) |
449 | AS_IF([test "x$documentation" = "xyes"], | ||
450 | [AS_IF([$SPHINX_BINARY], | ||
451 | [AC_DEFINE([DOCUMENTATION], [1], [Define to 1 if documentation is built])], | ||
452 | [AC_MSG_ERROR([Documentation requires sphinx])])], | ||
453 | [AC_DEFINE([DOCUMENTATION], [0], [Define to 1 if documentation is built])]) | ||
454 | 459 | ||
455 | AC_CHECK_PROGS([MANDOC_BINARY], [mandoc], [false]) | 460 | AC_CHECK_PROGS([MANDOC_BINARY], [mandoc], [false]) |
456 | AM_CONDITIONAL([HAVE_MANDOC], [test "x$MANDOC_BINARY" != "xfalse"]) | 461 | AM_CONDITIONAL([HAVE_MANDOC], [test "x$MANDOC_BINARY" != "xfalse"]) |
@@ -484,7 +489,7 @@ AC_ARG_ENABLE([gcc-hardening], | |||
484 | [AS_HELP_STRING([--enable-gcc-hardening], [enable compiler security checks])], | 489 | [AS_HELP_STRING([--enable-gcc-hardening], [enable compiler security checks])], |
485 | [AS_IF([test "x$enableval" = "xyes"], | 490 | [AS_IF([test "x$enableval" = "xyes"], |
486 | [CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all" | 491 | [CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all" |
487 | CFLAGS="$CFLAGS -fwrapv -fPIE -Wstacl-protector" | 492 | CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector" |
488 | CFLAGS="$CFLAGS --param ssp-buffer-size=1" | 493 | CFLAGS="$CFLAGS --param ssp-buffer-size=1" |
489 | LDFLAGS="$LDFLAGS -pie"])]) | 494 | LDFLAGS="$LDFLAGS -pie"])]) |
490 | 495 | ||
@@ -598,16 +603,6 @@ gcry_md_close (mac);]])], | |||
598 | [AC_MSG_RESULT([cross compiling, test skipped])]) | 603 | [AC_MSG_RESULT([cross compiling, test skipped])]) |
599 | AC_LANG_POP([C])]) | 604 | AC_LANG_POP([C])]) |
600 | 605 | ||
601 | AC_MSG_CHECKING([for static assertion support]) | ||
602 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], | ||
603 | [[_Static_assert(sizeof(int) >= 4, "not big enough");]])], | ||
604 | [AC_MSG_RESULT([yes]) | ||
605 | AC_DEFINE([HAVE_STATIC_ASSERT], [1], | ||
606 | [Define to 1 if static assert is supported])], | ||
607 | [AC_MSG_RESULT([no]) | ||
608 | AC_DEFINE([HAVE_STATIC_ASSERT], [0], | ||
609 | [Define to 1 if static assert is supported])]) | ||
610 | |||
611 | dnl Helper function to shorten the amount of repeated code | 606 | dnl Helper function to shorten the amount of repeated code |
612 | dnl It will create a --with-<lib> option for configure. | 607 | dnl It will create a --with-<lib> option for configure. |
613 | dnl | 608 | dnl |
@@ -719,35 +714,36 @@ AS_IF([test "x$pulse" != "x1" || test "x$opus" != "x1" || test "x$ogg" != "x1"], | |||
719 | AM_CONDITIONAL([BUILD_CONVERSATION], [test "x$conversation_backend" != "xnone"]) | 714 | AM_CONDITIONAL([BUILD_CONVERSATION], [test "x$conversation_backend" != "xnone"]) |
720 | AC_MSG_RESULT([$conversation_backend]) | 715 | AC_MSG_RESULT([$conversation_backend]) |
721 | 716 | ||
722 | # check for libgnurl | 717 | # NOTE: If we find libcurl-gnutls here we set LIBCURL to -lcurl-gnutls |
723 | LIBGNURL_CHECK_CONFIG([], [7.34.0], | 718 | # This affects the LIBCURL_CHECK_CONFIG call below as it takes LIBCURL into |
724 | [gnurl=1 | 719 | # account when checking for curl. |
725 | curl=0], | 720 | LIBCURL="-lcurl" |
726 | [gnurl=0 | 721 | AC_CHECK_LIB([curl-gnutls], |
727 | curl=0]) | 722 | [curl_easy_getinfo], |
728 | AS_IF([test "x$gnurl" = "x0"], | 723 | [LIBCURL="-lcurl-gnutls"]) |
729 | [LIBCURL_CHECK_CONFIG([], [7.34.0], [curl=1], [curl=0]) | 724 | |
730 | AS_IF([test "x$curl" = "x0"], | 725 | LIBCURL_CHECK_CONFIG([], [7.85.0], [], |
731 | [AC_CHECK_HEADER([curl/curl.h], | 726 | [AC_MSG_ERROR([cURL must have a version >= 7.85.0])]) |
732 | [AC_CHECK_DECLS([CURLINFO_TLS_SESSION], | 727 | |
733 | [curl=1], | 728 | OLD_LIBS=$LIBS |
734 | [curl=0], | 729 | LIBS="$LIBS $LIBCURL" |
735 | [[#include <curl/curl.h>]])]) | 730 | AC_RUN_IFELSE( |
736 | AC_CHECK_LIB([curl-gnutls], | 731 | [AC_LANG_PROGRAM([[#include <curl/curl.h>]], |
737 | [curl_easy_getinfo], | 732 | [[return (CURLSSLSET_OK != curl_global_sslset(CURLSSLBACKEND_GNUTLS, NULL, NULL));]])], |
738 | [curl_gnutls=1], | 733 | [curl_gnutls=1], |
739 | [curl_gnutls=0])]) | 734 | [AC_MSG_WARN([cURL does not have GnuTLS backend]) |
740 | AS_IF([test "x$curl" = "x0" || test "x$curl_gnutls" = "x0"], | 735 | curl_gnutls=0]) |
741 | [AC_MSG_ERROR([cURL must have a version >= 7.34.0 and must support CURLINFO_TLS_SESSION])])]) | 736 | LIBS=$OLD_LIBS |
742 | 737 | AM_CONDITIONAL([HAVE_GNUTLS_CURL], [test "x$curl_gnutls" = "x1"]) | |
743 | AS_IF([test "x$gnurl" = "x0" && test "x$curl" = "x0"], | 738 | AC_SUBST([curl_gnutls]) |
744 | [AC_MSG_ERROR([either gnurl or cURL must be available])]) | 739 | |
745 | 740 | # Even if curl is found, we check for this constant in order to determine | |
746 | AM_CONDITIONAL([HAVE_LIBGNURL], [test "x$gnurl" = "x1"]) | 741 | # if we can use this feature. |
747 | AC_DEFINE_UNQUOTED([HAVE_LIBGNURL], [$gnurl], [Define to 1 if libgnurl is used]) | 742 | AC_CHECK_HEADER([curl/curl.h], |
748 | AM_CONDITIONAL([HAVE_LIBCURL], [test "x$curl" = "x1"]) | 743 | [AC_CHECK_DECLS([CURLINFO_TLS_SSL_PTR], |
749 | AC_DEFINE_UNQUOTED([HAVE_LIBCURL], [$curl], [Define to 0 if libcurl is used]) | 744 | [], |
750 | 745 | [AC_MSG_ERROR([cURL must support CURLINFO_TLS_SSL_PTR])], | |
746 | [[#include <curl/curl.h>]])]) | ||
751 | # libatomic | 747 | # libatomic |
752 | AC_SEARCH_LIBS([__atomic_load_8], [atomic], | 748 | AC_SEARCH_LIBS([__atomic_load_8], [atomic], |
753 | [have_libatomic=1 | 749 | [have_libatomic=1 |
@@ -772,13 +768,9 @@ AC_CHECK_LIB([kstat], [kstat_open]) | |||
772 | 768 | ||
773 | # check for libsodium version >= 1.0.18 | 769 | # check for libsodium version >= 1.0.18 |
774 | libsodium=0 | 770 | libsodium=0 |
775 | AC_CHECK_HEADER([sodium.h], | 771 | CHECK_WITH_LIB([sodium], [crypto_core_ed25519_scalar_mul], [sodium.h], [HAVE_SODIUM]) |
776 | [AC_CHECK_LIB([sodium], [crypto_core_ed25519_scalar_mul], | 772 | AS_IF([test "x$sodium" = "x0"], |
777 | [libsodium=1], | 773 | [AC_MSG_ERROR([GNUnet requires libsodium >= 1.0.18])]) |
778 | [libsodium=0])]) | ||
779 | |||
780 | AS_IF([test "x$libsodium" = "x0"], | ||
781 | [AC_MSG_ERROR([GNUnet requires libsodium >= 1.0.18])]) | ||
782 | 774 | ||
783 | # check for libextractor | 775 | # check for libextractor |
784 | CHECK_WITH_LIB([extractor], | 776 | CHECK_WITH_LIB([extractor], |
@@ -788,6 +780,14 @@ CHECK_WITH_LIB([extractor], | |||
788 | AS_IF([test "x$extractor" = "x0"], | 780 | AS_IF([test "x$extractor" = "x0"], |
789 | [AC_MSG_RESULT([GNU libextractor not found, some features disabled])]) | 781 | [AC_MSG_RESULT([GNU libextractor not found, some features disabled])]) |
790 | 782 | ||
783 | # check for cloudflare-quiche | ||
784 | CHECK_WITH_LIB([quiche], | ||
785 | [quiche_header_info], | ||
786 | [quiche.h], | ||
787 | [HAVE_QUICHE]) | ||
788 | AS_IF([test "x$quiche" = "x0"], | ||
789 | [AC_MSG_RESULT([cloudflare-quiche not found, some features disabled])]) | ||
790 | |||
791 | # check for libltdl | 791 | # check for libltdl |
792 | CHECK_WITH_LIB([ltdl], [lt_dlopenext], [ltdl.h], [HAVE_LTDL]) | 792 | CHECK_WITH_LIB([ltdl], [lt_dlopenext], [ltdl.h], [HAVE_LTDL]) |
793 | AS_IF([test "x$ldtl" = "x0"], | 793 | AS_IF([test "x$ldtl" = "x0"], |
@@ -882,9 +882,9 @@ AC_DEFINE_UNQUOTED([HAVE_ZLIB], [$zlib_ok], [Define to 1 if zlib is available]) | |||
882 | AM_ICONV | 882 | AM_ICONV |
883 | 883 | ||
884 | # check for libunistring | 884 | # check for libunistring |
885 | gl_LIBUNISTRING | 885 | CHECK_WITH_LIB([unistring], [u16_strstr], [unistr.h], [HAVE_UNISTRING]) |
886 | AS_IF([test "x$HAVE_LIBUNISTRING" != "xyes"], | 886 | AS_IF([test "x$unistring" = "x0"], |
887 | [AC_MSG_ERROR([GNUnet requires libunistring])]) | 887 | [AC_MSG_ERROR([GNUnet requires unistring])]) |
888 | 888 | ||
889 | # Currently broken on Debian :-( | 889 | # Currently broken on Debian :-( |
890 | # AS_VERSION_COMPARE([$LIBUNISTRING_VERSION], [0.9.1.1], | 890 | # AS_VERSION_COMPARE([$LIBUNISTRING_VERSION], [0.9.1.1], |
@@ -904,76 +904,6 @@ AM_CONDITIONAL([HAVE_POSTGRESQL], [test "x$postgres" = "x1"]) | |||
904 | AC_DEFINE_UNQUOTED([HAVE_POSTGRESQL], [$postgres], | 904 | AC_DEFINE_UNQUOTED([HAVE_POSTGRESQL], [$postgres], |
905 | [Define to 1 if Postgres is available]) | 905 | [Define to 1 if Postgres is available]) |
906 | 906 | ||
907 | # check for mysql | ||
908 | SAVE_LDFLAGS="$LDFLAGS" | ||
909 | SAVE_CPPFLAGS="$CPPFLAGS" | ||
910 | AC_ARG_WITH([mysql], | ||
911 | [AS_HELP_STRING([--with-mysql=PFX], [base of mysql installation])], | ||
912 | [AS_CASE([$withval], | ||
913 | [no], | ||
914 | [], | ||
915 | [yes|""], | ||
916 | [AC_CHECK_HEADERS([mysql/mysql.h], | ||
917 | [AC_CHECK_LIB([mysqlclient], [mysql_init], | ||
918 | [mysql=true], [mysql=false])])], | ||
919 | [LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql $LDFLAGS $ZLIBS" | ||
920 | CPPFLAGS="-I$with_mysql/include $CPPFLAGS" | ||
921 | AC_CHECK_HEADERS([mysql/mysql.h], | ||
922 | [AC_CHECK_LIB([mysqlclient], [mysql_init], | ||
923 | [MYSQL_LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql" | ||
924 | MYSQL_CPPFLAGS="-I$with_mysql/include" | ||
925 | mysql=true], | ||
926 | [mysql=false])])])], | ||
927 | [AS_IF([test -d "/usr/lib64/mysql"], | ||
928 | [MYSQL_LIBDIR="/usr/lib64/mysql"], | ||
929 | [AS_IF([test -d "/usr/lib/mysql"], | ||
930 | [MYSQL_LIBDIR="/usr/lib/mysql"], | ||
931 | [MYSQL_LIBDIR="/usr/lib"])]) | ||
932 | LDFLAGS="-L$MYSQL_LIBDIR $LDFLAGS $ZLIBS" | ||
933 | AC_CHECK_LIB([mysqlclient], [mysql_init], | ||
934 | [AC_CHECK_HEADERS([mysql/mysql.h], | ||
935 | [MYSQL_LDFLAGS="-L$MYSQL_LIBDIR" | ||
936 | mysql=true], | ||
937 | [mysql=false])], | ||
938 | [mysql=false])]) | ||
939 | AC_SUBST(MYSQL_LDFLAGS) | ||
940 | AC_SUBST(MYSQL_CPPFLAGS) | ||
941 | |||
942 | # additional version checks for mysql | ||
943 | AS_IF([test "x$mysql" = "xtrue"], | ||
944 | [AC_MSG_CHECKING([for mysql version]) | ||
945 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM( | ||
946 | [[#include <mysql/mysql_version.h>]], | ||
947 | [[#if (MYSQL_VERSION_ID < 40100) | ||
948 | #error required at least version 4.1 | ||
949 | #endif]])], | ||
950 | [mysql=true], | ||
951 | [mysql=false]) | ||
952 | AS_IF([test "x$mysql" = "xfalse"], | ||
953 | [AC_MSG_RESULT([< 4.1]) | ||
954 | AC_MSG_RESULT([mysql version >= 4.1 required. Will not use MySQL])]) | ||
955 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM( | ||
956 | [[#include <mysql/mysql_version.h>]], | ||
957 | [[#if (MYSQL_VERSION_ID < 80000) | ||
958 | #error needs at least version 8.0 | ||
959 | #endif]])], | ||
960 | [mysql8=true], | ||
961 | [mysql8=false])]) | ||
962 | |||
963 | AS_IF([test "x$mysql" = "xtrue"], | ||
964 | [AS_IF([test "x$mysql8" = "xfalse"], | ||
965 | [AC_MSG_RESULT([between 4.1 and 8.0])], | ||
966 | [AC_MSG_RESULT([> 8.0]) | ||
967 | AC_DEFINE([HAVE_MYSQL8], [1], | ||
968 | [Define to 1 if MySQL is at least version 8])])]) | ||
969 | |||
970 | AM_CONDITIONAL([HAVE_MYSQL], [test "x$mysql" = "xtrue"]) | ||
971 | AM_CONDITIONAL([HAVE_MYSQLE], [false]) | ||
972 | |||
973 | AS_IF([test "x$sqlite3" = "x0" && test "x$mysql" = "xfalse" && test "x$postgres" = "x0"], | ||
974 | [AC_MSG_ERROR([GNUnet requires either SQLite, MySQL/MariaDB or PostgreSQL])]) | ||
975 | |||
976 | LDFLAGS="$SAVE_LDFLAGS" | ||
977 | CPPFLAGS="$SAVE_CPPFLAGS" | 907 | CPPFLAGS="$SAVE_CPPFLAGS" |
978 | 908 | ||
979 | # check for libmicrohttpd | 909 | # check for libmicrohttpd |
@@ -1187,6 +1117,10 @@ AC_ARG_ENABLE([experimental], | |||
1187 | [enable_experimental=1])], | 1117 | [enable_experimental=1])], |
1188 | [enable_experimental=0]) | 1118 | [enable_experimental=0]) |
1189 | AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "x1"]) | 1119 | AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "x1"]) |
1120 | AS_IF([test "x$enable_experimental" = "x1"], | ||
1121 | AC_DEFINE([GNUNET_EXPERIMENTAL], 1, [Set to 1 is this is an experimental build])) | ||
1122 | |||
1123 | AC_SUBST([enable_experimental]) | ||
1190 | 1124 | ||
1191 | # check if malicious code should be compiled (for testing) | 1125 | # check if malicious code should be compiled (for testing) |
1192 | AC_ARG_ENABLE([malicious], | 1126 | AC_ARG_ENABLE([malicious], |
@@ -1278,9 +1212,10 @@ AC_DEFINE_UNQUOTED([VCS_VERSION], [$vcs_version], | |||
1278 | 1212 | ||
1279 | AC_CONFIG_FILES([ | 1213 | AC_CONFIG_FILES([ |
1280 | Makefile | 1214 | Makefile |
1281 | bin/Makefile | ||
1282 | contrib/Makefile | 1215 | contrib/Makefile |
1283 | contrib/hellos/Makefile | 1216 | data/Makefile |
1217 | data/hellos/Makefile | ||
1218 | scripts/Makefile | ||
1284 | contrib/services/Makefile | 1219 | contrib/services/Makefile |
1285 | contrib/services/openrc/Makefile | 1220 | contrib/services/openrc/Makefile |
1286 | contrib/services/systemd/Makefile | 1221 | contrib/services/systemd/Makefile |
@@ -1292,108 +1227,138 @@ doc/doxygen/Makefile | |||
1292 | m4/Makefile | 1227 | m4/Makefile |
1293 | po/Makefile.in | 1228 | po/Makefile.in |
1294 | src/Makefile | 1229 | src/Makefile |
1295 | src/arm/Makefile | 1230 | src/lib/Makefile |
1296 | src/arm/arm.conf | 1231 | src/lib/util/Makefile |
1297 | src/ats/Makefile | 1232 | src/lib/block/Makefile |
1298 | src/ats/ats.conf | 1233 | src/lib/curl/Makefile |
1299 | src/ats-tool/Makefile | 1234 | src/lib/gnsrecord/Makefile |
1300 | src/auction/Makefile | 1235 | src/lib/json/Makefile |
1301 | src/block/Makefile | 1236 | src/lib/pq/Makefile |
1302 | src/cadet/Makefile | 1237 | src/lib/sq/Makefile |
1303 | src/cadet/cadet.conf | 1238 | src/plugin/Makefile |
1304 | src/core/Makefile | 1239 | src/plugin/block/Makefile |
1305 | src/core/core.conf | 1240 | src/plugin/datacache/Makefile |
1306 | src/consensus/Makefile | 1241 | src/plugin/datastore/Makefile |
1307 | src/consensus/consensus.conf | 1242 | src/plugin/dht/Makefile |
1308 | src/conversation/Makefile | 1243 | src/plugin/dns/Makefile |
1309 | src/conversation/conversation.conf | 1244 | src/plugin/fs/Makefile |
1310 | src/curl/Makefile | 1245 | src/plugin/gns/Makefile |
1311 | src/datacache/Makefile | 1246 | src/plugin/gnsrecord/Makefile |
1312 | src/datastore/Makefile | 1247 | src/plugin/namecache/Makefile |
1313 | src/datastore/datastore.conf | 1248 | src/plugin/namestore/Makefile |
1314 | src/dht/Makefile | 1249 | src/plugin/peerstore/Makefile |
1315 | src/dht/dht.conf | 1250 | src/plugin/reclaim/Makefile |
1316 | src/dhtu/Makefile | 1251 | src/plugin/regex/Makefile |
1317 | src/dns/Makefile | 1252 | src/plugin/revocation/Makefile |
1318 | src/dns/dns.conf | 1253 | src/plugin/seti/Makefile |
1319 | src/exit/Makefile | 1254 | src/plugin/setu/Makefile |
1320 | src/fragmentation/Makefile | 1255 | src/plugin/messenger/Makefile |
1321 | src/fs/Makefile | 1256 | src/service/Makefile |
1322 | src/fs/fs.conf | 1257 | src/service/arm/Makefile |
1323 | src/gns/Makefile | 1258 | src/service/arm/arm.conf |
1324 | src/gns/gns.conf | 1259 | src/service/cadet/Makefile |
1325 | src/gns/nss/Makefile | 1260 | src/service/cadet/cadet.conf |
1326 | src/gnsrecord/Makefile | 1261 | src/service/core/Makefile |
1327 | src/hello/Makefile | 1262 | src/service/core/core.conf |
1328 | src/identity/Makefile | 1263 | src/service/datacache/Makefile |
1329 | src/identity/identity.conf | 1264 | src/service/datastore/Makefile |
1265 | src/service/datastore/datastore.conf | ||
1266 | src/service/dht/Makefile | ||
1267 | src/service/dht/dht.conf | ||
1268 | src/service/dns/Makefile | ||
1269 | src/service/dns/dns.conf | ||
1270 | src/service/exit/Makefile | ||
1271 | src/service/fs/Makefile | ||
1272 | src/service/fs/fs.conf | ||
1273 | src/service/gns/Makefile | ||
1274 | src/service/gns/gns.conf | ||
1275 | src/service/gns/nss/Makefile | ||
1276 | src/service/hostlist/Makefile | ||
1277 | src/service/identity/Makefile | ||
1278 | src/service/identity/identity.conf | ||
1279 | src/service/messenger/Makefile | ||
1280 | src/service/messenger/messenger.conf | ||
1281 | src/service/namecache/Makefile | ||
1282 | src/service/namecache/namecache.conf | ||
1283 | src/service/namestore/Makefile | ||
1284 | src/service/namestore/namestore.conf | ||
1285 | src/service/nat/Makefile | ||
1286 | src/service/nat/nat.conf | ||
1287 | src/service/nat-auto/Makefile | ||
1288 | src/service/nat-auto/nat-auto.conf | ||
1289 | src/service/nse/Makefile | ||
1290 | src/service/nse/nse.conf | ||
1291 | src/service/peerstore/Makefile | ||
1292 | src/service/peerstore/peerstore.conf | ||
1293 | src/service/pt/Makefile | ||
1294 | src/service/reclaim/Makefile | ||
1295 | src/service/regex/Makefile | ||
1296 | src/service/regex/regex.conf | ||
1297 | src/service/rest/Makefile | ||
1298 | src/service/revocation/Makefile | ||
1299 | src/service/revocation/revocation.conf | ||
1300 | src/service/seti/Makefile | ||
1301 | src/service/seti/seti.conf | ||
1302 | src/service/setu/Makefile | ||
1303 | src/service/setu/setu.conf | ||
1304 | src/service/statistics/Makefile | ||
1305 | src/service/statistics/statistics.conf | ||
1306 | src/service/testing/Makefile | ||
1307 | src/service/topology/Makefile | ||
1308 | src/service/transport/Makefile | ||
1309 | src/service/transport/transport.conf | ||
1310 | src/service/util/Makefile | ||
1311 | src/service/util/resolver.conf | ||
1312 | src/service/vpn/Makefile | ||
1313 | src/service/vpn/vpn.conf | ||
1314 | src/service/zonemaster/Makefile | ||
1315 | src/service/zonemaster/zonemaster.conf | ||
1316 | src/cli/Makefile | ||
1317 | src/cli/arm/Makefile | ||
1318 | src/cli/cadet/Makefile | ||
1319 | src/cli/core/Makefile | ||
1320 | src/cli/datastore/Makefile | ||
1321 | src/cli/dht/Makefile | ||
1322 | src/cli/fs/Makefile | ||
1323 | src/cli/gns/Makefile | ||
1324 | src/cli/identity/Makefile | ||
1325 | src/cli/messenger/Makefile | ||
1326 | src/cli/namecache/Makefile | ||
1327 | src/cli/namestore/Makefile | ||
1328 | src/cli/peerstore/Makefile | ||
1329 | src/cli/nat/Makefile | ||
1330 | src/cli/nat-auto/Makefile | ||
1331 | src/cli/nse/Makefile | ||
1332 | src/cli/reclaim/Makefile | ||
1333 | src/cli/revocation/Makefile | ||
1334 | src/cli/statistics/Makefile | ||
1335 | src/cli/util/Makefile | ||
1336 | src/cli/vpn/Makefile | ||
1337 | src/contrib/Makefile | ||
1338 | src/contrib/service/Makefile | ||
1339 | src/contrib/service/abd/Makefile | ||
1340 | src/contrib/service/abd/abd.conf | ||
1341 | src/contrib/service/auction/Makefile | ||
1342 | src/contrib/service/consensus/Makefile | ||
1343 | src/contrib/service/consensus/consensus.conf | ||
1344 | src/contrib/service/conversation/Makefile | ||
1345 | src/contrib/service/conversation/conversation.conf | ||
1346 | src/contrib/service/scalarproduct/Makefile | ||
1347 | src/contrib/service/scalarproduct/scalarproduct.conf | ||
1348 | src/contrib/service/secretsharing/Makefile | ||
1349 | src/contrib/service/secretsharing/secretsharing.conf | ||
1350 | src/contrib/service/set/Makefile | ||
1351 | src/contrib/service/set/set.conf | ||
1352 | src/contrib/service/rps/Makefile | ||
1353 | src/contrib/service/rps/rps.conf | ||
1354 | src/contrib/service/template/Makefile | ||
1355 | src/contrib/cli/Makefile | ||
1356 | src/contrib/cli/template/Makefile | ||
1357 | src/lib/hello/Makefile | ||
1330 | src/include/Makefile | 1358 | src/include/Makefile |
1331 | src/integration-tests/Makefile | 1359 | src/include/gnunet_config.h |
1332 | src/json/Makefile | ||
1333 | src/hostlist/Makefile | ||
1334 | src/my/Makefile | ||
1335 | src/mysql/Makefile | ||
1336 | src/namecache/Makefile | ||
1337 | src/namecache/namecache.conf | ||
1338 | src/namestore/Makefile | ||
1339 | src/namestore/namestore.conf | ||
1340 | src/nat/Makefile | ||
1341 | src/nat/nat.conf | ||
1342 | src/nat-auto/Makefile | ||
1343 | src/nat-auto/nat-auto.conf | ||
1344 | src/nse/Makefile | ||
1345 | src/nse/nse.conf | ||
1346 | src/nt/Makefile | ||
1347 | src/peerinfo/Makefile | ||
1348 | src/peerinfo/peerinfo.conf | ||
1349 | src/peerinfo-tool/Makefile | ||
1350 | src/peerstore/Makefile | ||
1351 | src/peerstore/peerstore.conf | ||
1352 | src/pq/Makefile | ||
1353 | src/pt/Makefile | ||
1354 | src/regex/Makefile | ||
1355 | src/regex/regex.conf | ||
1356 | src/revocation/Makefile | ||
1357 | src/revocation/revocation.conf | ||
1358 | src/rps/Makefile | ||
1359 | src/rps/rps.conf | ||
1360 | src/secretsharing/Makefile | ||
1361 | src/secretsharing/secretsharing.conf | ||
1362 | src/scalarproduct/Makefile | ||
1363 | src/scalarproduct/scalarproduct.conf | ||
1364 | src/set/Makefile | ||
1365 | src/set/set.conf | ||
1366 | src/seti/Makefile | ||
1367 | src/seti/seti.conf | ||
1368 | src/setu/Makefile | ||
1369 | src/setu/setu.conf | ||
1370 | src/sq/Makefile | ||
1371 | src/statistics/Makefile | ||
1372 | src/statistics/statistics.conf | ||
1373 | src/template/Makefile | ||
1374 | src/testbed/Makefile | ||
1375 | src/testbed/testbed.conf | ||
1376 | src/testbed-logger/Makefile | ||
1377 | src/testbed-logger/testbed-logger.conf | ||
1378 | src/testing/Makefile | ||
1379 | src/topology/Makefile | ||
1380 | src/transport/Makefile | ||
1381 | src/transport/transport.conf | ||
1382 | src/util/Makefile | ||
1383 | src/util/resolver.conf | ||
1384 | src/vpn/Makefile | ||
1385 | src/vpn/vpn.conf | ||
1386 | src/zonemaster/Makefile | ||
1387 | src/zonemaster/zonemaster.conf | ||
1388 | src/rest/Makefile | ||
1389 | src/abd/Makefile | ||
1390 | src/abd/abd.conf | ||
1391 | src/reclaim/Makefile | ||
1392 | src/messenger/Makefile | ||
1393 | src/messenger/messenger.conf | ||
1394 | pkgconfig/Makefile | 1360 | pkgconfig/Makefile |
1395 | pkgconfig/gnunetarm.pc | 1361 | pkgconfig/gnunetarm.pc |
1396 | pkgconfig/gnunetats.pc | ||
1397 | pkgconfig/gnunetblock.pc | 1362 | pkgconfig/gnunetblock.pc |
1398 | pkgconfig/gnunetcadet.pc | 1363 | pkgconfig/gnunetcadet.pc |
1399 | pkgconfig/gnunetconsensus.pc | 1364 | pkgconfig/gnunetconsensus.pc |
@@ -1403,19 +1368,18 @@ pkgconfig/gnunetdatacache.pc | |||
1403 | pkgconfig/gnunetdatastore.pc | 1368 | pkgconfig/gnunetdatastore.pc |
1404 | pkgconfig/gnunetdht.pc | 1369 | pkgconfig/gnunetdht.pc |
1405 | pkgconfig/gnunetdns.pc | 1370 | pkgconfig/gnunetdns.pc |
1406 | pkgconfig/gnunetenv.pc | ||
1407 | pkgconfig/gnunetfragmentation.pc | ||
1408 | pkgconfig/gnunetfs.pc | 1371 | pkgconfig/gnunetfs.pc |
1409 | pkgconfig/gnunetgns.pc | 1372 | pkgconfig/gnunetgns.pc |
1410 | pkgconfig/gnunethello.pc | 1373 | pkgconfig/gnunethello.pc |
1411 | pkgconfig/gnunetidentity.pc | 1374 | pkgconfig/gnunetidentity.pc |
1375 | pkgconfig/gnunetjson.pc | ||
1376 | pkgconfig/gnunetmessenger.pc | ||
1412 | pkgconfig/gnunetmicrophone.pc | 1377 | pkgconfig/gnunetmicrophone.pc |
1413 | pkgconfig/gnunetmysql.pc | ||
1414 | pkgconfig/gnunetnamestore.pc | 1378 | pkgconfig/gnunetnamestore.pc |
1415 | pkgconfig/gnunetnat.pc | 1379 | pkgconfig/gnunetnat.pc |
1416 | pkgconfig/gnunetnse.pc | 1380 | pkgconfig/gnunetnse.pc |
1417 | pkgconfig/gnunetpeerinfo.pc | ||
1418 | pkgconfig/gnunetpq.pc | 1381 | pkgconfig/gnunetpq.pc |
1382 | pkgconfig/gnunetreclaim.pc | ||
1419 | pkgconfig/gnunetregex.pc | 1383 | pkgconfig/gnunetregex.pc |
1420 | pkgconfig/gnunetrevocation.pc | 1384 | pkgconfig/gnunetrevocation.pc |
1421 | pkgconfig/gnunetrps.pc | 1385 | pkgconfig/gnunetrps.pc |
@@ -1423,7 +1387,6 @@ pkgconfig/gnunetscalarproduct.pc | |||
1423 | pkgconfig/gnunetset.pc | 1387 | pkgconfig/gnunetset.pc |
1424 | pkgconfig/gnunetspeaker.pc | 1388 | pkgconfig/gnunetspeaker.pc |
1425 | pkgconfig/gnunetstatistics.pc | 1389 | pkgconfig/gnunetstatistics.pc |
1426 | pkgconfig/gnunettestbed.pc | ||
1427 | pkgconfig/gnunettesting.pc | 1390 | pkgconfig/gnunettesting.pc |
1428 | pkgconfig/gnunettransport.pc | 1391 | pkgconfig/gnunettransport.pc |
1429 | pkgconfig/gnunetutil.pc | 1392 | pkgconfig/gnunetutil.pc |
@@ -1458,10 +1421,10 @@ AS_IF([test "x$MANDOC_BINARY" = "xfalse"], | |||
1458 | [mandoc_msg="no"], | 1421 | [mandoc_msg="no"], |
1459 | [mandoc_msg="yes"]) | 1422 | [mandoc_msg="yes"]) |
1460 | 1423 | ||
1461 | # sphinx | 1424 | # doxy |
1462 | AS_IF([test "x$documentation" = "xyes"], | 1425 | AS_IF([$DOXY_BINARY], |
1463 | [sphinx_msg="yes"], | 1426 | [doxy_msg="yes"], |
1464 | [sphinx_msg="no"]) | 1427 | [doxy_msg="no"]) |
1465 | 1428 | ||
1466 | # conversation | 1429 | # conversation |
1467 | conversation_msg="no" | 1430 | conversation_msg="no" |
@@ -1495,6 +1458,8 @@ AS_IF([test "x$extractor" = "x0"], | |||
1495 | AC_MSG_WARN([libextractor not found, but various file-sharing operations require it])], | 1458 | AC_MSG_WARN([libextractor not found, but various file-sharing operations require it])], |
1496 | [libextractor_msg="yes"]) | 1459 | [libextractor_msg="yes"]) |
1497 | 1460 | ||
1461 | AC_SUBST([extractor]) | ||
1462 | |||
1498 | # libzbar | 1463 | # libzbar |
1499 | AS_IF([test "x$zbar" = "x1"], | 1464 | AS_IF([test "x$zbar" = "x1"], |
1500 | [libzbar_msg="yes"], | 1465 | [libzbar_msg="yes"], |
@@ -1505,12 +1470,9 @@ AS_IF([test "x$png" = "x1"], | |||
1505 | [libpng_msg="yes"], | 1470 | [libpng_msg="yes"], |
1506 | [libpng_msg="no"]) | 1471 | [libpng_msg="no"]) |
1507 | 1472 | ||
1508 | # curl or gnurl | 1473 | AS_IF([test "x$curl_gnutls" = "x0"], |
1509 | AS_IF([test "x$gnurl" = "x1"], | 1474 | [curl_tls_backend="OpenSSL"], |
1510 | [http_client="gnurl"], | 1475 | [curl_tls_backend="GnuTLS"]) |
1511 | [AS_IF([test "x$curl_gnutls" = "x1"], | ||
1512 | [http_client="curl-gnutls"], | ||
1513 | [http_client="curl-openssl"])]) | ||
1514 | 1476 | ||
1515 | # ifconfig | 1477 | # ifconfig |
1516 | AS_IF([test "x$IFCONFIG_BINARY" = "xfalse"], | 1478 | AS_IF([test "x$IFCONFIG_BINARY" = "xfalse"], |
@@ -1553,11 +1515,6 @@ AS_IF([test "x$sqlite3" = "x1"], | |||
1553 | features_msg="sqlite $features_msg"], | 1515 | features_msg="sqlite $features_msg"], |
1554 | [sqlite_msg="no"]) | 1516 | [sqlite_msg="no"]) |
1555 | 1517 | ||
1556 | AS_IF([test "x$mysql" = "xtrue"], | ||
1557 | [mysql_msg="yes" | ||
1558 | features_msg="mysql $features_msg"], | ||
1559 | [mysql_msg="no"]) | ||
1560 | |||
1561 | AS_IF([test "x$postgres" = "x1"], | 1518 | AS_IF([test "x$postgres" = "x1"], |
1562 | [postgres_msg="yes" | 1519 | [postgres_msg="yes" |
1563 | features_msg="postgres $features_msg"], | 1520 | features_msg="postgres $features_msg"], |
@@ -1586,10 +1543,9 @@ Build Target: ${build_target} | |||
1586 | Default Interface: ${interface_msg} | 1543 | Default Interface: ${interface_msg} |
1587 | 1544 | ||
1588 | sqlite3: ${sqlite_msg} | 1545 | sqlite3: ${sqlite_msg} |
1589 | MySQL: ${mysql_msg} | ||
1590 | PostgreSQL: ${postgres_msg} | 1546 | PostgreSQL: ${postgres_msg} |
1591 | 1547 | ||
1592 | HTTP Client: ${http_client} | 1548 | cURL TLS backend: ${curl_tls_backend} |
1593 | Bluetooth: ${bluetooth_msg} | 1549 | Bluetooth: ${bluetooth_msg} |
1594 | iptables: ${iptables_msg} | 1550 | iptables: ${iptables_msg} |
1595 | ifconfig: ${ifconfig_msg} | 1551 | ifconfig: ${ifconfig_msg} |
@@ -1608,7 +1564,7 @@ gstreamer: ${gstreamer_msg} | |||
1608 | 1564 | ||
1609 | Java: ${java_msg} | 1565 | Java: ${java_msg} |
1610 | 1566 | ||
1611 | sphinx: ${sphinx_msg} | 1567 | doxygen: ${doxy_msg} |
1612 | mandoc: ${mandoc_msg} | 1568 | mandoc: ${mandoc_msg} |
1613 | 1569 | ||
1614 | GNUnet configuration | 1570 | GNUnet configuration |
@@ -1623,7 +1579,7 @@ Transpiled mdocml Manual: ${mdocml_msg} | |||
1623 | ]) | 1579 | ]) |
1624 | 1580 | ||
1625 | AS_IF([test "x$MSG_USER_SETUP" != "xfalse"], | 1581 | AS_IF([test "x$MSG_USER_SETUP" != "xfalse"], |
1626 | [AC_MSG_WARN([Please make sure NOW to create a user and group 'gnunet' and additionall a group 'gnunetdns'. Make sure that '/var/lib/gnunet' is owned (and writable) by user 'gnunet'.]) | 1582 | [AC_MSG_WARN([Please make sure NOW to create a user and group 'gnunet' and additionally a group 'gnunetdns'. Make sure that '/var/lib/gnunet' is owned (and writable) by user 'gnunet'.]) |
1627 | AS_IF([test "x$HAVE_GNUNET_USER" != "x0"], | 1583 | AS_IF([test "x$HAVE_GNUNET_USER" != "x0"], |
1628 | [AC_MSG_NOTICE([To do this on this system, run: | 1584 | [AC_MSG_NOTICE([To do this on this system, run: |
1629 | # addgroup gnunetdns | 1585 | # addgroup gnunetdns |