feat(profile): generate installed features.h exposing VLIBC_LEVEL

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <[email protected]>
This commit is contained in:
2026-08-31 19:49:49 -04:00
co-authored by Sisyphus
parent 180c1107b6
commit a5c16e97d7
3 changed files with 63 additions and 0 deletions
+2
View File
@@ -116,6 +116,7 @@ AS_CASE([$vlibc_profile],
[vlibc], [AC_DEFINE([VLIBC_PROFILE_VLIBC], [1], [vlibc (glibc-ext) profile])])
AC_SUBST([vlibc_profile])
AC_SUBST([vlibc_level])
# ---- Install method ------------------------------------------------------
# "alongside" installs vlibc next to the system libc: headers and libraries go
@@ -168,6 +169,7 @@ LT_INIT
AC_CONFIG_FILES([Makefile
benchmarks/Makefile
include/vlibc/features.h
tools/vlibc-gcc
tools/vlibc-clang])