Files
RedBear-OS/recipes/wip/files/mc/source/m4.include/mc-stdckdint.m4
T
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

24 lines
759 B
Plaintext

dnl
dnl Check <stdckdint.h> that is like C23.
dnl
AC_DEFUN([mc_CHECK_HEADER_STDCKDINT],
[
AC_CHECK_HEADERS_ONCE([stdckdint.h])
if test $ac_cv_header_stdckdint_h = yes; then
GL_GENERATE_STDCKDINT_H=false
else
GL_GENERATE_STDCKDINT_H=true
fi
gl_CONDITIONAL_HEADER([stdckdint.h])
dnl We need the following in order to create <stdckdint.h> when the system
dnl doesn't have one that works with the given compiler.
if test "$GL_GENERATE_STDCKDINT_H" = "true"; then
sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e s,bool,gboolean, -e 1G \
$ac_abs_confdir/lib/stdckdint.in.h > $ac_abs_confdir/lib/stdckdint.h
else
rm -f "$ac_abs_confdir/lib/stdckdint.h"
fi
])