This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Development > unifdef (2.12)

unifdef (selectively processes C conditional compilation)

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.

It is useful for avoiding distractions when studying code that uses
#ifdef heavily for portability: the author's original motivation was to
understand xterm's pty handling code. It can be used as a lightweight
preprocessor; for example the Linux kernel uses unifdef to strip out
#ifdef __KERNEL__ sections from the headers it exports to userland. You
can use unifdef with languages other than C; for example UIT, a
publisher in Cambridge, uses unifdef with LaTeX.

Maintained by: B. Watson
Keywords: #ifdef,cpp,preprocessor,macro
ChangeLog: unifdef

Homepage:
http://dotat.at/prog/unifdef/

Source Downloads:
unifdef-2.12.tar.xz (ae8c0b3b4c43c1f6bc5f32412a820818)

Download SlackBuild:
unifdef.tar.gz
unifdef.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
README
slack-desc
unifdef.SlackBuild
unifdef.info

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds