]> Dogcows Code - chaz/tar/commitdiff
Detect libiconv
authorSergey Poznyakoff <gray@gnu.org.ua>
Sun, 22 Feb 2004 20:51:10 +0000 (20:51 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sun, 22 Feb 2004 20:51:10 +0000 (20:51 +0000)
configure.ac

index ef034fe1f92541b504c31d12de93b98dc8e3b978..da831ea0a65472343f1eea88b567d520e0c13252 100644 (file)
@@ -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 <iconv.h>])])
+
+AC_CHECK_LIB(iconv, iconv)
+
+
 AC_OUTPUT([Makefile\
            doc/Makefile\
            lib/Makefile\
This page took 0.022657 seconds and 4 git commands to generate.