Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 8d99a368615656a835f5502326afd31cec2cebfe Mon Sep 17 00:00:00 2001 |
| 2 | From: Jackie Huang <jackie.huang@windriver.com> |
| 3 | Date: Mon, 16 Sep 2013 18:16:12 +0800 |
| 4 | Subject: [PATCH] remove the test to convert euc-jp |
| 5 | |
| 6 | Remove the test "Test against HP-UX 11.11 bug: |
| 7 | No converter from EUC-JP to UTF-8 is provided" |
| 8 | since we don't support HP-UX and if the euc-jp is not |
| 9 | installed on the host, libunistring will be built without |
| 10 | iconv support and will cause guild-native configure fail. |
| 11 | |
| 12 | Upstream-Status: Inappropriate [OE specific] |
| 13 | |
| 14 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
| 15 | --- |
| 16 | gnulib-m4/iconv.m4 | 11 ----------- |
| 17 | 1 files changed, 0 insertions(+), 11 deletions(-) |
| 18 | |
| 19 | Index: libunistring-0.9.4/gnulib-m4/iconv.m4 |
| 20 | =================================================================== |
| 21 | --- libunistring-0.9.4.orig/gnulib-m4/iconv.m4 2014-11-03 17:41:29.755011917 +0000 |
| 22 | +++ libunistring-0.9.4/gnulib-m4/iconv.m4 2014-11-03 17:43:03.795014480 +0000 |
| 23 | @@ -159,17 +159,6 @@ |
| 24 | } |
| 25 | } |
| 26 | #endif |
| 27 | - /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is |
| 28 | - provided. */ |
| 29 | - if (/* Try standardized names. */ |
| 30 | - iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) |
| 31 | - /* Try IRIX, OSF/1 names. */ |
| 32 | - && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) |
| 33 | - /* Try AIX names. */ |
| 34 | - && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) |
| 35 | - /* Try HP-UX names. */ |
| 36 | - && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) |
| 37 | - result |= 16; |
| 38 | return result; |
| 39 | }]])], |
| 40 | [am_cv_func_iconv_works=yes], |