Commits
- Commit:
c2417a8ec6a4fad60404fd1eb3a338f0f3fdaa58
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: alpine: include stdlib.h
Because musl is less forgiving about header-ordering, explicitly include
this before stdio.h -- this won't affect existing files as the include
guards elsewhere prevent this.
- Commit:
1ef7c68a194549db7b9f945ef5910cb5394d4cc6
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: extend got_compat2 include guard
Extend the include guard to the whole file.
- Commit:
4fccd2fe0ffbbc668b66abe63614470635f92f1b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: split out dependencies
Rather than assume all dependencies are required for all programs, split
them out.
This will make packaging easier, as well as splitting the code to use
subprojects.
Note that due to the use of config.h semantics, in most cases the
got_compat.h header file is now at the top of the .c file it is included
in, so that it can handle the system header inclusion properly.
- Commit:
47dc83f5bed376c49b704738968d3f44c8e01d1e
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: use config.h
So that the command-line flags to CC don't get drowned out with copious
-D flags, move this detection to config.h instead.
Note that to reduce the code churn, the existing include/got_compat.h
header file has been renamed, and the generated file replaces it, but
with the contents of the original header file included.
Eventually, we might want to move some od the logic in
include/got_compat2.h into AH_VERBATIM() blocks, but for now, this is a
good compromise.