Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-29 | build: Replace `make config` with a `./configure` script | Tavian 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-26 | config: Just use NOT to implement NOR | Tavian Barnes | |
2024-04-26 | config: Move .c files into config/{use,has} subdirectories | Tavian Barnes | |
2024-04-25 | config: Add BFS_USE_LIB* to config.h instead of CPPFLAGS | Tavian Barnes | |
2024-04-22 | fsade: Implement ACL detection on Illumos | Tavian Barnes | |
2024-04-22 | config: Check for acl_get_file() | Tavian Barnes | |
2024-04-22 | config: Check for acl_get_{entry,tag_type}() | Tavian Barnes | |
2024-04-22 | config: Check for extattr_{get,list}_{file,link}() | Tavian Barnes | |
This lets us implement -xattr on DragonFly BSD. | |||
2024-04-19 | config: Check for max_align_t | Tavian Barnes | |
2024-04-19 | config: Check for aligned_alloc() | Tavian Barnes | |
2024-04-19 | config: Check for struct stat::st_flags | Tavian Barnes | |
2024-04-19 | config: Check for struct stat::st_{a,c,m,birth}{tim,timespec} | Tavian Barnes | |
2024-04-19 | config: Check for struct tm::tm_gmtoff | Tavian Barnes | |
2024-04-19 | config: Check for fdclosedir() | Tavian Barnes | |
2024-04-19 | config: Check for strerror_[lr]() | Tavian Barnes | |
2024-04-19 | config: Check for pipe2() | Tavian Barnes | |
2024-04-19 | config: Check for statx() | Tavian Barnes | |
2024-04-19 | config: Check for acl_is_trivial_np() | Tavian Barnes | |
2024-04-19 | config: Check for confstr() | Tavian Barnes | |
2024-04-19 | config: Check for getdents{,64}() | Tavian Barnes | |
2024-04-19 | config: Check for posix_spawn_file_actions_addfchdir{,_np}() | Tavian Barnes | |
2024-04-19 | config: Check for program_invocation_short_name | Tavian 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-19 | config: Test-compile packages even if pkg-config says they exist | Tavian Barnes | |
This fixes `make config CC=musl-gcc`, for example. | |||
2024-04-19 | config: Add missing copyright headers | Tavian Barnes | |
They're probably too trivial to be copyrightable, but might as well include the SPDX tags for consistency anyway. | |||
2024-04-19 | tests: Add ../src to the include path | Tavian Barnes | |
2024-04-19 | config: Use ✔/✘ rather than [y]/[n] | Tavian Barnes | |
2024-04-19 | config: Remove unused ${ARCH} variable | Tavian Barnes | |
2024-04-19 | config: Remove explicit -MF from DEPFLAGS | Tavian Barnes | |
We use the default name anyway. | |||
2024-04-19 | config: Fix ${SAN} on BSD make | Tavian 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-19 | config: Don't build config tests with -o /dev/null | Tavian 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-17 | config: Delete gen/objs.mk | Tavian Barnes | |
Rather than explicitly listing all these dependencies, we can rely on DEPFLAGS to generate them for us. | |||
2024-04-17 | build: Directly generate version.c | Tavian Barnes | |
2024-04-17 | build: Dont include ${BUILDDIR} in short messages | Tavian Barnes | |
2024-04-17 | build: Add back the default CFLAGS | Tavian Barnes | |
2024-04-17 | build: Properly export PKG_CONFIG | Tavian Barnes | |
2024-04-17 | build: Make the config scripts POSIX-compliant | Tavian Barnes | |
2024-04-17 | build: Support NOLIBS=1 | Tavian Barnes | |
2024-04-16 | build: Refactor configuration | Tavian 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-11 | build: Fix FreeBSD *SAN builds | Tavian Barnes | |
2024-04-10 | build: Factor out vars.mk generation into a script | Tavian Barnes | |
2024-04-10 | build: Run pkg-config with all packages at once | Tavian Barnes | |
2024-04-10 | config/cc.sh: Pass all the flags when running the compiler | Tavian Barnes | |
2024-04-10 | build: Add optional libselinux dependency | Tavian Barnes | |
2024-04-09 | build: Add a separate configuration step | Tavian Barnes | |