diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-17 22:00:26 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-19 19:59:16 -0500 |
commit | b86dc2dab4981ba92d683b866badc0b32be39120 (patch) | |
tree | 73fb7b2142531a24018626c464a584d183a48dd1 /newlib/iconv.m4 | |
parent | 15c091ad7326129a3a4ddf04c67fffbc62d002ae (diff) | |
download | newlib-b86dc2dab4981ba92d683b866badc0b32be39120.zip newlib-b86dc2dab4981ba92d683b866badc0b32be39120.tar.gz newlib-b86dc2dab4981ba92d683b866badc0b32be39120.tar.bz2 |
newlib: iconv: autogenerate iconv define list
The list of iconv to/from defines is hand maintained in newlib.hin.
Lets leverage mkdeps.pl to generate this list automatically from the
list of known encodings. The newlib.hin list is up-to-date, so the
list in iconv.m4 matches the list already generated.
Diffstat (limited to 'newlib/iconv.m4')
-rw-r--r-- | newlib/iconv.m4 | 305 |
1 files changed, 305 insertions, 0 deletions
diff --git a/newlib/iconv.m4 b/newlib/iconv.m4 new file mode 100644 index 0000000..696b93a --- /dev/null +++ b/newlib/iconv.m4 @@ -0,0 +1,305 @@ +/* + * This file was automatically generated mkdeps.pl script. Don't edit. + */ +AC_DEFUN([NEWLIB_ICONV_DEFINES],[dnl + if test "$_ICONV_TO_ENCODING_BIG5" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_BIG5, 1, [Support big5 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_BIG5" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_BIG5, 1, [Support big5 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_CP775" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_CP775, 1, [Support cp775 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_CP775" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_CP775, 1, [Support cp775 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_CP850" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_CP850, 1, [Support cp850 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_CP850" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_CP850, 1, [Support cp850 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_CP852" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_CP852, 1, [Support cp852 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_CP852" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_CP852, 1, [Support cp852 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_CP855" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_CP855, 1, [Support cp855 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_CP855" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_CP855, 1, [Support cp855 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_CP866" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_CP866, 1, [Support cp866 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_CP866" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_CP866, 1, [Support cp866 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_EUC_JP" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_EUC_JP, 1, [Support euc_jp output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_EUC_JP" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_EUC_JP, 1, [Support euc_jp input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_EUC_KR" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_EUC_KR, 1, [Support euc_kr output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_EUC_KR" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_EUC_KR, 1, [Support euc_kr input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_EUC_TW" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_EUC_TW, 1, [Support euc_tw output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_EUC_TW" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_EUC_TW, 1, [Support euc_tw input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_1" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_1, 1, [Support iso_8859_1 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_1" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_1, 1, [Support iso_8859_1 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_10" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_10, 1, [Support iso_8859_10 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_10" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_10, 1, [Support iso_8859_10 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_11" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_11, 1, [Support iso_8859_11 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_11" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_11, 1, [Support iso_8859_11 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_13" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_13, 1, [Support iso_8859_13 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_13" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_13, 1, [Support iso_8859_13 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_14" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_14, 1, [Support iso_8859_14 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_14" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_14, 1, [Support iso_8859_14 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_15" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_15, 1, [Support iso_8859_15 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_15" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_15, 1, [Support iso_8859_15 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_2" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_2, 1, [Support iso_8859_2 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_2" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_2, 1, [Support iso_8859_2 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_3" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_3, 1, [Support iso_8859_3 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_3" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_3, 1, [Support iso_8859_3 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_4" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_4, 1, [Support iso_8859_4 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_4" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_4, 1, [Support iso_8859_4 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_5" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_5, 1, [Support iso_8859_5 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_5" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_5, 1, [Support iso_8859_5 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_6" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_6, 1, [Support iso_8859_6 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_6" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_6, 1, [Support iso_8859_6 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_7" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_7, 1, [Support iso_8859_7 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_7" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_7, 1, [Support iso_8859_7 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_8" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_8, 1, [Support iso_8859_8 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_8" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_8, 1, [Support iso_8859_8 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_8859_9" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_8859_9, 1, [Support iso_8859_9 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_8859_9" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_8859_9, 1, [Support iso_8859_9 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_ISO_IR_111" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_ISO_IR_111, 1, [Support iso_ir_111 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_ISO_IR_111" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_ISO_IR_111, 1, [Support iso_ir_111 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_KOI8_R" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_KOI8_R, 1, [Support koi8_r output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_KOI8_R" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_KOI8_R, 1, [Support koi8_r input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_KOI8_RU" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_KOI8_RU, 1, [Support koi8_ru output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_KOI8_RU" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_KOI8_RU, 1, [Support koi8_ru input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_KOI8_U" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_KOI8_U, 1, [Support koi8_u output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_KOI8_U" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_KOI8_U, 1, [Support koi8_u input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_KOI8_UNI" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_KOI8_UNI, 1, [Support koi8_uni output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_KOI8_UNI" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_KOI8_UNI, 1, [Support koi8_uni input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UCS_2" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UCS_2, 1, [Support ucs_2 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UCS_2" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UCS_2, 1, [Support ucs_2 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UCS_2_INTERNAL" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UCS_2_INTERNAL, 1, [Support ucs_2_internal output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UCS_2_INTERNAL" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UCS_2_INTERNAL, 1, [Support ucs_2_internal input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UCS_2BE" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UCS_2BE, 1, [Support ucs_2be output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UCS_2BE" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UCS_2BE, 1, [Support ucs_2be input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UCS_2LE" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UCS_2LE, 1, [Support ucs_2le output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UCS_2LE" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UCS_2LE, 1, [Support ucs_2le input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UCS_4" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UCS_4, 1, [Support ucs_4 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UCS_4" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UCS_4, 1, [Support ucs_4 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UCS_4_INTERNAL" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UCS_4_INTERNAL, 1, [Support ucs_4_internal output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UCS_4_INTERNAL" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UCS_4_INTERNAL, 1, [Support ucs_4_internal input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UCS_4BE" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UCS_4BE, 1, [Support ucs_4be output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UCS_4BE" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UCS_4BE, 1, [Support ucs_4be input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UCS_4LE" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UCS_4LE, 1, [Support ucs_4le output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UCS_4LE" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UCS_4LE, 1, [Support ucs_4le input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_US_ASCII" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_US_ASCII, 1, [Support us_ascii output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_US_ASCII" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_US_ASCII, 1, [Support us_ascii input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UTF_16" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UTF_16, 1, [Support utf_16 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UTF_16" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UTF_16, 1, [Support utf_16 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UTF_16BE" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UTF_16BE, 1, [Support utf_16be output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UTF_16BE" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UTF_16BE, 1, [Support utf_16be input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UTF_16LE" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UTF_16LE, 1, [Support utf_16le output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UTF_16LE" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UTF_16LE, 1, [Support utf_16le input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_UTF_8" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_UTF_8, 1, [Support utf_8 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_UTF_8" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_UTF_8, 1, [Support utf_8 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_WIN_1250" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_WIN_1250, 1, [Support win_1250 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_WIN_1250" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_WIN_1250, 1, [Support win_1250 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_WIN_1251" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_WIN_1251, 1, [Support win_1251 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_WIN_1251" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_WIN_1251, 1, [Support win_1251 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_WIN_1252" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_WIN_1252, 1, [Support win_1252 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_WIN_1252" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_WIN_1252, 1, [Support win_1252 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_WIN_1253" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_WIN_1253, 1, [Support win_1253 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_WIN_1253" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_WIN_1253, 1, [Support win_1253 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_WIN_1254" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_WIN_1254, 1, [Support win_1254 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_WIN_1254" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_WIN_1254, 1, [Support win_1254 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_WIN_1255" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_WIN_1255, 1, [Support win_1255 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_WIN_1255" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_WIN_1255, 1, [Support win_1255 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_WIN_1256" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_WIN_1256, 1, [Support win_1256 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_WIN_1256" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_WIN_1256, 1, [Support win_1256 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_WIN_1257" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_WIN_1257, 1, [Support win_1257 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_WIN_1257" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_WIN_1257, 1, [Support win_1257 input encoding.]) + fi + if test "$_ICONV_TO_ENCODING_WIN_1258" = 1; then + AC_DEFINE(_ICONV_TO_ENCODING_WIN_1258, 1, [Support win_1258 output encoding.]) + fi + if test "$_ICONV_FROM_ENCODING_WIN_1258" = 1; then + AC_DEFINE(_ICONV_FROM_ENCODING_WIN_1258, 1, [Support win_1258 input encoding.]) + fi +]) |