summaryrefslogtreecommitdiffstats
path: root/config
AgeCommit message (Collapse)Author
2024-04-29build: Replace `make config` with a `./configure` scriptTavian Barnes
This lets us do more traditional out-of-tree builds like $ ../path/to/bfs/configure $ make The .mk files are moved from ./config to ./build, mostly so that ./configure will auto-complete easily.
2024-04-26config: Just use NOT to implement NORTavian Barnes
2024-04-26config: Move .c files into config/{use,has} subdirectoriesTavian Barnes
2024-04-25config: Add BFS_USE_LIB* to config.h instead of CPPFLAGSTavian Barnes
2024-04-22fsade: Implement ACL detection on IllumosTavian Barnes
2024-04-22config: Check for acl_get_file()Tavian Barnes
2024-04-22config: Check for acl_get_{entry,tag_type}()Tavian Barnes
2024-04-22config: Check for extattr_{get,list}_{file,link}()Tavian Barnes
This lets us implement -xattr on DragonFly BSD.
2024-04-19config: Check for max_align_tTavian Barnes
2024-04-19config: Check for aligned_alloc()Tavian Barnes
2024-04-19config: Check for struct stat::st_flagsTavian Barnes
2024-04-19config: Check for struct stat::st_{a,c,m,birth}{tim,timespec}Tavian Barnes
2024-04-19config: Check for struct tm::tm_gmtoffTavian Barnes
2024-04-19config: Check for fdclosedir()Tavian Barnes
2024-04-19config: Check for strerror_[lr]()Tavian Barnes
2024-04-19config: Check for pipe2()Tavian Barnes
2024-04-19config: Check for statx()Tavian Barnes
2024-04-19config: Check for acl_is_trivial_np()Tavian Barnes
2024-04-19config: Check for confstr()Tavian Barnes
2024-04-19config: Check for getdents{,64}()Tavian Barnes
2024-04-19config: Check for posix_spawn_file_actions_addfchdir{,_np}()Tavian Barnes
2024-04-19config: Check for program_invocation_short_nameTavian Barnes
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?
2024-04-19config: Test-compile packages even if pkg-config says they existTavian Barnes
This fixes `make config CC=musl-gcc`, for example.
2024-04-19config: Add missing copyright headersTavian Barnes
They're probably too trivial to be copyrightable, but might as well include the SPDX tags for consistency anyway.
2024-04-19tests: Add ../src to the include pathTavian Barnes
2024-04-19config: Use ✔/✘ rather than [y]/[n]Tavian Barnes
2024-04-19config: Remove unused ${ARCH} variableTavian Barnes
2024-04-19config: Remove explicit -MF from DEPFLAGSTavian Barnes
We use the default name anyway.
2024-04-19config: Fix ${SAN} on BSD makeTavian Barnes
This seems to have hit some BSD make limitation, making it set `SAN := y` unconditionally for some reason. Breaking up the expression fixes it.
2024-04-19config: Don't build config tests with -o /dev/nullTavian Barnes
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.
2024-04-17config: Delete gen/objs.mkTavian Barnes
Rather than explicitly listing all these dependencies, we can rely on DEPFLAGS to generate them for us.
2024-04-17build: Directly generate version.cTavian Barnes
2024-04-17build: Dont include ${BUILDDIR} in short messagesTavian Barnes
2024-04-17build: Add back the default CFLAGSTavian Barnes
2024-04-17build: Properly export PKG_CONFIGTavian Barnes
2024-04-17build: Make the config scripts POSIX-compliantTavian Barnes
2024-04-17build: Support NOLIBS=1Tavian Barnes
2024-04-16build: Refactor configurationTavian Barnes
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.
2024-04-11build: Fix FreeBSD *SAN buildsTavian Barnes
2024-04-10build: Factor out vars.mk generation into a scriptTavian Barnes
2024-04-10build: Run pkg-config with all packages at onceTavian Barnes
2024-04-10config/cc.sh: Pass all the flags when running the compilerTavian Barnes
2024-04-10build: Add optional libselinux dependencyTavian Barnes
2024-04-09build: Add a separate configuration stepTavian Barnes