|
|
|||||||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||||
|
9.1 Macro Definitions
Autoconf macros are defined using the An Autoconf macro definition looks like this:
You can refer to any arguments passed to the macro as `$1', `$2', etc. See section `How to define new macros' in GNU m4, for more complete information on writing M4 macros. Be sure to properly quote both the macro-body and the macro-name to avoid any problems if the macro happens to have been previously defined. Each macro should have a header comment that gives its prototype, and a brief description. When arguments have default values, display them in the prototype. For example:
Comments about the macro should be left in the header comment. Most other comments will make their way into `configure', so just keep using `#' to introduce comments.
If you have some very special comments about pure M4 code, comments
that make no sense in `configure' and in the header comment, then
use the builtin
Keep in mind that
|
|
|||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||
|
Marketplace: | |||||||||||||||||||||||||||
| " In headlines today, the dreaded killfile virus spread across the country adding 'aol.com' to people's Usenet kill files everywhere. The programmer of the virus still remains anonymous, but has been nominated several times for a Nobel peace prize. " | |||||||||||||||||||||||||||