diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 536 |
1 files changed, 213 insertions, 323 deletions
diff --git a/configure.ac b/configure.ac index b1bc03e91..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 |
@@ -441,26 +451,11 @@ AC_ARG_ENABLE([documentation], | |||
441 | [do not build the documentation])], | 451 | [do not build the documentation])], |
442 | [documentation=${enableval}], | 452 | [documentation=${enableval}], |
443 | [documentation=yes]) | 453 | [documentation=yes]) |
454 | |||
455 | AC_CHECK_PROG([DOXY_BINARY], [doxygen], [true], [false]) | ||
456 | AM_CONDITIONAL([HAVE_DOXY_BINARY], [$DOXY_BINARY]) | ||
457 | |||
444 | AM_CONDITIONAL([DOCUMENTATION], [test "x$documentation" = "xyes"]) | 458 | AM_CONDITIONAL([DOCUMENTATION], [test "x$documentation" = "xyes"]) |
445 | AS_IF([test "x$documentation" = "xyes"], | ||
446 | [AC_DEFINE([DOCUMENTATION], [1], [Define to 1 if documentation is built])], | ||
447 | [AC_DEFINE([DOCUMENTATION], [0], [Define to 1 if documentation is built])]) | ||
448 | |||
449 | AC_ARG_ENABLE([texi2mdoc-generation], | ||
450 | [AS_HELP_STRING([--enable-texi2mdoc-generation], | ||
451 | [generate and install texi2mdoc output])], | ||
452 | [texi2mdoc_enabled=${enableval}], | ||
453 | [texi2mdoc_enabled=no]) | ||
454 | AM_CONDITIONAL([TEXI2MDOC_GENERATION], [test "x$texi2mdoc_enabled" = "xyes"]) | ||
455 | AS_IF([test "x$texi2mdoc_enabled" = "xyes"], | ||
456 | [AC_CHECK_PROGS([TEXI2MDOC_BINARY], [texi2mdoc], [false]) | ||
457 | AS_IF([test "x$TEXI2MDOC_BINARY" != "xfalse"], | ||
458 | [AC_DEFINE([TEXI2MDOC_GENERATION], [1], | ||
459 | [Define to 1 if mdoc output is generated])], | ||
460 | [AC_DEFINE([TEXI2MDOC_GENERATION], [0], | ||
461 | [Define to 1 if mdoc output is generated])])], | ||
462 | [TEXI2MDOC_BINARY=false]) | ||
463 | AM_CONDITIONAL([HAVE_TEXI2MDOC], [test "x$TEXI2MDOC_BINARY" != "xfalse"]) | ||
464 | 459 | ||
465 | AC_CHECK_PROGS([MANDOC_BINARY], [mandoc], [false]) | 460 | AC_CHECK_PROGS([MANDOC_BINARY], [mandoc], [false]) |
466 | AM_CONDITIONAL([HAVE_MANDOC], [test "x$MANDOC_BINARY" != "xfalse"]) | 461 | AM_CONDITIONAL([HAVE_MANDOC], [test "x$MANDOC_BINARY" != "xfalse"]) |
@@ -489,44 +484,12 @@ AC_DEFINE_UNQUOTED([INCLUDE_MANPAGES], [$include_man], | |||
489 | [Define to 1 if man pages are included]) | 484 | [Define to 1 if man pages are included]) |
490 | AM_CONDITIONAL([INCLUDE_MANPAGES], [test "x$include_man" = "x1"]) | 485 | AM_CONDITIONAL([INCLUDE_MANPAGES], [test "x$include_man" = "x1"]) |
491 | 486 | ||
492 | # Do we have texinfo4? If yes, it is used to set texinfo4 specific switches | ||
493 | # (not syntax!) to the commandline tools which generate the html. If not, | ||
494 | # texinfo5 switches are used. This comes with no version checks, is | ||
495 | # enabled only at distributors action (ie defaults to "no"). | ||
496 | # Mantis #3914 for more details (https://bugs.gnunet.org/view.php?id=3914) | ||
497 | # While GNU makeinfo 6.5 supports --css-ref=URL, | ||
498 | # makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other | ||
499 | # base) does only support --css-include=FILE. | ||
500 | # The only difference is a shorter html output and | ||
501 | # in 6.5 the ability to use refs instead of include. | ||
502 | # We prefer not to break builds in this case, so | ||
503 | # we use the include version which is backwards compatible | ||
504 | # and upwards compatible, while the ref variant is neither. | ||
505 | # In the 5.x version they added `--split=chapters|sections` in | ||
506 | # addition to `--split=nodes`. | ||
507 | # Hold on to your hats: In version 6.5 this is already removed, ffs. | ||
508 | # GNU Texinfo, please be more consistent than 1 version in switches. | ||
509 | AC_ARG_ENABLE([texinfo4], | ||
510 | [AS_HELP_STRING([--enable-texinfo4], | ||
511 | [Use Texinfo version 4 specific switches])], | ||
512 | [activate_texinfo4=${enableval}], | ||
513 | [activate_texinfo4=no]) | ||
514 | AM_CONDITIONAL([ACTIVATE_TEXINFO4], [test "x$activate_texinfo4" = "xyes"]) | ||
515 | AS_IF([test "x$activate_texinfo4" = "xyes"], | ||
516 | [AC_DEFINE([ACTIVATE_TEXINFO4], [1], | ||
517 | [Define to 1 if using Texinfo v4 switches]) | ||
518 | TEXINFO_HTMLFLAGS="--no-split --css-include=style.css --css-include=manual.css"], | ||
519 | [AC_DEFINE([ACTIVATE_TEXINFO4], [0], | ||
520 | [Define to 1 if using Texinfo v4 switches]) | ||
521 | TEXINFO_HTMLFLAGS="--no-split --css-ref='../style.css' --css-ref='../manual.css'"]) | ||
522 | AC_SUBST([TEXINFO_HTMLFLAGS]) | ||
523 | |||
524 | # Hardening options | 487 | # Hardening options |
525 | AC_ARG_ENABLE([gcc-hardening], | 488 | AC_ARG_ENABLE([gcc-hardening], |
526 | [AS_HELP_STRING([--enable-gcc-hardening], [enable compiler security checks])], | 489 | [AS_HELP_STRING([--enable-gcc-hardening], [enable compiler security checks])], |
527 | [AS_IF([test "x$enableval" = "xyes"], | 490 | [AS_IF([test "x$enableval" = "xyes"], |
528 | [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" |
529 | CFLAGS="$CFLAGS -fwrapv -fPIE -Wstacl-protector" | 492 | CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector" |
530 | CFLAGS="$CFLAGS --param ssp-buffer-size=1" | 493 | CFLAGS="$CFLAGS --param ssp-buffer-size=1" |
531 | LDFLAGS="$LDFLAGS -pie"])]) | 494 | LDFLAGS="$LDFLAGS -pie"])]) |
532 | 495 | ||
@@ -640,16 +603,6 @@ gcry_md_close (mac);]])], | |||
640 | [AC_MSG_RESULT([cross compiling, test skipped])]) | 603 | [AC_MSG_RESULT([cross compiling, test skipped])]) |
641 | AC_LANG_POP([C])]) | 604 | AC_LANG_POP([C])]) |
642 | 605 | ||
643 | AC_MSG_CHECKING([for static assertion support]) | ||
644 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], | ||
645 | [[_Static_assert(sizeof(int) >= 4, "not big enough");]])], | ||
646 | [AC_MSG_RESULT([yes]) | ||
647 | AC_DEFINE([HAVE_STATIC_ASSERT], [1], | ||
648 | [Define to 1 if static assert is supported])], | ||
649 | [AC_MSG_RESULT([no]) | ||
650 | AC_DEFINE([HAVE_STATIC_ASSERT], [0], | ||
651 | [Define to 1 if static assert is supported])]) | ||
652 | |||
653 | dnl Helper function to shorten the amount of repeated code | 606 | dnl Helper function to shorten the amount of repeated code |
654 | dnl It will create a --with-<lib> option for configure. | 607 | dnl It will create a --with-<lib> option for configure. |
655 | dnl | 608 | dnl |
@@ -736,18 +689,6 @@ CHECK_WITH_LIB([opus], [opus_decode_float], [opus/opus.h], [HAVE_OPUS]) | |||
736 | # check for libogg | 689 | # check for libogg |
737 | CHECK_WITH_LIB([ogg], [ogg_stream_flush_fill], [ogg/ogg.h], [HAVE_OGG]) | 690 | CHECK_WITH_LIB([ogg], [ogg_stream_flush_fill], [ogg/ogg.h], [HAVE_OGG]) |
738 | 691 | ||
739 | PKG_CHECK_MODULES([GLIB], [glib-2.0], | ||
740 | [AC_CHECK_HEADER([pbc/pbc.h], [pbc=1], [pbc=0]) | ||
741 | AC_CHECK_HEADER([gabe.h], [abe=1], [abe=0]) | ||
742 | AM_CONDITIONAL([HAVE_PBC], [test "x$pbc" = "x1"]) | ||
743 | AM_CONDITIONAL([HAVE_ABE], [test "x$abe" = "x1"]) | ||
744 | AC_DEFINE_UNQUOTED([HAVE_PBC], [$pbc], [Define to 1 if pbc is available]) | ||
745 | AC_DEFINE_UNQUOTED([HAVE_ABE], [$abe], [Define to 1 if abe is available])], | ||
746 | [AM_CONDITIONAL([HAVE_PBC], [false]) | ||
747 | AM_CONDITIONAL([HAVE_ABE], [false]) | ||
748 | AC_DEFINE([HAVE_PBC], [0], [Define to 1 if pbc is available]) | ||
749 | AC_DEFINE([HAVE_ABE], [0], [Define to 1 if abe is available])]) | ||
750 | |||
751 | PKG_CHECK_MODULES([GST], | 692 | PKG_CHECK_MODULES([GST], |
752 | [glib-2.0 gobject-2.0 gstreamer-1.0 gstreamer-app-1.0 gstreamer-audio-1.0], | 693 | [glib-2.0 gobject-2.0 gstreamer-1.0 gstreamer-app-1.0 gstreamer-audio-1.0], |
753 | [gst=1], | 694 | [gst=1], |
@@ -773,35 +714,36 @@ AS_IF([test "x$pulse" != "x1" || test "x$opus" != "x1" || test "x$ogg" != "x1"], | |||
773 | AM_CONDITIONAL([BUILD_CONVERSATION], [test "x$conversation_backend" != "xnone"]) | 714 | AM_CONDITIONAL([BUILD_CONVERSATION], [test "x$conversation_backend" != "xnone"]) |
774 | AC_MSG_RESULT([$conversation_backend]) | 715 | AC_MSG_RESULT([$conversation_backend]) |
775 | 716 | ||
776 | # check for libgnurl | 717 | # NOTE: If we find libcurl-gnutls here we set LIBCURL to -lcurl-gnutls |
777 | LIBGNURL_CHECK_CONFIG([], [7.34.0], | 718 | # This affects the LIBCURL_CHECK_CONFIG call below as it takes LIBCURL into |
778 | [gnurl=1 | 719 | # account when checking for curl. |
779 | curl=0], | 720 | LIBCURL="-lcurl" |
780 | [gnurl=0 | 721 | AC_CHECK_LIB([curl-gnutls], |
781 | curl=0]) | 722 | [curl_easy_getinfo], |
782 | AS_IF([test "x$gnurl" = "x0"], | 723 | [LIBCURL="-lcurl-gnutls"]) |
783 | [LIBCURL_CHECK_CONFIG([], [7.34.0], [curl=1], [curl=0]) | 724 | |
784 | AS_IF([test "x$curl" = "x0"], | 725 | LIBCURL_CHECK_CONFIG([], [7.85.0], [], |
785 | [AC_CHECK_HEADER([curl/curl.h], | 726 | [AC_MSG_ERROR([cURL must have a version >= 7.85.0])]) |
786 | [AC_CHECK_DECLS([CURLINFO_TLS_SESSION], | 727 | |
787 | [curl=1], | 728 | OLD_LIBS=$LIBS |
788 | [curl=0], | 729 | LIBS="$LIBS $LIBCURL" |
789 | [[#include <curl/curl.h>]])]) | 730 | AC_RUN_IFELSE( |
790 | AC_CHECK_LIB([curl-gnutls], | 731 | [AC_LANG_PROGRAM([[#include <curl/curl.h>]], |
791 | [curl_easy_getinfo], | 732 | [[return (CURLSSLSET_OK != curl_global_sslset(CURLSSLBACKEND_GNUTLS, NULL, NULL));]])], |
792 | [curl_gnutls=1], | 733 | [curl_gnutls=1], |
793 | [curl_gnutls=0])]) | 734 | [AC_MSG_WARN([cURL does not have GnuTLS backend]) |
794 | AS_IF([test "x$curl" = "x0" || test "x$curl_gnutls" = "x0"], | 735 | curl_gnutls=0]) |
795 | [AC_MSG_ERROR([cURL must have a version >= 7.34.0 and must support CURLINFO_TLS_SESSION])])]) | 736 | LIBS=$OLD_LIBS |
796 | 737 | AM_CONDITIONAL([HAVE_GNUTLS_CURL], [test "x$curl_gnutls" = "x1"]) | |
797 | AS_IF([test "x$gnurl" = "x0" && test "x$curl" = "x0"], | 738 | AC_SUBST([curl_gnutls]) |
798 | [AC_MSG_ERROR([either gnurl or cURL must be available])]) | 739 | |
799 | 740 | # Even if curl is found, we check for this constant in order to determine | |
800 | AM_CONDITIONAL([HAVE_LIBGNURL], [test "x$gnurl" = "x1"]) | 741 | # if we can use this feature. |
801 | AC_DEFINE_UNQUOTED([HAVE_LIBGNURL], [$gnurl], [Define to 1 if libgnurl is used]) | 742 | AC_CHECK_HEADER([curl/curl.h], |
802 | AM_CONDITIONAL([HAVE_LIBCURL], [test "x$curl" = "x1"]) | 743 | [AC_CHECK_DECLS([CURLINFO_TLS_SSL_PTR], |
803 | AC_DEFINE_UNQUOTED([HAVE_LIBCURL], [$curl], [Define to 0 if libcurl is used]) | 744 | [], |
804 | 745 | [AC_MSG_ERROR([cURL must support CURLINFO_TLS_SSL_PTR])], | |
746 | [[#include <curl/curl.h>]])]) | ||
805 | # libatomic | 747 | # libatomic |
806 | AC_SEARCH_LIBS([__atomic_load_8], [atomic], | 748 | AC_SEARCH_LIBS([__atomic_load_8], [atomic], |
807 | [have_libatomic=1 | 749 | [have_libatomic=1 |
@@ -826,13 +768,9 @@ AC_CHECK_LIB([kstat], [kstat_open]) | |||
826 | 768 | ||
827 | # check for libsodium version >= 1.0.18 | 769 | # check for libsodium version >= 1.0.18 |
828 | libsodium=0 | 770 | libsodium=0 |
829 | AC_CHECK_HEADER([sodium.h], | 771 | CHECK_WITH_LIB([sodium], [crypto_core_ed25519_scalar_mul], [sodium.h], [HAVE_SODIUM]) |
830 | [AC_CHECK_LIB([sodium], [crypto_core_ed25519_scalar_mul], | 772 | AS_IF([test "x$sodium" = "x0"], |
831 | [libsodium=1], | 773 | [AC_MSG_ERROR([GNUnet requires libsodium >= 1.0.18])]) |
832 | [libsodium=0])]) | ||
833 | |||
834 | AS_IF([test "x$libsodium" = "x0"], | ||
835 | [AC_MSG_ERROR([GNUnet requires libsodium >= 1.0.18])]) | ||
836 | 774 | ||
837 | # check for libextractor | 775 | # check for libextractor |
838 | CHECK_WITH_LIB([extractor], | 776 | CHECK_WITH_LIB([extractor], |
@@ -842,6 +780,14 @@ CHECK_WITH_LIB([extractor], | |||
842 | AS_IF([test "x$extractor" = "x0"], | 780 | AS_IF([test "x$extractor" = "x0"], |
843 | [AC_MSG_RESULT([GNU libextractor not found, some features disabled])]) | 781 | [AC_MSG_RESULT([GNU libextractor not found, some features disabled])]) |
844 | 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 | |||
845 | # check for libltdl | 791 | # check for libltdl |
846 | CHECK_WITH_LIB([ltdl], [lt_dlopenext], [ltdl.h], [HAVE_LTDL]) | 792 | CHECK_WITH_LIB([ltdl], [lt_dlopenext], [ltdl.h], [HAVE_LTDL]) |
847 | AS_IF([test "x$ldtl" = "x0"], | 793 | AS_IF([test "x$ldtl" = "x0"], |
@@ -936,9 +882,9 @@ AC_DEFINE_UNQUOTED([HAVE_ZLIB], [$zlib_ok], [Define to 1 if zlib is available]) | |||
936 | AM_ICONV | 882 | AM_ICONV |
937 | 883 | ||
938 | # check for libunistring | 884 | # check for libunistring |
939 | gl_LIBUNISTRING | 885 | CHECK_WITH_LIB([unistring], [u16_strstr], [unistr.h], [HAVE_UNISTRING]) |
940 | AS_IF([test "x$HAVE_LIBUNISTRING" != "xyes"], | 886 | AS_IF([test "x$unistring" = "x0"], |
941 | [AC_MSG_ERROR([GNUnet requires libunistring])]) | 887 | [AC_MSG_ERROR([GNUnet requires unistring])]) |
942 | 888 | ||
943 | # Currently broken on Debian :-( | 889 | # Currently broken on Debian :-( |
944 | # AS_VERSION_COMPARE([$LIBUNISTRING_VERSION], [0.9.1.1], | 890 | # AS_VERSION_COMPARE([$LIBUNISTRING_VERSION], [0.9.1.1], |
@@ -958,76 +904,6 @@ AM_CONDITIONAL([HAVE_POSTGRESQL], [test "x$postgres" = "x1"]) | |||
958 | AC_DEFINE_UNQUOTED([HAVE_POSTGRESQL], [$postgres], | 904 | AC_DEFINE_UNQUOTED([HAVE_POSTGRESQL], [$postgres], |
959 | [Define to 1 if Postgres is available]) | 905 | [Define to 1 if Postgres is available]) |
960 | 906 | ||
961 | # check for mysql | ||
962 | SAVE_LDFLAGS="$LDFLAGS" | ||
963 | SAVE_CPPFLAGS="$CPPFLAGS" | ||
964 | AC_ARG_WITH([mysql], | ||
965 | [AS_HELP_STRING([--with-mysql=PFX], [base of mysql installation])], | ||
966 | [AS_CASE([$withval], | ||
967 | [no], | ||
968 | [], | ||
969 | [yes|""], | ||
970 | [AC_CHECK_HEADERS([mysql/mysql.h], | ||
971 | [AC_CHECK_LIB([mysqlclient], [mysql_init], | ||
972 | [mysql=true], [mysql=false])])], | ||
973 | [LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql $LDFLAGS $ZLIBS" | ||
974 | CPPFLAGS="-I$with_mysql/include $CPPFLAGS" | ||
975 | AC_CHECK_HEADERS([mysql/mysql.h], | ||
976 | [AC_CHECK_LIB([mysqlclient], [mysql_init], | ||
977 | [MYSQL_LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql" | ||
978 | MYSQL_CPPFLAGS="-I$with_mysql/include" | ||
979 | mysql=true], | ||
980 | [mysql=false])])])], | ||
981 | [AS_IF([test -d "/usr/lib64/mysql"], | ||
982 | [MYSQL_LIBDIR="/usr/lib64/mysql"], | ||
983 | [AS_IF([test -d "/usr/lib/mysql"], | ||
984 | [MYSQL_LIBDIR="/usr/lib/mysql"], | ||
985 | [MYSQL_LIBDIR="/usr/lib"])]) | ||
986 | LDFLAGS="-L$MYSQL_LIBDIR $LDFLAGS $ZLIBS" | ||
987 | AC_CHECK_LIB([mysqlclient], [mysql_init], | ||
988 | [AC_CHECK_HEADERS([mysql/mysql.h], | ||
989 | [MYSQL_LDFLAGS="-L$MYSQL_LIBDIR" | ||
990 | mysql=true], | ||
991 | [mysql=false])], | ||
992 | [mysql=false])]) | ||
993 | AC_SUBST(MYSQL_LDFLAGS) | ||
994 | AC_SUBST(MYSQL_CPPFLAGS) | ||
995 | |||
996 | # additional version checks for mysql | ||
997 | AS_IF([test "x$mysql" = "xtrue"], | ||
998 | [AC_MSG_CHECKING([for mysql version]) | ||
999 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM( | ||
1000 | [[#include <mysql/mysql_version.h>]], | ||
1001 | [[#if (MYSQL_VERSION_ID < 40100) | ||
1002 | #error required at least version 4.1 | ||
1003 | #endif]])], | ||
1004 | [mysql=true], | ||
1005 | [mysql=false]) | ||
1006 | AS_IF([test "x$mysql" = "xfalse"], | ||
1007 | [AC_MSG_RESULT([< 4.1]) | ||
1008 | AC_MSG_RESULT([mysql version >= 4.1 required. Will not use MySQL])]) | ||
1009 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM( | ||
1010 | [[#include <mysql/mysql_version.h>]], | ||
1011 | [[#if (MYSQL_VERSION_ID < 80000) | ||
1012 | #error needs at least version 8.0 | ||
1013 | #endif]])], | ||
1014 | [mysql8=true], | ||
1015 | [mysql8=false])]) | ||
1016 | |||
1017 | AS_IF([test "x$mysql" = "xtrue"], | ||
1018 | [AS_IF([test "x$mysql8" = "xfalse"], | ||
1019 | [AC_MSG_RESULT([between 4.1 and 8.0])], | ||
1020 | [AC_MSG_RESULT([> 8.0]) | ||
1021 | AC_DEFINE([HAVE_MYSQL8], [1], | ||
1022 | [Define to 1 if MySQL is at least version 8])])]) | ||
1023 | |||
1024 | AM_CONDITIONAL([HAVE_MYSQL], [test "x$mysql" = "xtrue"]) | ||
1025 | AM_CONDITIONAL([HAVE_MYSQLE], [false]) | ||
1026 | |||
1027 | AS_IF([test "x$sqlite3" = "x0" && test "x$mysql" = "xfalse" && test "x$postgres" = "x0"], | ||
1028 | [AC_MSG_ERROR([GNUnet requires either SQLite, MySQL/MariaDB or PostgreSQL])]) | ||
1029 | |||
1030 | LDFLAGS="$SAVE_LDFLAGS" | ||
1031 | CPPFLAGS="$SAVE_CPPFLAGS" | 907 | CPPFLAGS="$SAVE_CPPFLAGS" |
1032 | 908 | ||
1033 | # check for libmicrohttpd | 909 | # check for libmicrohttpd |
@@ -1241,6 +1117,10 @@ AC_ARG_ENABLE([experimental], | |||
1241 | [enable_experimental=1])], | 1117 | [enable_experimental=1])], |
1242 | [enable_experimental=0]) | 1118 | [enable_experimental=0]) |
1243 | 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]) | ||
1244 | 1124 | ||
1245 | # check if malicious code should be compiled (for testing) | 1125 | # check if malicious code should be compiled (for testing) |
1246 | AC_ARG_ENABLE([malicious], | 1126 | AC_ARG_ENABLE([malicious], |
@@ -1332,9 +1212,10 @@ AC_DEFINE_UNQUOTED([VCS_VERSION], [$vcs_version], | |||
1332 | 1212 | ||
1333 | AC_CONFIG_FILES([ | 1213 | AC_CONFIG_FILES([ |
1334 | Makefile | 1214 | Makefile |
1335 | bin/Makefile | ||
1336 | contrib/Makefile | 1215 | contrib/Makefile |
1337 | contrib/hellos/Makefile | 1216 | data/Makefile |
1217 | data/hellos/Makefile | ||
1218 | scripts/Makefile | ||
1338 | contrib/services/Makefile | 1219 | contrib/services/Makefile |
1339 | contrib/services/openrc/Makefile | 1220 | contrib/services/openrc/Makefile |
1340 | contrib/services/systemd/Makefile | 1221 | contrib/services/systemd/Makefile |
@@ -1343,114 +1224,141 @@ contrib/scripts/gnunet-logread/Makefile | |||
1343 | doc/Makefile | 1224 | doc/Makefile |
1344 | doc/man/Makefile | 1225 | doc/man/Makefile |
1345 | doc/doxygen/Makefile | 1226 | doc/doxygen/Makefile |
1346 | doc/handbook/Makefile | ||
1347 | doc/tutorial/Makefile | ||
1348 | m4/Makefile | 1227 | m4/Makefile |
1349 | po/Makefile.in | 1228 | po/Makefile.in |
1350 | src/Makefile | 1229 | src/Makefile |
1351 | src/arm/Makefile | 1230 | src/lib/Makefile |
1352 | src/arm/arm.conf | 1231 | src/lib/util/Makefile |
1353 | src/ats/Makefile | 1232 | src/lib/block/Makefile |
1354 | src/ats/ats.conf | 1233 | src/lib/curl/Makefile |
1355 | src/ats-tool/Makefile | 1234 | src/lib/gnsrecord/Makefile |
1356 | src/auction/Makefile | 1235 | src/lib/json/Makefile |
1357 | src/block/Makefile | 1236 | src/lib/pq/Makefile |
1358 | src/cadet/Makefile | 1237 | src/lib/sq/Makefile |
1359 | src/cadet/cadet.conf | 1238 | src/plugin/Makefile |
1360 | src/core/Makefile | 1239 | src/plugin/block/Makefile |
1361 | src/core/core.conf | 1240 | src/plugin/datacache/Makefile |
1362 | src/consensus/Makefile | 1241 | src/plugin/datastore/Makefile |
1363 | src/consensus/consensus.conf | 1242 | src/plugin/dht/Makefile |
1364 | src/conversation/Makefile | 1243 | src/plugin/dns/Makefile |
1365 | src/conversation/conversation.conf | 1244 | src/plugin/fs/Makefile |
1366 | src/curl/Makefile | 1245 | src/plugin/gns/Makefile |
1367 | src/datacache/Makefile | 1246 | src/plugin/gnsrecord/Makefile |
1368 | src/datastore/Makefile | 1247 | src/plugin/namecache/Makefile |
1369 | src/datastore/datastore.conf | 1248 | src/plugin/namestore/Makefile |
1370 | src/dht/Makefile | 1249 | src/plugin/peerstore/Makefile |
1371 | src/dht/dht.conf | 1250 | src/plugin/reclaim/Makefile |
1372 | src/dhtu/Makefile | 1251 | src/plugin/regex/Makefile |
1373 | src/dns/Makefile | 1252 | src/plugin/revocation/Makefile |
1374 | src/dns/dns.conf | 1253 | src/plugin/seti/Makefile |
1375 | src/exit/Makefile | 1254 | src/plugin/setu/Makefile |
1376 | src/fragmentation/Makefile | 1255 | src/plugin/messenger/Makefile |
1377 | src/fs/Makefile | 1256 | src/service/Makefile |
1378 | src/fs/fs.conf | 1257 | src/service/arm/Makefile |
1379 | src/gns/Makefile | 1258 | src/service/arm/arm.conf |
1380 | src/gns/gns.conf | 1259 | src/service/cadet/Makefile |
1381 | src/gns/nss/Makefile | 1260 | src/service/cadet/cadet.conf |
1382 | src/gnsrecord/Makefile | 1261 | src/service/core/Makefile |
1383 | src/hello/Makefile | 1262 | src/service/core/core.conf |
1384 | src/identity/Makefile | 1263 | src/service/datacache/Makefile |
1385 | 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 | ||
1386 | src/include/Makefile | 1358 | src/include/Makefile |
1387 | src/integration-tests/Makefile | 1359 | src/include/gnunet_config.h |
1388 | src/json/Makefile | ||
1389 | src/hostlist/Makefile | ||
1390 | src/my/Makefile | ||
1391 | src/mysql/Makefile | ||
1392 | src/namecache/Makefile | ||
1393 | src/namecache/namecache.conf | ||
1394 | src/namestore/Makefile | ||
1395 | src/namestore/namestore.conf | ||
1396 | src/nat/Makefile | ||
1397 | src/nat/nat.conf | ||
1398 | src/nat-auto/Makefile | ||
1399 | src/nat-auto/nat-auto.conf | ||
1400 | src/nse/Makefile | ||
1401 | src/nse/nse.conf | ||
1402 | src/nt/Makefile | ||
1403 | src/peerinfo/Makefile | ||
1404 | src/peerinfo/peerinfo.conf | ||
1405 | src/peerinfo-tool/Makefile | ||
1406 | src/peerstore/Makefile | ||
1407 | src/peerstore/peerstore.conf | ||
1408 | src/pq/Makefile | ||
1409 | src/pt/Makefile | ||
1410 | src/regex/Makefile | ||
1411 | src/regex/regex.conf | ||
1412 | src/revocation/Makefile | ||
1413 | src/revocation/revocation.conf | ||
1414 | src/rps/Makefile | ||
1415 | src/rps/rps.conf | ||
1416 | src/secretsharing/Makefile | ||
1417 | src/secretsharing/secretsharing.conf | ||
1418 | src/scalarproduct/Makefile | ||
1419 | src/scalarproduct/scalarproduct.conf | ||
1420 | src/set/Makefile | ||
1421 | src/set/set.conf | ||
1422 | src/seti/Makefile | ||
1423 | src/seti/seti.conf | ||
1424 | src/setu/Makefile | ||
1425 | src/setu/setu.conf | ||
1426 | src/sq/Makefile | ||
1427 | src/statistics/Makefile | ||
1428 | src/statistics/statistics.conf | ||
1429 | src/template/Makefile | ||
1430 | src/testbed/Makefile | ||
1431 | src/testbed/testbed.conf | ||
1432 | src/testbed-logger/Makefile | ||
1433 | src/testbed-logger/testbed-logger.conf | ||
1434 | src/testing/Makefile | ||
1435 | src/topology/Makefile | ||
1436 | src/transport/Makefile | ||
1437 | src/transport/transport.conf | ||
1438 | src/util/Makefile | ||
1439 | src/util/resolver.conf | ||
1440 | src/vpn/Makefile | ||
1441 | src/vpn/vpn.conf | ||
1442 | src/zonemaster/Makefile | ||
1443 | src/zonemaster/zonemaster.conf | ||
1444 | src/rest/Makefile | ||
1445 | src/abd/Makefile | ||
1446 | src/abd/abd.conf | ||
1447 | src/abe/Makefile | ||
1448 | src/reclaim/Makefile | ||
1449 | src/messenger/Makefile | ||
1450 | src/messenger/messenger.conf | ||
1451 | pkgconfig/Makefile | 1360 | pkgconfig/Makefile |
1452 | pkgconfig/gnunetarm.pc | 1361 | pkgconfig/gnunetarm.pc |
1453 | pkgconfig/gnunetats.pc | ||
1454 | pkgconfig/gnunetblock.pc | 1362 | pkgconfig/gnunetblock.pc |
1455 | pkgconfig/gnunetcadet.pc | 1363 | pkgconfig/gnunetcadet.pc |
1456 | pkgconfig/gnunetconsensus.pc | 1364 | pkgconfig/gnunetconsensus.pc |
@@ -1460,19 +1368,18 @@ pkgconfig/gnunetdatacache.pc | |||
1460 | pkgconfig/gnunetdatastore.pc | 1368 | pkgconfig/gnunetdatastore.pc |
1461 | pkgconfig/gnunetdht.pc | 1369 | pkgconfig/gnunetdht.pc |
1462 | pkgconfig/gnunetdns.pc | 1370 | pkgconfig/gnunetdns.pc |
1463 | pkgconfig/gnunetenv.pc | ||
1464 | pkgconfig/gnunetfragmentation.pc | ||
1465 | pkgconfig/gnunetfs.pc | 1371 | pkgconfig/gnunetfs.pc |
1466 | pkgconfig/gnunetgns.pc | 1372 | pkgconfig/gnunetgns.pc |
1467 | pkgconfig/gnunethello.pc | 1373 | pkgconfig/gnunethello.pc |
1468 | pkgconfig/gnunetidentity.pc | 1374 | pkgconfig/gnunetidentity.pc |
1375 | pkgconfig/gnunetjson.pc | ||
1376 | pkgconfig/gnunetmessenger.pc | ||
1469 | pkgconfig/gnunetmicrophone.pc | 1377 | pkgconfig/gnunetmicrophone.pc |
1470 | pkgconfig/gnunetmysql.pc | ||
1471 | pkgconfig/gnunetnamestore.pc | 1378 | pkgconfig/gnunetnamestore.pc |
1472 | pkgconfig/gnunetnat.pc | 1379 | pkgconfig/gnunetnat.pc |
1473 | pkgconfig/gnunetnse.pc | 1380 | pkgconfig/gnunetnse.pc |
1474 | pkgconfig/gnunetpeerinfo.pc | ||
1475 | pkgconfig/gnunetpq.pc | 1381 | pkgconfig/gnunetpq.pc |
1382 | pkgconfig/gnunetreclaim.pc | ||
1476 | pkgconfig/gnunetregex.pc | 1383 | pkgconfig/gnunetregex.pc |
1477 | pkgconfig/gnunetrevocation.pc | 1384 | pkgconfig/gnunetrevocation.pc |
1478 | pkgconfig/gnunetrps.pc | 1385 | pkgconfig/gnunetrps.pc |
@@ -1480,7 +1387,6 @@ pkgconfig/gnunetscalarproduct.pc | |||
1480 | pkgconfig/gnunetset.pc | 1387 | pkgconfig/gnunetset.pc |
1481 | pkgconfig/gnunetspeaker.pc | 1388 | pkgconfig/gnunetspeaker.pc |
1482 | pkgconfig/gnunetstatistics.pc | 1389 | pkgconfig/gnunetstatistics.pc |
1483 | pkgconfig/gnunettestbed.pc | ||
1484 | pkgconfig/gnunettesting.pc | 1390 | pkgconfig/gnunettesting.pc |
1485 | pkgconfig/gnunettransport.pc | 1391 | pkgconfig/gnunettransport.pc |
1486 | pkgconfig/gnunetutil.pc | 1392 | pkgconfig/gnunetutil.pc |
@@ -1510,23 +1416,15 @@ AS_IF([test "x$libidn_version" = "x2"], | |||
1510 | [libidn_msg="libidn2"], | 1416 | [libidn_msg="libidn2"], |
1511 | [libidn_msg="libidn"]) | 1417 | [libidn_msg="libidn"]) |
1512 | 1418 | ||
1513 | # texi2mdoc | ||
1514 | AS_IF([test "x$texi2mdoc_enabled" = "xyes"], | ||
1515 | [mdocml_msg="yes"], | ||
1516 | [mdocml_msg="no"]) | ||
1517 | AS_IF([test "x$TEXI2MDOC_BINARY" = "xfalse"], | ||
1518 | [mdocbin_msg="no"], | ||
1519 | [mdocbin_msg="yes"]) | ||
1520 | |||
1521 | # mandoc | 1419 | # mandoc |
1522 | AS_IF([test "x$MANDOC_BINARY" = "xfalse"], | 1420 | AS_IF([test "x$MANDOC_BINARY" = "xfalse"], |
1523 | [mandoc_msg="no"], | 1421 | [mandoc_msg="no"], |
1524 | [mandoc_msg="yes"]) | 1422 | [mandoc_msg="yes"]) |
1525 | 1423 | ||
1526 | # texinfo | 1424 | # doxy |
1527 | AS_IF([test "x$documentation" = "xyes"], | 1425 | AS_IF([$DOXY_BINARY], |
1528 | [texinfo_msg="yes"], | 1426 | [doxy_msg="yes"], |
1529 | [texinfo_msg="no"]) | 1427 | [doxy_msg="no"]) |
1530 | 1428 | ||
1531 | # conversation | 1429 | # conversation |
1532 | conversation_msg="no" | 1430 | conversation_msg="no" |
@@ -1560,6 +1458,8 @@ AS_IF([test "x$extractor" = "x0"], | |||
1560 | 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])], |
1561 | [libextractor_msg="yes"]) | 1459 | [libextractor_msg="yes"]) |
1562 | 1460 | ||
1461 | AC_SUBST([extractor]) | ||
1462 | |||
1563 | # libzbar | 1463 | # libzbar |
1564 | AS_IF([test "x$zbar" = "x1"], | 1464 | AS_IF([test "x$zbar" = "x1"], |
1565 | [libzbar_msg="yes"], | 1465 | [libzbar_msg="yes"], |
@@ -1570,12 +1470,9 @@ AS_IF([test "x$png" = "x1"], | |||
1570 | [libpng_msg="yes"], | 1470 | [libpng_msg="yes"], |
1571 | [libpng_msg="no"]) | 1471 | [libpng_msg="no"]) |
1572 | 1472 | ||
1573 | # curl or gnurl | 1473 | AS_IF([test "x$curl_gnutls" = "x0"], |
1574 | AS_IF([test "x$gnurl" = "x1"], | 1474 | [curl_tls_backend="OpenSSL"], |
1575 | [http_client="gnurl"], | 1475 | [curl_tls_backend="GnuTLS"]) |
1576 | [AS_IF([test "x$curl_gnutls" = "x1"], | ||
1577 | [http_client="curl-gnutls"], | ||
1578 | [http_client="curl-openssl"])]) | ||
1579 | 1476 | ||
1580 | # ifconfig | 1477 | # ifconfig |
1581 | AS_IF([test "x$IFCONFIG_BINARY" = "xfalse"], | 1478 | AS_IF([test "x$IFCONFIG_BINARY" = "xfalse"], |
@@ -1618,11 +1515,6 @@ AS_IF([test "x$sqlite3" = "x1"], | |||
1618 | features_msg="sqlite $features_msg"], | 1515 | features_msg="sqlite $features_msg"], |
1619 | [sqlite_msg="no"]) | 1516 | [sqlite_msg="no"]) |
1620 | 1517 | ||
1621 | AS_IF([test "x$mysql" = "xtrue"], | ||
1622 | [mysql_msg="yes" | ||
1623 | features_msg="mysql $features_msg"], | ||
1624 | [mysql_msg="no"]) | ||
1625 | |||
1626 | AS_IF([test "x$postgres" = "x1"], | 1518 | AS_IF([test "x$postgres" = "x1"], |
1627 | [postgres_msg="yes" | 1519 | [postgres_msg="yes" |
1628 | features_msg="postgres $features_msg"], | 1520 | features_msg="postgres $features_msg"], |
@@ -1651,10 +1543,9 @@ Build Target: ${build_target} | |||
1651 | Default Interface: ${interface_msg} | 1543 | Default Interface: ${interface_msg} |
1652 | 1544 | ||
1653 | sqlite3: ${sqlite_msg} | 1545 | sqlite3: ${sqlite_msg} |
1654 | MySQL: ${mysql_msg} | ||
1655 | PostgreSQL: ${postgres_msg} | 1546 | PostgreSQL: ${postgres_msg} |
1656 | 1547 | ||
1657 | HTTP Client: ${http_client} | 1548 | cURL TLS backend: ${curl_tls_backend} |
1658 | Bluetooth: ${bluetooth_msg} | 1549 | Bluetooth: ${bluetooth_msg} |
1659 | iptables: ${iptables_msg} | 1550 | iptables: ${iptables_msg} |
1660 | ifconfig: ${ifconfig_msg} | 1551 | ifconfig: ${ifconfig_msg} |
@@ -1673,7 +1564,7 @@ gstreamer: ${gstreamer_msg} | |||
1673 | 1564 | ||
1674 | Java: ${java_msg} | 1565 | Java: ${java_msg} |
1675 | 1566 | ||
1676 | texi2mdoc: ${mdocbin_msg} | 1567 | doxygen: ${doxy_msg} |
1677 | mandoc: ${mandoc_msg} | 1568 | mandoc: ${mandoc_msg} |
1678 | 1569 | ||
1679 | GNUnet configuration | 1570 | GNUnet configuration |
@@ -1684,12 +1575,11 @@ Conversation: ${conversation_msg} | |||
1684 | Database Backends ${features_msg} | 1575 | Database Backends ${features_msg} |
1685 | Experimental Code: ${experimental_msg} | 1576 | Experimental Code: ${experimental_msg} |
1686 | 1577 | ||
1687 | Texinfo Manual: ${texinfo_msg} | ||
1688 | Transpiled mdocml Manual: ${mdocml_msg} | 1578 | Transpiled mdocml Manual: ${mdocml_msg} |
1689 | ]) | 1579 | ]) |
1690 | 1580 | ||
1691 | AS_IF([test "x$MSG_USER_SETUP" != "xfalse"], | 1581 | AS_IF([test "x$MSG_USER_SETUP" != "xfalse"], |
1692 | [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'.]) |
1693 | AS_IF([test "x$HAVE_GNUNET_USER" != "x0"], | 1583 | AS_IF([test "x$HAVE_GNUNET_USER" != "x0"], |
1694 | [AC_MSG_NOTICE([To do this on this system, run: | 1584 | [AC_MSG_NOTICE([To do this on this system, run: |
1695 | # addgroup gnunetdns | 1585 | # addgroup gnunetdns |