$OpenBSD: patch-configure_in,v 1.2 2002/12/04 08:35:12 sturm Exp $ --- configure.in.orig Wed Nov 27 20:02:33 2002 +++ configure.in Sun Dec 1 20:45:49 2002 @@ -218,7 +218,8 @@ AC_CHECK_FUNC(gethostbyname, AC_DEFINE(H ) if test "x$enable_all_chars" != xyes then AC_CHECK_HEADERS(iconv.h, AC_CHECK_FUNCS(iconv, , - echo "*** Character set conversion not available ***" >&2), + [AC_CHECK_FUNCS(libiconv, AC_DEFINE(HAVE_ICONV), + echo "*** Character set conversion not available ***" >&2)]), echo "*** Character set conversion not available ***" >&2) AC_CHECK_HEADERS(locale.h, AC_CHECK_FUNCS(setlocale, , echo "*** Locale support not available ***" >&2),