X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=efb19bfc13fcd7155a18d983fdc308c65edb7abb;hb=dfc00bf4adad93cf7b51646186ccbb6ce2ff0443;hp=ab2d50a8676820f316e4f499c6beb8c3fa852147;hpb=6fe1f4e1136f2ab95a88e68af1894bf6002d03f4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index ab2d50a86..efb19bfc1 100755 --- a/configure +++ b/configure @@ -297,8 +297,9 @@ if (prompt_bool $interactive, $question, 0) { } else { # TODO: finish modulemanager rewrite and replace this code with: # system './modulemanager', 'enable', '--auto'; - enable_extras 'm_ssl_gnutls.cpp' unless system 'gnutls-cli --version >/dev/null 2>&1'; - enable_extras 'm_ssl_openssl.cpp' unless system 'openssl --version >/dev/null 2>&1'; + enable_extras 'm_ssl_gnutls.cpp' unless system 'pkg-config --exists gnutls >/dev/null 2>&1'; + enable_extras 'm_ssl_mbedtls.cpp' if -e '/usr/include/mbedtls/ssl.h'; + enable_extras 'm_ssl_openssl.cpp' unless system 'pkg-config --exists openssl >/dev/null 2>&1'; } # Generate SSL certificates.