GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
10.3. Using libtoolize
Having made the necessary editions in 'configure.in' and 'Makefile.am', all that remains is to add the Libtool infrastructure to your project.
First of all, you must ensure that the correct definitions for the new macros you use in 'configure.in' are added to 'aclocal.m4' (see Appendix C, "Generated File Dependencies"). At the moment, the safest way to do this is to copy 'libtool.m4' from the installed libtool to 'acinclude.m4' in the top-level source directory of your package. This is to ensure that when your package ships, no mismatch errors occur between the M4 macros you provided in the version of libtool you built the distribution with, versus the version of the Libtool installation in another developer's environment. ...
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