知识屋:更实用的电脑技术知识网站
所在位置:首页 > 操作系统 > linux

aclocal的bug

发布时间:2014-09-05 16:07:54作者:知识屋

今天学习一下automake,但是在运行aclocal的时候会右警告:
/usr/share/aclocal/libstroke.m4:29: warning: underquoted definition of smr_ARG_WITHLIB/usr/share/aclocal/libstroke.m4:29:   run info '(automake)Extending aclocal'/usr/share/aclocal/libstroke.m4:29:   or see www.zhishiwu.com
上网搜了一下,这似乎是一个很老的bug,并且很早就有了patch,但是搞不懂为什么在Debian中依然存在?
--- /usr/share/aclocal/libstroke.m4 2003-11-12 07:45:28.000000000 -0500
+++ libstroke.m4 2005-04-03 14:35:16.709447679 -0400
@@ -26,7 +26,7 @@
 dnl                     if different from name
 dnl description         (optional) used to construct help string
 dnl
-AC_DEFUN(smr_ARG_WITHLIB, [
+AC_DEFUN([smr_ARG_WITHLIB], [
 
 ifelse($2, , smr_lib=[$1], smr_lib=[$2])
 
@@ -74,7 +74,7 @@
 dnl extra-flags         (optional) flags required when compiling the
 dnl                     header, typically more includes; for ex. X_CFLAGS
 dnl
-AC_DEFUN(smr_ARG_WITHINCLUDES, [
+AC_DEFUN([smr_ARG_WITHINCLUDES], [
 
 AC_ARG_WITH([$1]-includes,
 [  --with-$1-includes=DIR  set directory for $1 headers],
@@ -116,7 +116,7 @@
 dnl x-libs      (optional) extra libraries, if needed to link with lib
 dnl x-flags     (optional) extra flags, if needed to include header files
 dnl
-AC_DEFUN(smr_CHECK_LIB,
+AC_DEFUN([smr_CHECK_LIB],
 [
 ifelse($2, , smr_lib=[$1], smr_lib=[$2])
 ifelse($5, , , smr_header=[$5])

 作者:zcodes

(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜