diff options
author | Alexander Færøy <ahf@irssi.org> | 2013-06-23 23:50:43 +0000 |
---|---|---|
committer | ahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2013-06-23 23:50:43 +0000 |
commit | afa340ee84fe24683c5d8d619f3fafe73b75edef (patch) | |
tree | 05fab7beda1c03445d573f79e551ac8c0da783ba | |
parent | ce7f7b2ecb6a965d84a2e4cc282a4e53336e396e (diff) | |
download | irssi-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.in | 6 |
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([ |