【发布时间】:2013-11-20 07:08:40
【问题描述】:
说明: 我正在为 tacacs+ 服务器开源代码进行定制。包装的同时 我正在尝试运行 configure 来生成 Makefile。
注意:在开源 tacacs+ tar 中使用 autoconf 2.63 并且在我的构建机器上使用 2.67 自动配置版本。只有这个环境差异。
但得到如下 AC_DEFINE() 未定义错误:
d001:~/srcsvn/workspace_main_7.40_04102013_64bit/NMD2/64bit/os/usr.local/tacplus_merger/src/tacacs+-4.0.4.19.orig$ autoreconf --force --install
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `cfgaux'.
libtoolize: copying file `cfgaux/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in:45: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
【问题讨论】: