1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

systemtap: remove explicit msgfmt check

Passing --disable-nls should be enough to disable the requirement for a full
gettext to be present, but the upstream configure explicitly checks for msgfmt
even if it isn't going to be used.  To avoid having to depend on gettext-native,
patch this check out.

(From OE-Core rev: 2f8d2a74f73490c1ae35131d3eb3592f7ee0a1e4)

(From OE-Core rev: 7d689876574ba47e5ad07d67ad40fd865b0c27f5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2016-11-08 23:07:41 +00:00
committed by Richard Purdie
parent c852c9352f
commit 6d57ce3fa3
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,15 @@
There is no need to explicitly check that msgfmt was found as the gettext macros
handle this for us if NLS is enabled.
Upstream-Status: Pending
Signed-off-by: Ross Burton <ross.burton@intel.com>
diff --git a/configure.ac b/configure.ac
index e56079a..284bbe0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,4 +38,0 @@ AM_GNU_GETTEXT_VERSION([0.19.4])
-if test "x$GMSGFMT" = "x:"; then
- AC_MSG_ERROR([missing gnu /usr/bin/msgfmt])
-fi
-
@@ -9,6 +9,7 @@ SRC_URI = "git://sourceware.org/git/systemtap.git \
file://configure-allow-to-disable-libvirt.patch \ file://configure-allow-to-disable-libvirt.patch \
file://x32_abi_time.patch \ file://x32_abi_time.patch \
file://monitor-option.patch \ file://monitor-option.patch \
file://no-msgfmt-check.patch \
" "
# systemtap doesn't support mips # systemtap doesn't support mips