Next: Portable Shell Programming, Previous: Programming in M4sh, Up: Autoconf [Contents][Index]
When you write a feature test that could be applicable to more than one software package, the best thing to do is encapsulate it in a new macro. Here are some instructions and guidelines for writing Autoconf macros. You should also familiarize yourself with M4sugar (see Programming in M4) and M4sh (see Programming in M4sh).