possibly undefined macro: AC_MSG_ERROR
It is recommended to use autoreconf -fi
instead of manually calling aclocal;autoconf;automake; #and whatever else
to properly populate aclocal.m4 and so on.
Adding ACLOCAL_AMFLAGS = -I m4
(to the toplevel Makefile.am) and AC_CONFIG_MACRO_DIR([m4])
is currently still optional if you do not use any own m4 files, but of course, doing it will silence the proocess :)
I had this same issue and found that pkg-config
package was missing.
After installing the package, everything generated correctly.