bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] [PATCH] build: support newer Automake with older Gettext


From: Stefano Lattarini
Subject: [Bug-tar] [PATCH] build: support newer Automake with older Gettext
Date: Wed, 24 Apr 2013 11:30:52 +0200

* configure.ac (AC_SUBST): Define @mkdir_p@ to $(MKDIR_P), to support
the Makefile generated by pre-1.18.2 Gettext even when bleeding-edge
Automake is in use.

Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <address@hidden>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 3303c53..a12d3b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -346,6 +346,9 @@ AC_CHECK_TYPE(iconv_t,:,
 # Gettext.
 AM_GNU_GETTEXT([external], [need-formatstring-macros])
 AM_GNU_GETTEXT_VERSION([0.16])
+# This is needed to have newer Automake work with with older Gettext.
+# It should be safe to remove once we require Gettext 1.18.2 or later.
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
 
 # Initialize the test suite.
 AC_CONFIG_TESTDIR(tests)
-- 
1.8.2.1.610.g562af5b




reply via email to

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