The unifdef utility selectively processes conditional C preprocessor #if and #ifdef directives. It removes from a file both the directives and the additional text that they delimit, while otherwise leaving the file alone.
... part of T2, get it here
URL: https://dotat.at/prog/unifdef/
Author: Tony Finch <dot [at] dotat [dot] at>
Maintainer: Rene Rebe <rene [at] t2-project [dot] org>
License: BSD
Status: Stable
Version: 2.12
Remark: Does cross compile (as setup and patched in T2).
Download: https://dotat.at/prog/unifdef/ unifdef-2.12.tar.xz
T2 source: hotftix-reinstall.patch
T2 source: unifdef.cache
T2 source: unifdef.desc
Build time (on reference hardware): 1% (relative to binutils)2
Installed size (on reference hardware): 0.07 MB, 9 files
Dependencies (build time detected): 00-dirtree bash binutils coreutils diffutils findutils gawk grep make patch sed tar xz
Installed files (on reference hardware): n.a.
1) This page was automatically generated from the T2 package source. Corrections, such as dead links, URL changes or typos need to be performed directly on that source.
2) Compatible with Linux From Scratch's "Standard Build Unit" (SBU).