Tool chain] autogen 시 AM_SILENT_RULES' not found in library 해결

os
osx
linux

#1

소스 configure 를 위한 autogen.sh 에서 autoconf 오류 해결.

  • 환경: OSX 12.x

log

$ ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
...
aclocal:configure.ac:1030: warning: macro `AM_SILENT_RULES' not found in library
aclocal:configure.ac:1036: warning: macro `AM_SUBST_NOTMAKE' not found in library
aclocal:configure.ac:1038: warning: macro `AM_SUBST_NOTMAKE' not found in library
configure.ac:1055: error: possibly undefined macro: AM_SILENT_RULES
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:1061: error: possibly undefined macro: AM_SUBST_NOTMAKE
autoreconf: /usr/local/bin/autoconf failed with exit status: 1

해결

[AM_SILENT_RULES([yes])]

to

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])