I am newbie of Autotools. From my understanding, one would use the following basic steps to build software using Autotools:
autoreconf --install
./configure
make
However, I noticed that most open source software packages (on Linux) does not need the 1st step. Most of the time they just need step 2 and 3 to build. It seems that they already are packaged with a Makefile.in
. I am wondering why? Do they manually code the Makefile.in
, or does the software developer use autoreconf
to generate the Makefile.in
before creating the software package?
configure
runs, all the user needs is a couple of script interpreters (a Bourne shell, sed, maybe perl too), plus the compiler toolchain. Even if all the library dependencies are missing, theconfigure
script should be able to run and diagnose the problem or work around it. When you runmake dist-gzip
, you get a tarball with theconfigure
script, plus all*.in
template files packaged so the user doesn't have to do the previous steps that require autotools. – Tolerant