From c15dd6a4b8a1acabc68debcd42a5470910d3b19c Mon Sep 17 00:00:00 2001 From: arai Date: Wed, 10 Jul 2002 17:43:06 +0000 Subject: [PATCH 1/1] * 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 --- config.h.in | 3 +++ configure.ac | 1 + 2 files changed, 4 insertions(+) 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 -- 2.11.0