blob: f407bdd0be53afe991991947df742ec641ed8cd0 [file] [log] [blame]
Andrew Geissler90fd73c2021-03-05 15:25:55 -06001From cd36f34c722dd0babd7beb13c968aa0780c9f726 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 15 Aug 2017 17:24:06 +0800
Brad Bishop19323692019-04-05 15:28:33 -04004Subject: [PATCH] Disable the test to convert euc-jp
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6Remove the test "Test against HP-UX 11.11 bug:
7No converter from EUC-JP to UTF-8 is provided"
8since we don't support HP-UX and if the euc-jp is not
9installed on the host, the dependence will be built without
10iconv support and will cause guild-native building fail.
11
12Upstream-Status: Inappropriate [OE specific]
13
14Signed-off-by: Roy Li <rongqing.li@windriver.com>
15
16Rebase to 0.170
17Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Brad Bishop19323692019-04-05 15:28:33 -040018
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019---
20 m4/iconv.m4 | 2 ++
21 1 file changed, 2 insertions(+)
22
23diff --git a/m4/iconv.m4 b/m4/iconv.m4
Andrew Geissler90fd73c2021-03-05 15:25:55 -060024index aa159c5..d16312b 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050025--- a/m4/iconv.m4
26+++ b/m4/iconv.m4
Andrew Geissler90fd73c2021-03-05 15:25:55 -060027@@ -165,6 +165,7 @@ AC_DEFUN([AM_ICONV_LINK],
Brad Bishopd7bf8c12018-02-25 22:55:05 -050028 }
29 }
30 #endif
31+#if 0
32 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
33 provided. */
34 if (/* Try standardized names. */
Andrew Geissler90fd73c2021-03-05 15:25:55 -060035@@ -176,6 +177,7 @@ AC_DEFUN([AM_ICONV_LINK],
Brad Bishopd7bf8c12018-02-25 22:55:05 -050036 /* Try HP-UX names. */
37 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
38 result |= 16;
39+#endif
40 return result;
Andrew Geissler90fd73c2021-03-05 15:25:55 -060041 ]])],
42 [am_cv_func_iconv_works=yes], ,