To use AutoOpts in your application where you do not have to
worry about distribution issues, your issues are simple and few.
Create a file ‘myopts.def’, according to the documentation above.
It is probably easiest to start with the example in Quick Start
and edit it into the form you need.
Run AutoGen to create the option interface file (myopts.h)
and the option descriptor code (myopts.c):
autogen myopts.def
In all your source files where you need to refer to option state,
#include "myopts.h".
In your main routine, code something along the lines of: