error: possibly undefined macro: AM_PROG_LIBTOOL

If you see this message when you run autoreconf it means that you haven’t installed libtool.