Change to detect iconv implementation with autoconf

Use iconv.m4 (and required macros) form gettext-0.21.
This commit is contained in:
OBATA Akio
2021-09-20 17:46:34 +09:00
parent be6bc0aa54
commit 20c1768a19
14 changed files with 2961 additions and 29 deletions

View File

@@ -42,6 +42,9 @@
**
****************************************************************************
************************************<+>*************************************/
#ifdef HAVE_CONFIG_H
#include <autotools_config.h>
#endif
/*
* system includes
*/
@@ -70,11 +73,7 @@
# define iconv_close(a) (0)
#endif
#ifdef ICONV_INBUF_CONST
# define ICONV_INBUF_TYPE const char **
#else
# define ICONV_INBUF_TYPE char **
#endif
#define ICONV_INBUF_TYPE ICONV_CONST char **
/**** Types ****/
/* Private structure of the IconvContext. Public