having a working libidn is no longer optional
authorChristian Grothoff <christian@grothoff.org>
Mon, 11 Mar 2019 01:48:18 +0000 (02:48 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 11 Mar 2019 01:48:40 +0000 (02:48 +0100)
ChangeLog
configure.ac

index c33c6071b268cca5b94a81eb90cc81f0f454a3ee..125063ca5743d15603a476eb8050515f1d755206 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+Mon Mar 11 02:47:55 CET 2019
+  Make configure complain if no working libidn is detected. -CG
+
 Sat Mar 9 15:58:45 2019 +0100
   REST: Config option for address bind. Defaults to localhost.
   GNS: dns2gns/gns-proxy config option for address bind. Defaults to localhost.
index d858dca9c636caa19d7398d5ca05d8efe3445b7b..440b4a5ebe31c7559ab90e02f9723d4ea1da03cb 100644 (file)
@@ -905,6 +905,9 @@ AS_IF([test x$working_libidn2 = x0],
                                      * --with-libidn])])])])
 AM_CONDITIONAL(HAVE_LIBIDN, test x$working_libidn1 = x1)
 
+AS_IF([test "$working_libidn1" = 0 -a "$working_libidn2" = 0],
+      [AC_MSG_ERROR([GNUnet requires libidn (or libidn2)])])
+
 AS_IF([test x$there_can_only_be_one = x0],
       [AC_MSG_FAILURE([Missing dependencies: $MISSING_DEPS])])