Unable to run autogen.sh due to errors
I am running msys2/mingw64 and am trying to compile gspell. This is the issue I am running into:
configure.ac:152: warning: AX_ADD_AM_MACRO_STATIC is m4_require'd but not m4_defun'd
m4/ax_code_coverage.m4:208: _AX_CODE_COVERAGE_ENABLED is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/ax_code_coverage.m4:248: AX_CODE_COVERAGE is expanded from...
configure.ac:152: the top level
autoreconf: running: /usr/bin/autoconf --force
configure.ac:152: warning: AX_ADD_AM_MACRO_STATIC is m4_require'd but not m4_defun'd
m4/ax_code_coverage.m4:208: _AX_CODE_COVERAGE_ENABLED is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/ax_code_coverage.m4:248: AX_CODE_COVERAGE is expanded from...
configure.ac:152: the top level
configure.ac:70: error: possibly undefined macro: PKG_PROG_PKG_CONFIG
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:71: error: possibly undefined macro: PKG_INSTALLDIR
configure.ac:97: error: possibly undefined macro: PKG_CHECK_EXISTS
configure.ac:119: error: possibly undefined macro: AC_MSG_ERROR
configure:16057: error: possibly undefined macro: AM_V_at
configure:16075: error: possibly undefined macro: AM_DISTCHECK_CONFIGURE_FLAGS
autoreconf: /usr/bin/autoconf failed with exit status: 1
I have tried using ACLOCAL_PATH=my_path ./autogen... and reinstalling pkg-config
Edited by Jonathan Manly