The macro AM_PROG_MKDIR_P is no longer going to be removed from Automake.
Let's see a bit of history to understand why.
I had already scheduled the removal of the long-deprecated AM_PROG_MKDR_P
macro (superseded by the Autoconf-provided one AC_PROG_MKDIR_P) for
Automake 1.13 -- see commit 'v1.12-20-g8a1c64f'.
Alas, it turned out the latest Gettext version at the time (0.18.1.1) was
still using that macro:
<https://lists.gnu.org/archive/html/automake/2012-09/msg00010.html>
And since the maintenance of Gettext was stalled, I couldn't get a fix
committed and released in time for the appearance of Automake 1.13:
<https://lists.gnu.org/archive/html/bug-gettext/2012-04/msg00018.html>
<https://lists.gnu.org/archive/html/bug-gettext/2012-06/msg00012.html>
<https://lists.gnu.org/archive/html/bug-gettext/2012-10/msg00001.html>
So, on strong advice by Jim Meyering, in commit 'v1.12.4-158-gdf23daf'
I re-introduced AM_PROG_MKDIR_P in Automake (thanks to Jim for having
convinced me to do so in time!)
But then, Gettext (as said, the greatest "offender" in the use of
AM_PROG_MKDIR_P), in its latest release 0.18.2, finally removed all the
uses of that macro still present in its code base. Yay. So I thought
we could finally and quite safely remove AM_PROG_MKDIR_P in Automake 1.14;
and I proceeded to do so, see commit 'v1.13-30-gd01834b' and the merge
commit 'v1.13-5-gb373ad9'. Well, it turned out I was wrong, again, and
in a trickier and sublter way this time. Let's see the details.
If a package's 'configure.ac' contains a call like:
AM_GNU_GETTEXT_VERSION([0.18])
then the 'autopoint' script will bring the data files from the Gettext
release *1.18* into the package's tree -- yes, even even if the developer
has installed *and is using* Gettext 1.18.2! Now, these data files
comprise m4 files (that will be seen by subsequent aclocal and autoconf
calls), and of course, the pre-0.18.2 version of some of these files
still contains occurrences of AM_PROG_MKDIR_P -- so Automake 1.13 errors
out, and we lose. That already happened in practice:
<https://lists.gnu.org/archive/html/bug-grep/2013-01/msg00003.html>
Moreover, while I might see it as not unreasonable to ask a developer
using Automake 2.0 to also update Gettext to 1.18.2, that would not
be enough; in order for gettext to use the correct data files, that
developer would have to update his configure.ac to read:
AM_GNU_GETTEXT_VERSION([0.18.2])
thus requiring *all* of his co-developers to install Gettext 1.18.2,
even if they are still using, say, Automake 1.13 or 1.14. Bad.
So I decided to re-instate this macro as a simple alias for AC_PROG_MKDIR_P
(plus a non-fatal runtime warning in the 'obsolete' category), and drop
any plan to remove it (see how much good those plans have done us so far).
See commit v1.13.1-109-g030ecb4.
Similarly, the obsolete '@mkdir_p@' substitution and '$(mkdir_p)' make
variable are still supported, as simple aliases to '$(MKDIR_P)'.
没有合适的资源?快使用搜索试试~ 我知道了~
automake-1.16.tar.gz
需积分: 47 67 下载量 77 浏览量
2019-03-03
17:23:26
上传
评论
收藏 2.19MB GZ 举报
温馨提示
共1532个文件
sh:1270个
am:47个
tap:47个
automake-1.16.tar.gz 进行交叉编译时候会用到的。。
资源推荐
资源详情
资源评论
收起资源包目录
automake-1.16.tar.gz (1532个子文件)
ChangeLog.00 72KB
ChangeLog.01 161KB
ChangeLog.02 119KB
ChangeLog.03 117KB
ChangeLog.04 60KB
ChangeLog.09 224KB
ChangeLog.11 552KB
ChangeLog.96 114KB
ChangeLog.98 71KB
configure.ac 22KB
configure.ac 384B
distdir.am 22KB
check.am 22KB
testsuite-part.am 19KB
texinfos.am 13KB
configure.am 7KB
mans.am 6KB
progs.am 6KB
header-vars.am 6KB
texibuild.am 6KB
depend2.am 6KB
tags.am 5KB
python.am 5KB
ltlib.am 5KB
scripts.am 5KB
Makefile.am 4KB
lisp.am 4KB
install.am 4KB
libs.am 4KB
dejagnu.am 4KB
inst-vars.am 3KB
data.am 3KB
remake-hdr.am 3KB
subdirs.am 3KB
java.am 3KB
CheckListOfTests.am 2KB
texi-vers.am 2KB
yacc.am 2KB
clean.am 2KB
check-html.am 2KB
check2.am 2KB
multilib.am 2KB
lex.am 1KB
distcheck-hook-m4.am 1KB
program.am 1KB
lang-compile.am 1KB
depend.am 1KB
libtool.am 1KB
compile.am 1011B
library.am 977B
ltlibrary.am 934B
footer.am 882B
mans-vars.am 858B
clean-hdr.am 819B
header.am 787B
vala.am 769B
Makefile.am 232B
Makefile.am 225B
am-ft 3KB
am-xft 788B
ar-lib 6KB
AUTHORS 553B
bootstrap 4KB
main.c 328B
ChangeLog 897KB
ChangeLog-tests 35KB
compile 7KB
configure 227KB
COPYING 34KB
COPYING 18KB
depcomp 23KB
gen-testsuite-part 14KB
gendocs_template 3KB
.git-log-fix 439B
gitlog-to-changelog 15KB
GNUmakefile 3KB
gnupload 12KB
config.guess 43KB
amhello-1.0.tar.gz 81KB
HACKING 17KB
help2man 19KB
automake.in 252KB
Makefile.in 130KB
aclocal.in 36KB
config-ml.in 25KB
test-defs.in 8KB
runtest.in 4KB
shell-no-trail-bslash.in 2KB
amversion.in 2KB
Config.in 1KB
cc-no-c-o.in 1KB
pre-inst-env.in 1KB
automake-history.info 77KB
automake.info 7KB
automake.info-1 294KB
automake.info-2 319KB
INSTALL 15KB
INSTALL 15KB
install-sh 14KB
is 2KB
共 1532 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
dreamtian
- 粉丝: 11
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功