]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Compile backtrace out if unavailable on system
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 28 Dec 2022 22:12:45 +0000 (16:12 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 28 Dec 2022 22:38:00 +0000 (16:38 -0600)
commit77d73e6d01c009ae2a342ae4b2c6abf311ae263b
tree286463348ddda06dd3f887e562e585025e5de958
parent817fbfd2ecf13cf36d597270257eec7db46773ed
Compile backtrace out if unavailable on system

backtrace() is a glibc-only feature. Some systems, such as Alpine,
do not support glibc.

It seems one solution is to rely on community ports, but I imagine it'd
be best to offload such a decision to the user. Not the safest.

Instead, if backtrace() is not available, just delete stack traces from
the binary. It's going to be a pain to debug, but that's the world we
live in, I guess.

Turns libexec into an optional dependency. Fixes #87.

Also, the commit contains a review and update of the documentation's
Alpine dependency list. There was a lot of fat in there.
configure.ac
docs/installation.md
src/Makefile.am
src/log.c