From: Sergey Poznyakoff Date: Sun, 22 Feb 2004 20:51:10 +0000 (+0000) Subject: Detect libiconv X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=634927b7d2f129a1932fcdef6e449d6f96a213b3;p=chaz%2Ftar Detect libiconv --- diff --git a/configure.ac b/configure.ac index ef034fe..da831ea 100644 --- a/configure.ac +++ b/configure.ac @@ -272,6 +272,16 @@ AC_MSG_RESULT($DEFAULT_BLOCKING) AM_GNU_GETTEXT([external], [need-ngettext]) AM_GNU_GETTEXT_VERSION(0.12.1) +# Iconv +AC_CHECK_HEADERS(iconv.h, + [AC_CHECK_TYPE(iconv_t,:, + AC_DEFINE(iconv_t, int, + [Conversion descriptor type]), + [#include ])]) + +AC_CHECK_LIB(iconv, iconv) + + AC_OUTPUT([Makefile\ doc/Makefile\ lib/Makefile\