From 634927b7d2f129a1932fcdef6e449d6f96a213b3 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 22 Feb 2004 20:51:10 +0000 Subject: [PATCH] Detect libiconv --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) 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\ -- 2.45.2