Commit graph

68 commits

Author SHA1 Message Date
Daniel Salzman
750dfd328c m4: relicense to GPL-2.0-or-later 2025-03-24 09:53:50 +01:00
Daniel Salzman
b04f0133dd m4: rename sanitizer.m4 to knot-sanitizer.m4 2025-03-24 09:53:50 +01:00
Daniel Salzman
ecd3e0673f m4: rename code-coverage.m4 to knot-code-coverage.m4 2025-03-24 09:53:50 +01:00
Daniel Salzman
0fe7dfd47e m4: update ax_check_link_flag.m4 2025-03-24 09:53:50 +01:00
Daniel Salzman
2160411edb m4: update ax_check_compile_flag.m4 2025-03-24 09:53:50 +01:00
Daniel Salzman
04ed171db1 m4: remove unused script ax_check_define.m4 2025-03-24 09:53:50 +01:00
Daniel Salzman
881f11cb0b m4: remove unused script knot-check-header.m4 2025-03-24 09:53:50 +01:00
Daniel Salzman
0a9aa0f610 m4: remove unused script ax_compare_version.m4 2025-03-24 09:53:50 +01:00
Daniel Salzman
c5e2c6b007 m4: remove unused script ax_pkg_check_vars.m4 2025-03-24 09:53:50 +01:00
Daniel Salzman
0f9178d273 m4: change the non-release versioning to comply with PEP 440 2023-06-21 20:13:29 +02:00
David Vašek
b6283668cf configure: adjust coding style 2023-02-17 08:03:15 +01:00
Christopher Ng
be1e44f4fd Add support for building on Cygwin and MSYS
This commit adds support for building the libraries and utils on Cygwin/MSYS2.
The daemon cannot be built because some of the IPV6 code does not compile.

See more at https://gitlab.nic.cz/knot/knot-resolver/-/issues/781
2023-02-17 08:03:06 +01:00
Daniel Salzman
123e21bb9f configure: update to autoconf 2.69/2.71 2021-07-16 18:57:33 +02:00
Daniel Salzman
ae02aacc8c m4/sanitizer: remove broken Clang version check 2021-05-02 12:25:03 +02:00
Daniel Salzman
243f5b086d configure: use 'address,undefined' as default for --with-sanitizer 2021-04-09 09:12:56 +02:00
Daniel Salzman
0d9c848e51 configure: don't automatically disable fastparser with Clang compiler 2020-09-14 16:45:35 +02:00
Daniel Salzman
9003eb287d configure: allow extended version suppression via KNOT_VERSION_FORMAT=release 2019-03-12 13:37:56 +01:00
Daniel Salzman
8b9fe86bd1 Add 'soname' variable to pkg-config files 2019-01-23 09:05:05 +01:00
Daniel Kahn Gillmor
846bb431d2 use https://www.gnu.org instead of http://www.gnu.org
www.gnu.org has offered https for years now.
2018-08-29 09:45:57 -04:00
Daniel Salzman
33ff07e757 configure: improve dependency check for dnstap 2018-03-18 22:31:11 +01:00
Daniel Salzman
36169ce86f m4/knot-version: add prefixes to avoid macro name conflicts 2018-03-14 15:28:22 +01:00
Daniel Salzman
0f9bd01229 Extend version format for better automation, remove redundant gnu-flavor files
See m4/knot-version.m4
2018-03-14 13:29:37 +01:00
Daniel Salzman
f49f6b46d0 configure: simplify sanitizer and fuzzer detections 2018-03-02 09:37:06 +01:00
Daniel Salzman
d5d4e75713 configure: add --disable-modules option 2018-02-10 22:52:35 +01:00
Jonathan Foote
607292874c Initial integration with google/oss-fuzz
Implements initial support for continuous fuzzing with [google/oss-fuzz](http://github.com/google/oss-fuzz). Changes:

- Removes `--with-santize-coverage` config flag: the clang6 `-fsanitize=fuzzer-no-link` replaces this
- Adds `--with-oss-fuzz` config flag: links `-lFuzzingEngine` into fuzz targets
- Adds logic to `make check` that runs the fuzz targets with a single seed input to ensure they exit successfully
2017-12-24 09:27:41 -05:00
Daniel Salzman
e6388e0fa7 configure: require shared libraries for a shared module 2017-12-04 10:12:54 +01:00
Ondřej Surý
f0948de5cd Improve the sanitizer autoconf macros to automatically enable coverage for fuzzer and check for clang >= 6.0 2017-10-02 16:49:29 +02:00
Daniel Salzman
86354db293 doc: fix module documentation building 2017-09-20 15:32:10 +02:00
Ondřej Surý
7b9167039a Add support to check for ED25519 support in GnuTLS 2017-07-15 13:35:30 +02:00
Daniel Salzman
49af8c7ed7 gitlab-ci: build documentation for all modules 2017-06-13 17:20:33 +02:00
Daniel Salzman
c5a193a039 configure: prepare for new static/dynamic modules 2017-05-26 14:11:10 +02:00
Libor Peltan
ec32f53818 libknot: exported dynamic symbols cleanup
...except OSX where the compile option is not available
2016-12-09 16:29:29 +01:00
Jan Vcelak
b6f9f935bf build: avoid clang version detection
OS X versioning of clang is completely different. Let's make the
user decide.
2016-07-22 10:08:54 +02:00
Jan Vcelak
02f319cfe1 build: allow fastparser with clang >= 3.9.0
- The bug https://llvm.org/bugs/show_bug.cgi?id=23490 should be fixed then.
- Added --enable-fastparser=force option to override the detection.
2016-07-22 09:45:32 +02:00
Vítězslav Kříž
83b6711c65 code coverage changes CFLAGS directly 2016-02-17 14:09:56 +01:00
Vítězslav Kříž
c476d14f28 code coverage macro works for gcc and clang 2016-02-15 17:45:31 +01:00
Jan Vcelak
e48f309fb4 configure: support for address sanitizer 2015-11-23 17:27:52 +01:00
Ondřej Surý
5f953b6ce2 Add AS_VAR_COPY compatibility macro for CentOS 2015-05-28 12:04:07 +02:00
Ondřej Surý
cdf3adabed Copy PKG_CHECK_VARS from pkg.m4 from pkg-config 0.28 to m4/ax_pkg_check_vars.m4 so we have PKG_CHECK_VARS available 2015-05-27 08:20:23 +02:00
Ondřej Surý
200affbfad Remove version-script support to remove additional complexity it introduces (it's not really needed when we hide internal symbols) 2015-05-20 13:25:04 +02:00
Ondřej Surý
49e1bc6068 Merge libknot-int and libknot-yparser into libknot with versioned symbols to separate main KNOT library and INTERNAL+YPARSER 2015-05-20 12:52:30 +02:00
Ondřej Surý
0e78113a5d Use proper library versioning:
1. libknot - interfaces has been added (0:0:0 -> 1:0:1)
2. libzscanner - source change, but interface has not (0:1:0)
3. libdnssec - new library (0:0:0)
4. libknot-int - new library (0:0:0)
5. libknot-yparser - new library (0:0:0)
2015-05-20 12:52:30 +02:00
Ondřej Surý
806820d166 Disable fast zone parser when used with LLVM backed compiler (closes #351) 2015-05-11 16:55:24 +02:00
Ondřej Surý
68812462b5 Allow disabling of daemon, utilities and documentation build 2015-02-11 11:52:44 +01:00
Marek Vavruša
788273d9c5 makefile: generate pkg-config file for libknot, versioning
As of now, the version of the library is consistent with the release.
2014-11-12 17:47:09 +01:00
Jan Vcelak
0cc07c15c9 configure: custom macro to check for library header 2014-09-28 23:37:12 +02:00
Jan Kadlec
b7e955a7b5 lcov: allow older versions 2014-09-09 14:14:16 +02:00
Jan Kadlec
c755d6644a configure: Allow lcov version 1.11 2014-09-08 12:21:07 +02:00
Robert Edmonds
842783a6f9 m4/dnstap.m4: new 2014-04-22 17:47:58 -04:00
Jan Vcelak
f518de201a configure: fix --disable-code-coverage 2014-04-15 12:44:30 +02:00