summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-03-11 02:48:18 +0100
committerChristian Grothoff <christian@grothoff.org>2019-03-11 02:48:40 +0100
commitf0ed8c15c4070c7fe1b79931ee4d327920c17ae7 (patch)
treef16ed5deb66b2f6f9dcf6c192cecf40baf5c7e4f /configure.ac
parent1b292596c1cbb211c22542607f6f5d15f2dc0465 (diff)
having a working libidn is no longer optional
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d858dca9c..440b4a5eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])])