From: arai Date: Wed, 10 Jul 2002 17:43:06 +0000 (+0000) Subject: * configure.ac, config.h.in: Checking to have iconv() for utf-8 X-Git-Url: http://git.sourceforge.jp/view?p=lha%2Flha.git;a=commitdiff_plain;h=c15dd6a4b8a1acabc68debcd42a5470910d3b19c;hp=074d6b870af754358184abf68a2e17b684915578 * configure.ac, config.h.in: Checking to have iconv() for utf-8 conversion. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@349 6a8cc165-1e22-0410-a132-eb4e3f353aba --- diff --git a/config.h.in b/config.h.in index bbb9ad0..ec67754 100644 --- a/config.h.in +++ b/config.h.in @@ -40,6 +40,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_GRP_H +/* Define to 1 if you have the `iconv' function. */ +#undef HAVE_ICONV + /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H diff --git a/configure.ac b/configure.ac index 8d55a6c..f3e77c4 100644 --- a/configure.ac +++ b/configure.ac @@ -59,6 +59,7 @@ AC_CHECK_FUNCS(strchr strdup memcpy memset memmove strcasecmp) AC_CHECK_FUNCS(mktime timelocal tzset ftime gettimeofday utime) AC_CHECK_FUNCS(mkdir rmdir ftruncate lchown mkstemp link) AC_CHECK_FUNCS(getpwuid getgrgid getpwnam getgrnam) +AC_CHECK_FUNCS(iconv) AC_REPLACE_FUNCS(vsnprintf) if test $ac_header_dirent = no; then