automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix typo in mk-dirp.m4: s/AM_MKDIR_P/AM_PROG_MKDIR_P/


From: Jim Meyering
Subject: Re: [PATCH] fix typo in mk-dirp.m4: s/AM_MKDIR_P/AM_PROG_MKDIR_P/
Date: Wed, 12 Sep 2012 21:38:50 +0200

Stefano Lattarini wrote:
> Hi Jim, thanks for the patch.
>
> On 09/12/2012 05:53 PM, Jim Meyering wrote:
>>
>> * t/gettext-macros.sh: Fix typo in name of macro emitted into
>> mk-dirp.m4: s/AM_MKDIR_P/AM_PROG_MKDIR_P/
>>
> Yikes, how have I been missing that ?!?
>
> Maybe, to help me (and future readers) to understand how this blunder can have
> survived so long, you could elaborate, in the commit message, about how you've
> been bitten by it, or how you've come across it ...

I found it by inspection while trying to figure out what was
causing aclocal to gripe about the to-be-obsoleted (and now missing
for me) AM_PROG_MKDIR_P macro.

>>  t/gettext-macros.sh | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/t/gettext-macros.sh b/t/gettext-macros.sh
>> index 1d94dad..f548d1a 100755
>> --- a/t/gettext-macros.sh
>> +++ b/t/gettext-macros.sh
>> @@ -80,7 +80,7 @@ echo "export ACLOCAL_PATH" >> get.sh
>>
>>  # Even recent versions of gettext used the now-obsolete 'AM_PROG_MKDIR_P'
>>  # m4 macro.  So we need the following to avoid spurious errors.
>> -echo 'AC_DEFUN([AM_MKDIR_P], [AC_MKDIR_P(address@hidden)])' >> m4/mk-dirp.m4
>> +echo 'AC_DEFUN([AM_PROG_MKDIR_P], [AS_MKDIR_P(address@hidden)])' >> 
>> m4/mk-dirp.m4
>>
> I believe you should also do the change 's/AS_MKDIR_P/AC_PROG_MKDIR_P/'.

Sounds good, but I confess I haven't really investigated,
so don't know the effects of the fixes.

I presume you'd like this to be committed on "maint"?

>From 335cea6d5e62d011f9fe1f470d336d85599a5ef5 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 12 Sep 2012 17:31:24 +0200
Subject: [PATCH] fix typos in mk-dirp.m4: s/AM_MKDIR_P/AM_PROG_MKDIR_P/

* t/gettext-macros.sh: Fix typo in name of macro emitted into
mk-dirp.m4: s/AM_MKDIR_P/AM_PROG_MKDIR_P/,
and as Stefano Lattarini noted, also fix this typo:
s/AS_MKDIR_P/AC_PROG_MKDIR_P/.
---
 t/gettext-macros.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/gettext-macros.sh b/t/gettext-macros.sh
index 1d94dad..cbc5565 100755
--- a/t/gettext-macros.sh
+++ b/t/gettext-macros.sh
@@ -80,7 +80,7 @@ echo "export ACLOCAL_PATH" >> get.sh

 # Even recent versions of gettext used the now-obsolete 'AM_PROG_MKDIR_P'
 # m4 macro.  So we need the following to avoid spurious errors.
-echo 'AC_DEFUN([AM_MKDIR_P], [AC_MKDIR_P(address@hidden)])' >> m4/mk-dirp.m4
+echo 'AC_DEFUN([AM_PROG_MKDIR_P], [AC_PROG_MKDIR_P(address@hidden)])' >> 
m4/mk-dirp.m4

 . ./get.sh

--
1.7.12.363.g53284de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]