summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-08-15 21:14:35 +0000
committerAlexander Bokovoy <ab@samba.org>2003-08-15 21:14:35 +0000
commit6895dad0bd17e2bb94676ed6de38de62eb078878 (patch)
tree33681aba72af3620f16ae30b969c264c56909566 /source3
parent5ac040aff6f5fdbf7d6b64d24edd715088ba5a59 (diff)
downloadsamba-6895dad0bd17e2bb94676ed6de38de62eb078878.tar.gz
samba-6895dad0bd17e2bb94676ed6de38de62eb078878.tar.bz2
samba-6895dad0bd17e2bb94676ed6de38de62eb078878.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 7de985247f..fc158a04c7 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