aboutsummaryrefslogtreecommitdiff
path: root/src/IO/Makefile.am
AgeCommit message (Collapse)Author
2025-07-02Don't change CFLAGS or LDFLAGS for custom Mbed TLSRodrigo Arias Mallo
Adding the extra flags to search Mbed TLS in CFLAGS and LDFLAGS directly inhibits AC_PROG_CC from injecting the usual -O2 and -g flags. Instead, we add them to MBEDTLS_* set of variables which are only used to locate Mbed TLS. Then we pass them to the Makefile via AC_SUBSTAC_SUBST(). We also move the LIBSSL_* flags to be early on the order of dillo_LDADD, so that extra -L flags which can be injected from fltk-config or other programs, don't accidentally point to /usr/lib or a similar location where it could race with another installation of Mbed TLS. This mechanism won't work for cases in which Mbed TLS has libraries installed in a location other than the default search path, but works for Arch Linux and Gentoo because the symlink them to the default search path, even if they are installed in a different location.
2023-12-30Add support for OpenSSL, mbedTLS 2 and mbedTLS 3Rodrigo Arias Mallo
Brings the previous OpenSSL implementation into src/IO/tls_openssl.c. Now, the TLS functions have the implementation name as prefix, like a_Tls_openssl_connect(). The generic interface at IO/tls.h hides the implementation which is selected at configure time. The appropriate functions of that implementation are called from IO/tls.c to IO/tls_<impl>.c. In this way, support for more TLS libraries can easily be added. In the case of mbedTLS, there are some incompatible changes from version 2 to 3, so we use some ifdefs to fix the differences.
2015-05-28'ssl' -> 'tls' where reasonable, given that ssl3 is dead and allcorvid
I used 'hg rename' and expected (at least hoped) that 'hg diff' would do what I would naturally want, but no.
2015-05-08https: the rest :)corvid
Normally I really like to make commits in small pieces that all compile and make sense in isolation, but with this https work, the effort vs the reward just wasn't going to make sense.
2011-01-28**/Makefile.am: #include $(top_srcdir).Jeremy Henty
2010-01-07also try bindir when looking for dpidcorvid
2009-06-26Removed compiler warnings for unused return valuesMichal Nowak newman x
2007-10-12Improved FLTK library detection at configure time.jcid
2007-10-07Initial revisionjcid