I was trying to build GPerfTools by running its
autogen.sh script when I got this error:
$ ./autogen.sh configure.ac:154: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1
I was mistaken in thinking that
AC_PROG_LIBTOOL was referring to some generic library tool. Actually, there is a GNU LibTool script that is used to build libraries.
To install it:
$ sudo apt install libtool
The build worked fine after installing this package.
Tried with: Ubuntu 14.04