Used are:

autotools preparation:
autoreconf -i

autoconf   (for generation of configure)
autoheader (for generating src/config.h.in)

required folders:
tools - Macros for configure
