summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 16efcdec17..ea8ad75318 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1569,11 +1569,14 @@ dnl there might be a working iconv further down the list of LOOK_DIRS
main(){
iconv_t cd = iconv_open("ASCII", "UCS-2LE");
if (cd == 0 || cd == (iconv_t)-1) {
- cd = iconv_open("ISO-8859-1", "UCS-2LE");
+ cd = iconv_open("CP850", "UCS-2LE");
if (cd == 0 || cd == (iconv_t)-1) {
cd = iconv_open("IBM850", "UCS-2LE"); /* Solaris has this */
if (cd == 0 || cd == (iconv_t)-1) {
- return -1;
+ cd = iconv_open("ISO-8859-1", "UCS-2LE"); /* Solaris has this */
+ if (cd == 0 || cd == (iconv_t)-1) {
+ return -1;
+ }
}
}
}