GNOME Bugzilla – Bug 311129
Intltool's copy of AM_PROG_MKDIR_P overrides Automake's one
Last modified: 2005-07-29 09:05:51 UTC
Macro IT_PROG_INTLTOOL (defined in intltool.m4) contains a copy of AM_PROG_MKDIR_P from Automake 1.8. This copy is always expanded. This can be confusing when intltool is used for example with Automake 1.9.x, which contains a slightly different code. I think it's safer to expand the copy only if it is not defined. On the other hand, this code was disabled for Autoconf 2.13 because of a misplaced parenthesis. The following patch fixes both issues.
Created attachment 49506 [details] [review] the fix
I would rather just remove it and require newer versions of automake. 1.4 is so terribly old now.
Well, I found out the comment in the code is not exact: mkdir_p was introduced in Automake 1.8. Anyway, I noticed that Makefile.in.in doesn't use mkdir_p. (It was used in $(mkinstalldirs) in previous versions.) This means that we can indeed remove that code.
Created attachment 49884 [details] [review] remove mkdir_p Remove the copy of AM_PROG_MKDIR_P, since intltool no longer uses mkdir_p.
Created attachment 49908 [details] [review] Fixed patch This is the patch I just committed to CVS. Your patch removed an extra closing ]) from intltool.m4 which this fixes.
Committed to CVS. Will look at your other patches in the morning.
Thank you for catching that silly mistake. Stepan