[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
5.4 Configuring libtool
Libtool requires intimate knowledge of your compiler suite and operating system in order to be able to create shared libraries and link against them properly. When you install the libtool distribution, a system-specific libtool script is installed into your binary directory.
However, when you distribute libtool with your own packages (see section Including libtool in your package), you do not always know the compiler suite and operating system that are used to compile your package.
For this reason, libtool must be configured before it can be
used. This idea should be familiar to anybody who has used a GNU
configure
script. configure
runs a number of tests for
system features, then generates the ‘Makefile’s (and possibly a
‘config.h’ header file), after which you can run make
and
build the package.
Libtool adds its own tests to your configure
script in order to
generate a libtool script for the installer’s host machine.
5.4.1 The LT_INIT macro | Configuring libtool in ‘configure.ac’.
| |
5.4.2 Platform-specific configuration notes | Platform-specific notes for configuration. |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on December 1, 2011 using texi2html 5.0.