This project should demonstrate basic usage of the GNU autotools.
The simplest configuration, only configure.ac
.
autoreconf -i
./configure
Compile file main.c
which includes config.h
.
autoreconf -i
./configure
make
Compile src/main.c
.
sh autogen.sh
./configure
make
It is also possible to build the project from other directories:
cd $PROJECT
mkdir example2-build
cd example2-build
../example2/configure
make