Using "autoreconf"
Introduction
If you are getting this from a RDM package, there is no need to run
autoreconf
. You can skip the steps described here and go directly to
Using "configure". If you need to regenerate configure
, any
of the Makefile.in
files, or any of the other files generated by
autoreconf
please, read on.
Prerequisite
There is no specific prerequisite except for a working development environment if you are building RDM examples and tutorials using an object package or building RDM using a source distribution. Please skip the rest of this file and continue with Using "configure".
Make sure you have the versions (a newer version is not guaranteed to work) of the GNU Autotools installed as shown below. M4 must be a GNU version, and it can be an older version. For the other tools, make sure that you use versions that are known to work together. You can run these commands to check the versions of the tools you have:
$ autoconf --version autoconf (GNU Autoconf) 2.69 $ libtool --version libtool (GNU libtool) 2.4.6 $ automake --version automake (GNU automake) 1.15 $ m4 --version m4 (GNU M4) 1.4.17
Autoreconf
Make sure that you have the prerequisite listed in the first section
installed. The GNU Autotools can be used on most systems where a
resent version of the GNU Autotools have been installed. The
output of this step is a set of scripts and Makefile
template that can
be used on any POSIX system. Those systems do not rely on any GNU
specific tool. The GNU Autotools files can be set up running
autoreconf
:
$ autoreconf --install --force
The --install
option will add some additional files needed for the
configure
script. This option can be omitted if you previously added
those files. The --force
option will overwrite these files with a
clean copy. You will want to use this option if you upgraded your
GNU Autotools installation.
Next Step
When the GNU build system has been set up using autoreconf
, the next
step is to configure
a build environment as described in
Using "configure".
Additional Help
Additional help can be found here:
http://www.gnu.org/software/autoconf
http://www.gnu.org/software/automake