diff --git a/Build.sh b/Build.sh index 6187caa..e2b30b1 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.369 2008/11/10 20:25:04 tg Exp $' +srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.370 2008/11/11 21:52:51 tg Exp $' #- # Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NOPWNAM MKSH_NOVI @@ -378,6 +378,14 @@ UWIN*) ;; esac +case " $CPPFLAGS " in +*\ -DMKSH_ASSUME_UTF8=0\ *) + ;; +*\ -DMKSH_ASSUME_UTF8*) + : ${HAVE_SETLOCALE_CTYPE=0} + ;; +esac + if test -n "$warn"; then echo "Warning: mksh has not yet been ported to or tested on your" >&2 echo "operating system '$TARGET_OS'$warn. If you can provide" >&2