Jim Hague
323d76d7ae
Add the rest of the compat functions to the build, if required.
...
Remove any preprocess guards from the sources, and only include them in the build if required. Add some additional required Windows libraries.
2019-10-15 16:53:03 +01:00
Jim Hague
b8df26194e
Add symbols for target endianness.
2019-10-14 09:47:03 +01:00
Jim Hague
d1dca186bc
Add Posix/XOpen support flags for Unix builds that aren't FreeBSD.
2019-10-14 09:45:38 +01:00
Jim Hague
7a0a2f712d
Add support for building on Windows.
...
This should support both native Visual Studio builds and MinGW builds.
2019-10-14 09:44:28 +01:00
Jim Hague
ffe626f5f3
Enable warnings when building.
2019-10-10 12:31:12 +01:00
Jim Hague
dc6cadebbc
Add OpenSSL function checks as per autoconf.
...
Well, those function checks that are actually used in the code, anyway.
2019-10-10 12:30:50 +01:00
Jim Hague
c367b39c13
Update build to get the current source building.
...
Hardwire OpenSSL and do the minimum necessary to get libgetdns building.
2019-10-09 17:19:18 +01:00
Jim Hague
3152a4112e
Protect more #includes.
...
Somewhat illogical, really. A lot are standard headers.
2018-01-12 16:34:23 +00:00
Jim Hague
a906710269
Add missing function sufficient to compile Stubby on Xenial and Mac.
...
This includes the select and poll default event loops, some missing getdns source files and pleasingly now results in a warning-free build.
2018-01-08 18:59:54 +00:00
Jim Hague
1ecc7b3c26
Initial version of CMake build.
...
This is just a basic build of the library. No options are support, and the only builds tested are Xenial and MacOS (the latter using the Brew openssl package, and so requiring -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2l option on the cmake command line).
Using the library is untested.
2018-01-08 15:36:35 +00:00