summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ci/codeql: Exclude some alertsTavian Barnes2024-04-222-1/+14
| | | | And try not to analyze config/*.c
* fsade: Implement ACL detection on IllumosTavian Barnes2024-04-226-13/+32
|
* config: Check for acl_get_file()Tavian Barnes2024-04-224-8/+10
|
* fsade: Simplify BFS_CAN_CHECK_CAPABILITIESTavian Barnes2024-04-222-13/+1
|
* config: Check for acl_get_{entry,tag_type}()Tavian Barnes2024-04-224-12/+40
|
* config: Check for extattr_{get,list}_{file,link}()Tavian Barnes2024-04-227-11/+97
| | | | This lets us implement -xattr on DragonFly BSD.
* config: Check for max_align_tTavian Barnes2024-04-193-4/+24
|
* config: Check for aligned_alloc()Tavian Barnes2024-04-193-3/+12
|
* config: Check for struct stat::st_flagsTavian Barnes2024-04-193-1/+11
|
* config: Check for struct stat::st_{a,c,m,birth}{tim,timespec}Tavian Barnes2024-04-198-11/+70
|
* config: Check for struct tm::tm_gmtoffTavian Barnes2024-04-193-1/+11
|
* config: Check for fdclosedir()Tavian Barnes2024-04-194-2/+11
|
* config: Check for strerror_[lr]()Tavian Barnes2024-04-196-23/+67
|
* config: Check for pipe2()Tavian Barnes2024-04-193-1/+12
|
* config: Check for statx()Tavian Barnes2024-04-195-9/+31
|
* config: Check for acl_is_trivial_np()Tavian Barnes2024-04-193-2/+14
|
* config: Check for confstr()Tavian Barnes2024-04-193-5/+15
|
* config: Check for getdents{,64}()Tavian Barnes2024-04-197-9/+45
|
* config: Check for posix_spawn_file_actions_addfchdir{,_np}()Tavian Barnes2024-04-195-22/+32
|
* config: Check for program_invocation_short_nameTavian Barnes2024-04-1910-6/+96
| | | | | | This lets us pick it up on musl too, since there's no __MUSL__ macro. Link: https://wiki.musl-libc.org/faq#Q:-Why-is-there-no-%3Ccode%3E__MUSL__%3C/code%3E-macro?
* config: Test-compile packages even if pkg-config says they existTavian Barnes2024-04-192-55/+55
| | | | This fixes `make config CC=musl-gcc`, for example.
* config: Add missing copyright headersTavian Barnes2024-04-195-0/+15
| | | | | They're probably too trivial to be copyrightable, but might as well include the SPDX tags for consistency anyway.
* Rename config.h to prelude.hTavian Barnes2024-04-1951-54/+54
|
* tests: Add ../src to the include pathTavian Barnes2024-04-1912-36/+37
|
* config: Use ✔/✘ rather than [y]/[n]Tavian Barnes2024-04-191-2/+2
|
* config: Remove unused ${ARCH} variableTavian Barnes2024-04-191-1/+0
|
* config: Remove explicit -MF from DEPFLAGSTavian Barnes2024-04-191-1/+1
| | | | We use the default name anyway.
* config: Fix ${SAN} on BSD makeTavian Barnes2024-04-191-1/+2
| | | | | | This seems to have hit some BSD make limitation, making it set `SAN := y` unconditionally for some reason. Breaking up the expression fixes it.
* config: Don't build config tests with -o /dev/nullTavian Barnes2024-04-191-2/+8
| | | | | | | | | macOS doesn't like it, complaining that error: cannot parse the debug map for '/dev/null': The file was not recognized as a valid object file clang: error: dsymutil command failed with exit code 1 (use -v to see invocation) Use a temporary file instead.
* config: Delete gen/objs.mkTavian Barnes2024-04-172-10/+2
| | | | | Rather than explicitly listing all these dependencies, we can rely on DEPFLAGS to generate them for us.
* build: Directly generate version.cTavian Barnes2024-04-178-28/+22
|
* build: Dont include ${BUILDDIR} in short messagesTavian Barnes2024-04-177-9/+15
|
* mtab: Arena-allocate struct bfs_mountTavian Barnes2024-04-171-15/+28
|
* build: Add back the default CFLAGSTavian Barnes2024-04-171-6/+20
|
* build: Properly export PKG_CONFIGTavian Barnes2024-04-172-0/+2
|
* build: Make the config scripts POSIX-compliantTavian Barnes2024-04-174-16/+18
|
* build: Support NOLIBS=1Tavian Barnes2024-04-171-1/+1
|
* build: Refactor configurationTavian Barnes2024-04-1613-464/+454
| | | | | | We now use a recursive make invocation to do the work of `make config`. The new implementation is also compatible with GNU make 3.81 found on macOS.
* tests: Quiet diffTavian Barnes2024-04-161-2/+2
| | | | | | On Solaris/Illumos, `diff` prints "No differences encountered" if the files are the same. Guard it with `cmp -s` so we get no output for passing tests.
* build: Center [ CC ] / [ LD ]Tavian Barnes2024-04-161-2/+2
|
* distcheck: Run all the checksTavian Barnes2024-04-151-1/+1
| | | | Oops.
* build: Be quieter by defaultTavian Barnes2024-04-151-22/+74
|
* build: Make distclean also clean the distcheck dirsTavian Barnes2024-04-151-9/+11
|
* build: Show a nicer error if the user forgets to run make configTavian Barnes2024-04-151-2/+9
|
* build: Remove unneeded USE_* defaultsTavian Barnes2024-04-151-10/+1
|
* build: Fix FreeBSD *SAN buildsTavian Barnes2024-04-111-1/+1
|
* build: Factor out vars.mk generation into a scriptTavian Barnes2024-04-102-34/+83
|
* build: Run pkg-config with all packages at onceTavian Barnes2024-04-108-99/+150
|
* config/cc.sh: Pass all the flags when running the compilerTavian Barnes2024-04-101-4/+8
|
* printf: Implement %ZTavian Barnes2024-04-101-0/+23
|