Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Error: possibly undefined macro: AC_PROG_GNU_M4

2025-01-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Background

Error compiling bison

Configure.ac:233: error: possibly undefined macro: AC_PROG_GNU_M4

If this token and others are legitimate, please use m4_pattern_allow.

See the Autoconf documentation.

Autoreconf: / usr/local/bin/autoconf failed with exit status: 1

. / bootstrap: autoreconf failed

Bison-3.4/m4/m4.m4 defines the AC_PROG_GNU_M4 macro definition

# AC_PROG_GNU_M4

#-

# Check for GNU M4, at least 1.4.6 (all earlier versions had bugs in

# trace support and regexp support):

# https://lists.gnu.org/archive/html/bug-gnu-utils/2006-11/msg00096.html

# https://lists.gnu.org/archive/html/bug-autoconf/2009-07/msg00023.html

# Also, check whether-- error-output (through 1.4.x) or--debugfile (2.0)

# is supported, and AC_SUBST M4_DEBUGFILE accordingly.

# Also avoid versions of m4 that trigger strstr bugs.

AC_DEFUN ([AC_PROG_GNU_M4]

[AC_ARG_VAR ([M4], [Location of GNU M4 1.4.6 or later. Defaults to the first

Program of 'm4percent, 'gm4', or' gnum4' on PATH that meets Autoconf needs.])

AC_CACHE_CHECK ([for GNU M4 that supports accurate traces], [ac_cv_path_M4]

[rm-f conftest.m4f

Ac_had_posixly_correct=$ {POSIXLY_CORRECT:+yes}

AS_UNSET ([POSIXLY_CORRECT])

AC_PATH_PROGS_FEATURE_CHECK ([M4], [M4 gm4 gnum4]

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report