GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
9.1. Creating libtool
When you install a distribution of Libtool on your development machine, a host-specific libtool program is installed. The examples in the rest of this chapter use this installed instance of libtool.
When you start to use Libtool in the build process of your own projects, you should not require that libtool be installed on the user's machine, particularly because they may have a different libtool version to the one used to develop your project. Instead, distribute some of the files installed by the Libtool distribution along with your project, and custom build a libtool script on the user's machine before invoking ./libtool to build any objects. If you use Autoconf and Automake, these details are taken care of automatically ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access