Skip to content

Commit

Permalink
Enable HTTPS support by default
Browse files Browse the repository at this point in the history
The --disable-ssl can be used to build dillo without https support.
  • Loading branch information
rodarima committed Dec 11, 2023
1 parent 3e00bcb commit 9ca1476
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ AC_ARG_ENABLE(gprof, [ --enable-gprof Try to compile and run with pro
, enable_gprof=no)
AC_ARG_ENABLE(insure, [ --enable-insure Try to compile and run with Insure++],
, enable_insure=no)
AC_ARG_ENABLE(ssl, [ --enable-ssl Enable SSL/HTTPS/TLS],
, enable_ssl=no)
AC_ARG_ENABLE(ssl, [ --disable-ssl Disable SSL/HTTPS/TLS support],
, enable_ssl=yes)
AC_ARG_WITH(ca-certs-file, [ --with-ca-certs-file=FILE Specify where to find a bundle of trusted CA certificates for TLS], CA_CERTS_FILE=$withval)
AC_ARG_WITH(ca-certs-dir, [ --with-ca-certs-dir=DIR Specify where to find a directory containing trusted CA certificates for TLS], CA_CERTS_DIR=$withval)
AC_ARG_ENABLE(ipv6, [ --enable-ipv6 Build with support for IPv6], , )
Expand Down Expand Up @@ -309,7 +309,7 @@ dnl In mbed TLS 2.3.0, ssl.h needs platform.h but fails to include it.
if test "x$ssl_ok" = "xyes"; then
LIBSSL_LIBS="-lmbedtls -lmbedx509 -lmbedcrypto"
else
AC_MSG_WARN([*** mbed TLS 2 not found. Disabling SSL/HTTPS/TLS support. ***])
AC_MSG_ERROR([mbed TLS 2 not found. To disable SSL/TLS support use --disable-ssl])
fi
fi

Expand Down

0 comments on commit 9ca1476

Please sign in to comment.