Previous: , Up: Using AutoOpts   [Contents][Index]


7.9.5 source distro, AutoOpts not 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 may wish to incorporate the sources for libopts in your project. To do this, I recommend reading the tear-off libopts library README that you can find in the pkg/libopts directory. You can also examine an example package (blocksort) that incorporates this tear off library in the autogen distribution directory. There is also a web page that describes what you need to do:

http://autogen.sourceforge.net/blocksort.html

Alternatively, you can pull the libopts library sources into a build directory and build it for installation along with your package. This can be done approximately as follows:

tar -xzvf `autoopts-config libsrc`
cd libopts-*
./bootstrap
configure
make
make install

That will install the library, but not the headers or anything else.