Install autoconf

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

Ubuntu / Debian

sudo apt install autoconf


# install GNU M4

yum install m4

# install autoconf


tar zxf autoconf-latest.tar.gz

cd autoconf-2.69/

yum install -y openssl-devel


make && make install

which autoconf


Error while running ./configure (CentOS)


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.


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.