溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

error: possibly undefined macro: AC_PROG_GNU_M4

發(fā)布時(shí)間:2020-06-01 12:59:23 來源:網(wǎng)絡(luò) 閱讀:478 作者:fengyuzaitu 欄目:軟件技術(shù)

背景

????????????編譯bison出錯(cuò)

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定義了?AC_PROG_GNU_M4宏定義


# 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 'm4', '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],


????????

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI