-----BEGIN PGP SIGNED MESSAGE-----
A while back I told people that I find using autotools to be confusing. I've
been looking at the documentation of the latest versions and have concluded
that the reason I don't understand the documentation is because the documents
are inconsistent, at least when used as references. Compare the following
This is from autoconf.info:
To encourage consistency, here is a suggested order for calling the
Autoconf macros. Generally speaking, the things near the end of this
list are those that could depend on things earlier in it. For example,
library functions could be affected by types and libraries.
`AC_INIT(PACKAGE, VERSION, BUG-REPORT-ADDRESS)'
information on the package
checks for programs
checks for libraries
checks for header files
checks for types
checks for structures
checks for compiler characteristics
checks for library functions
checks for system services
This is from automake.info:
The first step is to update your `configure.ac' to include the
commands that `automake' needs. The way to do this is to add an
`AM_INIT_AUTOMAKE' call just after `AC_INIT':
This is from a working autoconf.ac
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AM_INIT_AUTOMAKE(rematrix, 1.0, hattons(a)globalsymmetry.com)
# Checks for programs.
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
The examples found in http://sources.redhat.com/autobook/
did not work (were
out of date?) when I tried to use the book to get started. I'm now to the
point where I can produce a basic gnu gnits build setup for simple programs,
but it's been trial and error (as well as some very helpful guidance from
people on this list).
Other than simply venting my frustrations, my purpose in posting this is to
ask others how they would approach learning how to use these tools. Perhaps
the answer is still the Goat Book. It seems a shame to see the book has not
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----