From 6895dad0bd17e2bb94676ed6de38de62eb078878 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 15 Aug 2003 21:14:35 +0000 Subject: [PATCH] Fallback to our defaults (CP850/ASCII/UTF8) if there is no native iconv on the platform. This allows to compile and complain about it at runtime (This used to be commit b6fa581955de36e044a41c6ce857743c7e3c9b7f) --- source3/configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source3/configure.in b/source3/configure.in index 7de985247f2..fc158a04c76 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1643,6 +1643,9 @@ done if test x"$ICONV_FOUND" = x"no" -o x"$samba_cv_HAVE_NATIVE_ICONV" != x"yes" ; then AC_MSG_WARN([Sufficient support for iconv function was not found. Install libiconv from http://freshmeat.net/projects/libiconv/ for better charset compatibility!]) + AC_DEFINE_UNQUOTED(DEFAULT_DOS_CHARSET,"CP850",[Default dos charset name]) + AC_DEFINE_UNQUOTED(DEFAULT_DISPLAY_CHARSET,"ASCII",[Default display charset name]) + AC_DEFINE_UNQUOTED(DEFAULT_UNIX_CHARSET,"UTF8",[Default unix charset name]) fi -- 2.11.4.GIT