traviscross / mtr

Official repository for mtr, a network diagnostic tool
http://www.bitwizard.nl/mtr/
GNU General Public License v2.0
2.68k stars 340 forks source link

Question (rather than call it issue) re: autoconf and pkg-config macros #367

Closed aixtools closed 4 years ago

aixtools commented 4 years ago

Hi.

Trying to run autoconf - but it fails with:

configure.ac:24: error: Could not locate the pkg-config autoconf macros. These are usually located in /usr/share/aclocal/pkg.m4. If your macros are in a different location, try setting the environment variable ACLOCAL_OPTS="-I/other/macro/dir"

pkg-config is not installed (by default) on AIX, and most of the time, is not really needed (I install it, it determines there are no files it wants, and the next step is executed).

However, the message above is new to me. How 'vital' is pkg-config to your autoconf configuration?

regards, Michael

aixtools commented 4 years ago

FYI - installed pkg-config (an old version as newer ones have issues I have not bothered to resolve, this version has always sufficed).

Process:

export ACLOCAL_OPTS="-I/opt/share/aclocal"

autoconf -v
autoconf: running /opt/bin/autom4te -v --language=autoconf --output=configure configure.ac
autom4te: the trace request object is:
autom4te: $VAR1 = bless( [
autom4te:                  '0',
autom4te:                  0,
autom4te:                  [
autom4te:                    '/opt/share/autoconf'
autom4te:                  ],
autom4te:                  [
autom4te:                    '/opt/share/autoconf/autoconf/autoconf.m4f',
autom4te:                    'configure.ac'
autom4te:                  ],
autom4te:                  {
autom4te:                    '_LT_AC_TAGCONFIG' => 1,
autom4te:                    'AM_PROG_F77_C_O' => 1,
autom4te:                    'AC_INIT' => 1,
autom4te:                    'm4_pattern_forbid' => 1,
autom4te:                    '_AM_COND_IF' => 1,
autom4te:                    'AC_CANONICAL_TARGET' => 1,
autom4te:                    'AC_SUBST' => 1,
autom4te:                    'AC_CONFIG_LIBOBJ_DIR' => 1,
autom4te:                    'AC_FC_SRCEXT' => 1,
autom4te:                    'AC_CANONICAL_HOST' => 1,
autom4te:                    'AC_PROG_LIBTOOL' => 1,
autom4te:                    'AM_INIT_AUTOMAKE' => 1,
autom4te:                    'AM_PATH_GUILE' => 1,
autom4te:                    'AC_CONFIG_SUBDIRS' => 1,
autom4te:                    'AM_AUTOMAKE_VERSION' => 1,
autom4te:                    'LT_CONFIG_LTDL_DIR' => 1,
autom4te:                    'AC_REQUIRE_AUX_FILE' => 1,
autom4te:                    'AC_CONFIG_LINKS' => 1,
autom4te:                    'm4_sinclude' => 1,
autom4te:                    'LT_SUPPORTED_TAG' => 1,
autom4te:                    'AM_MAINTAINER_MODE' => 1,
autom4te:                    'AM_NLS' => 1,
autom4te:                    'AC_FC_PP_DEFINE' => 1,
autom4te:                    'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
autom4te:                    'AM_MAKEFILE_INCLUDE' => 1,
autom4te:                    '_m4_warn' => 1,
autom4te:                    'AM_PROG_CXX_C_O' => 1,
autom4te:                    '_AM_COND_ENDIF' => 1,
autom4te:                    '_AM_MAKEFILE_INCLUDE' => 1,
autom4te:                    'AM_ENABLE_MULTILIB' => 1,
autom4te:                    'AM_SILENT_RULES' => 1,
autom4te:                    'AM_PROG_MOC' => 1,
autom4te:                    'AC_CONFIG_FILES' => 1,
autom4te:                    'include' => 1,
autom4te:                    'LT_INIT' => 1,
autom4te:                    'AM_PROG_AR' => 1,
autom4te:                    'AM_GNU_GETTEXT' => 1,
autom4te:                    'AC_LIBSOURCE' => 1,
autom4te:                    'AM_PROG_FC_C_O' => 1,
autom4te:                    'AC_CANONICAL_BUILD' => 1,
autom4te:                    'AC_FC_FREEFORM' => 1,
autom4te:                    'AH_OUTPUT' => 1,
autom4te:                    'AC_FC_PP_SRCEXT' => 1,
autom4te:                    '_AM_SUBST_NOTMAKE' => 1,
autom4te:                    'AC_CONFIG_AUX_DIR' => 1,
autom4te:                    'sinclude' => 1,
autom4te:                    'AM_PROG_CC_C_O' => 1,
autom4te:                    'm4_pattern_allow' => 1,
autom4te:                    'AM_XGETTEXT_OPTION' => 1,
autom4te:                    'AC_CANONICAL_SYSTEM' => 1,
autom4te:                    'AM_CONDITIONAL' => 1,
autom4te:                    'AC_CONFIG_HEADERS' => 1,
autom4te:                    'AC_DEFINE_TRACE_LITERAL' => 1,
autom4te:                    'AM_POT_TOOLS' => 1,
autom4te:                    'm4_include' => 1,
autom4te:                    '_AM_COND_ELSE' => 1,
autom4te:                    'AC_SUBST_TRACE' => 1
autom4te:                  }
autom4te:                ], 'Autom4te::Request' );
autom4te: running: /opt/bin/m4 --nesting-limit=1024 --gnu --include=/opt/share/autoconf --debug=aflq --fatal-warning --debugfile=autom4te.cache/traces.0t --trace=AC_CANONICAL_BUILD --trace=AC_CANONICAL_HOST --trace=AC_CANONICAL_SYSTEM --trace=AC_CANONICAL_TARGET --trace=AC_CONFIG_AUX_DIR --trace=AC_CONFIG_FILES --trace=AC_CONFIG_HEADERS --trace=AC_CONFIG_LIBOBJ_DIR --trace=AC_CONFIG_LINKS --trace=AC_CONFIG_SUBDIRS --trace=AC_DEFINE_TRACE_LITERAL --trace=AC_FC_FREEFORM --trace=AC_FC_PP_DEFINE --trace=AC_FC_PP_SRCEXT --trace=AC_FC_SRCEXT --trace=AC_INIT --trace=AC_LIBSOURCE --trace=AC_PROG_LIBTOOL --trace=AC_REQUIRE_AUX_FILE --trace=AC_SUBST --trace=AC_SUBST_TRACE --trace=AH_OUTPUT --trace=AM_AUTOMAKE_VERSION --trace=AM_CONDITIONAL --trace=AM_ENABLE_MULTILIB --trace=AM_GNU_GETTEXT --trace=AM_GNU_GETTEXT_INTL_SUBDIR --trace=AM_INIT_AUTOMAKE --trace=AM_MAINTAINER_MODE --trace=AM_MAKEFILE_INCLUDE --trace=AM_NLS --trace=AM_PATH_GUILE --trace=AM_POT_TOOLS --trace=AM_PROG_AR --trace=AM_PROG_CC_C_O --trace=AM_PROG_CXX_C_O --trace=AM_PROG_F77_C_O --trace=AM_PROG_FC_C_O --trace=AM_PROG_MOC --trace=AM_SILENT_RULES --trace=AM_XGETTEXT_OPTION --trace=LT_CONFIG_LTDL_DIR --trace=LT_INIT --trace=LT_SUPPORTED_TAG --trace=_AM_COND_ELSE --trace=_AM_COND_ENDIF --trace=_AM_COND_IF --trace=_AM_MAKEFILE_INCLUDE --trace=_AM_SUBST_NOTMAKE --trace=_LT_AC_TAGCONFIG --trace=_m4_warn --trace=include --trace=m4_include --trace=m4_pattern_allow --trace=m4_pattern_forbid --trace=m4_sinclude --trace=sinclude --reload-state=/opt/share/autoconf/autoconf/autoconf.m4f --undefine=__m4_version__ configure.ac > autom4te.cache/output.0t
configure.ac:24: error: Could not locate the pkg-config autoconf macros.  These are usually located
in /usr/share/aclocal/pkg.m4.  If your macros are in a different location,
try setting the environment variable ACLOCAL_OPTS="-I/other/macro/dir"
before running ./bootstrap.sh again.
configure.ac:24: the top level
autom4te: /opt/bin/m4 failed with exit status: 1

Suggestions welcome!

FYI:

ls /opt/share/aclocal
README            iconv.m4          lcmessage.m4      ltargz.m4         po.m4             wchar_t.m4
cmake.m4          intdiv0.m4        lib-ld.m4         ltdl.m4           printf-posix.m4   wint_t.m4
codeset.m4        intl.m4           lib-link.m4       ltoptions.m4      progtest.m4       xsize.m4
extern-inline.m4  intldir.m4        lib-prefix.m4     ltsugar.m4        size_max.m4
fcntl-o.m4        intlmacosx.m4     libcurl.m4        ltversion.m4      stdint_h.m4
gettext.m4        intmax.m4         libtool.m4        lt~obsolete.m4    threadlib.m4
glibc2.m4         inttypes-pri.m4   lock.m4           nls.m4            uintmax_t.m4
glibc21.m4        inttypes_h.m4     longlong.m4       pkg.m4            visibility.m4
rewolff commented 4 years ago

Michael, In an effort to make programs more independent of the compilation environment someone started "autoconf" Great idea, bad implementation (IMHO). So now things are dependent on the precise version of the "autoconf" tools instead of a specific configuration of an operating system.

I maintain mtr, but I try to stay out of the autoconf stuff. "don't touch, seems to work" . So I don't know what the search for pkg-config is trying to find, and what finding something there would provide for benefits.

Hmm. I think the graphical libraries like GTK offer their info to pkg-config and pkg-config will then tell mtr what options to add to the compiler flags to find the libraries. If your pkgconfig is "emtpy" you probably don't have the right gtk libs installed.

aixtools commented 4 years ago

Those are all "GNU-ish" environment things. AIX is much more classic and/or behind.

I'll try running autoconf on Linux, and then using the result on AIX.

Thx for the quick reply.

On 10/09/2020 10:39, Roger Wolff wrote:

Michael, In an effort to make programs more independent of the compilation environment someone started "autoconf" Great idea, bad implementation (IMHO). So now things are dependent on the precise version of the "autoconf" tools instead of a specific configuration of an operating system.

I maintain mtr, but I try to stay out of the autoconf stuff. "don't touch, seems to work" . So I don't know what the search for pkg-config is trying to find, and what finding something there would provide for benefits.

Hmm. I think the graphical libraries like GTK offer their info to pkg-config and pkg-config will then tell mtr what options to add to the compiler flags to find the libraries. If your pkgconfig is "emtpy" you probably don't have the right gtk libs installed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/traviscross/mtr/issues/367#issuecomment-690084918, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSZR5LFCWQ4MWKEDWRCOFLSFCGDBANCNFSM4REKDFPQ.

aixtools commented 4 years ago

Hmm. Just ran on Debian on POWER (ppc64) that I have for just this sort of thing, and I get exactly the same error:

autom4te: running: /usr/bin/m4 --nesting-limit=1024 --gnu --include=/usr/share/autoconf --debug=aflq --fatal-warning --debugfile=autom4te.cache/traces.0t --trace=AC_CANONICAL_BUILD --trace=AC_CANONICAL_HOST --trace=AC_CANONICAL_SYSTEM --trace=AC_CANONICAL_TARGET --trace=AC_CONFIG_AUX_DIR --trace=AC_CONFIG_FILES --trace=AC_CONFIG_HEADERS --trace=AC_CONFIG_LIBOBJ_DIR --trace=AC_CONFIG_LINKS --trace=AC_CONFIG_SUBDIRS --trace=AC_DEFINE_TRACE_LITERAL --trace=AC_FC_FREEFORM --trace=AC_FC_PP_DEFINE --trace=AC_FC_PP_SRCEXT --trace=AC_FC_SRCEXT --trace=AC_INIT --trace=AC_LIBSOURCE --trace=AC_PROG_LIBTOOL --trace=AC_REQUIRE_AUX_FILE --trace=AC_SUBST --trace=AC_SUBST_TRACE --trace=AH_OUTPUT --trace=AM_AUTOMAKE_VERSION --trace=AM_CONDITIONAL --trace=AM_ENABLE_MULTILIB --trace=AM_GNU_GETTEXT --trace=AM_GNU_GETTEXT_INTL_SUBDIR --trace=AM_INIT_AUTOMAKE --trace=AM_MAINTAINER_MODE --trace=AM_MAKEFILE_INCLUDE --trace=AM_NLS --trace=AM_PATH_GUILE --trace=AM_POT_TOOLS --trace=AM_PROG_AR --trace=AM_PROG_CC_C_O --trace=AM_PROG_CXX_C_O --trace=AM_PROG_F77_C_O --trace=AM_PROG_FC_C_O --trace=AM_PROG_LIBTOOL --trace=AM_PROG_MOC --trace=AM_SILENT_RULES --trace=AM_XGETTEXT_OPTION --trace=LT_CONFIG_LTDL_DIR --trace=LT_INIT --trace=LT_SUPPORTED_TAG --trace=_AM_COND_ELSE --trace=_AM_COND_ENDIF --trace=_AM_COND_IF --trace=_AM_MAKEFILE_INCLUDE --trace=_AM_SUBST_NOTMAKE --trace=_LT_AC_TAGCONFIG --trace=_m4_warn --trace=include --trace=m4_include --trace=m4_pattern_allow --trace=m4_pattern_forbid --trace=m4_sinclude --trace=sinclude --reload-state=/usr/share/autoconf/autoconf/autoconf.m4f --undefine=__m4_version__ configure.ac > autom4te.cache/output.0t configure.ac:24: error: Could not locate the pkg-config autoconf macros.  These are usually located in /usr/share/aclocal/pkg.m4.  If your macros are in a different location, try setting the environment variable ACLOCAL_OPTS="-I/other/macro/dir" before running ./bootstrap.sh again. configure.ac:24: the top level autom4te: /usr/bin/m4 failed with exit status: 1

root@x074:/data/prj/aixtools/mtr-0.93# ls -l /usr/share/aclocal/pkg.m4 -rw-r--r-- 1 root root 10245 Jan 27  2019 /usr/share/aclocal/pkg.m4

You mention the 'wonderful' design of autotools - and I was wondering - which version did you last test with?

I am using autoconf 2.69 (et al).

On 10/09/2020 13:23, Michael Felt wrote:

Those are all "GNU-ish" environment things. AIX is much more classic and/or behind.

I'll try running autoconf on Linux, and then using the result on AIX.

Thx for the quick reply.

On 10/09/2020 10:39, Roger Wolff wrote:

Michael, In an effort to make programs more independent of the compilation environment someone started "autoconf" Great idea, bad implementation (IMHO). So now things are dependent on the precise version of the "autoconf" tools instead of a specific configuration of an operating system.

I maintain mtr, but I try to stay out of the autoconf stuff. "don't touch, seems to work" . So I don't know what the search for pkg-config is trying to find, and what finding something there would provide for benefits.

Hmm. I think the graphical libraries like GTK offer their info to pkg-config and pkg-config will then tell mtr what options to add to the compiler flags to find the libraries. If your pkgconfig is "emtpy" you probably don't have the right gtk libs installed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/traviscross/mtr/issues/367#issuecomment-690084918, or unsubscribe

https://github.com/notifications/unsubscribe-auth/ACSZR5LFCWQ4MWKEDWRCOFLSFCGDBANCNFSM4REKDFPQ.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/traviscross/mtr/issues/367#issuecomment-690184420, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSZR5MJUVKG6JXCKGY32LTSFCZKTANCNFSM4REKDFPQ.

rewolff commented 4 years ago

I just reran the autoconf stuff and that worked.

# dpkg -l autoconf
ii  autoconf       2.69-11.1    all          automatic configure script builder

my pkg.m4 is 4 bytes longer and dated feb 7 2020.

aixtools commented 4 years ago

OK. I'll keep trying.

Thx.

On 12/09/2020 09:08, Roger Wolff wrote:

I just reran the autoconf stuff and that worked.

|# dpkg -l autoconf ii autoconf 2.69-11.1 all automatic configure script builder |

my pkg.m4 is 4 bytes longer and dated feb 7 2020.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/traviscross/mtr/issues/367#issuecomment-691431085, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSZR5IOI62HEW5OGGO4Q6DSFMNADANCNFSM4REKDFPQ.

yvs2014 commented 4 years ago

pkg-config is not installed (by default) on AIX, and most of the time, is not really needed (I install it, it determines there are no files it wants, and the next step is executed). However, the message above is new to me. How 'vital' is pkg-config to your autoconf configuration?

Hi, some suggestion on pkg-config usage. If you don't need GTK stuff (and JANSSON in last versions), try `configure.ac' with no fatal pkg-config checks. For example, something like in this diff below:


diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -21,12 +21,11 @@ AC_CANONICAL_HOST
AC_PROG_CC

Check pkg-config availability.

-m4_ifndef([PKG_PROG_PKG_CONFIG],

rewolff commented 4 years ago

Applied.

aixtools commented 4 years ago

It magical - and I am a horrible magician : P


aixtools@x064:[/data/prj/aixtools/mtr-0.93.1]autoconf -v
autoconf: running /opt/bin/autom4te -v --language=autoconf --output=configure configure.ac
autom4te: the trace request object is:
autom4te: $VAR1 = bless( [
autom4te:                  '0',
autom4te:                  0,
autom4te:                  [
autom4te:                    '/opt/share/autoconf'
autom4te:                  ],
autom4te:                  [
autom4te:                    '/opt/share/autoconf/autoconf/autoconf.m4f',
autom4te:                    'configure.ac'
autom4te:                  ],
autom4te:                  {
autom4te:                    '_LT_AC_TAGCONFIG' => 1,
autom4te:                    'AM_PROG_F77_C_O' => 1,
autom4te:                    'AC_INIT' => 1,
...
autom4te: formatting traces for `/tmp/am4t5564.15991018/warnings': _m4_warn
autom4te: reading /tmp/am4t5564.15991018/warnings
autom4te: creating configure
autom4te: formatting traces for `/tmp/am4t5564.15991018/patterns': m4_pattern_allow, m4_pattern_forbid
autom4te: forbidden tokens: ^_?A[CHUM]_|_AC_|^LIBOBJS$|^_?m4_|^dnl$|^_?AS_
autom4te: forbidden token : ^LIBOBJS$ => do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
autom4te: allowed   tokens: ^AS_FLAGS$|^SHELL$|^PATH_SEPARATOR$|^PACKAGE_NAME$|^PACKAGE_TARNAME$|^PACKAGE_VERSION$|^PACKAGE_STRING$|^PACKAGE_BUGREPORT$|^PACKAGE_URL$|^exec_prefix$|^prefix$|^program_transform_name$|^bindir$|^sbindir$|^libexecdir$|^datarootdir$|^datadir$|^sysconfdir$|^sharedstatedir$|^localstatedir$|^includedir$|^oldincludedir$|^docdir$|^infodir$|^htmldir$|^dvidir$|^pdfdir$|^psdir$|^libdir$|^localedir$|^mandir$|^PACKAGE_NAME$|^PACKAGE_TARNAME$|^PACKAGE_VERSION$|^PACKAGE_STRING$|^PACKAGE_BUGREPORT$|^PACKAGE_URL$|^DEFS$|^ECHO_C$|^ECHO_N$|^ECHO_T$|^LIBS$|^build_alias$|^host_alias$|^target_alias$|^CC$|^CFLAGS$|^LDFLAGS$|^LIBS$|^CPPFLAGS$|^CC$|^CC$|^CC$|^CC$|^ac_ct_CC$|^EXEEXT$|^OBJEXT$|^CPP$|^CPPFLAGS$|^CPP$|^GREP$|^EGREP$|^STDC_HEADERS$|^_POSIX_SOURCE$|^_POSIX_1_SOURCE$|^_MINIX$|^__EXTENSIONS__$|^_ALL_SOURCE$|^_GNU_SOURCE$|^_POSIX_PTHREAD_SEMANTICS$|^_TANDEM_SOURCE$|^AM_DEFAULT_VERBOSITY$|^build$|^build_cpu$|^build_vendor$|^build_os$|^host$|^host_cpu$|^host_vendor$|^host_os$|^CC$|^CFLAGS$|^LDFLAGS$|^LIBS$|^CPPFLAGS$|^CC$|^CC$|^CC$|^CC$|^ac_ct_CC$|^SIZEOF_UNSIGNED_CHAR$|^SIZEOF_UNSIGNED_SHORT$|^SIZEOF_UNSIGNED_INT$|^SIZEOF_UNSIGNED_LONG$|^HAVE_GETOPT$|^HAVE_LIBM$|^HAVE_CURSES$|^HAVE_IPINFO$|^ENABLE_IPV6$|^HAVE_LIBSOCKET$|^HAVE_LIBNSL$|^RESOLV_LIBS$|^HAVE_DECL_ERRNO$|^HAVE_SOCKLEN_T$|^HAVE_TIME_T$|^bashcompletiondir$|^LIBOBJS$|^LTLIBOBJS$
configure.ac:9: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:32: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:33: error: possibly undefined macro: AM_COND_IF
configure.ac:34: error: possibly undefined macro: AC_DEFINE
aixtools commented 4 years ago

Sigh - found it. My (very bad) oversight!! And I'll check the documentation, README, etc.. but I was just calling autoconf -v - WHEN - I should have been calling ./bootstrap.sh

rewolff commented 4 years ago

I really don't know anything about autoconf. (You know the -v flag to get more verbose output and I didn't).

It looks to me that your autoconf setup is broken: those AM_CONDITIONAL seem like the basic framework of autoconf, not some obscure variable that a system might define or not.

autoconf: running /usr/bin/autom4te -v --language=autoconf --output=configure co                             nfigure.ac                                                                                                   
autom4te: the trace request object is:                                                                       
autom4te: $VAR1 = bless( [                                                                                   
autom4te:                  '0',                                                                              
autom4te:                  0,                                                                                
autom4te:                  [                                                                                 
autom4te:                    '/usr/share/autoconf'                                                           
autom4te:                  ],                                                                                
autom4te:                  [                                                                                 
autom4te:                    '/usr/share/autoconf/autoconf/autoconf.m4f',                                    
autom4te:                    'aclocal.m4',                                                                   
autom4te:                    'configure.ac'                                                                  
autom4te:                  ],                                                                                
autom4te:                  {                                                                                 
autom4te:                    'AC_SUBST' => 1,                                                                
autom4te:                    'AM_MAKEFILE_INCLUDE' => 1,                                                     
autom4te:                    'AC_FC_PP_DEFINE' => 1,                                                         
autom4te:                    'AC_FC_SRCEXT' => 1,                                                            
autom4te:                    'm4_sinclude' => 1,                                                             
autom4te:                    'AM_ENABLE_MULTILIB' => 1,                                                      
autom4te:                    'AM_NLS' => 1,                                                                  
autom4te:                    'LT_CONFIG_LTDL_DIR' => 1,                                                      
autom4te:                    'm4_pattern_allow' => 1,                                                        
autom4te:                    'AM_PATH_GUILE' => 1,                                                           
autom4te:                    '_AM_MAKEFILE_INCLUDE' => 1,                                                    
autom4te:                    'AC_SUBST_TRACE' => 1,                                                          
autom4te:                    'LT_SUPPORTED_TAG' => 1,                                                        
autom4te:                    'AC_PROG_LIBTOOL' => 1,                                                         
autom4te:                    'AC_CANONICAL_HOST' => 1,                                                       
autom4te:                    'AM_SILENT_RULES' => 1,                                                         
autom4te:                    'AM_PROG_F77_C_O' => 1,                                                         
autom4te:                    'AM_XGETTEXT_OPTION' => 1,                                                      
autom4te:                    '_AM_COND_IF' => 1,                                                             
autom4te:                    'AC_CONFIG_LINKS' => 1,                                                         
autom4te:                    'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,                                              
autom4te:                    'AM_CONDITIONAL' => 1,                                                          
autom4te:                    '_m4_warn' => 1,                                                                
autom4te:                    'AM_PROG_LIBTOOL' => 1,                                                         
autom4te:                    '_AM_COND_ELSE' => 1,                                                           
autom4te:                    'AC_FC_FREEFORM' => 1,                                                          
autom4te:                    'AC_CONFIG_FILES' => 1,                                                         
autom4te:                    'AC_INIT' => 1,                                                                 
autom4te:                    '_AM_COND_ENDIF' => 1,                                                          
autom4te:                    'AM_GNU_GETTEXT' => 1,                                                          
autom4te:                    '_LT_AC_TAGCONFIG' => 1,                                                        
autom4te:                    'sinclude' => 1,                                                                
autom4te:                    'AC_LIBSOURCE' => 1,                                                            
autom4te:                    'AC_DEFINE_TRACE_LITERAL' => 1,                                                 
autom4te:                    'AC_FC_PP_SRCEXT' => 1,                                                         
autom4te:                    'AM_PROG_FC_C_O' => 1,                                                          
autom4te:                    'AM_MAINTAINER_MODE' => 1,                                                      
autom4te:                    'AC_REQUIRE_AUX_FILE' => 1,                                                     
autom4te:                    'AC_CANONICAL_BUILD' => 1,                                                      
autom4te:                    'AC_CONFIG_AUX_DIR' => 1,                                                       
autom4te:                    'AM_PROG_CC_C_O' => 1,                                                          
autom4te:                    'LT_INIT' => 1,                                                                 
autom4te:                    'AC_CANONICAL_TARGET' => 1,                                                     
autom4te:                    'AM_POT_TOOLS' => 1,                                                            
autom4te:                    'm4_include' => 1,                                                              
autom4te:                    'AM_PROG_AR' => 1,                                                              
autom4te:                    'AM_INIT_AUTOMAKE' => 1,                                                        
autom4te:                    'AM_AUTOMAKE_VERSION' => 1,                                                     
autom4te:                    'include' => 1,                                                                 
autom4te:                    'AC_CONFIG_LIBOBJ_DIR' => 1,                                                    
autom4te:                    'm4_pattern_forbid' => 1,                                                       
autom4te:                    'AC_CONFIG_HEADERS' => 1,                                                       
autom4te:                    '_AM_SUBST_NOTMAKE' => 1,                                                       
autom4te:                    'AH_OUTPUT' => 1,                                                               
autom4te:                    'AM_PROG_CXX_C_O' => 1,                                                         
autom4te:                    'AC_CANONICAL_SYSTEM' => 1,                                                     
autom4te:                    'AC_CONFIG_SUBDIRS' => 1,                                                       
autom4te:                    'AM_PROG_MOC' => 1                                                              
autom4te:                  }                                                                                 
autom4te:                ], 'Autom4te::Request' );                                                           
autom4te: running: /usr/bin/m4 --nesting-limit=1024 --gnu --include=/usr/share/a                             utoconf --debug=aflq --fatal-warning --debugfile=autom4te.cache/traces.0t --trac                             e=AC_CANONICAL_BUILD --trace=AC_CANONICAL_HOST --trace=AC_CANONICAL_SYSTEM --tra                             ce=AC_CANONICAL_TARGET --trace=AC_CONFIG_AUX_DIR --trace=AC_CONFIG_FILES --trace                             =AC_CONFIG_HEADERS --trace=AC_CONFIG_LIBOBJ_DIR --trace=AC_CONFIG_LINKS --trace=                             AC_CONFIG_SUBDIRS --trace=AC_DEFINE_TRACE_LITERAL --trace=AC_FC_FREEFORM --trace                             =AC_FC_PP_DEFINE --trace=AC_FC_PP_SRCEXT --trace=AC_FC_SRCEXT --trace=AC_INIT --                             trace=AC_LIBSOURCE --trace=AC_PROG_LIBTOOL --trace=AC_REQUIRE_AUX_FILE --trace=A                             C_SUBST --trace=AC_SUBST_TRACE --trace=AH_OUTPUT --trace=AM_AUTOMAKE_VERSION --t                             race=AM_CONDITIONAL --trace=AM_ENABLE_MULTILIB --trace=AM_GNU_GETTEXT --trace=AM                             _GNU_GETTEXT_INTL_SUBDIR --trace=AM_INIT_AUTOMAKE --trace=AM_MAINTAINER_MODE --t                             race=AM_MAKEFILE_INCLUDE --trace=AM_NLS --trace=AM_PATH_GUILE --trace=AM_POT_TOO                             LS --trace=AM_PROG_AR --trace=AM_PROG_CC_C_O --trace=AM_PROG_CXX_C_O --trace=AM_                             PROG_F77_C_O --trace=AM_PROG_FC_C_O --trace=AM_PROG_LIBTOOL --trace=AM_PROG_MOC                              --trace=AM_SILENT_RULES --trace=AM_XGETTEXT_OPTION --trace=LT_CONFIG_LTDL_DIR --                             trace=LT_INIT --trace=LT_SUPPORTED_TAG --trace=_AM_COND_ELSE --trace=_AM_COND_EN                             DIF --trace=_AM_COND_IF --trace=_AM_MAKEFILE_INCLUDE --trace=_AM_SUBST_NOTMAKE -                             -trace=_LT_AC_TAGCONFIG --trace=_m4_warn --trace=include --trace=m4_include --trace=m4_pattern_allow --trace=m4_pattern_forbid --trace=m4_sinclude --trace=sinclude --reload-state=/usr/share/autoconf/autoconf/autoconf.m4f --undefine=__m4_version__ aclocal.m4 configure.ac > autom4te.cache/output.0t
autom4te: formatting traces for `/tmp/am4tl35Slp/warnings': _m4_warn
autom4te: reading /tmp/am4tl35Slp/warnings
autom4te: creating configure
autom4te: formatting traces for `/tmp/am4tl35Slp/patterns': m4_pattern_allow, m4_pattern_forbid
autom4te: forbidden tokens: ^_?A[CHUM]_|_AC_|^LIBOBJS$|^_?m4_|^dnl$|^_?AS_|^_?PKG_[A-Z_]+$
autom4te: forbidden token : ^LIBOBJS$ => do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
autom4te: allowed   tokens: ^AS_FLAGS$|^SHELL$|^PATH_SEPARATOR$|^PACKAGE_NAME$|^PACKAGE_TARNAME$|^PACKAGE_VERSION$|^PACKAGE_STRING$|^PACKAGE_BUGREPORT$|^PACKAGE_URL$|^exec_prefix$|^prefix$|^program_transform_name$|^bindir$|^sbindir$|^libexecdir$|^datarootdir$|^datadir$|^sysconfdir$|^sharedstatedir$|^localstatedir$|^runstatedir$|^includedir$|^oldincludedir$|^docdir$|^infodir$|^htmldir$|^dvidir$|^pdfdir$|^psdir$|^libdir$|^localedir$|^mandir$|^PACKAGE_NAME$|^PACKAGE_TARNAME$|^PACKAGE_VERSION$|^PACKAGE_STRING$|^PACKAGE_BUGREPORT$|^PACKAGE_URL$|^DEFS$|^ECHO_C$|^ECHO_N$|^ECHO_T$|^LIBS$|^build_alias$|^host_alias$|^target_alias$|^CC$|^CFLAGS$|^LDFLAGS$|^LIBS$|^CPPFLAGS$|^CC$|^CC$|^CC$|^CC$|^ac_ct_CC$|^EXEEXT$|^OBJEXT$|^CPP$|^CPPFLAGS$|^CPP$|^GREP$|^EGREP$|^STDC_HEADERS$|^_POSIX_SOURCE$|^_POSIX_1_SOURCE$|^_MINIX$|^__EXTENSIONS__$|^_ALL_SOURCE$|^_GNU_SOURCE$|^_POSIX_PTHREAD_SEMANTICS$|^_TANDEM_SOURCE$|^AM_[A-Z]+FLAGS$|^INSTALL_PROGRAM$|^INSTALL_SCRIPT$|^INSTALL_DATA$|^am__isrc$|^CYGPATH_W$|^PACKAGE$|^VERSION$|^PACKAGE$|^VERSION$|^ACLOCAL$|^AUTOCONF$|^AUTOMAKE$|^AUTOHEADER$|^MAKEINFO$|^install_sh$|^STRIP$|^INSTALL_STRIP_PROGRAM$|^MKDIR_P$|^mkdir_p$|^AWK$|^SET_MAKE$|^am__leading_dot$|^AMTAR$|^am__tar$|^am__untar$|^DEPDIR$|^am__include$|^am__quote$|^AMDEP_TRUE$|^AMDEP_FALSE$|^AMDEPBACKSLASH$|^am__nodep$|^CCDEPMODE$|^am__fastdepCC_TRUE$|^am__fastdepCC_FALSE$|^AM_V$|^AM_DEFAULT_V$|^AM_DEFAULT_VERBOSITY$|^AM_BACKSLASH$|^AM_V$|^AM_DEFAULT_V$|^AM_DEFAULT_VERBOSITY$|^AM_BACKSLASH$|^build$|^build_cpu$|^build_vendor$|^build_os$|^host$|^host_cpu$|^host_vendor$|^host_os$|^CC$|^CFLAGS$|^LDFLAGS$|^LIBS$|^CPPFLAGS$|^CC$|^CC$|^CC$|^CC$|^ac_ct_CC$|^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$|^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$|^PKG_CONFIG$|^PKG_CONFIG_PATH$|^PKG_CONFIG_LIBDIR$|^PKG_CONFIG$|^CYGWIN_TRUE$|^CYGWIN_FALSE$|^USING_CYGWIN$|^SIZEOF_UNSIGNED_CHAR$|^SIZEOF_UNSIGNED_SHORT$|^SIZEOF_UNSIGNED_INT$|^SIZEOF_UNSIGNED_LONG$|^WITH_ERROR_TRUE$|^WITH_ERROR_FALSE$|^HAVE_GETOPT$|^WITH_GETOPT_TRUE$|^WITH_GETOPT_FALSE$|^HAVE_LIBM$|^GTK3_CFLAGS$|^GTK3_LIBS$|^GTK_CFLAGS$|^GTK_LIBS$|^HAVE_GTK$|^GTK_CFLAGS$|^GTK_LIBS$|^HAVE_GTK$|^HAVE_GTK$|^HAVE_GTK3$|^WITH_GTK_TRUE$|^WITH_GTK_FALSE$|^HAVE_CURSES$|^WITH_CURSES_TRUE$|^WITH_CURSES_FALSE$|^WITH_IPINFO_TRUE$|^WITH_IPINFO_FALSE$|^HAVE_IPINFO$|^ENABLE_IPV6$|^HAVE_LIBSOCKET$|^HAVE_LIBNSL$|^RESOLV_LIBS$|^HAVE_DECL_ERRNO$|^HAVE_SOCKLEN_T$|^HAVE_TIME_T$|^bashcompletiondir$|^BUILD_BASH_COMPLETION_TRUE$|^BUILD_BASH_COMPLETION_FALSE$|^LIBOBJS$|^LTLIBOBJS$|^am__EXEEXT_TRUE$|^am__EXEEXT_FALSE$
aixtools commented 4 years ago

Thanks. This part is solved.