summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@irssi.org>2013-06-23 23:50:43 +0000
committerahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564>2013-06-23 23:50:43 +0000
commitafa340ee84fe24683c5d8d619f3fafe73b75edef (patch)
tree05fab7beda1c03445d573f79e551ac8c0da783ba
parentce7f7b2ecb6a965d84a2e4cc282a4e53336e396e (diff)
downloadirssi-afa340ee84fe24683c5d8d619f3fafe73b75edef.zip
Check for OpenSSL support for --enable-dane
It doesn't make any sense to build Irssi without SSL support, but with DANE support. This patch adds an extra check in the configure script that will make the script bail out if someone tries to build Irssi with DANE support, but without OpenSSL support. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5222 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index cabc81bb..51846c3d 100644
--- a/configure.in
+++ b/configure.in
@@ -634,6 +634,12 @@ if test "x$want_dane" = "xyes"; then
AC_DEFINE([HAVE_DANE], [], [DANE support])
have_dane=yes
], [], [-lssl -lcrypto -lsres])
+
+ if test x$have_dane = "xyes" ; then
+ if test x$have_openssl = "xno" ; then
+ AC_ERROR([SSL is required to build Irssi with DANE support enabled.])
+ fi
+ fi
fi
AC_CONFIG_FILES([