2011-01-03 16:14:28 +01:00
|
|
|
If you are building from GIT, run the script
|
2003-12-09 09:21:06 +00:00
|
|
|
|
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
first, to make sure that you have all the necessary maintainer tools
|
2006-12-06 10:16:50 +00:00
|
|
|
are installed and to build the actual configuration files. If you
|
2011-01-03 16:14:28 +01:00
|
|
|
have just checked out from GIT, you should add the option "--force" to
|
|
|
|
autogen.sh so that meta data is noticed by autom4te.cache. Then run
|
2003-12-09 09:21:06 +00:00
|
|
|
|
|
|
|
./configure --enable-maintainer-mode
|
|
|
|
|
|
|
|
followed by the usual make.
|
|
|
|
|
|
|
|
If autogen.sh complains about insufficient versions of the required
|
|
|
|
tools, or the tools are not installed, you may use environment
|
|
|
|
variables to override the default tool names:
|
|
|
|
|
|
|
|
AUTOMAKE_SUFFIX is used as a suffix for all tools from the automake
|
2011-02-04 12:57:53 +01:00
|
|
|
package. For example
|
2003-12-09 09:21:06 +00:00
|
|
|
AUTOMAKE_SUFFIX="-1.7" ./autogen.sh
|
|
|
|
uses "automake-1.7" and "aclocal-1.7.
|
|
|
|
AUTOMAKE_PREFIX is used as a prefix for all tools from the automake
|
|
|
|
page and may be combined with AUTOMAKE_SUFFIX. e.g.:
|
|
|
|
AUTOMAKE_PREFIX=/usr/foo/bin ./autogen.sh
|
|
|
|
uses "automake" and "aclocal" in the /usr/foo/bin
|
|
|
|
directory.
|
|
|
|
AUTOCONF_SUFFIX is used as a suffix for all tools from the automake
|
|
|
|
package
|
|
|
|
AUTOCONF_PREFIX is used as a prefix for all tools from the automake
|
|
|
|
package
|
|
|
|
GETTEXT_SUFFIX is used as a suffix for all tools from the gettext
|
|
|
|
package
|
|
|
|
GETTEXT_PREFIX is used as a prefix for all tools from the gettext
|
|
|
|
package
|
|
|
|
|
|
|
|
It is also possible to use the variable name AUTOMAKE, AUTOCONF,
|
|
|
|
ACLOCAL, AUTOHEADER, GETTEXT and MSGMERGE to directly specify the name
|
|
|
|
of the programs to run. It is however better to use the suffix and
|
|
|
|
prefix forms as described above because that does not require
|
2011-01-03 16:14:28 +01:00
|
|
|
knowledge about the actual tools used by autogen.sh.
|
2003-12-09 09:21:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
Please don't use autopoint, libtoolize or autoreconf unless you are
|
|
|
|
the current maintainer and want to update the standard configuration
|
2011-01-03 16:14:28 +01:00
|
|
|
files. All those files should be in GIT and only updated manually
|
2003-12-09 09:21:06 +00:00
|
|
|
if the maintainer decides that newer versions are required. The
|
|
|
|
maintainer should also make sure that the required version of automake
|
|
|
|
et al. are properly indicated at the top of configure.ac and take care
|
|
|
|
to copy the files and not merely use symlinks.
|