[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.9.4 source distro, AutoOpts pre-installed

If you will be distributing your project to a system that will build your product but it may not be pre-installed with AutoOpts, you will need to do some configuration checking before you start the build. Assuming you are willing to fail the build if AutoOpts has not been installed, you will still need to do a little work.

AutoOpts is distributed with a configuration check M4 script, ‘autoopts.m4’. It will add an autoconf macro named, AG_PATH_AUTOOPTS. Add this to your ‘configure.ac’ script and use the following substitution values:


the name of the autogen executable


the directory where AutoGen template library is stored


the compile time options needed to find the AutoOpts headers


the link options required to access the libopts library

This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.