Skip to Main Content
Linux Applications on pSeries
book

Linux Applications on pSeries

by Dr. Jan-Rainer Lahmann, Luis Ferreira, Janethe Co, Bjorn Roden
February 2003
Intermediate to advanced content levelIntermediate to advanced
328 pages
7h 36m
English
IBM Redbooks
Content preview from Linux Applications on pSeries
Chapter 6. Tools in the Toolbox 223
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
If you use conditional defines, you could use the ifnames command to list those
defines from your source code.
ifnames filenames
In our example we have one define in the ourcode.c program:
#ifdef ourcode
#define SWEET "ourcode"
#endif
Example 6-22 shows how to use the ifnames command on the ourcode.c file.
Example 6-22 Using ifnames
root@fenris:/home/work/rpm/ourcode-1.0: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Red Hat Linux 6: Visual QuickPro Guide

Red Hat Linux 6: Visual QuickPro Guide

Harold Davis
Test Driving Linux

Test Driving Linux

David Brickner
Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson

Publisher Resources

ISBN: 0738427950Purchase book