X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=configure.ac;h=93795211755457da7c97d86ad37e8e8d5117350e;hb=547f6fded23aef584fe5970c0a231b7eca111db4;hp=06ab80aceb3893e089892f20525a58f1fb2d1c38;hpb=a2158010a6b5f932006a66f44a6d3269c4c5c3d7;p=oweals%2Fgnunet.git diff --git a/configure.ac b/configure.ac index 06ab80ace..937952117 100644 --- a/configure.ac +++ b/configure.ac @@ -473,11 +473,14 @@ if test "$libidn" != "no"; then LDFLAGS="${LDFLAGS} -L$libidn/lib" CPPFLAGS="${CPPFLAGS} -I$libidn/include" fi - AC_CHECK_HEADER(idna.h, - AC_CHECK_LIB(idn, stringprep_check_version, - [libidn=yes LIBS="${LIBS} -lidn"], - AC_MSG_FAILURE([GNUnet requires libidn])), - AC_MSG_FAILURE([GNUnet requires libidn])) +fi +libidn=no +AC_CHECK_HEADER(idna.h, + AC_CHECK_LIB(idn, stringprep_check_version, + [libidn=yes LIBS="${LIBS} -lidn"], []), []) +if test "$libidn" != "yes"; then + AC_MSG_FAILURE([GNUnet requires libidn. +libidn-1.13 should be sufficient, newer versions work too.]) fi AC_MSG_RESULT($libidn) @@ -1615,9 +1618,9 @@ to install everything. Each GNUnet user should be added to the 'gnunet' group (may require fresh login to come into effect): - adduser $USERNAME gnunet + adduser USERNAME gnunet (run the above command as root once for each of your users, replacing -"$USERNAME" with the respective login names). If you have a global IP +"USERNAME" with the respective login names). If you have a global IP address, no further configuration is required. Optionally, download and compile gnunet-gtk to get a GUI for