Install autoconf

Autoconf is a package that supports software installation from source code.

https://www.gnu.org/software/autoconf/

Ubuntu / Debian

sudo apt install autoconf

CentOS

# install GNU M4

yum install m4

# install autoconf

wget http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz

tar zxf autoconf-latest.tar.gz

cd autoconf-2.69/

yum install -y openssl-devel

./configure

make && make install

which autoconf

/usr/local/bin/autoconf

Error while running ./configure (CentOS)

./configure

checking for a BSD-compatible install... /bin/install -c

checking whether build environment is sane... yes

°°°

checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH.

GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.

Solution

install or update GNU M4 to newer version

yum install m4

GNU implementation of the traditional UNIX macro processor. M4 is useful for writing text files which can be logically parsed, and is used by many programs as part of their build process.

https://centos.pkgs.org/7/okey-x86_64/m4-1.4.16-9.el7.centos.x86_64.rpm.html