[pacman-dev] [PATCH] m4/po.m4: Remove use of deprecated macro

Allan McRae allan at archlinux.org
Wed Sep 19 02:11:33 EDT 2012


Switch from AM_PROG_MKDIR_P to AC_PROG_MKDIR_P to avoid automake warning.

Signed-off-by: Allan McRae <allan at archlinux.org>
---

It is advised to switch to using '$(MKDIR_P)' instead of '$(mkdir_p)' in Makefile.*
too.  Our only use of this in the the "Makefile.in.in" files from gettext.  As these
produce no warnings or errors yet, I think it best to wait on gettext to update these
files.

 m4/po.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/po.m4 b/m4/po.m4
index 47f36a4..8bc921d 100644
--- a/m4/po.m4
+++ b/m4/po.m4
@@ -24,7 +24,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
 [
   AC_REQUIRE([AC_PROG_MAKE_SET])dnl
   AC_REQUIRE([AC_PROG_INSTALL])dnl
-  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
+  AC_REQUIRE([AC_PROG_MKDIR_P])dnl defined by autoconf
   AC_REQUIRE([AM_NLS])dnl
 
   dnl Release version of the gettext macros. This is used to ensure that
-- 
1.7.12



More information about the pacman-dev mailing list