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:
parent
ce7f7b2ecb
commit
afa340ee84
@ -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([
|
||||
|
Loading…
Reference in New Issue
Block a user