1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Alexander Færøy 2013-06-23 23:50:43 +00:00 committed by ahf
parent ce7f7b2ecb
commit afa340ee84

View File

@ -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([