October 2000
Intermediate to advanced
432 pages
9h 9m
English
You should follow some guidelines when writing a macro. The criteria for a well-written macro are that it should be easy to use, well documented, and, most importantly, portable. Portability is a difficult problem that requires much anticipation on the part of the macro writer. This section discusses the design considerations for using a static Autoconf test at compile time versus a test at runtime. It also covers some of the characteristics of a good macro, including noninteractive behavior, properly formatted output, and a clean interface for the user of the macro.
Read now
Unlock full access